Delete External Storage
DELETE/v1/organizations/external_storage/{external_storage_id}
Requires
anthropic-beta: efs-2026-10-01. Learn how to send beta headers.Delete External Storage. Storage that is pending configuration, available, or active
but never attached is deleted at once, unless an Enterprise Frontier Safeguards workspace
policy lists it. Other storage gets a 400 that says what to do next. On draining
storage that 400 can mean this delete started a removal that can't be undone. To check,
get the storage: if status.removal_started is true, delete it again later to finish.
Delete External Storage
import os
from anthropic import Anthropic
client = Anthropic(
api_key=os.environ.get(
"ANTHROPIC_API_KEY"
), # This is the default and can be omitted
)
beta_deleted_external_storage = client.beta.organization.external_storage.delete(
external_storage_id="external_storage_id",
)
print(beta_deleted_external_storage.id)Response 200
{
"id": "estrg_01SDCCSbTxrXDpWc1phhtcfK",
"type": "external_storage_deleted"
}Returns Examples
Response 200
{
"id": "estrg_01SDCCSbTxrXDpWc1phhtcfK",
"type": "external_storage_deleted"
}