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

# Reassign multiple matrices



## OpenAPI

````yaml post /v1/matrix/bulk-reassign-owner
openapi: 3.0.0
info:
  title: Matrix APIs Specification
  description: Section for description
  version: '1.0'
  contact: {}
servers:
  - url: https://staging.api.us.aptlydone.com/matrix
  - url: https://staging.api.eu.aptlydone.com/matrix
  - url: https://api.us.aptlydone.com/matrix
  - url: https://api.eu.aptlydone.com/matrix
security: []
tags: []
paths:
  /v1/matrix/bulk-reassign-owner:
    post:
      tags:
        - matrix
      summary: Reassign multiple matrices
      operationId: MatrixController_bulkReassignOwner_v1
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BulkMatrixReassignOwnerDto'
      responses:
        '200':
          description: Matrices reassigned successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkOperationResponseDtoResponse'
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkOperationResponseDto'
      security:
        - accessToken: []
components:
  schemas:
    BulkMatrixReassignOwnerDto:
      type: object
      properties:
        matrixIds:
          minItems: 1
          description: Array of matrix IDs to update
          example:
            - 5568843e-75f0-49cf-bb17-3f9dab803ace
            - 3ff1f935-997d-4805-bc0a-3d1441ce173a
          type: array
          items:
            type: string
            format: uuid
        ownerId:
          type: string
          format: uuid
          description: Owner ID
          example: de77657c-534f-46e0-8f41-fa51d6a755b3
      required:
        - matrixIds
        - ownerId
    BulkOperationResponseDtoResponse:
      type: object
      properties:
        statusCode:
          type: number
          description: HTTP Status code
          example: 200
        timestamp:
          type: string
          description: Timestamp of the response
          example: '2026-01-08T06:33:22.023Z'
        message:
          type: string
          description: Response message
          example: Success
        data:
          description: Response data
          allOf:
            - $ref: '#/components/schemas/BulkOperationResponseDto'
      required:
        - statusCode
        - timestamp
        - message
        - data
    BulkOperationResponseDto:
      type: object
      properties:
        successCount:
          type: number
          description: Number of successfully processed items
          example: 5
        failureCount:
          type: number
          description: Number of items that failed processing
          example: 0
        successIds:
          description: List of successfully processed matrix IDs
          example:
            - a56a024f-fd34-4a20-9acd-e37cd0cc0eaf
            - 187a4a3b-1143-4d28-ac91-27abaa792198
          type: array
          items:
            type: string
        failures:
          type: object
          description: Map of failed matrix IDs with their error messages
          additionalProperties:
            type: string
          example:
            059e7d97-73cf-452d-a306-55d9a920dfae: Matrix not found
            170dea67-879a-4a91-9adb-a6e485833efe: Unauthorized operation
      required:
        - successCount
        - failureCount
        - successIds
        - failures
  securitySchemes:
    accessToken:
      scheme: bearer
      bearerFormat: JWT
      type: http

````