Remove the assignment from a single workflow
PATCH/monitoring-workflows/:id/unassign
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.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Workflow unassigned: {workflowId, error: null}.
Bad request - Workflow is not in an unassignable state
Unauthorized - Authentication required
Forbidden - User does not have required permissions
Monitoring workflow not found
Internal Server Error - An unexpected error occurred