Delete a global environment variable via API
This method allows you to delete a global environment variable from your account.
Tip: You can explore and test this endpoint interactively using our OpenAPI documentation.
URL
/global_environment_variables/<id>
- Replace
<id>with the identifier of the environment variable.
HTTP Method
DELETE
Example cURL request
curl -H "Content-type: application/json" \
-H "Accept: application/json" \
--user your-email@example.com:your-api-key \
-X DELETE \
https://your-account.deployhq.com/global_environment_variables/125
Example response
A successful deletion returns a JSON response:
{
"status": "deleted"
}