---
title: "Unassign multiple monitoring workflows"
method: PATCH
path: "/monitoring-workflows/unassign"
tags: ["MonitoringWorkflow"]
---

# Unassign multiple monitoring workflows

`PATCH /monitoring-workflows/unassign`

Removes assignments from multiple monitoring workflows. Workflows can be specified by IDs or fetched using filter criteria.

## Headers

- `tenant-id` string, required

## Request body

- BulkUnassignMonitoringWorkflowRequest — Request to unassign multiple monitoring workflows
  - `workflowIds` string[] — List of monitoring workflow IDs to unassign (workflow IDs will be fetched using the filter if not provided).
  - `filter` string — Filter criteria as JSON string (URL encoded). Used to fetch workflow IDs. See GET /monitoring-workflows endpoint documentation for filter format.

## Response `200`

Bulk unassignment operation completed. Check successful and failed arrays for individual results.

- BulkUnassignMonitoringWorkflowResponse — Response containing results of bulk unassignment of monitoring workflows
  - `successful` UnassignmentResult[] — List of successful unassignments
    - `workflowId` string — ID of the monitoring workflow
    - `error` string — Error message if unassignment failed
  - `failed` UnassignmentResult[] — List of failed unassignments with error details
    - `workflowId` string — ID of the monitoring workflow
    - `error` string — Error message if unassignment failed
  - `totalProcessed` integer — Total number of workflows processed
  - `successCount` integer — Number of successful unassignments
  - `failureCount` integer — Number of failed unassignments

## Other responses

- `400` — Invalid request data
- `401` — Unauthorized - Authentication required
- `403` — Forbidden - User does not have required permissions
- `500` — Internal Server Error - An unexpected error occurred

---

[API](https://skmtc.net/certifyos/apis/certify-api-layer.md) · [All operations](https://skmtc.net/certifyos/apis/certify-api-layer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/certifyos/certify-api-layer/revisions/3d27e9019c7b/schema)
