For the complete documentation index, see llms.txt. This page is also available as Markdown.

Copy Files or Directories

Copy media-library files or directories to another directory.

Use this to duplicate library entries into another directory while retaining their sources. Success returns 204 with no response body.

Behaviour

Files cannot be copied into system folders.

Requires the files:write scope.

post
Authorizations
AuthorizationstringRequired

API key sent as a bearer token (mk_live_… / mk_test_…).

Body

Data schema used by Copy Files or Directories (POST /v1/files/copy). Read that operation for usage, permissions and update rules. Required fields and allowed values are defined below; request and response shapes can differ.

targetDirectoryPathstring · max: 1024Required
Responses
204

No content.

post/v1/files/copy
POST /v1/files/copy HTTP/1.1
Host: admin.mimeeqapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 87

{
  "targetDirectoryPath": "text",
  "items": [
    {
      "type": "text",
      "assetId": "text",
      "path": "text"
    }
  ]
}

No content

Last updated

Was this helpful?