---
title: "Hosted OAuth - Revoke OAuth token"
method: POST
path: "/v3/connect/revoke"
tags: ["Authentication APIs"]
---

# Hosted OAuth - Revoke OAuth token

`POST /v3/connect/revoke`

Revokes 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.

## Query parameters

- `token` string, required

## Response `200`

The token was revoked successfully.

- object

## Other responses

- `400` — The token could not be revoked, possibly because it was invalid or already expired.

---

[API](https://skmtc.dev/nylas/apis/nylas-api.md) · [All operations](https://skmtc.dev/nylas/apis/nylas-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nylas/nylas-api/revisions/51c2c1b4ecff/schema)
