Manage
Profile
Email
Api Tokens
Lifecycle

Rate this page:

Profile

Profile APIs

Get profile

GET /users/{account_id}/manage/profile

Returns information about a single Atlassian account by ID

Request

Path parameters
account_id Required

string

The ID of the user

Pattern: [a-zA-Z0-9_|:-]{1,128}

Example

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'

Responses

You have permission to manage the user. The profile data is returned.

Content typeValue
application/json

object

Update profile

PATCH /users/{account_id}/manage/profile

Updates fields in a user account. The profile.write privilege details which fields you can change.

Request

Path parameters
account_id Required

string

The ID of the user to update

Pattern: [a-zA-Z0-9_|:-]{1,128}
Body parameters
Content typeValue
application/json

allOf [User, object]

Example

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"
  }
}'

Responses

You have permission to manage the user. The profile is updated.

Content typeValue
application/json

object

Rate this page: