Update user share permission of a library

Update the share permission of a library for a user or group.
Note: Pass username for share_type=user and group_id for share_type=group.

Requires the role permission to share libraries; only the library owner or a user with admin share permission may manage shares.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$

The unique identifier of a library

Query Params
string
enum

/ means the root folder, which is equivalent to the library.

Allowed:
string
enum
required

user or group

Allowed:
string

Required if share_type is user: username (account ID) of the share recipient

integer

Required if share_type is group: group ID

Body Params
string

Share permission: r (read-only), rw (read-write) or admin (read-write plus the right to manage shares). SecureCloud Pro additionally accepts cloud-edit (online preview and edit only), preview (online preview only) and invisible, as well as custom permissions in the form custom-<id>. Default: r.

Responses

Language
Credentials
Bearer
Account-Token
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json