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

Rename File or Directory

Rename a media-library file or directory.

Use the entry type and path to target the correct library record. This changes its name; use Move Files or Directories to change its location. Success returns 204 with no response body.

Requires the files:write scope.

patch
Authorizations
AuthorizationstringRequired

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

Body

Data schema used by Rename File or Directory (PATCH /v1/files). Read that operation for usage, permissions and update rules. Required fields and allowed values are defined below; request and response shapes can differ.

or
Responses
204

No content.

patch/v1/files
PATCH /v1/files HTTP/1.1
Host: admin.mimeeqapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 69

{
  "type": "text",
  "assetId": "text",
  "directoryPath": "text",
  "name": "text"
}

No content

Last updated

Was this helpful?