> ## Documentation Index
> Fetch the complete documentation index at: https://docs.attio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Revoke

Revoke an access token, so that it can no longer be used to make requests to the Attio REST API. A bearer token should be passed in the `Authorization` header of the request.

Alternatively, the token can be passed in the request body, as a `token` parameter with a `Content-Type` of `application/x-www-form-urlencoded`.

```bash theme={"system"}
curl -X POST https://app.attio.com/oauth/revoke \
  -H "Content-Type: application/x-www-form-urlencoded" \
  --data-urlencode "token=<token>"
```

<h4 style={{borderBottom:"none"}}>Response</h4>

Returns `204 No Content` with an empty body on success.

<h4 style={{borderBottom:"none"}}>Errors</h4>

Returns `400` if no token was found in either the `Authorization` header or the request body, or if the token in the header does not match the token in the body.

<h4 style={{borderBottom:"none"}}>Rate limiting</h4>

This endpoint is limited to 50 requests per minute per IP address, separately from the [rate limits](/rest-api/guides/rate-limiting) that apply to the rest of the API.
