Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.knoxcall.com/llms.txt

Use this file to discover all available pages before exploring further.

Delete Environment

DELETE /v1/environments/:id
Permanently deletes an environment. You cannot delete the default environment or an environment that is in use by route configurations.

Path Parameters

ParameterTypeDescription
iduuidThe environment ID

Response

{
  "data": { "deleted": true },
  "meta": { "request_id": "550e8400-e29b-41d4-a716-446655440000" }
}

Errors

StatusTypeDescription
400validation_errorCannot delete the default environment
404not_foundEnvironment not found
409in_useEnvironment is used by one or more route configurations