WEBINARLive webinar: Terraform in Buddy, Oct 21st.Terraform: plan, approve, apply with state in Buddy. Live on October 21st.Save your seat

Delete Environments

View as Markdown
  • 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 Apr 22, 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