---
title: "Revoke a personal access token in a workspace"
method: DELETE
path: "/v1/spaces/{space_id}/personal_access_tokens/{bot_id}"
tags: ["Admin API"]
---

# Revoke a personal access token in a workspace

`DELETE /v1/spaces/{space_id}/personal_access_tokens/{bot_id}`

## Request

- Base URL: `https://api.notion.com/admin`
- URL: `https://api.notion.com/admin/v1/spaces/{space_id}/personal_access_tokens/{bot_id}`
- Auth: HTTP bearer

## Path parameters

- `bot_id` string, uuid, required
- `space_id` string, uuid, required

## Headers

- `Notion-Version` '2026-03-11', required

## Response `200`

- object

## Other responses

- `400`: The request body, path parameters, or query parameters are invalid.
- `401`: The request is missing a valid bearer token.
- `403`: The authenticated bot does not have access to the requested resource or scope.
- `404`: The requested resource could not be found.
- `429`: The request was rate limited.
- `500`: An unexpected server error occurred.

---

[API](https://skmtc.dev/notion/apis/notion-admin-api.md) - [All operations](https://skmtc.dev/notion/apis/notion-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/notion/apis/notion-admin-api/revisions/62d8d95d51e0?raw)
