Skip to main content
DELETE
/
compute
/
v1
/
secrets
/
{group}
Delete secret group or key
curl --request DELETE \
  --url https://api.case.dev/compute/v1/secrets/{group} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Deleted key 'DATABASE_PASSWORD' from group 'database-config'"
}

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

group
string
required

Name of the secret group

Query Parameters

key
string

Specific key to delete within the group. If not provided, the entire group is deleted

env
string

Environment name. If not provided, uses the default environment

Response

Secret or secret group successfully deleted

success
boolean
message
string