curl --request DELETE \
--url https://api.coval.dev/v1/run-templates/{run_template_id} \
--header 'X-API-Key: <api-key>'{
"error": {
"code": "INVALID_ARGUMENT",
"message": "Invalid request parameter",
"details": [
{
"field": "agent_id",
"description": "Agent not found or not accessible"
}
]
}
}Delete a run template.
Templates with active scheduled runs cannot be deleted. Disable or delete associated scheduled runs first.
curl --request DELETE \
--url https://api.coval.dev/v1/run-templates/{run_template_id} \
--header 'X-API-Key: <api-key>'{
"error": {
"code": "INVALID_ARGUMENT",
"message": "Invalid request parameter",
"details": [
{
"field": "agent_id",
"description": "Agent not found or not accessible"
}
]
}
}Was this page helpful?