Revoke a token for the given Connected Apps client.
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.
Important: Unlike other Stytch API endpoints, this endpoint is not authenticated with a project_id and project_secret pair. Instead, it is authenticated via the client_id and client_secret of an active Connected App Client within the current project.
This endpoint is an RFC-7009 compliant token revocation endpoint.
- This endpoint supports passing the client_id and client_secret within the request body as well as within a HTTP-Basic Auth header.
- This endpoint supports the application/x-www-form-urlencoded content type.