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

Delete File

Soft-delete selected media-library files and directories.

Use this only for library entries you intend to remove. The files:delete scope is required. Success returns 204 with no response body.

Behaviour

Root and system folders cannot be deleted.

Requires the files:delete scope.

delete
Authorizations
AuthorizationstringRequired

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

Body

Data schema used by Delete File (DELETE /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.

Responses
204

No content.

delete/v1/files
DELETE /v1/files HTTP/1.1
Host: admin.mimeeqapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 58

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

No content

Last updated

Was this helpful?