---
title: "Bulk delete step variants"
method: POST
path: "/v3/sequences/{id}/steps/{step_id}/variants/bulk-delete"
tags: ["Sequence Steps"]
---

# Bulk delete step variants

`POST /v3/sequences/{id}/steps/{step_id}/variants/bulk-delete`

<small>_Requires the `sequences:write` scope (or a broader one that includes it)._</small>

Deletes multiple variants from a sequence step at once. Returns a map of variant IDs that could not be processed with their error details.

## Path parameters

- `id` integer, required
- `step_id` integer, required

## Request body

- object
  - `ids` integer[], required — List of variant IDs to delete

## Response `200`

Dictionary keyed by variant ID. Only failed items appear; items not in the dictionary succeeded.

Possible per-item error codes:

| Error code | Meaning |
|-------|---------|
| `notFound` | Variant does not exist or caller lacks permission |

- object

## Other responses

- `400` — Body validation failure, or a business-rule rejection.
- `401` — Unauthorized. The response body is empty; check the `WWW-Authenticate` header for the expected scheme.
- `403` — User lacks required feature scope to modify this sequence
- `409` — Step is locked and blocks bulk variant deletion
- `429` — Too Many Requests

---

[API](https://skmtc.dev/reply/apis/reply-api.md) · [All operations](https://skmtc.dev/reply/apis/reply-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/reply/reply-api/revisions/1c3d32eaf95e/schema)
