View source: R/suso_api_workspace.R
suso_createWorkspace | R Documentation |
suso_createWorkspace
Allows you to create a workspace with a specific system name and display name.
For more details please read https://docs.mysurvey.solutions/headquarters/accounts/workspaces/. To run this command
you require admin credentials.
suso_createWorkspace(
server = suso_get_api_key("susoServer"),
apiUser = suso_get_api_key("susoUser"),
apiPass = suso_get_api_key("susoPass"),
token = NULL,
new_workspace = NULL,
your_workspace = NULL,
displayName = NULL
)
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 |
new_workspace |
The name used by the system for this workspace. Make sure you follow the rules outlined under https://docs.mysurvey.solutions/headquarters/accounts/workspaces/ |
your_workspace |
The workspace the API user has currently access to. To get access to the new workspace, the workspace needs to be assigned |
displayName |
The name visible to the users |
Be aware, that for using this call you require the admin credentials, and not the regular API user credentials.
## Not run:
# Use Admin Credentials!
suso_createWorkspace(
your_workspace = "myworkspace",
new_workspace = "myworkspace1",
displayName = "SpecialWorkspace",
apiUser = "xxxxxx",
apiPass = "xxxxxx")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.