Skip to main content
DELETE/global-variables/:id/

Delete global variable

You can remove a global variable (it also removes its occurrence from any templates).

Attributes

Optional unless marked required

idintegerrequired
A unique identifier for the global variable which is given by User automatically.

Request​

curl -X DELETE "https://<your_app_subdomain>.user.com/api/public/global-variables/:id/" \
-H "Authorization: Token <your_64_char_api_key>" \
-H "Accept: */*; version=2"

Response examples​

No response body.
note

Errors that can come from any endpoint (401, 429, 500, 502, 504) are described in HTTP response codes.