Skip to content

Delete file

Deletes the file. Minor version number will be incremented for delete file operation.

File can be deleted permanently by setting the permanent parameter to true. By default, files are only soft deleted.

Prerequisites

  • A file should be created. To know more about uploading a file refer here

Request

DELETE {baseUrl}/spaces/{spaceId}/files/{fileId}
  • HEADER:

    • Authorization: Bearer {tid token}

To know more about the Delete file API refer here.