Skip to main content

Delete File

This guide will provide an overview of delete particular file by passing file id in path params.

Path Params#

Property NameTypeDescription
idstringUnique id of file.
curl --request DELETE \  --url 'https://api.zujonow.com/v1/files/${id}' \  --header 'Authorization: `jwt token goes here`'
  • Response Body
      parameters
    • idstring

      Unique identifier of file.
    • typestring

      type of file uploaded video or image.
    • sizenumber

      size of uploaded file(in bytes).
    • metaobject

      information about uploaded file such as resolution, format, etc.
    • fileUrlstring

      The url where the video is stored.
    • userobject

      user info such as email, name and id of the user.