Methods
Revoke Token
Revoke a token for a Connected Apps client.
POST
Revoke a token for the given Connected Apps client. This endpoint uses your Custom Domain.
This endpoint supports both access tokens and refresh tokens.
If the token is a refresh token, the corresponding access token issued at the same time will also be revoked.
This endpoint is an RFC-7009 compliant token revocation endpoint.
- This endpoint supports passing the
client_idandclient_secretwithin the request body as well as within a HTTP-Basic Auth header. - This endpoint supports the
application/x-www-form-urlencodedcontent type.
We recommend using the Custom Domain whenever possible. For backwards compatibility reasons, this endpoint is also available at https://test.stytch.com/v1/public/${projectId}/oauth2/revoke.
Body
Response
Globally unique UUID that is returned with every API call. This value is important to log for debugging purposes; we
may ask for this value to help identify a specific API call when helping you debug an issue.