Skip to main content
DELETE
/
sandboxes
/
{sandbox_id}
/
secrets
/
{env_key}
Detach a secret from a sandbox
curl --request DELETE \
  --url https://api.superserve.ai/sandboxes/{sandbox_id}/secrets/{env_key} \
  --header 'X-API-Key: <api-key>'
{
  "error": {
    "code": "<string>",
    "message": "<string>"
  }
}

Authorizations

X-API-Key
string
header
required

Path Parameters

sandbox_id
string<uuid>
required

The unique identifier of the sandbox.

env_key
string
required

Environment variable the secret is bound under.

Response

Secret detached