Delete environment
render_delete_environmentDelete an empty environment by ID. Non-empty environments require removing all services and resources before deletion; otherwise, the API returns an error.
Instructions
Delete environment. Delete the environment with the provided ID. Requires the environment to be empty (i.e., it must contain no services or other resources). Otherwise, deletion fails with a 409 response. To delete a non-empty environment, do one of the following: - First move or delete all contained services and other resources. - Delete the environment in the Render Dashboard. Calls DELETE /environments/{environmentId} on the Render Public API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environmentId | Yes |