Delete External Key changedapi/admin/external_keys/delete
Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+10added
Lines−13removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits4to this page, all time
# Delete External Key ## Path parameters ## Returns ## Example ### Response (200) ## Delete External Key ### Path Parameters ### Returns ### Example #### Response
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Delete External Key
3url: https://platform.claude.com/docs/en/api/admin/external_keys/delete
4---
1# Delete External Key
52
6## Delete External Key
3**DELETE** `/v1/organizations/external_keys/{external_key_id}`
74
8**delete** `/v1/organizations/external_keys/{external_key_id}`
9
105Delete an external key config.
116
127The request is rejected if any workspace still references this config.
138
14### Path Parameters
9## Path parameters
1510
1611- `external_key_id: string`
1712
1813 ID of the External Key.
1914
20### Returns
15 maxLength: 2048
2116
17## Returns
18
2219- `id: string`
2320
2421 ID of the deleted External Key.
from line 22
2522
2623- `type: "external_key_deleted"`
2724
28 - `"external_key_deleted"`
25 default: external_key_deleted
2926
30### Example
27## Example
3128
32```http
29```bash
3330curl https://api.anthropic.com/v1/organizations/external_keys/$EXTERNAL_KEY_ID \
3431 -X DELETE \
3532 -H 'anthropic-version: 2023-06-01' \
from line 33
3633 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
3734```
3835
39#### Response
36### Response (200)
4037
4138```json
4239{
No line in this hunk matches that.