Rate this page:
Profile APIs
GET /users/{account_id}/manage/profile
Returns information about a single Atlassian account by ID
string
The ID of the user
[a-zA-Z0-9_|:-]{1,128}
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'
You have permission to manage the user. The profile data is returned.
Content type | Value |
---|---|
application/json |
PATCH /users/{account_id}/manage/profile
Updates fields in a user account. The profile.write
privilege details which fields you can change.
string
The ID of the user to update
[a-zA-Z0-9_|:-]{1,128}
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"
}
}'
You have permission to manage the user. The profile is updated.
Content type | Value |
---|---|
application/json |
Rate this page: