• Manage
  • Profile
  • Email
  • Api Tokens
  • Lifecycle
Cloud
User management REST API / Reference / REST API

Profile

Postman Collection
OpenAPI
GET

Get profile

Returns information about a single Atlassian account by ID

Request

Path parameters

account_id

AccountId

Required

Responses

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

application/json

object
GET/users/{account_id}/manage/profile
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'
200Response
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": {} } }
PATCH

Update profile

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

Request

Path parameters

account_id

AccountId

Required

Request bodyapplication/json

The information to change, a subset of the mutable fields described in the profile.write privilege.

allOf [User, object]

User
object

Responses

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

application/json

object
PATCH/users/{account_id}/manage/profile
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" } }'
200Response
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: