Skip to content

delete_file

Delete a file from mixetape storage. A post that still points at it will fail to upload, so only delete files you no longer need. Needs the storage permission. Also available as the MCP tool delete_file.

POST
https://mixetape.com/api/v1/tools/delete_file

Authorisation

  • apiKeyHTTPrequired

Request bodyJSONrequired

  • urlstringrequired

    r2://… from list_files

Returns

200

The tool's result.

JSON
  • resultunknownrequired

    What the tool returns

400

The request is invalid; error says why.

JSON
  • errorstringrequired

    What went wrong, in plain words

401

No valid API key.

JSON
  • errorstringrequired

    What went wrong, in plain words

403

The key lacks the permission this needs.

JSON
  • errorstringrequired

    What went wrong, in plain words

404

Not found, or not yours.

JSON
  • errorstringrequired

    What went wrong, in plain words

Navigation

Type to search…

↑↓ navigate↵ selectEsc close