default_template (409)
default_template
HTTP status: 409
Retryable: No — retrying without changes will fail the same way.
You tried to delete the workflow template set as your default.
When it fires
A `DELETE /v1/workflow-templates/{id}` targeted the template currently marked as your default. The default cannot be deleted while it holds that role, so new applicants always resolve to a valid workflow.
How to handle it
Mark a different workflow template as the default first, then retry the delete. The previously-default template can be removed once it is no longer the default.
Example response
{
"error": {
"type": "https://docs-dev.autohost-dev.uk/api/errors/default_template",
"code": "default_template",
"message": "This is your default workflow. Set another template as default before deleting it.",
"request_id": "req_01HEXAMPLE0000000000000000",
"doc_url": "https://docs-dev.autohost-dev.uk/api/errors/default_template"
}
}