Environments

Delete Organization Environment

Changed on

Delete an organization environment. All per-environment integration configuration overrides bound to it — across every workspace under the organization — are removed as well. The built-in environments (production / staging) cannot be deleted.

Requires Org Owner role. Available on cloud-hosted plans with organizations.

Note: Environment APIs are available only with self-hosted Enterprise plans and cloud-hosted plans. Creating custom environments requires a plan that includes the custom-environments feature.

delete/api/v3/meta/orgs/{orgId}/environments/{environmentId}

Request

Path parameters

orgIdstring required

Organization ID

environmentIdstring required

Environment ID

Response

Environment deleted successfully

boolean required

Example response

true

Changes