Delete file
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
fileId
The unique identifier of the File to delete
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-integration-name
The name of the calling system passed along as a header parameter
Query parameters
hard
Param indicates that file should be hard deleted
Response
Success
error
If the API call failed, this will contain information about the error that occurred.
success
True if the API call succeeded; false otherwise.
hasError
True if the API call failed.
statusCode
The HTTP code of the response.