***

title: delete
slug: /reference/typescript/rest/project/delete
description: Revoke and delete an API token.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

### tokens.delete

Revoke and delete an API token.

<EndpointSchemaSnippet endpoint="DELETE /api/project/tokens/{token_id}" />

## **Example**

```typescript {9-9}
import { RestClient } from "@signalwire/sdk";

const client = new RestClient({
  project: "your-project-id",
  token: "your-api-token",
  host: "your-space.signalwire.com"
});

await client.project.tokens.delete("token-id");
```