All APIs

Delete file

Files View as Markdown

DELETE/api/file/{hash}

Deletes a file. Only the uploader can delete it (admin cannot).

Parameters

hashstringpathRequired
Hash of the file (UUID), returned as hash when the file was uploaded.

Responses

  • 200Deleted
  • 401Authentication is required
  • 403Not the uploader
  • 404File not found

Repsona uses cookies to provide our services. By visiting our website, you agree to the use of cookies as described in our Cookie Policy.