Delete file

DELETE

In case of soft delete moves file to trash folder. For hard delete completely deletes file’s metadata from pm database as well as from amazon storage

This API returns a JSON response indicating success or failure.

Path parameters

fileIdstringRequired

The unique identifier of the File to delete

Headers

x-integration-namestringOptional

The name of the calling system passed along as a header parameter

Query parameters

hardbooleanOptional

Param indicates that file should be hard deleted

Response

Success

errorobjectOptional

If the API call failed, this will contain information about the error that occurred.

successbooleanOptional

True if the API call succeeded; false otherwise.

hasErrorbooleanOptional

True if the API call failed.

statusCodeenumOptional

The HTTP code of the response.