Interlaken
API referenceApplicationsEnvironments

Delete an environment

DELETE
/api/v1/environments/{id}

Requires the environments:delete permission.

Tears down the build instance and its NIC; the boot disk detaches. The env's private sealed image is reaped with it (published images survive). Refused while runs of this environment exist.

Authorization

AuthorizationBearer <token>

An access token from this zone's POST /oauth/token, or a session token from POST /api/v1/auth/login. Send it as Authorization: Bearer <token>.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/v1/environments/string"
Empty