Skip to main content

Delete file public link

note

[Since 2021.03]

A request to delete the public link.

DELETE /api/v1/files/{fileId}/public HTTP/1.1
  1. Path parameters
ParameterDescription
fileIdThe Id of the file.
linkUidThe UID of the link for the file.
  1. Example request
curl 'http://localhost:8080/api/v1/files/189349742/public/ac2b3818-0236-41cb-a79f-70bf1710b66b' -i -X DELETE \
-H 'X-co-auth-token: 9e1cd05bec0629f562afb5f66ab45c36'
  1. Example response
HTTP/1.1 204 No Content
X-co-request-id: 484b764272304f686349724d666c5555