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

# deleteApiToken

> Delete a single short-lived api access token by id. Reference for the deleteApiToken mutation in the Codex API: arguments, response fields, and usage.

## GraphQL

```
type Mutation {
  # Requires a Growth or Enterprise plan.
  deleteApiToken(
    id: String!
  ): String!
}
```

### Example

[Test this query in the Explorer →](https://docs.codex.io/explore.md)

```graphql theme={null}
mutation {
  deleteApiToken(id: "your-token-id")
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.