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

Api Tokens

Postman Collection
OpenAPI
GET

Get API tokens

Gets the API tokens owned by the specified user.

Request

Path parameters

account_id

AccountId

Required

Responses

Success

application/json

array<ApiTokenModel>

GET/users/{account_id}/manage/api-tokens
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'
200Response
1 2 3 4 5 6 7 8 [ { "label": "My Addon", "lastAccess": "2015-05-12T20:20:50.521Z", "createdAt": "2015-04-12T23:20:50.522Z", "id": "<string>" } ]
DEL

Delete API token

Deletes a specifid API token by ID.

Request

Path parameters

account_id

AccountId

Required
tokenId

string

Required

Responses

The API token was deleted

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

Rate this page: