Huddle01 Cloud
API Keys

Revoke API key

Revoke an API key.

DELETE
/api-keys/{id}
X-API-Key<token>

GPU API key (format: mk_...). Generate from the dashboard or via POST /api-keys.

In: header

Path Parameters

id*string

API key UUID

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://gpu.huddleapis.com/api/v1/api-keys/string"
{
  "code": "OK",
  "data": {
    "id": "e5f6a7b8-...",
    "name": "ci-pipeline",
    "prefix": "mk_9f8e7d",
    "created_at": "2026-04-01T12:05:00Z",
    "revoked_at": "2026-04-01T13:00:00Z"
  }
}
{
  "code": "BAD_REQUEST",
  "error": "Missing required field: hostname"
}
{
  "code": "BAD_REQUEST",
  "error": "Missing required field: hostname"
}
{
  "code": "BAD_REQUEST",
  "error": "Missing required field: hostname"
}