Skip to main content

Delete file

A request to delete the file without an ability to restore it.

DELETE /api/v1/files/{fileId} HTTP/1.1
  1. Path parameters
ParameterDescription
fileIdThe ID of the file.
  1. Example request
curl 'http://localhost:8080/api/v1/files/189376296' -i -X DELETE \
-H 'X-co-auth-token: 1c0caa3724db5708a6d4ee3babdc4c74' \
-H 'X-co-auth-token: 1c0caa3724db5708a6d4ee3babdc4c74'
  1. Example response
HTTP/1.1 204 No Content
X-co-request-id: 7632693061396138613736545969774a