List tokens

GET {{baseUrl}}/tyk/oauth/clients/:apiID/:keyName/tokens

This endpoint allows you to retrieve a list of all current tokens and their expiry date for a provided API ID and OAuth-client ID in the following format. This endpoint will work only for newly created tokens.

You can control how long you want to store expired tokens in this list using oauth_token_expired_retain_period gateway option, which specifies retain period for expired tokens stored in Redis. By default expired token not get removed. See here for more details.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

["\u003cstring\u003e","\u003cstring\u003e"]