Okta Admin Management API
/Authorization Servers
//
List all refresh tokens f...
OAuth 2.0 scope:
- okta.authorizationServers.read
Lists all refresh tokens issued by an authorization server for a specific Client
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens
curl -i -X GET \
'https://subdomain.okta.com/api/v1/authorizationServers/GeGRTEr7f3yu2n7grw22/clients/52Uy4BUWVBOjFItcg2jWsmnd83Ad8dD/tokens?expand=string&after=string&limit=-1'Success
Array []
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": "{refreshTokenId}", "status": "ACTIVE", "created": "2023-09-21T19:59:56.000Z", "lastUpdated": "2023-09-21T20:00:38.000Z", "expiresAt": "2023-09-28T20:00:38.000Z", "issuer": "https://{yourOktaDomain}/oauth2/{authorizationServerId}", "client_id": "{clientId}", "userId": "{userId}", "scopes": [ … ], "_embedded": { … }, "_links": { … } } ]