Manage
Profile
Email
Api Tokens
Lifecycle

Rate this page:

Api Tokens

Api Token APIs

Get API tokens

GET /users/{account_id}/manage/api-tokens

Gets the API tokens owned by the specified user.

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/api-tokens' \
  --header 'Authorization: Bearer <access_token>' \
  --header 'Accept: application/json'

Responses

Success

Content typeValue
application/json

Array<ApiTokenModel>

Delete API token

DELETE /users/{account_id}/manage/api-tokens/{tokenId}

Deletes a specifid API token by ID.

Request

Path parameters
account_id Required

string

The ID of the user

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

string

The ID of the API token

Example

1
2
3
curl --request DELETE \
  --url 'https://api.atlassian.com/users/{account_id}/manage/api-tokens/{tokenId}' \
  --header 'Authorization: Bearer <access_token>'

Responses

The API token was deleted

Rate this page: