DELETE /v1/vault/connections/{connection_id}
Deletes the connection and its encrypted secret. Routine versions that bind it fail their next step that needs it with `connection_required`; sandboxes granted it lose access.

Authentication

Bearer Token (b3os_sk_ API key or b3os_pat_ token) API Key (cookie: __Host-b3os_session)

Path Parameters

connection_id string required path
The connection ID (`conn_…`).
Example: "conn_01m5t6cbgdjs1ketgcqwa2sne8"

Responses

200 The connection was deleted.
application/json
id string REQUIRED
object string REQUIRED
deleted boolean REQUIRED
Enum: true
400 The request failed validation (`invalid_request`, `invalid_url`).
401 Missing, malformed, expired or revoked credentials (`unauthorized`).
403 Authenticated but not allowed (`forbidden`, `egress_denied`).
404 No such connection in this project (`connection_not_found`).
429 A rate, concurrency or quota limit applies (`rate_limited`, `concurrency_limited`, `quota_exceeded`).
500 Something failed inside B3OS (`internal`). Retry with backoff.
503 The node or the product is not available right now (`node_unavailable`, `product_unavailable`, `capacity_unavailable`).
curl -X DELETE 'https://beta-api.b3os.org/v1/vault/connections/conn_01m5t6cbgdjs1ketgcqwa2sne8' \  -H 'Authorization: Bearer YOUR_API_TOKEN'
const response = await fetch('https://beta-api.b3os.org/v1/vault/connections/conn_01m5t6cbgdjs1ketgcqwa2sne8', {  method: 'DELETE',  headers: {      "Authorization": "Bearer YOUR_API_TOKEN"  }});const data = await response.json();console.log(data);
import requestsheaders = {    'Authorization': 'Bearer YOUR_API_TOKEN'}response = requests.delete('https://beta-api.b3os.org/v1/vault/connections/conn_01m5t6cbgdjs1ketgcqwa2sne8', headers=headers)print(response.json())
200 Response
{  "id": "conn_01m5t6cbgdjs1ketgcqwa2sne8",  "object": "connection",  "deleted": true}
Ask a question... ⌘I