Gets count of user API keys in an organization.
OAuth 2.0 scopes required: read:tokens:admin
Forge and OAuth2 apps cannot access this REST resource.
string
Requiredstring
string
string
string
integer
string
string
string
string
string
string
RequiredReturned 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-keys/count' \
--header 'Accept: application/json'
Gets all user API keys in an organization.
OAuth 2.0 scopes required: read:tokens:admin
Forge and OAuth2 apps cannot access this REST resource.
string
Requiredstring
string
string
string
integer
string
string
string
string
string
string
RequiredReturned 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-keys' \
--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
24
25
26
27
{
"data": [
{
"id": "<string>",
"label": "<string>",
"createdAt": "<string>",
"expiresAt": "<string>",
"lastActiveAt": "<string>",
"systemAccountId": "<string>",
"resource": "<string>",
"orgId": "<string>",
"createdBy": {
"id": "<string>",
"name": "<string>",
"email": "<string>"
},
"scopes": [
"<string>"
]
}
],
"links": {
"self": "<string>",
"next": "<string>",
"prev": "<string>"
}
}
Revokes an existing API key
OAuth 2.0 scopes required: delete:tokens:admin
Forge and OAuth2 apps cannot access this REST resource.
string
Requiredstring
RequiredReturned if the request is successful.
integer
integer
string
1
2
curl --request PATCH \
--url 'https://api.atlassian.com/admin/api-access/v1/orgs/{orgId}/api-keys/revoke/{apiKeyId}'
Rate this page: