Delete External Key

Changed on

Delete an external key config.

The request is rejected if any workspace still references this config.

delete/v1/organizations/external_keys/{external_key_id}

Request

  • Base URL
    https://api.anthropic.com
  • Auth
    none declared

Path parameters

external_key_idstring required

ID of the External Key.

Headers

anthropic-versionstring

The version of the Claude API you want to use.

Read more about versioning and our version history here.

Response

Successful Response

idstring required

ID of the deleted External Key.

type'external_key_deleted' required

Example response

{
  "id": "ekey_01AbCdEfGhIjKlMnOpQrStUv"
}

Changes

    • breaking

      the response's property type changed from no type to object for status

    • info

      added the optional property / to the response with the status

    • info

      removed discriminator from response property for the response status

    • info

      removed from the response property oneOf list for the response status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • warning

      deleted the header request parameter x-api-key