---
title: POST · Revoke token
published: true
tier: free
index: 3
---

# POST · Revoke token

`POST /api/trpc/glue.automation.revokeToken`

**Body.** Send `siteId` and the token's ID from the list operation.

```json
{"json":{"siteId":"PROJECT_ID","tokenId":"TOKEN_ID"}}
```

**Returns.** `{"revoked":true}`. The revoked publishing credential can no longer authorize project automation.
