Delete an application environment (deprecated shape)
DELETEhttps://platform.docana.com/api/v1/applications/:id/environments/
deprecated
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Deprecated: use DELETE /api/v1/applications/{id}/environments/{environmentId}/, which addresses the environment in the path instead of a required request body — a shape several HTTP clients cannot send. This variant behaves identically. Agents that still reference the deleted environment resolve their {{env.*}} placeholders to empty values.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Deletion confirmation
The request body, query, or path failed validation. See validationErrors.
The API key or session is missing, expired, or malformed.
No write access to the application
Environment not found
Unexpected server error.