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 '${id}' \  --header 'Authorization: `jwt token goes here`'
  • Response Body
    • 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.