Hosted OAuth - Revoke OAuth token
POST {{baseUrl}}/v3/connect/revoke?token={{bearerToken}}
Revoke a Nylas OAuth access token. Pass the token to be revoked as a query parameter.
If you revoke the Nylas OAuth token, it does not revoke the grant or the associated provider token that Nylas uses internally. This means that an end-user can reauthenticate to get a new access token for the existing grant, so the grant_id
does not 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 Params
Key | Datatype | Required | Description |
---|---|---|---|
token | string | (Required) The token to revoke |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
"\u003cobject\u003e"