K
Kinde2mo ago
TJ

Revoke all access tokens from Kinde

Hi, May I know how to revoke all access tokens from Kinde?
1 Reply
Claire_Kinde
Claire_Kinde2mo ago
Hey TJ. To revoke all access tokens from Kinde, you can use the Kinde Management API (v1). Specifically, you will need to make a POST request to the endpoint /oauth2/revoke for each token you wish to revoke. Here are the steps and parameters required for this action: 1. ​Endpoint​: /oauth2/revoke 2. ​HTTP Method​: POST 3. ​Request Body Parameters​: • token (string): The access token you want to revoke. • client_id (string): Your client's identifier. • client_secret (string): The secret associated with your client. Make sure to set the Content-Type header to application/x-www-form-urlencoded. Responses​: • ​200​: The token was successfully revoked. • ​401​: Bad request (with additional error information in JSON format). • ​403​: Invalid credentials provided. • ​429​: Request throttled due to excessive requests. For detailed guidance on making this request, including how to handle different response scenarios, you can refer to the Kinde API documentation. https://kinde.com/api/docs/ Hope this helps. Let us know if you need further assistance.