---
title: "Bulk-update tickets"
method: PUT
path: "/tickets/bulk"
tags: ["Ticket"]
---

# Bulk-update tickets

`PUT /tickets/bulk`

Bulk close / assign / archive / snooze / team / priority.
Selection is either an explicit id list or a lane query ("all matching",
optionally limited to the first N in sort order). Small selections (<= 30)
run the full per-ticket update cascade; larger ones run a fast updateMany
that skips workflows, webhooks, integrations and per-ticket notifications.

## Headers

- `project` string, required

## Request body

- BulkUpdateTicketDto
  - `action` 'close' | 'assign' | 'archive' | 'snooze' | 'team' | 'priority', required
  - `selection` BulkTicketSelection, required
    - `ids` string[] — Explicit ticket ids (checkbox selection).
    - `query` object — "All matching" — the same raw query-param shape the lane's GET /tickets uses.
      - `sort` string
      - `filter` string
      - `status` string, required
      - `type` string, required
    - `limit` number, double — Select-N: only the first N tickets in the query's sort order. Query mode only.
  - `payload` BulkTicketPayload
    - `processingUser` string
    - `duration` number, double
    - `processingTeam` string
    - `priority` string

## Response `200`

Ok

- unknown

---

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