> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mobula.io/llms.txt
> Use this file to discover all available pages before exploring further.

# deleteApiToken

> Revoke a short-lived API token by its ID.

### Returns

<ResponseField name="deleteApiToken" type="String!">
  The ID of the deleted API token.
</ResponseField>

### Arguments

<ResponseField name="id" type="String!" required>
  The API token ID (from [ApiToken](/api-reference/graphql/types/ApiToken) or createApiTokens response).
</ResponseField>

### Example

```graphql theme={null}
mutation DeleteApiToken($id: String!) {
  deleteApiToken(id: $id)
}
```

### Playground

<iframe src={`https://graphql.mobula.io/graphql?query=${encodeURIComponent('mutation DeleteApiToken($id: String!) { deleteApiToken(id: $id) }')}&variables=${encodeURIComponent('{"id": "YOUR_TOKEN_ID"}')}`} title="GraphQL Playground" style={{ width: '100%', minHeight: '600px', border: '1px solid var(--color-border)', borderRadius: '8px' }} />
