> ## 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 retirement plans

> Perform bulk operations (update) on multiple retirement plans. Supports updating status, assignees, tags, and other properties.



## OpenAPI

````yaml /api-reference/cx/swagger.json post /packages/retirement/plans/_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/plans/_bulk:
    post:
      tags:
        - packages
      summary: Bulk operations on retirement plans
      description: >-
        Perform bulk operations (update) on multiple retirement plans. Supports
        updating status, assignees, tags, and other properties.
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/pkg_routes_packages_retirement_plans.BulkRequest
        description: Bulk operation request (type, ids, actions required)
        required: true
      responses:
        '200':
          description: Bulk operation result
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/pkg_routes_packages_retirement_plans.BulkPlansResponse
        '400':
          description: >-
            Bad request - invalid request body, no IDs, no actions, or an
            assignee who isn't a user on the team
          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_plans.BulkRequest:
      type: object
      properties:
        actions:
          type: array
          items:
            $ref: >-
              #/components/schemas/pkg_routes_packages_retirement_plans.BulkAction
        ids:
          type: array
          items:
            type: string
        type:
          type: string
    pkg_routes_packages_retirement_plans.BulkPlansResponse:
      type: object
      properties:
        message:
          description: 'Why nothing changed: a clear found no plan row to remove'
          type: string
        ok:
          type: boolean
        unchanged:
          description: True when nothing changed, so there is nothing to reload
          type: boolean
    pkg_routes_packages_retirement_plans.BulkAction:
      type: object
      properties:
        label:
          type: string
        prop:
          type: string
        value: {}
  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.