Okta Admin Management API
/Applications
/- Retrieve an application token
Application Tokens
List all application refresh tokens
Revoke all application tokens
Revoke an application token
Retrieve an application t...
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/apps/{appId}/tokens/{tokenId}
curl -i -X GET \
'https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/tokens/sHHSth53yJAyNSTQKDJZ?expand=scope'Success
Timestamp when the object was created
Example:"2017-03-28T01:11:10.000Z"
The complete URL of the authorization server that issued the Token
Example:"https://{yourOktaDomain}/oauth2/ausain6z9zIedDCxB0h7"
Timestamp when the object was last updated
The embedded resources related to the object if the expand query parameter is specified
Specifies link relations (see Web Linking) available using the JSON Hypertext Application Language specification. This object is used for dynamic discovery of related resources and lifecycle operations.
Response
{ "id": "oar579Mcp7OUsNTlo0g3", "status": "ACTIVE", "created": "2023-03-09T03:18:06.000Z", "lastUpdated": "2023-03-09T03:18:06.000Z", "expiresAt": "2023-03-16T03:18:06.000Z", "issuer": "https://{yourOktaDomain}/oauth2/ausain6z9zIedDCxB0h7", "clientId": "0oabskvc6442nkvQO0h7", "userId": "00u5t60iloOHN9pBi0h7", "scopes": [ "offline_access", "car:drive" ], "_embedded": { "scopes": [ … ] }, "_links": { "app": { … }, "self": { … }, "revoke": { … }, "client": { … }, "user": { … }, "authorizationServer": { … } } }