Skip to main content

Set direct link access disabled for file

Заметка

[Since 3.6]

Set direct link access disabled for file.

DELETE /api/v1/files/{fileId}/directLink HTTP/1.1
  1. Path parameters
ParameterDescription
fileIdThe ID of the file.
  1. Example request
curl 'http://localhost:8080/api/v1/files/7fede9e4-58fd-4cc9-a6fc-f455b30e743a/directLink' -i -X DELETE \
-H 'Content-Type: application/json' \
-H 'X-co-auth-token: 6a1306c1f9909b64eebe186ff5700131'
  1. Example response headers
HTTP/1.1 204 204 NO_CONTENT
X-co-request-id: 9YvGCkXllCjYqKm3I9RN4nR8juRcY4F2
[ content of the response is skipped ]
  1. Example response
HTTP/1.1 204 No Content
X-co-request-id: 9YvGCkXllCjYqKm3I9RN4nR8juRcY4F2