Skip to main content

Delete a storage connection

DELETE 

/program/api/v2/storage/connections/:connectionID

Soft-deletes the connection. Assets already written through it keep resolving — the asset resolves through the connection it was written through, not through whichever connection the surface currently names — but the connection is hidden from listing and refused for new bindings.

A connection that any storage feature still references is refused with 409 connection_in_use, and the error payload names the referencing features. Rebind those features to another connection, or move them to managed storage, and retry. Reading boundFeatures on the connection answers the same question without provoking the error.

The customer's own bucket and objects are never touched.

Generate JWT

Request​

Responses​

Connection deleted

Forbidden — no project access

Connection not found (connection_not_found) — including a connection that belongs to another project, which is deliberately indistinguishable from one that does not exist.

Connection is still referenced by one or more storage features (connection_in_use). The error payload names the referencing features.

Internal Server Error