Projects
project.deleteFile
Deletes a file from a project. Only project files can be removed; project web links are not affected.
POST
DeleteProjectFile
Questions or issues? Contact us at api-support@manus.ai.
Behavior
- Removes a file previously added to the project. Pass both
project_idand the project file’sfile_id(from project.addFile or project.listFiles). - Only project files can be deleted through this endpoint; passing a project web link ID or a file ID from another project returns
404 not_found.
Errors
Headers
API key for direct authentication. Provide either this or Authorization, not both. See Authentication.
OAuth2 access token in Bearer {token} format. An OAuth client requires the manage_all_tasks scope unless it is a Trusted team client or Trusted public client; create_project alone is not sufficient. Provide either this or x-manus-api-key, not both. See the Open App guide.
Example:
"Bearer {access_token}"
Body
application/json
The project file ID returned by project.addFile or project.listFiles.
Required string length:
1 - 65