assign_users_to_workspaces | R Documentation |
Manage which users are present in which workspaces. For now, only headquarters and API users may be managed. Actions available: assign, add, and remove. The assign action moves a user to the target workspace (exclusively). The add action adds the user to the workspace while keeping them in previously assigned workspaces. The remove action removes them from the target workspace.
assign_users_to_workspaces(
users,
workspaces,
action = "Assign",
server = Sys.getenv("SUSO_SERVER"),
user = Sys.getenv("SUSO_USER"),
password = Sys.getenv("SUSO_PASSWORD")
)
users |
Character vector. GUID for user. |
workspaces |
Character vector. Name ID of workspace |
action |
Character. One of the following: Assign, Add, Remove. |
server |
Character. Full server web address (e.g., |
user |
Character. Admin user name |
password |
Character. Admin password |
Wrapper for POST /api/v1/workspaces/assign
endpoint.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.