---
title: "Revoke a token"
method: DELETE
path: "/api/projects/{projectId}/security/tokens/{tokenId}"
tags: ["Security"]
---

# Revoke a token

`DELETE /api/projects/{projectId}/security/tokens/{tokenId}`

Revokes and permanently deletes the specified access token from the project.

## Path parameters

- `projectId` string, uuid, required
- `tokenId` string, uuid, required

## Response `200`

Token successfully revoked

---

[API](https://skmtc.dev/gorules/apis/gorules-agent-api.md) · [All operations](https://skmtc.dev/gorules/apis/gorules-agent-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gorules/gorules-agent-api/revisions/52c0773fcd80/schema)
