---
title: "Delete operations in bulk"
method: DELETE
path: "/operations/{companyId}"
tags: ["Operations"]
---

# Delete operations in bulk

`DELETE /operations/{companyId}`

Cancels several operations in a single call, identified by `customId`, following the same rules as the single delete endpoint. Only the operations that exist and are in a deletable state are cancelled; the rest are silently skipped.

## Path parameters

- `companyId` string, required

## Request body

- BulkDeleteOperationsRequestSchema
  - `data` DeleteOperationsRequestSchema[], required — Operations to delete, identified by `customId`.
    - `customId` string, required — Custom ID of the operation to delete.

## Response `200`

Successful Response

- BulkModifyOperationsResponseSchema
  - `data` ModifyOperationsResponseSchema[], required — Result of the bulk operation, one entry per operation.
    - `id` string, required — Embat resource ID

## Other responses

- `401` — Unauthorized. The bearer token is missing, invalid or expired.
- `404` — Company not found, or none of the given `customId` values match a deletable operation.
- `422` — Validation Error
- `500` — Unexpected error. Contact support if it persists.

---

[API](https://skmtc.net/embat/apis/embat-api.md) · [All operations](https://skmtc.net/embat/apis/embat-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/embat/embat-api/revisions/36ca48bf4489/schema)
