Overview‎ > ‎Folders‎ > ‎

shareWorkspace()

Share a folder (workspace) with the given accounts and/or individual users.

Since version: 12.5

Request parameters
* denotes a required field

Parameter

Example

API version

SessionID*

The session Id obtained from doLogin()

string

7viklshodc6cnsh4s5vu75mqk0

WorkspaceID*

The target folder (workspace) id

intger

11346

AccountIDs

Comma delimited string of account ID's to share this workspace with

string

2345,23432,1237

UserIDs

Comma delimited string of user ID's to share this workspace with

string

45657,4563,4577

Role

Determines if the person being shared with can edit  or create items within this folder or not. The  following  values are accepted:

1 - Cannot create or edit items within this folder
2 - Can create or edit items within this folder

integer

1

13.6


Response parameters
boolean (true / false) to indicate if the workspace was successfully shared

Comments