Disconnect the bucket
DELETE
/v1/projects/{id}/storage
const url = 'https://beta-api.plune.ai/v1/projects/example/storage';const options = {method: 'DELETE', headers: {cookie: 'plune_session=<plune_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
An id from GET /v1/projects
Responses
Section titled “ Responses ”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"}Nothing to disconnect
{ "error": "no bucket is connected"}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"}Headers
Section titled “Headers ” 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"}