DELETE/projects/{uuid}/environments/{environment_name_or_uuid}

Delete Environment

Delete environment by name or UUID. Environment must be empty.

2 parameters
uuidstringrequired
Project UUID
environment_name_or_uuidstringrequired
Environment name or UUID

5 status codes
200Environment deleted.
messagestringoptional
400Environment has resources, so it cannot be deleted.
401Unauthenticated.
messagestringoptional
404Project or environment not found.
422Validation error.
errorsobjectoptional
messagestringoptional

Error handling

A 400 is returned: Environment has resources, so it cannot be deleted. A 401 is returned: Unauthenticated. A 404 is returned: Project or environment not found. A 422 is returned: Validation error.