Skip to main content
POST
/
v2
/
file.delete
DeleteFile
curl --request POST \
  --url https://api.manus.ai/v2/file.delete \
  --header 'Content-Type: application/json' \
  --data '
{
  "file_id": "<string>"
}
'
{
  "ok": true,
  "request_id": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://open.manus.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Questions or issues? Contact us at api-support@manus.ai.
OAuth scope: create_task or manage_all_tasks — see the OAuth2 guide.

Headers

x-manus-api-key
string

API key for direct authentication. Provide either this or Authorization, not both. See Authentication.

Authorization
string

OAuth2 access token in Bearer {token} format. Provide either this or x-manus-api-key, not both. See the OAuth2 guide.

Example:

"Bearer {access_token}"

Body

application/json
file_id
string
required

The unique identifier of the file to delete.

Response

File deleted successfully.

ok
boolean

Whether the request was successful.

Example:

true

request_id
string

Unique identifier for this API request.