Delete an environment.

Details

Delete an environment.

An account token, server token, or user token may be used to run this endpoint.

Parameters

path

Responses

200

400

  • Environment Invalid: The standard error structure defines this error as invalid parameters, with an invalid ID linked to the parameter that designates the environment ID. In this context, it means that the ID given for an environment was not valid.

404

  • Environment Not Found: This error means that an environment with the given ID was not found. This is distinct from an invalid environment ID being specified; this means that the environment ID once existed, but no longer does.

Examples

HTTP

DELETE https://ioe.droplit.io/api/environments/ENVIRONMENT-ID HTTP/1.1
authorization: TOKEN

Droplit Console

droplit environment delete ENVIRONMENT-ID

Droplit SDK

droplit.environments.deleteEnvironment("ENVIRONMENT-ID");
Language
Authorization
Header
Click Try It! to start a request and see the response here!