Revoke a token
Authentication
Revoke a token
Revoke an access_token and refresh_token
Either token may be provided to “log out” of the API session. Both tokens we be invalidated.
- Only include param:
tokenwith youraccess_tokenorrefresh_token - Requires an
Authorizationheader asBearer access_tokento authenticate the request.
Response
- A successful response will have an empty body
- An error response will include a JSON body with error details.
POST
Revoke a token