Skip to main content
DELETE
/
branches
/
{id}
/
env-vars
Delete environment variable
curl --request DELETE \
  --url https://api.specular.dev/branches/{id}/env-vars \
  --header 'Authorization: Bearer <token>'
{
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication with API key (format: Bearer sk_xxx)

Path Parameters

id
string
required

Branch ID

Query Parameters

name
string
required

Environment variable name

Response

Environment variable deleted