Drive > Files > Share link > Manage

Update share-link

Update a share-link

put/2/drive/{drive_id}/files/{file_id}/link

Path parameters

drive_idinteger required

Drive identifier

file_idinteger required

File identifier

Request body

can_commentboolean

Allow users to to comment the shared files. It takes the same value as can_edit if unset or null

can_downloadboolean

Allow users to download shared content

can_editboolean

Allow users to edit the file content using the shared link

can_request_accessboolean

Allow connected users to join the folder via the shared link. It is not possible to join a file via a shared link

can_see_infoboolean

Allow users to see information about the shared files

can_see_statsboolean

Allow users to see statistics

passwordstring

The password if the permission password is set

right'inherit' | 'password' | 'public'
valid_untilinteger nullable

Maximum validity timestamp of the shared link

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

databoolean

Example response

{
  "result": "success"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.