# Delete global variable
You can remove a global variable (it also removes its occurrence from any templates).
DELETE
/global-variables/:id/
Attributes | Type | Required | Description |
---|---|---|---|
id | integer | yes | A unique identifier for the global variable which is given by User.com automatically. |
# Request
- CURL
- JavaScript
- PHP
- Python
curl -X DELETE -H "Authorization: Token <your_64_char_api_key>"
-H "Accept: */*; version=2"
"https://<your_app_subdomain>.user.com/api/public/global-variables/:id/"