Delete

  • DEL
  • /workspaces
  • /:workspace
  • /environments
  • /:environment_id

Delete an environment

Request

REQUIRED SCOPES
ENVIRONMENT_MANAGE
URL PARAMETERS
workspacerequiredstring
The human-readable ID of the workspace

Example: "my-company"

environment_idrequiredstring
The ID of the environment

Example: "3a4KbBQl"

Last modified on Jan 26, 2026

Request example

CURL
curl -X DELETE "https://api.buddy.works/workspaces/:workspace/environments/:environment_id" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "Content-Type: application/json"
STATUS
204 Environment deleted successfully