Delete environment variable

http
DELETE /projects/{project_reference}/environments/{environment_id}/variables/{key}

Delete an environment variable. Requires project.env_vars.write.

Parameters

NameInRequiredDescription
project_referencepathYes
environment_idpathYesEnvironment ID containing the variable.
keypathYesEnvironment variable key.

Responses

StatusDescription
200Environment variable deleted
400Bad request
401Unauthorized
403Forbidden. API keys also require delete scope.
404Not found
500Server error
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.