Delete an existing environment.
delete/midgard/v0.1/environment/{environmentId}
Delete an existing environment.Request
Authorization
X-AT
header
apiKey
Path Parameters
environmentId
integer
REQUIRED
Query Parameters
hardDeleteWhen set to 1 by an admin user, removes the environment and all its data from the database. Local environments are always hard deleted.
boolean
deleteBackupsWhen true, instantly removes all backups for stack items when present, regardless of expiration date.
boolean
Response
200Environment deleted successfully.
403Access denied.
404Environment not found.
Shell cURL
shellShow schema
json