Skip to content

Delete file

Used to delete the file at the specific path.

Note

This action will only delete the file temporarily with recovery time of 30 days.

Request

DELETE: {baseUrl}/apps/:appID/users/:userID/files

Request Payload

Parameters Type Optional Description
path string No The absolute path of the file
version int No The version of the file to be deleted

Headers
Learn how to pass authentication headers here.

Permanent delete

Pass permanentDelete = true, to delete the file permanently from the system.

Important

To delete the file permanently, it need to deleted temparorily using above API. File cannot be deleted permanently in one-go.