Hosted OAuth - Revoke OAuth token
Changed onRevokes the specified OAuth access token. When you revoke the token, Nylas doesn't revoke the grant or the associated provider token. This means that a user can re-authenticate to get a new access token for the existing grant, so their grant_id doesn't change.
If you revoke a Nylas access token, Nylas also revokes all child tokens and the parent refresh_token attached to the access token.
Request
- Base URLhttps://api.us.nylas.com
- Auth
- HTTP bearer
- or HTTP bearer
Query parameters
The token to revoke
Response
The token was revoked successfully.
Changes
- breaking
the
response's property type changed fromstringtoobjectfor status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the non-success response with the status
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
to the response with the status
- breaking