Skip to content

active_group_links (409)

← Error reference

active_group_links

HTTP status: 409

Retryable: No. Retrying without changes will fail the same way.

One or more active verification links still reference the workflow template you tried to delete.

When it fires

A DELETE /v1/workflow-templates/{id} targeted a template that has at least one active (status="active") shared link pointing to it. Deleting the template while live links reference it would leave those links in a broken state for applicants, so the operation is refused.

How to handle it

Inspect the details.linkIds array in the response to find the blocking links, then disable each one from the console Links list or via PATCH /v1/links/{id}. Once all referencing links are disabled, retry the delete.

Example response

{
  "error": {
    "type": "https://docs-dev.autohost-dev.uk/api/errors/active_group_links",
    "code": "active_group_links",
    "message": "This template has active verification links. Disable them before deleting the template.",
    "request_id": "req_01HEXAMPLE0000000000000000",
    "doc_url": "https://docs-dev.autohost-dev.uk/api/errors/active_group_links",
    "details": {
      "linkIds": [
        "vl_01HEXAMPLE0000000000000001"
      ]
    }
  }
}