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

# Bulk operations on participants

> Perform bulk operations (delete or update) on multiple participants. Update supports the "Status Override" action.



## OpenAPI

````yaml /api-reference/cx/swagger.json post /packages/retirement/participants/_bulk
openapi: 3.0.0
info:
  description: CX API.
  title: CX API
  contact:
    name: API Support
    url: https://stax.ai
    email: support@stax.ai
  version: '1.0'
servers:
  - url: https://api.cx.stax.ai
security: []
paths:
  /packages/retirement/participants/_bulk:
    post:
      tags:
        - packages
      summary: Bulk operations on participants
      description: >-
        Perform bulk operations (delete or update) on multiple participants.
        Update supports the "Status Override" action.
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/pkg_routes_packages_retirement_participants.BulkParticipantsRequest
        description: Bulk operation request
        required: true
      responses:
        '200':
          description: Bulk operation result
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/pkg_routes_packages_retirement_participants.BulkParticipantsResponse
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '404':
          description: No participants updated or no access
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      security:
        - ApiKeyAuth: []
components:
  schemas:
    pkg_routes_packages_retirement_participants.BulkParticipantsRequest:
      type: object
      properties:
        actions:
          type: array
          items:
            $ref: >-
              #/components/schemas/pkg_routes_packages_retirement_participants.BulkParticipantAction
        ids:
          type: array
          items:
            type: string
        py:
          type: integer
        type:
          type: string
    pkg_routes_packages_retirement_participants.BulkParticipantsResponse:
      type: object
      properties:
        activity:
          $ref: '#/components/schemas/types.Activity'
        ok:
          type: boolean
    pkg_routes_packages_retirement_participants.BulkParticipantAction:
      type: object
      properties:
        label:
          type: string
        prop:
          type: string
        value: {}
    types.Activity:
      type: object
      properties:
        _id:
          type: string
        action:
          type: string
        changes:
          type: array
          items:
            $ref: '#/components/schemas/types.Change'
        client:
          type: string
        on_id:
          type: string
        on_py:
          type: integer
        on_type:
          type: string
        team:
          type: string
        timestamp:
          type: string
        user:
          type: string
    types.Change:
      type: object
      properties:
        data:
          type: string
        field:
          type: string
        from:
          type: string
        to:
          type: string
  securitySchemes:
    ApiKeyAuth:
      description: CX API key. Create one in CX under Settings → Advanced → API Keys.
      in: header
      name: x-api-key
      type: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.