Lists all the metadata of the active API tokens
OK
Forbidden
Too Many Requests
[- {- "name": "My API Token",
- "userId": "00uabcdefg1234567890",
- "tokenWindow": "P30D",
- "network": {- "connection": "ANYWHERE"
 },
- "id": "00Tabcdefg1234567890",
- "clientName": "Okta API",
- "expiresAt": "2021-12-11T20:38:10.000Z",
- "created": "2021-11-09T20:38:10.000Z",
- "lastUpdated": "2021-11-11T20:38:10.000Z",
- "_links": {- "self": {
- "hints": {- "allow": [- "GET",
- "DELETE"
 ]
 }
 },
- "user": {
- "hints": {- "allow": [- "GET"
 ]
 }
 }
 }
 },
- {- "name": "Another API Token",
- "userId": "00uabcdefg1234567890",
- "tokenWindow": "PT5M",
- "id": "00T1234567890abcdefg",
- "clientName": "Okta API",
- "expiresAt": "2021-11-11T20:43:10.000Z",
- "created": "2021-11-09T20:38:10.000Z",
- "lastUpdated": "2021-11-11T20:38:10.000Z",
- "_links": {- "self": {
- "hints": {- "allow": [- "GET",
- "DELETE"
 ]
 }
 },
- "user": {
- "hints": {- "allow": [- "GET"
 ]
 }
 }
 }
 }
]Revokes the API token provided in the Authorization header
No Content
Forbidden
Too Many Requests
{- "errorCode": "E0000006",
- "errorSummary": "You do not have permission to perform the requested action",
- "errorLink": "E0000006",
- "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
- "errorCauses": [ ]
}Retrieves the metadata for an active API token by apiTokenId
OK
Forbidden
Not Found
Too Many Requests
{- "name": "My API Token",
- "userId": "00uXXXXXXXXXXXXXXXXX",
- "tokenWindow": "P30D",
- "network": {- "connection": "ANYWHERE"
 },
- "id": "00Tabcdefg1234567890",
- "clientName": "Okta API",
- "expiresAt": "2021-12-11T20:38:10.000Z",
- "created": "2021-11-09T20:38:10.000Z",
- "lastUpdated": "2021-11-11T20:38:10.000Z",
- "_links": {- "self": {
- "hints": {- "allow": [- "GET",
- "DELETE"
 ]
 }
 },
- "user": {
- "hints": {- "allow": [- "GET"
 ]
 }
 }
 }
}Upserts an API Token Network Condition by apiTokenId
OK
Bad Request
Forbidden
Not Found
Too Many Requests
{- "name": "api_token_name",
- "clientName": "client_name",
- "userId": "00uabcdefg1234567890",
- "network": {- "connection": "ANYWHERE"
 },
- "created": "2021-11-09T20:38:10.000Z"
}{- "name": "My API Token",
- "userId": "00uXXXXXXXXXXXXXXXXX",
- "tokenWindow": "P30D",
- "network": {- "connection": "ANYWHERE"
 },
- "id": "00Tabcdefg1234567890",
- "clientName": "Okta API",
- "expiresAt": "2021-12-11T20:38:10.000Z",
- "created": "2021-11-09T20:38:10.000Z",
- "lastUpdated": "2021-11-11T20:38:10.000Z",
- "_links": {- "self": {
- "hints": {- "allow": [- "GET",
- "DELETE"
 ]
 }
 },
- "user": {
- "hints": {- "allow": [- "GET"
 ]
 }
 }
 }
}Revokes an API token by apiTokenId
No Content
Forbidden
Not Found
Too Many Requests
{- "errorCode": "E0000006",
- "errorSummary": "You do not have permission to perform the requested action",
- "errorLink": "E0000006",
- "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
- "errorCauses": [ ]
}