cURL
curl --request GET \ --url https://{tenant}/api/apis/oauth/{apiId}/{clientId}/tokens \ --header 'Authorization: Bearer <token>'
[ { "code": "5a7d110be6355b0c071cc339327563cb45174ae387f52f87a80d2496", "expires": 1618158407 }, { "code": "5a7d110be6355b0c071cc33988884222b0cf436eba7979c6c51d6dbd", "expires": 1618158594 } ]
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.
The Tyk Dashboard API Access Credentials
The API’s ID.
The client ID.
OK
Was this page helpful?