Skip to main content
DELETE
/
variables
/
{id}
Delete variable
curl --request DELETE \
  --url https://api.envless.cloud/variables/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "code": 200,
  "message": "Variable deleted.",
  "data": {
    "id": "<string>",
    "name": "DATABASE_URL",
    "environmentId": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.envless.cloud/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Personal access key from https://app.envless.cloud/keys. Pass as Authorization: Bearer ev_live_....

Path Parameters

id
string
required

The variable's unique ID.

Response

Variable deleted

success
boolean
Example:

true

code
integer
Example:

200

message
string
Example:

"Variable deleted."

data
object