Survey Solutions API call to assign workspace
suso_assignWorkspace.Rd
suso_assignWorkspace
Allows you to assign a workspace to a specific user.
For more details please read https://docs.mysurvey.solutions/headquarters/accounts/workspaces/. To run this command
you require admin credentials.
Usage
suso_assignWorkspace(
server = suso_get_api_key("susoServer"),
apiUser = suso_get_api_key("susoUser"),
apiPass = suso_get_api_key("susoPass"),
token = NULL,
assign_workspace = NULL,
your_workspace = NULL,
uid = NULL,
sv_id = NULL
)
Arguments
- server
Survey Solutions server address
- apiUser
Survey Solutions ADMIN user
- apiPass
Survey Solutions ADMIN password
- token
If Survey Solutions server token is provided apiUser and apiPass will be ignored
- assign_workspace
The workspace which you want to assign to the new user
- your_workspace
The workspace the API user has currently access to.
- uid
The User ID of the user to be assigned.
- sv_id
The supervisor's ID to which the interviewer should be assigned to, if it is a supervisor who is assigned, just use the same as in uid.
Value
If succesfull, returns a data.table with the details as well as the Status message "Worspaces list updated".