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.
Parameters
Returns
Excluir chave externa
import os
from anthropic import Anthropic
client = Anthropic(
api_key=os.environ.get(
"ANTHROPIC_API_KEY"
), # This is the default and can be omitted
)
external_key = client.organization.external_keys.delete(
"external_key_id",
)
print(external_key.id)Response 200
{
"id": "ekey_01AbCdEfGhIjKlMnOpQrStUv",
"type": "external_key_deleted"
}Returns Examples
Response 200
{
"id": "ekey_01AbCdEfGhIjKlMnOpQrStUv",
"type": "external_key_deleted"
}