Profile APIs
Returns information about a single Atlassian account by ID
AccountId
RequiredYou have permission to manage the user. The profile data is returned.
1
2
3
4
curl --request GET \
--url 'https://api.atlassian.com/users/{account_id}/manage/profile' \
--header 'Authorization: Bearer <access_token>' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"account": {
"account_id": "557057:4f9acfd2-6155-419b-8de5-5b5cf27a59a0",
"account_type": "atlassian",
"account_status": "active",
"name": "Lila User",
"picture": "https://www.example.com/avatars/userl",
"email": "vmars@marsinvestigations.com",
"characteristics": {},
"nickname": "marshmallow",
"zoneinfo": "America/Los_Angeles",
"locale": "en-US",
"extended_profile": {}
}
}
Updates fields in a user account. The profile.write
privilege details which fields you can change.
AccountId
RequiredThe information to change, a subset of the mutable fields described in the profile.write
privilege.
allOf [User, object]
You have permission to manage the user. The profile is updated.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
curl --request PATCH \
--url 'https://api.atlassian.com/users/{account_id}/manage/profile' \
--header 'Authorization: Bearer <access_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"name": "Lila User",
"nickname": "marshmallow",
"zoneinfo": "America/Los_Angeles",
"locale": "en-US",
"extended_profile": {
"job_title": "Lead Investigator",
"organization": "Amalgamated Investigations",
"department": "Investigations",
"location": "Lompoc, CA"
}
}'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"account": {
"account_id": "557057:4f9acfd2-6155-419b-8de5-5b5cf27a59a0",
"account_type": "atlassian",
"account_status": "active",
"name": "Lila User",
"picture": "https://www.example.com/avatars/userl",
"email": "vmars@marsinvestigations.com",
"characteristics": {},
"nickname": "marshmallow",
"zoneinfo": "America/Los_Angeles",
"locale": "en-US",
"extended_profile": {}
}
}
Rate this page: