Skip to main content
DELETE
Delete an environment

Behavior

  • Accepts organization keys only. A scoped key gets 403 insufficient_capability.
  • The live environment cannot be deleted: 400 environment_live_immutable.
  • While any API key, webhook endpoint or run references the sandbox, the answer is 409 environment_in_use with a top-level blockers object counting each:
  • Success is 204 with no body.
See Environments.

Authorizations

Authorization
string
header
required

The org's platform API key.

Path Parameters

slug
string
required

The environment's slug.

Response

No Content

Last modified on November 30, 2026