Skip to navigation

Delete environment variable

Delete an environment variable and its values in all environments. The delete is rejected while the latest version of an unarchived agent branch, a tool, an MCP server or the workspace conversation initiation webhook uses the variable. Archived branches and earlier versions are not checked.

Path parameters

env_var_idstringRequired

Headers

xi-api-keystringOptional

Errors

404
Environment Variables Delete Request Not Found Error
409
Environment Variables Delete Request Conflict Error
422
Environment Variables Delete Request Unprocessable Entity Error