API Token APIs
Gets all user API tokens in an organization.
OAuth 2.0 scopes required: read:tokens:admin
string
Requiredstring
string
string
string
integer
string
string
string
string
string
Returned if the request is successful.
integer
integer
string
1
2
3
curl --request GET \
--url 'https://api.atlassian.com/admin/api-access/v1/orgs/{orgId}/api-tokens' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"data": [
{
"id": "<string>",
"label": "<string>",
"status": "ALLOWED",
"createdAt": "<string>",
"expiresAt": "<string>",
"lastActiveAt": "<string>",
"user": {
"id": "<string>",
"orgId": "<string>",
"name": "<string>",
"email": "<string>"
}
}
],
"links": {
"self": "<string>",
"next": "<string>",
"prev": "<string>"
}
}
Gets count of user API tokens in an organization.
OAuth 2.0 scopes required: read:tokens:admin
string
Requiredstring
string
string
string
integer
string
string
string
string
string
Returned if the request is successful.
integer
integer
string
integer
1
2
3
curl --request GET \
--url 'https://api.atlassian.com/admin/api-access/v1/orgs/{orgId}/api-tokens/count' \
--header 'Accept: application/json'
Revokes all managed user API tokens in an organization by orgID.
string
RequiredSuccessful operation
1
2
curl --request DELETE \
--url 'https://api.atlassian.com/admin/api-access/v1/v1/orgs/{orgId}/api-tokens'
Rate this page: