> ## 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.

# Archive all tickets in a lane

> Archives every non-archived ticket of the given `type` and `status` (both required in the body).
Processes at most 1000 tickets per call; repeat the call to drain larger lanes. Returns `true`.



## OpenAPI

````yaml https://api.gleap.io/api-docs.json put /tickets/archive/all
openapi: 3.0.0
info:
  title: gleap-server
  version: 14.0.0
  contact: {}
servers:
  - url: https://api.gleap.io/v3
security: []
paths:
  /tickets/archive/all:
    put:
      tags:
        - Ticket
      summary: Archive all tickets in a lane
      description: >-
        Archives every non-archived ticket of the given `type` and `status`
        (both required in the body).

        Processes at most 1000 tickets per call; repeat the call to drain larger
        lanes. Returns `true`.
      operationId: ArchiveAllTickets
      parameters:
        - in: header
          name: project
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              properties:
                type:
                  type: string
                status:
                  type: string
              required:
                - type
                - status
              type: object
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema: {}
      security:
        - jwt: []
components:
  securitySchemes:
    jwt:
      type: http
      scheme: bearer
      bearerFormat: JWT

````