---
title: "POST /documentModels:authorizeCopy"
method: POST
path: "/documentModels:authorizeCopy"
---

# POST /documentModels:authorizeCopy

`POST /documentModels:authorizeCopy`

Generates authorization to copy a document model to this location with
specified modelId and optional description.

## Query parameters

- `api-version` string, required

## Request body

- AuthorizeCopyRequest — Request body to authorize document model copy.
  - `modelId` string, required — Unique document model name.
  - `description` string — Document model description.
  - `tags` object — List of key-value tag attributes associated with the document model.

## Response `200`

The request has succeeded.

- 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.

## 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)
