Skip to main content
DELETE
/
static-sites
/
{id}
/
env-vars
/
{env_var_id}
Delete static site environment variable
curl --request DELETE \
  --url https://api.sevalla.com/v3/static-sites/{id}/env-vars/{env_var_id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Environment variable deleted"
}

Authorizations

Authorization
string
header
required

API key authentication. Pass your API key as a Bearer token in the Authorization header.

Path Parameters

id
string<uuid>
required

Static site identifier

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Example:

"fb5e5168-4281-4bec-94c5-0d1584e9e657"

env_var_id
string<uuid>
required

Environment variable identifier

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Example:

"fb5e5168-4281-4bec-94c5-0d1584e9e657"

Response

Default Response

message
string
required

Deletion result message

Example:

"Environment variable deleted"