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

# PIN Delete API Key

> DELETE /v1/apikeys/{id} for the PIN API. Remove an API key permanently by its unique identifier.

Use the delete API key endpoint to revoke and permanently remove an API key. Provide the key's unique identifier in the path. Once deleted, the key can no longer be used for authentication.

## Endpoint

```http theme={null}
DELETE /v1/apikeys/{id}
```

## Authentication

Requires a valid `Authorization: Bearer <jwt-or-api-key>` header.

## Path Parameters

<ParamField path="id" type="string" required>
  Unique identifier of the API key to delete.
</ParamField>

## Response

Returns HTTP 200 with a success response envelope on successful deletion.

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE https://ariapin.example.com:8001/v1/apikeys/key_xyz \
    -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "code": 0,
    "data": {},
    "message": ""
  }
  ```
</ResponseExample>


## Related topics

- [Authenticate with PIN API Keys and Agent Tokens](/api-reference/pin/authentication.md)
- [GET /v1/apikeys: List PIN API Keys](/api-reference/pin/apikeys/list.md)
- [POST /v1/apikeys — Create PIN API Key](/api-reference/pin/apikeys/create.md)
- [Delete an Agent](/api-reference/pin/agents/delete.md)
- [Delete a GPU Node](/api-reference/pin/gpu-nodes/delete.md)
