Delete

  • DEL
  • /workspaces
  • /:workspace
  • /variables
  • /:variable_id

Deletes the environment variable. Restricted to admins only.

Request

REQUIRED SCOPES
VARIABLE_MANAGE
URL PARAMETERS
workspacerequiredstring
The workspace name.
variable_idrequiredinteger
The numerical ID of the desired variable.

Last modified on Jan 19, 2026

Request example

CURL
curl -X DELETE "https://api.buddy.works/workspaces/:workspace/variables/:variable_id" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "Content-Type: application/json" \

Response

STATUS
204 NoContent