Claude Platform Docs

Excluir chave externa

DELETE/v1/organizations/external_keys/{external_key_id}

Exclua uma configuração de chave externa.

A solicitação é rejeitada se algum workspace ainda referenciar esta configuração.

Path parameters
external_key_id: string

ID of the External Key.

maxLength2048
Returns
id: string

ID of the deleted External Key.

type: "external_key_deleted"
defaultexternal_key_deleted
Excluir chave externa
curl https://api.anthropic.com/v1/organizations/external_keys/$EXTERNAL_KEY_ID \
    -X DELETE \
    -H 'anthropic-version: 2023-06-01' \
    -H "X-Api-Key: $ANTHROPIC_API_KEY"
Returns Examples
Response 200
{
  "id": "ekey_01AbCdEfGhIjKlMnOpQrStUv",
  "type": "external_key_deleted"
}