> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gleap.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Bulk-update tickets



## OpenAPI

````yaml https://api.gleap.io/api-docs.json put /tickets/bulk
openapi: 3.0.0
info:
  title: gleap-server
  version: 14.0.0
  contact: {}
servers:
  - url: https://api.gleap.io/v3
security: []
paths:
  /tickets/bulk:
    put:
      tags:
        - Ticket
      summary: Bulk-update tickets
      operationId: BulkUpdateTickets
      parameters:
        - in: header
          name: project
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BulkUpdateTicketDto'
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema: {}
      security:
        - jwt: []
components:
  schemas:
    BulkUpdateTicketDto:
      properties:
        action:
          $ref: '#/components/schemas/BulkTicketAction'
        selection:
          $ref: '#/components/schemas/BulkTicketSelection'
        payload:
          $ref: '#/components/schemas/BulkTicketPayload'
      required:
        - action
        - selection
      type: object
      additionalProperties: false
    BulkTicketAction:
      type: string
      enum:
        - close
        - assign
        - archive
        - snooze
        - team
        - priority
    BulkTicketSelection:
      properties:
        ids:
          items:
            type: string
          type: array
          description: Explicit ticket ids (checkbox selection).
        query:
          properties:
            sort:
              type: string
            filter:
              type: string
            status:
              type: string
            type:
              type: string
          required:
            - status
            - type
          type: object
          description: >-
            "All matching" — the same raw query-param shape the lane's GET
            /tickets uses.
        limit:
          type: number
          format: double
          description: >-
            Select-N: only the first N tickets in the query's sort order. Query
            mode only.
      type: object
      additionalProperties: false
    BulkTicketPayload:
      properties:
        processingUser:
          type: string
        duration:
          type: number
          format: double
        processingTeam:
          type: string
        priority:
          type: string
      type: object
      additionalProperties: false
  securitySchemes:
    jwt:
      type: http
      scheme: bearer
      bearerFormat: JWT

````