Move Files or Directories
Move media-library files or directories to another directory.
Use the source entry paths and destination directory to reorganize the library. Success returns 204 with no response body.
Behaviour
Files cannot be moved into system folders.
Requires the files:write scope.
API key sent as a bearer token (mk_live_… / mk_test_…).
Data schema used by Move Files or Directories (POST /v1/files/move). Read that operation for usage, permissions and update rules. Required fields and allowed values are defined below; request and response shapes can differ.
No content.
Invalid request data.
Missing or invalid API key.
The API key lacks the required scope (scope_denied), or the operation is not permitted for this account (operation_not_permitted).
Resource not found.
The API key exceeded its request rate (rate_limit_exceeded) or its monthly quota (quota_exceeded). Both carry Retry-After; the RateLimit-* headers accompany rate_limit_exceeded only, since a spent quota says nothing about the bucket.
Internal server error.
POST /v1/files/move 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?