cURL
curl --request DELETE \ --url https://api.example.com/v1/models/{model_id}/variables/{id} \ --header 'Authorization: Bearer <token>'
{ "code": "001-001-0001", "message": "The requested resource was not found" }
Performs a soft delete on the specified variable by setting enabled = false.
enabled = false
Important: Variables cannot be deleted if the model has existing call analyses, as this would affect historical results.
Requires scope: write:model-variable
write:model-variable
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The analysis model ID
The variable ID
Successful Response