# bulkPauseWorkflowRuns

Pause many runs at once by explicit id (cap 500). Ids that are ineligible or not visible to you are counted in skippedCount, not errored.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "bulkPauseWorkflowRuns", "variables": {...} }`
- Scope: `WRITE`
- Type: mutation
- Idempotency: honors `Idempotency-Key` (24 h)
- Rate-limited: no

## Variables

- `workflowAutomationRunIds`: `[ID!]!` (required)

## Response (data, an example)

```json
{
  "workflowAutomationsMutation": {
    "bulkPauseWorkflowRuns": {
      "transitionedCount": 0,
      "skippedCount": 0
    }
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "operationId": "bulkPauseWorkflowRuns",
    "variables": {
      "workflowAutomationRunIds": [
        "<workflowAutomationRunIds>"
      ]
    }
  }'
```
