---
title: "Reallocate unused device(s) to a new PIC Copy"
url: "https://developer.mla.com.au/apis/device-public-production/versions/1cf272f5-2ff6-4b07-8a8c-ecb73eab03b2/operations/transferUnusedDeviceOpt"
---

> Full API specification: https://developer.mla.com.au/apis/device-public-production/versions/1cf272f5-2ff6-4b07-8a8c-ecb73eab03b2.md

# Reallocate unused device(s) to a new PIC Copy

`OPTIONS` `/public/device/v1/reallocate`

Operation ID: `transferUnusedDeviceOpt`

INTERNAL USE.

## Header parameters

- `correlationId` (string, required) - UUID used to track the API call from the invoker's perspective. Sender is required to include the correlationId in the request to use it as a tracker for asynchronous responses.

## Responses

- `200`
- `400`
- `422`

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Device Public
  version: v1.0.0
servers:
  - url: https://7d40e2d8b1.gateways.konggateway.com
paths:
  /public/device/v1/reallocate:
    options:
      summary: Reallocate unused device(s) to a new PIC Copy
      deprecated: false
      description: "INTERNAL USE. "
      operationId: transferUnusedDeviceOpt
      tags:
        - Miscellaneous
      parameters:
        - name: correlationId
          in: header
          description: UUID used to track the API call from the invoker's perspective.
            Sender is required to include the correlationId in the request to
            use it as a tracker for asynchronous responses.
          required: true
          example: ""
          schema:
            type: string
      responses:
        "200":
          description: ""
          content:
            application/json:
              schema:
                type: object
                properties:
                  receiptId:
                    type: string
                  transferredDevices:
                    type: array
                    items:
                      type: string
                required:
                  - receiptId
                  - transferredDevices
              example:
                receiptId: qk43gh513hgh
                transferredDevices:
                  - 982 123489467678
                  - 982 123489467679
          headers:
            correlationId:
              example: ""
              required: true
              description: UUID used to track the API call from the invoker's perspective.
                Sender is required to include the correlationId in the request
                to use it as a tracker for asynchronous responses.
              schema:
                type: string
        "400":
          description: ""
          content:
            application/json:
              schema:
                type: object
                properties: {}
          headers: {}
        "422":
          description: ""
          content:
            application/json:
              schema:
                title: ""
                type: object
                properties:
                  detail:
                    items:
                      $ref: "#/components/schemas/ValidationError"
                    type: array
                    title: Detail
                required:
                  - detail
          headers: {}
      security: []
security: []
components:
  schemas:
    ValidationError:
      properties:
        field:
          type: string
          title: Message
        message:
          type: string
          title: Error Type
      type: object
      required:
        - field
        - message
      title: ValidationError
```
