Bulk-remove assignments from multiple workflows
PATCH/monitoring-workflows/unassign
Removes the current assignee from multiple monitoring workflows in one call. Use this endpoint for bulk unassignment; use PATCH /monitoring-workflows/{id}/unassign for a single workflow. The request body must supply either workflowIds or filter — at least one is required. Workflows in REVIEWED_BY_CERTIFYOS status are automatically excluded and appear in the response failed array. Requires all of: MONITORING_WORKFLOW_ASSIGN, MONITORING_WORKFLOW_BULK_ASSIGN, and MONITORING_WORKFLOW_ASSIGN_SELF. The tenant-id header is mandatory. Always returns HTTP 200, even when some unassignments fail — check the successful and failed arrays for per-workflow outcomes.
Request
Responses
- 200
- 400
- 401
- 403
- 500
Bulk unassignment completed. successful/failed are arrays of {workflowId, error} — error is null on success. totalProcessed, successCount, and failureCount summarize the batch.
Invalid request data, e.g. neither workflowIds nor filter was supplied
Unauthorized - Authentication required
Forbidden - User does not have required permissions
Internal Server Error - An unexpected error occurred