Skip to content

Atlassian: Users schemas

9 Atlassian schemas with complete fields and constraints.

← Users operations · All schemas

Bulk get users — response body

FieldTypePresenceDescription and constraints
$objectRootA page of items.
isLastJSONOptional
isLast (anyOf 1)booleanAlternativeWhether this is the last page.
Read only: true
isLast (anyOf 2)nullAlternative
maxResultsJSONOptional
maxResults (anyOf 1)JSONAlternative
maxResults (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of items that could be returned.
Format: int32
Read only: true
maxResults (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
maxResults (anyOf 2)nullAlternative
nextPageJSONOptional
nextPage (anyOf 1)stringAlternativeIf there is another page of results, the URL of the next page.
Format: uri
Read only: true
nextPage (anyOf 2)nullAlternative
selfJSONOptional
self (anyOf 1)stringAlternativeThe URL of the page.
Format: uri
Read only: true
self (anyOf 2)nullAlternative
startAtJSONOptional
startAt (anyOf 1)JSONAlternative
startAt (anyOf 1) (anyOf 1)integerAlternativeThe index of the first item returned.
Format: int64
Read only: true
startAt (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
startAt (anyOf 2)nullAlternative
totalJSONOptional
total (anyOf 1)JSONAlternative
total (anyOf 1) (anyOf 1)integerAlternativeThe number of items returned.
Format: int64
Read only: true
total (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
total (anyOf 2)nullAlternative
valuesJSONOptional
values (anyOf 1)arrayAlternativeThe list of items.
Read only: true
values (anyOf 1)[]ModelEach itemExpand Get user — response body
values (anyOf 2)nullAlternative

Referenced models: Get user — response body

Create user — request body — body

FieldTypePresenceDescription and constraints
$objectRootThe user details.
Additional keys: allowed
applicationKeysarrayOptionalDeprecated, do not use.
applicationKeys[]stringEach item
displayNamestringOptionalThis property is no longer available. If the user has an Atlassian account, their display name is not changed. If the user does not have an Atlassian account, they are sent an email asking them set up an account.
emailAddressstringRequired within parentThe email address for the user.
keystringOptionalThis property is no longer available. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.
namestringOptionalThis property is no longer available. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.
passwordstringOptionalThis property is no longer available. If the user has an Atlassian account, their password is not changed. If the user does not have an Atlassian account, they are sent an email asking them set up an account.
productsarrayRequired within parentProducts the new user has access to. Valid products are: jira-core, jira-servicedesk, jira-product-discovery, jira-software. To create a user without product access, set this field to be an empty array.
Unique items: true
products[]stringEach item
selfstringOptionalThe URL of the user.
Read only: true

Get account I Ds for users — response body — item

FieldTypePresenceDescription and constraints
$objectRoot
accountIdJSONOptional
accountId (anyOf 1)stringAlternative
accountId (anyOf 2)nullAlternative
keyJSONOptional
key (anyOf 1)stringAlternative
key (anyOf 2)nullAlternative
usernameJSONOptional
username (anyOf 1)stringAlternative
username (anyOf 2)nullAlternative

Get user groups — response body — item

FieldTypePresenceDescription and constraints
$objectRootDetails about a group.
groupIdJSONOptional
groupId (anyOf 1)JSONAlternative
groupId (anyOf 1) (anyOf 1)stringAlternativeThe ID of the group, which uniquely identifies the group across all Atlassian products. For example, *952d12c3-5b5b-4d04-bb32-44d383afc4b2*.
groupId (anyOf 1) (anyOf 2)nullAlternative
groupId (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeThe name of group.
name (anyOf 2)nullAlternative
selfJSONOptional
self (anyOf 1)stringAlternativeThe URL for these group details.
Format: uri
Read only: true
self (anyOf 2)nullAlternative

Get user — response body

FieldTypePresenceDescription and constraints
$objectRootA user with details as permitted by the user's Atlassian Account privacy settings. However, be aware of these exceptions:

* User record deleted from Atlassian: This occurs as the result of a right to be forgotten request. In this case, `displayName` provides an indication and other parameters have default values or are blank (for example, email is blank).
* User record corrupted: This occurs as a results of events such as a server import and can only happen to deleted users. In this case, `accountId` returns *unknown* and all other parameters have fallback values.
* User record unavailable: This usually occurs due to an internal service outage. In this case, all parameters have fallback values.
accountIdJSONOptional
accountId (anyOf 1)stringAlternativeThe account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*. Required in requests.
Maximum length: 128
accountId (anyOf 2)nullAlternative
accountTypeJSONOptional
accountType (anyOf 1)stringAlternativeThe user account type. Can take the following values:

* `atlassian` regular Atlassian user account
* `app` system account used for Connect applications and OAuth to represent external systems
* `customer` Jira Service Desk account representing an external service desk
Known values: atlassian, app, customer, unknown
Read only: true
accountType (anyOf 2)nullAlternative
activeJSONOptional
active (anyOf 1)booleanAlternativeWhether the user is active.
Read only: true
active (anyOf 2)nullAlternative
appTypeJSONOptional
appType (anyOf 1)stringAlternativeThe app type of the user account when accountType is 'app'. Can take the following values:

* `service` Service Account
* `agent` Rovo Agent Account
* `unknown` Unknown app type
Read only: true
appType (anyOf 2)nullAlternative
applicationRolesJSONOptional
applicationRoles (anyOf 1)ModelAlternativeExpand Get user — response body — application Roles callback, items, max-results, paging Callback, size
The application roles the user is assigned to.
Read only: true
applicationRoles (anyOf 2)nullAlternative
avatarUrlsJSONOptional
avatarUrls (anyOf 1)ModelAlternativeExpand Get user — response body — avatar Urls 16x16, 24x24, 32x32, 48x48
The avatars of the user.
Read only: true
avatarUrls (anyOf 2)nullAlternative
displayNameJSONOptional
displayName (anyOf 1)stringAlternativeThe display name of the user. Depending on the user’s privacy setting, this may return an alternative value.
Read only: true
displayName (anyOf 2)nullAlternative
emailAddressJSONOptional
emailAddress (anyOf 1)stringAlternativeThe email address of the user. Depending on the user’s privacy setting, this may be returned as null.
Read only: true
emailAddress (anyOf 2)nullAlternative
expandJSONOptional
expand (anyOf 1)stringAlternativeExpand options that include additional user details in the response.
Read only: true
expand (anyOf 2)nullAlternative
groupsJSONOptional
groups (anyOf 1)ModelAlternativeExpand Get user — response body — groups callback, items, max-results, paging Callback, size
The groups that the user belongs to.
Read only: true
groups (anyOf 2)nullAlternative
guestJSONOptional
guest (anyOf 1)booleanAlternativeWhether the user is a guest.
Read only: true
guest (anyOf 2)nullAlternative
keyJSONOptional
key (anyOf 1)stringAlternativeThis property is no longer available and will be removed from the documentation soon. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.
key (anyOf 2)nullAlternative
localeJSONOptional
locale (anyOf 1)stringAlternativeThe locale of the user. Depending on the user’s privacy setting, this may be returned as null.
Read only: true
locale (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeThis property is no longer available and will be removed from the documentation soon. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.
name (anyOf 2)nullAlternative
selfJSONOptional
self (anyOf 1)stringAlternativeThe URL of the user.
Format: uri
Read only: true
self (anyOf 2)nullAlternative
timeZoneJSONOptional
timeZone (anyOf 1)stringAlternativeThe time zone specified in the user's profile. If the user's time zone is not visible to the current user (due to user's profile setting), or if a time zone has not been set, the instance's default time zone will be returned.
Read only: true
timeZone (anyOf 2)nullAlternative

Referenced models: Get user — response body — avatar Urls 16x16, 24x24, 32x32, 48x48, Get user — response body — application Roles callback, items, max-results, paging Callback, size, Get user — response body — groups callback, items, max-results, paging Callback, size

Get user — response body — application Roles callback, items, max-results, paging Callback, size

FieldTypePresenceDescription and constraints
$objectRoot
callbackJSONOptional
callback (anyOf 1)ModelAlternativeExpand Get user — response body — groups callback, items, max-results, paging Callback, size callback object
callback (anyOf 2)nullAlternative
itemsJSONOptional
items (anyOf 1)arrayAlternative
items (anyOf 1)[]ModelEach itemExpand Get application role — response body
items (anyOf 2)nullAlternative
max-resultsJSONOptional
max-results (anyOf 1)JSONAlternative
max-results (anyOf 1) (anyOf 1)integerAlternativeFormat: int32
max-results (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
max-results (anyOf 2)nullAlternative
pagingCallbackJSONOptional
pagingCallback (anyOf 1)ModelAlternativeExpand Get user — response body — groups callback, items, max-results, paging Callback, size callback object
pagingCallback (anyOf 2)nullAlternative
sizeJSONOptional
size (anyOf 1)JSONAlternative
size (anyOf 1) (anyOf 1)integerAlternativeFormat: int32
size (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
size (anyOf 2)nullAlternative

Referenced models: Get application role — response body, Get user — response body — groups callback, items, max-results, paging Callback, size callback object

Get user — response body — avatar Urls 16x16, 24x24, 32x32, 48x48

FieldTypePresenceDescription and constraints
$objectRoot
16x16JSONOptional
16x16 (anyOf 1)stringAlternativeThe URL of the item's 16x16 pixel avatar.
Format: uri
16x16 (anyOf 2)nullAlternative
24x24JSONOptional
24x24 (anyOf 1)stringAlternativeThe URL of the item's 24x24 pixel avatar.
Format: uri
24x24 (anyOf 2)nullAlternative
32x32JSONOptional
32x32 (anyOf 1)stringAlternativeThe URL of the item's 32x32 pixel avatar.
Format: uri
32x32 (anyOf 2)nullAlternative
48x48JSONOptional
48x48 (anyOf 1)stringAlternativeThe URL of the item's 48x48 pixel avatar.
Format: uri
48x48 (anyOf 2)nullAlternative

Get user — response body — groups callback, items, max-results, paging Callback, size

FieldTypePresenceDescription and constraints
$objectRoot
callbackJSONOptional
callback (anyOf 1)ModelAlternativeExpand Get user — response body — groups callback, items, max-results, paging Callback, size callback object
callback (anyOf 2)nullAlternative
itemsJSONOptional
items (anyOf 1)arrayAlternative
items (anyOf 1)[]ModelEach itemExpand Get user groups — response body — item
items (anyOf 2)nullAlternative
max-resultsJSONOptional
max-results (anyOf 1)JSONAlternative
max-results (anyOf 1) (anyOf 1)integerAlternativeFormat: int32
max-results (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
max-results (anyOf 2)nullAlternative
pagingCallbackJSONOptional
pagingCallback (anyOf 1)ModelAlternativeExpand Get user — response body — groups callback, items, max-results, paging Callback, size callback object
pagingCallback (anyOf 2)nullAlternative
sizeJSONOptional
size (anyOf 1)JSONAlternative
size (anyOf 1) (anyOf 1)integerAlternativeFormat: int32
size (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
size (anyOf 2)nullAlternative

Referenced models: Get user groups — response body — item, Get user — response body — groups callback, items, max-results, paging Callback, size callback object

Get user — response body — groups callback, items, max-results, paging Callback, size callback object

FieldTypePresenceDescription and constraints
$objectRoot

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.