---
title: Revoke a publish token
description: 'Signed-in session only (cookie, or the releases login session token).'
---
# Revoke a publish token

`DELETE https://api.releases.sh/v1/me/publish-tokens/{id}`

Signed-in session only (cookie, or the `releases login` session token). Revokes one of the caller's publish tokens; it stops working immediately. 404 when the id isn't a publish token the caller owns. Idempotent.

**Auth:** Bearer token required.

**Parameters**

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes |  |

**Responses**

- `200` Revoked
- `401` Sign-in required
- `404` Lane disabled, or no such publish token for this caller

Full request and response schemas: [OpenAPI 3.1 spec](https://api.releases.sh/v1/openapi.json).
