---
title: "Revoke"
method: DELETE
path: "/api/v1/llm-gateway/keys/{id}"
tags: ["LLM Gateway Keys"]
---

# Revoke

`DELETE /api/v1/llm-gateway/keys/{id}`

Invokes the c1.api.llm_gateway.v1.GatewayKeyService.Revoke method.

## Path parameters

- `id` string, required — The id field.

## Request body

- C1ApiLlmGatewayV1RevokeGatewayKeyRequestInput — The RevokeGatewayKeyRequest message.

## Response `200`

Successful response

- C1ApiLlmGatewayV1RevokeGatewayKeyResponse — The RevokeGatewayKeyResponse message.
  - `gatewayKey` C1ApiLlmGatewayV1GatewayKey — The GatewayKey message.
    - `createdAt` string, date-time, nullable
    - `displayName` string — The displayName field.
    - `id` string — The id field.
    - `keyPrefix` string — The keyPrefix field.
    - `revokedAt` string, date-time, nullable
    - `updatedAt` string, date-time, nullable

---

[API](https://skmtc.net/conductorone/apis/c1-api.md) · [All operations](https://skmtc.net/conductorone/apis/c1-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/conductorone/c1-api/revisions/f2cf3228f366/schema)
