---
title: "Revoke an Org Auth Token"
url: https://docs.sentry.io/api/organizations/revoke-an-org-auth-token/
---

# Revoke an Org Auth Token | Sentry Docs

DELETE /api/0/organizations/{organization\_id\_or\_slug}/org-auth-tokens/{token\_id}/

Revoke an organization's org auth token, so it can no longer authenticate requests. The revocation is recorded in the organization's audit log. Revoking a token that was already revoked returns 404.

Org auth tokens can be managed from a signed-in session, or with an OAuth application token that has the `org:tokens` scope in addition to one of the scopes listed here. Personal auth tokens, org auth tokens and integration tokens can't call this endpoint and get a 403.

### Path Parameters

* `organization_id_or_slug` *(string)*

  REQUIRED

  The ID or slug of the organization the resource belongs to.

* `token_id` *(integer)*

  REQUIRED

  The ID of the org auth token to revoke.

### Scopes

You need to [authenticate via bearer auth token.](https://docs.sentry.io/api/auth.md)

`<auth_token>` requires one of the following scopes:

* `org:admin`
* `org:write`

```
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/org-auth-tokens/{token_id}/ \
 -H 'Authorization: Bearer <auth_token>' \
 -X DELETE
```

RESPONSE

```
Copied
No Content.
```

---

Find other pages: [Sitemap](https://docs.sentry.io/sitemap.md) lists every page with a one-line summary, and [llms.txt](https://docs.sentry.io/llms.txt) gives an overview with guidance for agents.
