Skip to content

Disconnect the bucket

DELETE
/v1/projects/{id}/storage
curl --request DELETE \
--url https://beta-api.plune.ai/v1/projects/example/storage \
--cookie plune_session=<plune_session>

Owner only. Forgets the connection and its Secret. The files already in the bucket are the customer’s and are not touched. Recorded in the audit feed of the project as a storage_settings entry. Session cookie only.

id
required
string

An id from GET /v1/projects

Disconnected

No / invalid session — a CLI token is refused here

You are in the project, but not as its owner

Media type application/json
object
error
required
string
Example
{
"error": "project owner only"
}

No such project among yours, or the project has no bucket connected

Media type application/json
object
error
required
string
Examples

No such project among yours

{
"error": "project 'u-shop::default' not found"
}

Rate-limited: either the per-route throttle or a tenant quota. Retry-After carries the seconds until the window rolls over.

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}
Retry-After
integer

Seconds until the window rolls over

The server has no key to keep Secrets under

Media type application/json
object
error
required
string
Example
{
"error": "storage is not configured on this server — contact your operator"
}