Share repo to user/group

Share a library (or a folder in it) to one or more users or groups on behalf of the library owner. Repeat share_to to share with several users/groups. Failures are reported per entry in failed.

Permission: System admin.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

The unique identifier of a library

string
Defaults to /

Folder path inside the library; / = whole library.

string
enum
required

Share type.

Allowed:
share_to
array of strings
required

User IDs/emails (share_type=user) or group IDs (share_type=group); repeat the field for several.

share_to*
string
required

Permission: r, rw or admin; in Pro additionally cloud-edit, preview, invisible, or a custom permission custom-<id>.

Responses

400

repo_id invalid., share_type invalid. or other invalid parameter. / permission invalid.

403

Not a system admin.

404

Library or folder not found.

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