---
title: "Delete an external storage configuration"
method: DELETE
path: "/organization/external_storage/{external_storage_id}"
---

# Delete an external storage configuration

`DELETE /organization/external_storage/{external_storage_id}`

## Request

- Base URL: `https://api.openai.com/v1`
- URL: `https://api.openai.com/v1/organization/external_storage/{external_storage_id}`
- Auth: HTTP bearer

Disconnect a customer-managed external storage configuration. Removing the project's last configuration restores organization-default retention if customer-managed retention was active. Repeating a deletion also completes any interrupted retention update. Cloud storage is unchanged.

## Path parameters

- `external_storage_id` string, required

## Response `200`

Success

- ExternalStorageDeletedResource
  - `object` 'organization.external_storage.deleted', required
  - `id` string, required
  - `deleted` boolean, required

## Other responses

- `400`: The organization is not enabled for external storage.
- `403`: The caller does not have permission to perform this operation.
- `404`: The organization or external storage was not found.

## Changes

- **2026-10-06** `487892d3954e`: 3 info
  - added the optional property `error/misalignment/review_target` to the response with the `400` status
  - added the optional property `error/misalignment/review_target` to the response with the `403` status
  - added the optional property `error/misalignment/review_target` to the response with the `404` status
- **2026-10-05** `7f654af7f94f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/omnistack-sh/apis/openai-api/changes/organization/external_storage/:external_storage_id/delete.md)

---

[API](https://skmtc.dev/omnistack-sh/apis/openai-api.md) - [All operations](https://skmtc.dev/omnistack-sh/apis/openai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/omnistack-sh/apis/openai-api/revisions/0a26f104d35f?raw)
