DocsReferenceWorkspaceAPI

Reference

WorkspaceAPI

Workspace-scoped calls: views, folders, tags, query tables, variables, slideshows, email schedules, data alerts, backups, linked workspaces, sharing, workspace membership and workspace security controls. 117 methods.

javascript
var org       = ac.getOrgInstance(orgId);
var workspace = ac.getWorkspaceInstance(orgId, workspaceId);
var view      = ac.getViewInstance(orgId, workspaceId, viewId);
var bulk      = ac.getBulkInstance(orgId, workspaceId);

WorkspaceAPI exposes 117 methods. Method names are camelCase and identifiers are string.

Methods#

addAdmins, addDefault, addFavorite, addGroupMembers, addTagToViews, addWorkspaceUsers, automlAnalysisPrediction, backupWorkspaceNow, changeAlertStatus, changeEmailScheduleStatus, changeFolderHierarchy, changeFolderPosition, changeWorkspaceUserRole, changeWorkspaceUserStatus, copy, copyViews, createAutomlAnalysis, createAutomlAnalysisDeployment, createDashboard, createEmailSchedule, createFolder, createGroup, createQueryTable, createReport, createSlideshow, createTable, createTag, createVariable, delete, deleteAlerts, deleteAutomlAnalysis, deleteAutomlAnalysisDeployment, deleteAutomlAnalysisModel, deleteEmailSchedule, deleteFolder, deleteGroup, deleteSlideshow, deleteTag, deleteTrashView, deleteVariable, deployAutomlAnalysis, disableDomainAccess, downloadWorkspaceBackup, editQueryTable, enableDomainAccess, exportAsTemplate, getAdmins, getAggregateFormulaDependents, getAggregateFormulas, getAggregateFormulaValue, getAlertConfiguration, getAlertEvents, getAlertsInWorkspace, getAutomlAnalysis, getAutomlAnalysisDetails, getDashboardMetadata, getDatasources, getDeploymentDetails, getEmailSchedules, getFolders, getGroupDetails, getGroups, getLinkableWorkspaces, getLinkedWorkspaces, getLinkedWorkspaceSyncDetails, getQueryTableDetails, getQueryTables, getReportMetadata, getSecretKey, getSharedDetailsForViews, getShareInfo, getSlideshowDetails, getSlideshows, getSlideshowUrl, getTaggedViews, getTags, getTrashViews, getVariableDetails, getVariables, getViews, getWorkspaceAccessRestrictions, getWorkspaceBackups, getWorkspaceBackupStatus, getWorkspaceDetails, getWorkspaceLinkingCompatibility, getWorkspaceRestoreStatus, getWorkspaceUsers, linkWorkspaces, makeDefaultFolder, moveViewsToFolder, removeAdmins, removeDefault, removeFavorite, removeGroupMembers, removeShare, removeTagFromViews, removeWorkspaceUsers, rename, renameFolder, renameGroup, restoreTrashView, restoreWorkspaceFromBackup, runAlert, shareViews, syncData, syncLinkedWorkspaces, triggerEmailSchedule, unlinkWorkspaces, updateAlert, updateDashboard, updateDatasourceConnection, updateEmailSchedule, updateReport, updateSlideshow, updateTag, updateVariable, updateWorkspaceAccessRestrictions

addAdmins#

javascript
addAdmins(emailIds, config={})

Add admins for the specified workspace.

ParameterTypeDescription
emailIdsJSONArrayThe email address of the admin users to be added.
configObjectContains any additional control attributes.

Raises — Error

addDefault#

javascript
addDefault(config={})

Adds a specified workspace as default.

Raises — Error

addFavorite#

javascript
addFavorite(config={})

Adds a specified workspace as favorite.

Raises — Error

addGroupMembers#

javascript
addGroupMembers(groupId, emailIds, config={})

Add users to the specified group.

ParameterTypeDescription
groupIdStringId of the group.
emailIdsJSONArrayThe email address of the users to be added to the group.
configObjectContains any additional control attributes.

Raises — Error

addTagToViews#

javascript
addTagToViews(tagId, viewIds, config={})

Adds the specified tag to multiple views in the workspace.

ParameterTypeDescription
tagIdStringId of the tag.
viewIdsJSONArrayView ids to be associated with the tag.
configObjectContains any additional control attributes.

Raises — Error

addWorkspaceUsers#

javascript
addWorkspaceUsers(emailIds, role, config={})

Add users to the specified workspace.

ParameterTypeDescription
emailIdsJSONArrayThe email address of the users to be added.
roleStringRole for the users to be added.
configObjectContains any additional control attributes.

Raises — Error

automlAnalysisPrediction#

javascript
automlAnalysisPrediction(analysisId, modelId, features, config = {})

Get predictions by providing sample input values for a trained model.

ParameterTypeDescription
analysisIdStringId of the Automl Analysis.
modelIdStringId of the Automl Analysis model.
featuresObjectColumn → value map for prediction.
configObjectAdditional control attributes.

Returns — Prediction result.

Raises — Error

backupWorkspaceNow#

javascript
backupWorkspaceNow(config={})

Trigger an instant backup for the specified workspace.

ParameterTypeDescription
configObjectContains any additional control attributes.

Returns — Triggered backup details.

Raises — Error

changeAlertStatus#

javascript
changeAlertStatus(alertIds, enabled, config={})

Enable or disable the specified data alerts in the workspace.

ParameterTypeDescription
alertIdsJSONArrayIds of the data alerts.
enabledBooleanPass true to enable the data alerts and false to disable them.
configObjectContains any additional control attributes.

Raises — Error

changeEmailScheduleStatus#

javascript
changeEmailScheduleStatus(scheduleId, operation)

Update email schedule status.

ParameterTypeDescription
scheduleIdStringId for the email schedule.
operationStringNew status for the schedule ( Values - activatedeactivate )

Raises — Error

changeFolderHierarchy#

javascript
changeFolderHierarchy(folderId, hierarchy, config={})

Swaps the hierarchy of a parent folder and a subfolder.

ParameterTypeDescription
folderIdStringId of the folder.
hierarchyNumberNew hierarchy for the folder. (0 - Parent; 1 - Child).
configObjectContains any additional control attributes.

Raises — Error

changeFolderPosition#

javascript
changeFolderPosition(folderId, referenceFolderId, config={})

Place the folder above the reference folder.

ParameterTypeDescription
folderIdStringId of the folder.
referenceFolderIdStringId of the reference folder.
configObjectContains any additional control attributes.

Raises — Error

changeWorkspaceUserRole#

javascript
changeWorkspaceUserRole(emailIds, role, config={})

Change role for the specified users.

ParameterTypeDescription
emailIdsJSONArrayThe email address of the users.
roleStringNew role for the users.
configObjectContains any additional control attributes.

Raises — Error

changeWorkspaceUserStatus#

javascript
changeWorkspaceUserStatus(emailIds, operation, config={})

Change users staus in the specified workspace.

ParameterTypeDescription
emailIdsJSONArrayThe email address of the users.
operationStringNew status for the users ( Values - activatedeactivate )
configObjectContains any additional control attributes.

Raises — Error

copy#

javascript
copy(workspaceName, config={}, destOrgId=null)

Copy the specified workspace from one organization to another or within the organization.

ParameterTypeDescription
workspaceNameStringName of the new workspace.
configObjectContains any additional control attributes.
destOrgIdStringull - Id of the organization where the destination workspace is present.

Returns — Copied workspace id.

Raises — Error

copyViews#

javascript
copyViews(viewIds, destWorkspaceId, config={}, destOrgId=null)

Copy the specified views from one workspace to another workspace.

ParameterTypeDescription
viewIdsJSONArrayThe id of the views to be copied.
destWorkspaceIdStringThe destination workspace id.
configObjectContains any additional control attributes.
destOrgIdStringull - Id of the organization where the destination workspace is present.

Returns — View list.

Raises — Error

createAutomlAnalysis#

javascript
createAutomlAnalysis(name, trainingTableId, predictionType, features, serverOption, algorithms, config = {})

Create a new AutoML analysis within the provided workspace.

ParameterTypeDescription
nameStringName for the automl analysis to be created.
trainingTableIdStringId of the training table.
predictionTypeStringREGRESSION / CLASSIFICATION / CLUSTERING.
featuresArrayList of column names used as features.
serverOptionNumber1 → 8GB, 2 → 16GB, 3 → 32GB.
algorithmsObjectAlgorithms configuration.
configObjectAdditional control attributes.

Returns — Created AutoML Analysis Id.

Raises — Error

createAutomlAnalysisDeployment#

javascript
createAutomlAnalysisDeployment(analysisId, modelId, inputTableId, outputTable, outputColumns, predictionColumn, serverOption, importType, scheduleDetails, config = {})

Deploy the AutoML analysis model.

Returns — Created AutoML Deployment details.

Raises — Error

createDashboard#

javascript
createDashboard(displayName, layout, config={})

Create a dashboard in the specified workspace.

ParameterTypeDescription
displayNameStringName of the dashboard.
layoutStringLayout configuration of the dashboard.
configObjectContains any additional control attributes.

Returns — Created dashboard id.

Raises — Error

createEmailSchedule#

javascript
createEmailSchedule(scheduleName, viewIds, format, emailIds, scheduleDetails, config={})

Create an email schedule in the specified workspace.

ParameterTypeDescription
scheduleNameStringName of the email schedule.
viewIdsJSONArrayView ids to be mailed.
formatStringThe format in which the data has to be mailed.
emailIdsJSONArrayThe recipients' email addresses for sending views.
scheduleDetailsObjectContains schedule frequency, date, and time info.
configObjectContains any additional control attributes.

Returns — Created email schedule id.

Raises — Error

createFolder#

javascript
createFolder(folderName, config={})

Create a folder in the specified workspace.

ParameterTypeDescription
folderNameStringName of the folder to be created.
configObjectContains any additional control attributes.

Returns — Created folder id.

Raises — Error

createGroup#

javascript
createGroup(groupName, emailIds, config={})

Create a group in the specified workspace.

ParameterTypeDescription
groupNameStringName of the group.
emailIdsJSONArrayThe email address of the users to be added to the group.
configObjectContains any additional control attributes.

Returns — Created group id.

Raises — Error

createQueryTable#

javascript
createQueryTable(sqlQuery, queryTableName, config={})

Create a new query table in the workspace.

ParameterTypeDescription
sqlQueryStringSQL query to construct the query table.
queryTableNameStringName of the query table to be created.
configObjectContains any additional control attributes.

Returns — Id of the created query table.

Raises — Error

createReport#

javascript
createReport(config={})

Create a report in the specified workspace.

ParameterTypeDescription
configObjectContains the control attributes.

Returns — Id of the created view.

Raises — Error

createSlideshow#

javascript
createSlideshow(slideName, viewIds, config={})

Create a slideshow in the specified workspace.

ParameterTypeDescription
slideNameStringName of the slideshow to be created.
viewIdsJSONArrayIds of the view to be included in the slideshow.
configObjectContains any additional control attributes.

Returns — Id of the created slideshow.

Raises — Error

createTable#

javascript
createTable(tableDesign, config={})

Create a table in the specified workspace.

ParameterTypeDescription
tableDesignObjectTable structure.
configObjectContains any additional control attributes.

Returns — created table id.

Raises — Error

createTag#

javascript
createTag(tagName, colorCode, config={})

Create a tag in the specified workspace.

ParameterTypeDescription
tagNameStringName of the tag to be created.
colorCodeStringColor of the tag in HEX color code.
configObjectContains any additional control attributes.

Returns — Created tag id.

Raises — Error

createVariable#

javascript
createVariable(variableName, variableDataType, variableType, config={})

Create a variable in the workspace.

ParameterTypeDescription
variableNameStringName of the variable to be created.
variableNameNumberDatatype of the variable to be created.
variableNameNumberType of the variable to be created.
configObjectContains the control attributes.

Returns — Id of the created variable.

Raises — Error

delete#

javascript
delete(config={})

Delete a specified workspace in the organization.

ParameterTypeDescription
configObjectContains any additional control attributes.

Raises — Error

deleteAlerts#

javascript
deleteAlerts(alertIds, config={})

Delete the specified data alerts from the workspace.

ParameterTypeDescription
alertIdsJSONArrayIds of the data alerts to be deleted.
configObjectContains any additional control attributes.

Raises — Error

deleteAutomlAnalysis#

javascript
deleteAutomlAnalysis(analysisId, config = {})

Delete a specified automl analysis from the given workspace.

ParameterTypeDescription
analysisIdStringId of the Automl Analysis to be deleted.
configObjectAdditional control attributes.

Raises — Error

deleteAutomlAnalysisDeployment#

javascript
deleteAutomlAnalysisDeployment(analysisId, deploymentId, config = {})

Delete the AutoML analysis deployment.

ParameterTypeDescription
analysisIdStringId of the Automl Analysis.
deploymentIdStringId of the deployment to be deleted.
configObjectAdditional control attributes.

Raises — Error

deleteAutomlAnalysisModel#

javascript
deleteAutomlAnalysisModel(analysisId, modelId, config = {})

Delete a specified model available in the given automl analysis.

ParameterTypeDescription
analysisIdStringId of the Automl Analysis.
modelIdStringId of the model to be deleted.
configObjectAdditional control attributes.

Raises — Error

deleteEmailSchedule#

javascript
deleteEmailSchedule(scheduleId)

Delete the specified email schedule in the workspace.

ParameterTypeDescription
scheduleIdStringId for the email schedule.

Raises — Error

deleteFolder#

javascript
deleteFolder(folderId)

Delete a specified folder in the workspace.

ParameterTypeDescription
folderIdStringId of the folder to be deleted.

Raises — Error

deleteGroup#

javascript
deleteGroup(groupId)

Delete a specified group.

ParameterTypeDescription
groupIdStringThe id of the group.

Raises — Error

deleteSlideshow#

javascript
deleteSlideshow(slideId)

Delete a specified slideshow in the workspace.

ParameterTypeDescription
slideIdStringId of the slideshow.

Raises — Error

deleteTag#

javascript
deleteTag(tagId)

Delete the specified tag from the workspace.

ParameterTypeDescription
tagIdStringId of the tag.

Raises — Error

deleteTrashView#

javascript
deleteTrashView(viewId, config={})

Delete the specified view permanently from trash.

ParameterTypeDescription
viewIdStringId of the view.
configObjectContains any additional control attributes.

Raises — Error

deleteVariable#

javascript
deleteVariable(variableId)

Delete a specified variable in the workspace.

ParameterTypeDescription
variableIdStringId of the variable.

Raises — Error

deployAutomlAnalysis#

javascript
deployAutomlAnalysis(analysisId, deploymentId, config = {})

Execute the AutoML analysis deployment.

ParameterTypeDescription
analysisIdStringId of the Automl Analysis.
deploymentIdStringId of the deployment to be executed.
configObjectAdditional control attributes.

Raises — Error

disableDomainAccess#

javascript
disableDomainAccess()

Disable workspace from the specified white label domain.

Raises — Error

downloadWorkspaceBackup#

javascript
downloadWorkspaceBackup(backupId, filePath, config={})

Download the specified workspace backup.

ParameterTypeDescription
backupIdStringId of the backup.
filePathStringPath of the file where the downloaded backup is to be stored.
configObjectContains any additional control attributes.

Raises — Error

editQueryTable#

javascript
editQueryTable(viewId, sqlQuery, config={})

Update the mentioned query table in the workspace.

ParameterTypeDescription
viewIdStringId of the query table to be updated.
sqlQueryStringNew SQL query to be updated.
configObjectContains any additional control attributes.

Raises — Error

enableDomainAccess#

javascript
enableDomainAccess()

Enable workspace to the specified white label domain.

Raises — Error

exportAsTemplate#

javascript
exportAsTemplate(viewIds, filePath, config={})

Export the mentioned views as templates.

ParameterTypeDescription
viewIdsJSONArrayIds of the view to be exported.
filePathStringPath of the file where the data exported to be stored. ( Should be in 'atpt' format )
configObjectContains any additional control attributes.

Raises — Error

getAdmins#

javascript
getAdmins(config={})

Returns list of admins for the specified workspace.

Returns — Workspace admin list.

Raises — Error

getAggregateFormulaDependents#

javascript
getAggregateFormulaDependents(formulaId)

Returns list of all dependent views and formulas for the specified aggregate formula.

ParameterTypeDescription
formulaIdStringId of the aggregate formula.

Returns — Dependent details.

Raises — Error

getAggregateFormulas#

javascript
getAggregateFormulas(config={})

Returns list of all aggregate formulas for the specified workspace.

ParameterTypeDescription
configObjectContains any additional control attributes.

Returns — Aggregate formula list.

Raises — Error

getAggregateFormulaValue#

javascript
getAggregateFormulaValue(formulaId)

Returns the value of the aggregate formula.

ParameterTypeDescription
formulaIdStringId of the aggregate formula.

Returns — Aggregate formula value.

Raises — Error

getAlertConfiguration#

javascript
getAlertConfiguration(alertId)

Returns the configuration of the specified data alert.

ParameterTypeDescription
alertIdStringId of the data alert.

Returns — Data alert configuration.

Raises — Error

getAlertEvents#

javascript
getAlertEvents(alertId, config={})

Returns the execution events of the specified data alert.

ParameterTypeDescription
alertIdStringId of the data alert.
configObjectContains any additional control attributes.

Returns — Data alert events along with the page details.

Raises — Error

getAlertsInWorkspace#

javascript
getAlertsInWorkspace()

Returns list of data alerts available in the specified workspace.

Returns — Data alerts list.

Raises — Error

getAutomlAnalysis#

javascript
getAutomlAnalysis()

Returns list of automl analysis for the specified workspace.

Returns — AutoML analysis list.

Raises — Error

getAutomlAnalysisDetails#

javascript
getAutomlAnalysisDetails(analysisId)

Retrieve detailed information for a specific AutoML analysis.

ParameterTypeDescription
analysisIdStringId of the Automl Analysis.

Returns — AutoML analysis details.

Raises — Error

getDashboardMetadata#

javascript
getDashboardMetadata(dashboardId, config={})

Returns the metadata of the specified dashboard.

ParameterTypeDescription
dashboardIdStringId of the dashboard.
configObjectContains any additional control attributes.

Returns — Dashboard configuration.

Raises — Error

getDatasources#

javascript
getDatasources()

Returns list of datasources for the specified workspace.

Returns — Datasource list.

Raises — Error

getDeploymentDetails#

javascript
getDeploymentDetails(analysisId, modelId)

Returns deployment details available for a AutoML analysis model.

ParameterTypeDescription
analysisIdStringId of the Automl Analysis.
modelIdStringId of the Automl Analysis Model.

Returns — AutoML analysis deployment details.

Raises — Error

getEmailSchedules#

javascript
getEmailSchedules()

Returns list of email schedules available in the specified workspace.

Returns — List of email schedules.

Raises — Error

getFolders#

javascript
getFolders()

Returns list of all accessible folders for the specified workspace.

Returns — Folder list.

Raises — Error

getGroupDetails#

javascript
getGroupDetails(groupId)

Get the details of the specified group.

ParameterTypeDescription
groupIdStringId of the group.

Returns — Details of the specified group.

Raises — Error

getGroups#

javascript
getGroups()

Returns list of groups for the specified workspace.

Returns — Group list.

Raises — Error

getLinkableWorkspaces#

javascript
getLinkableWorkspaces()

Returns list of organizations and workspaces that can be linked to the specified master workspace.

Returns — Organizations with their linkable workspaces.

Raises — Error

getLinkedWorkspaces#

javascript
getLinkedWorkspaces()

Returns list of workspaces linked to the specified master workspace.

Returns — Linked workspaces list.

Raises — Error

getLinkedWorkspaceSyncDetails#

javascript
getLinkedWorkspaceSyncDetails(sandboxIds, config={})

Returns the sync details of the specified linked workspaces.

ParameterTypeDescription
sandboxIdsJSONArrayIds of the linked workspaces for which the sync details are fetched.
configObjectContains any additional control attributes.

Returns — Linked workspace sync details.

Raises — Error

getQueryTableDetails#

javascript
getQueryTableDetails(queryTableId)

Returns details of the specified query table.

ParameterTypeDescription
queryTableIdStringId of the query table.

Returns — View details.

Raises — Error

getQueryTables#

javascript
getQueryTables(config={})

Returns list of all query tables for the specified workspace.

ParameterTypeDescription
configObjectContains any additional control attributes.

Returns — Query table list.

Raises — Error

getReportMetadata#

javascript
getReportMetadata(viewId)

Returns the metadata of the specified report.

ParameterTypeDescription
viewIdStringId of the report.

Returns — Report configuration.

Raises — Error

getSecretKey#

javascript
getSecretKey(config={})

Returns the secret key of the specified workspace.

ParameterTypeDescription
configObjectContains any additional control attributes.

Returns — Workspace secret key.

Raises — Error

getSharedDetailsForViews#

javascript
getSharedDetailsForViews(viewIds)

Returns shared details of the specified views.

ParameterTypeDescription
viewIdsJSONArrayThe id of the views to be copied.

Returns — Folder list.

Raises — Error

getShareInfo#

javascript
getShareInfo()

Returns shared details of the specified workspace.

Returns — Workspace share info.

Raises — Error

getSlideshowDetails#

javascript
getSlideshowDetails(slideId)

Returns details of the specified slideshow.

ParameterTypeDescription
slideIdStringId of the slideshow.

Returns — Slideshow details.

Raises — Error

getSlideshows#

javascript
getSlideshows()

Returns list of slideshows for the specified workspace.

Returns — Slideshow list.

Raises — Error

getSlideshowUrl#

javascript
getSlideshowUrl(slideId, config={})

Returns slide URL to access the specified slideshow.

ParameterTypeDescription
slideIdStringId of the slideshow.
configObjectContains the control configurations

Returns — Slideshow URL.

Raises — Error

getTaggedViews#

javascript
getTaggedViews(tagId)

Returns list of views associated with the specified tag.

ParameterTypeDescription
tagIdStringId of the tag.

Returns — Tagged views list.

Raises — Error

getTags#

javascript
getTags()

Returns list of all tags for the specified workspace.

Returns — Tags list.

Raises — Error

getTrashViews#

javascript
getTrashViews()

Returns list of all views available in trash for the specified workspace.

Returns — Trash view list.

Raises — Error

getVariableDetails#

javascript
getVariableDetails(variableId)

Returns details of the specified variable.

ParameterTypeDescription
variableIdStringId of the variable.

Returns — Variable details.

Raises — Error

getVariables#

javascript
getVariables()

Returns list of variables for the specified workspace.

Returns — Variable list.

Raises — Error

getViews#

javascript
getViews(config={})

Returns list of all accessible views for the specified workspace.

ParameterTypeDescription
configObjectContains any additional control attributes.

Returns — View list.

Raises — Error

getWorkspaceAccessRestrictions#

javascript
getWorkspaceAccessRestrictions()

Returns the access restriction settings configured for the specified workspace.

Returns — Workspace access restriction settings.

Raises — Error

getWorkspaceBackups#

javascript
getWorkspaceBackups()

Returns the backup configuration and the list of backups available for the specified workspace.

Returns — Workspace backup details.

Raises — Error

getWorkspaceBackupStatus#

javascript
getWorkspaceBackupStatus(backupId)

Returns the status of the specified workspace backup.

ParameterTypeDescription
backupIdStringId of the backup.

Returns — Backup status details.

Raises — Error

getWorkspaceDetails#

javascript
getWorkspaceDetails(config={})

Returns details of the specified workspace.

ParameterTypeDescription
configObjectContains any additional control attributes.

Returns — Workspace details.

Raises — Error

getWorkspaceLinkingCompatibility#

javascript
getWorkspaceLinkingCompatibility(clients, config={})

Returns the linking compatibility details for the specified client workspaces.

ParameterTypeDescription
clientsJSONArrayContains the client workspaces to be verified for linking compatibility.
configObjectContains any additional control attributes.

Returns — Client workspace compatibility details.

Raises — Error

getWorkspaceRestoreStatus#

javascript
getWorkspaceRestoreStatus(restoreId)

Returns the status of the specified workspace restore.

ParameterTypeDescription
restoreIdStringId of the restore.

Returns — Restore status details.

Raises — Error

getWorkspaceUsers#

javascript
getWorkspaceUsers()

Returns list of users for the specified workspace.

Returns — User list.

Raises — Error

linkWorkspaces#

javascript
linkWorkspaces(clients, config={})

Link the specified client workspaces to the master workspace.

ParameterTypeDescription
clientsJSONArrayContains the client workspaces to be linked with the master workspace.
configObjectContains any additional control attributes.

Raises — Error

makeDefaultFolder#

javascript
makeDefaultFolder(folderId)

Make the specified folder as default.

ParameterTypeDescription
folderIdStringId of the folder.

Raises — Error

moveViewsToFolder#

javascript
moveViewsToFolder(folderId, viewIds, config={})

Move views to the mentioned folder.

ParameterTypeDescription
folderIdStringId of the folder.
viewIdsJSONArrayView ids to be moved.
configObjectContains any additional control attributes.

Raises — Error

removeAdmins#

javascript
removeAdmins(emailIds, config={})

Remove admins from the specified workspace.

ParameterTypeDescription
emailIdsJSONArrayThe email address of the admin users to be removed.
configObjectContains any additional control attributes.

Raises — Error

removeDefault#

javascript
removeDefault(config={})

Remove a specified workspace from default.

Raises — Error

removeFavorite#

javascript
removeFavorite(config={})

Remove a specified workspace from favorite.

Raises — Error

removeGroupMembers#

javascript
removeGroupMembers(groupId, emailIds, config={})

Remove users from the specified group.

ParameterTypeDescription
groupIdStringId of the group.
emailIdsJSONArrayThe email address of the users to be removed from the group.
configObjectContains any additional control attributes.

Raises — Error

removeShare#

javascript
removeShare(viewIds, emailIds, config={})

Remove shared views for the specified users.

ParameterTypeDescription
viewIdsJSONArrayView ids whose sharing needs to be removed.
emailIdsJSONArrayThe email address of the users to whom the sharing need to be removed.
configObjectContains any additional control attributes.

Raises — Error

removeTagFromViews#

javascript
removeTagFromViews(tagId, viewIds=null, dissociateAll=false, config={})

Removes the specified tag from multiple views in the workspace.

ParameterTypeDescription
tagIdStringId of the tag.
viewIdsJSONArrayView ids to be dissociated. Not required when dissociateAll is true.
dissociateAllBooleanTo dissociate the tag from all associated views.
configObjectContains any additional control attributes.

Raises — Error

removeWorkspaceUsers#

javascript
removeWorkspaceUsers(emailIds, config={})

Remove users from the specified workspace.

ParameterTypeDescription
emailIdsJSONArrayThe email address of the users to be removed.
configObjectContains any additional control attributes.

Raises — Error

rename#

javascript
rename(workspaceName, config={})

Rename a specified workspace in the organization.

ParameterTypeDescription
workspaceNameStringNew name for the workspace.
configObjectContains any additional control attributes.

Raises — Error

renameFolder#

javascript
renameFolder(folderId, newFolderName, config={})

Rename a specified folder in the workspace.

ParameterTypeDescription
folderIdStringId of the folder.
folderNameStringNew name for the folder.
configObjectContains any additional control attributes.

Raises — Error

renameGroup#

javascript
renameGroup(groupId, newGroupName, config={})

Rename a specified group.

ParameterTypeDescription
groupIdStringId of the group.
newGroupNameStringNew name for the group.
configObjectContains any additional control attributes.

Raises — Error

restoreTrashView#

javascript
restoreTrashView(viewId, config={})

Restore the specified view from trash.

ParameterTypeDescription
viewIdStringId of the view.
configObjectContains any additional control attributes.

Raises — Error

restoreWorkspaceFromBackup#

javascript
restoreWorkspaceFromBackup(backupId, confirmRestore, config={})

Restore the specified workspace from the given backup.

ParameterTypeDescription
backupIdStringId of the backup.
confirmRestoreBooleanPass true to confirm that the existing workspace data can be overwritten.
configObjectContains any additional control attributes.

Returns — Triggered restore details.

Raises — Error

runAlert#

javascript
runAlert(alertId, config={})

Execute the specified data alert immediately.

ParameterTypeDescription
alertIdStringId of the data alert.
configObjectContains any additional control attributes.

Raises — Error

shareViews#

javascript
shareViews(viewIds, emailIds, permissions, config={})

Share views to the specified users.

ParameterTypeDescription
viewIdsJSONArrayView ids to be shared.
emailIdsJSONArrayThe email address of the users to whom the views need to be shared.
permissionsObjectContains permission details.
configObjectContains any additional control attributes.

Raises — Error

syncData#

javascript
syncData(datasourceId, config={})

Initiate data sync for the specified datasource.

ParameterTypeDescription
datasourceIdStringId of the datasource.
configObjectContains any additional control attributes.

Raises — Error

syncLinkedWorkspaces#

javascript
syncLinkedWorkspaces(scope, config={})

Sync the metadata of the master workspace to its linked client workspaces.

ParameterTypeDescription
scopeStringScope of the sync operation.
configObjectContains any additional control attributes.

Raises — Error

triggerEmailSchedule#

javascript
triggerEmailSchedule(scheduleId)

Trigger configured email schedules instantly.

ParameterTypeDescription
scheduleIdStringId for the email schedule.

Raises — Error

unlinkWorkspaces#

javascript
unlinkWorkspaces(scope, config={})

Unlink the client workspaces from the specified master workspace.

ParameterTypeDescription
scopeStringScope of the unlink operation.
configObjectContains any additional control attributes.

Raises — Error

updateAlert#

javascript
updateAlert(alertId, alertName, scheduleDetails, rules, config={})

Update the specified data alert in the workspace.

ParameterTypeDescription
alertIdStringId of the data alert.
alertNameStringName of the data alert.
scheduleDetailsObjectContains the schedule configurations of the data alert.
rulesJSONArrayContains the rules to be evaluated by the data alert.
configObjectContains any additional control attributes.

Raises — Error

updateDashboard#

javascript
updateDashboard(dashboardId, config={})

Update the specified dashboard in the workspace.

ParameterTypeDescription
dashboardIdStringId of the dashboard.
configObjectContains the dashboard configurations to be updated.

Raises — Error

updateDatasourceConnection#

javascript
updateDatasourceConnection(datasourceId, config={})

Update connection details for the specified datasource.

ParameterTypeDescription
datasourceIdStringId of the datasource.
configObjectContains the control attributes.

Raises — Error

updateEmailSchedule#

javascript
updateEmailSchedule(scheduleId, config)

Update configurations of the specified email schedule in the workspace.

ParameterTypeDescription
scheduleIdStringId for the email schedule.
configObjectContains the control configurations.

Returns — Updated email schedule id.

Raises — Error

updateReport#

javascript
updateReport(viewId, config={})

Update the design and configuration of the specified report.

ParameterTypeDescription
viewIdStringId of the view.
configObjectContains the control attributes.

Raises — Error

updateSlideshow#

javascript
updateSlideshow(slideId, config={})

Update details of the specified slideshow.

ParameterTypeDescription
slideIdStringThe id of the slideshow.
configObjectContains the control configurations

Raises — Error

updateTag#

javascript
updateTag(tagId, config={})

Update details of the specified tag in the workspace.

ParameterTypeDescription
tagIdStringId of the tag.
configObjectContains the control attributes.

Raises — Error

updateVariable#

javascript
updateVariable(variableId, variableName, variableDataType, variableType, config={})

Update details of the specified variable in the workspace.

ParameterTypeDescription
variableIdStringId of the variable.
variableNameStringNew name for the variable.
variableNameNumberNew datatype for the variable.
variableNameNumberNew type for the variable.
configObjectContains the control attributes.

Raises — Error

updateWorkspaceAccessRestrictions#

javascript
updateWorkspaceAccessRestrictions(config={})

Update the access restriction settings of the specified workspace.

ParameterTypeDescription
configObjectContains the access restriction configurations to be updated.

Raises — Error

  • Errors — the failure envelope and codes worth branching on.
  • Limits — throttles and quotas that apply to these calls.
Zoho Analytics Node.js SDK · REST API v2 Generated 2026-10-27