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

# Delete Repo Token

> Revoke and delete a repo token

## Path Parameters

<ParamField path="token" type="string" required>
  The repo token to delete
</ParamField>

## Response

This endpoint returns no content on successful deletion.

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE https://api.relace.run/v1/repo_token/rlcr-a1b2c3d4e5f67890abcdef1234567890abcdef12
  ```

  ```typescript TypeScript SDK theme={null}
  import { Relace } from "@relace-ai/relace";

  const client = new Relace();

  const token = "rlcr-a1b2c3d4e5f67890abcdef1234567890abcdef12";
  await client.repoToken.delete(token);
  console.log("Repo token deleted successfully");
  ```

  ```python Python SDK theme={null}
  from relace import Relace

  client = Relace(api_key = "YOUR_API_KEY")

  token = "rlcr-a1b2c3d4e5f67890abcdef1234567890abcdef12"
  client.repo_token.delete(token)
  print("Repo token deleted successfully")
  ```
</RequestExample>

<ResponseExample>
  ```bash Response theme={null}
  204 No Content
  ```
</ResponseExample>
