---
title: "POST /documentModels/{modelId}:copyTo"
method: POST
path: "/documentModels/{modelId}:copyTo"
---

# POST /documentModels/{modelId}:copyTo

`POST /documentModels/{modelId}:copyTo`

Copies document model to the target resource, region, and modelId.

## Path parameters

- `modelId` string, required

## Query parameters

- `api-version` string, required

## Request body

- ModelCopyAuthorization — Authorization to copy a document model to the specified target resource and modelId.
  - `targetResourceId` string, required — ID of the target Azure resource where the document model should be copied to.
  - `targetResourceRegion` string, required — Location of the target Azure resource where the document model should be copied to.
  - `targetModelId` string, required — Identifier of the target document model.
  - `targetModelLocation` string, uri, required — URL of the copied document model in the target account.
  - `accessToken` string, required — Token used to authorize the request.
  - `expirationDateTime` string, date-time, required — Date/time when the access token expires.

## Response `202`

The request has been accepted for processing, but processing has not yet completed.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/ai-documentintelligence.md) · [All operations](https://skmtc.net/azure/apis/ai-documentintelligence/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/ai-documentintelligence/versions/3f750834da9e/schema)
