Gets count of user API keys in an organization.
Authorization scopes required: read:keys: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
4
curl --request GET \
--url 'https://api.atlassian.com/admin/api-access/v1/orgs/{orgId}/api-keys/count' \
--header 'Accept: application/json' \
--header 'Authorization: <Authorization>'Gets all user API keys in an organization.
Authorization scopes required: read:keys: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
4
curl --request GET \
--url 'https://api.atlassian.com/admin/api-access/v1/orgs/{orgId}/api-keys' \
--header 'Accept: application/json' \
--header 'Authorization: <Authorization>'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
Authorization scopes required: delete:keys: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: