latestOpenAPI 3.1.02026-08-194237902.5 MB

563848e0ecc0

MonitoringWorkflow

Remove the assignment from a single workflow

Removes the current assignee from the monitoring workflow identified by id. Use this endpoint for single-workflow unassignment; use PATCH /monitoring-workflows/unassign for bulk unassignment. The workflow must not currently be in REVIEWED_BY_CERTIFYOS status — if it is, this endpoint returns HTTP 400 with {"error": "..."} rather than the unassignment result. Requires MONITORING_WORKFLOW_ASSIGN or MONITORING_WORKFLOW_ASSIGN_SELF. The tenant-id header is mandatory.

patch/monitoring-workflows/{id}/unassign

Path parameters

idstring required

ID of the monitoring workflow to unassign

Headers

tenant-idstring required

Tenant ID

Response

Workflow unassigned: {workflowId, error: null}.

workflowIdstring

ID of the monitoring workflow

errorstring

Error message if unassignment failed

Example response

{
  "workflowId": "44c8fa75-15a1-4790-a0dd-139058d1f86d"
}