DocsReferenceOrgAPI

Reference

OrgAPI

Organization-scoped calls: users, roles, admins, subscription and resource usage, organization-wide workspace listings and organization-wide security controls. 23 methods.

python
org       = ac.get_org_instance(ORG_ID)
workspace = ac.get_workspace_instance(ORG_ID, WORKSPACE_ID)
view      = ac.get_view_instance(ORG_ID, WORKSPACE_ID, VIEW_ID)
bulk      = ac.get_bulk_instance(ORG_ID, WORKSPACE_ID)

OrgAPI exposes 23 methods. Method names are snake_case and identifiers are str.

Methods#

activate_users, add_users, change_user_role, create_custom_role, create_workspace, deactivate_users, delete_custom_role, get_admins, get_automl_analysis, get_custom_roles, get_linked_workspaces, get_meta_details, get_org_access_restrictions, get_org_dashboards, get_org_recent_items, get_org_workspaces, get_resource_details, get_subscription_details, get_users, get_view_details, remove_users, update_custom_role, update_org_access_restrictions

activate_users#

python
activate_users(email_ids, config = {})

Activate users in the specified organization.

ParameterTypeDescription
email_idslistThe email address of the users to be activated.
configdictionaryContains any additional control parameters. Can be null.

Raises — ServerError; ParseError

add_users#

python
add_users(email_ids, config = {})

Add users to the specified organization.

ParameterTypeDescription
email_idslistThe email address of the users to be added.
configdictionaryContains any additional control parameters. Can be null.

Raises — ServerError; ParseError

change_user_role#

python
change_user_role(email_ids, role, config = {})

Change role for the specified users.

ParameterTypeDescription
email_idslistThe email address of the users to be deactivated.
rolestringNew role for the users.
configdictionaryContains any additional control parameters. Can be null.

Raises — ServerError; ParseError

create_custom_role#

python
create_custom_role(role_name, access_type, permissions, config = {})

Create a new custom role in the specified organization.

ParameterTypeDescription
role_namestringName of the custom role to be created.
access_typestringAccess type for the custom role.
permissionsdictionaryContains the permission details for the custom role.
configdictionaryContains any additional control parameters. Can be null.

Returns (string) — Created custom role id.

Raises — ServerError; ParseError

create_workspace#

python
create_workspace(workspace_name, config = {})

Create a blank workspace in the specified organization.

ParameterTypeDescription
workspace_namestringThe name of the workspace.
configdictionaryContains any additional control parameters. Can be null.

Returns (string) — Created workspace id.

Raises — ServerError; ParseError

deactivate_users#

python
deactivate_users(email_ids, config = {})

Deactivate users in the specified organization.

ParameterTypeDescription
email_idslistThe email address of the users to be deactivated.
configdictionaryContains any additional control parameters. Can be null.

Raises — ServerError; ParseError

delete_custom_role#

python
delete_custom_role(role_id)

Delete the specified custom role from the organization.

ParameterTypeDescription
role_idstringId of the custom role.

Raises — ServerError; ParseError

get_admins#

python
get_admins()

Returns list of admins for a specified organization.

Returns (list) — Organization admin list.

Raises — ServerError; ParseError

get_automl_analysis#

python
get_automl_analysis()

Returns all the automl analysis available in an organization.

Returns (list) — AutoML analysis list.

Raises — ServerError; ParseError

get_custom_roles#

python
get_custom_roles()

Returns list of custom roles for the specified organization.

Returns (list) — Custom role list.

Raises — ServerError; ParseError

get_linked_workspaces#

python
get_linked_workspaces()

Returns list of linked workspaces available in the specified organization.

Returns (list) — Linked workspaces list.

Raises — ServerError; ParseError

get_meta_details#

python
get_meta_details(workspace_name, view_name)

Returns details of the specified workspace/view.

ParameterTypeDescription
workspace_namestringName of the workspace.
view_namestringName of the view.

Returns (dictionary) — Workspace (or) View meta details.

Raises — ServerError; ParseError

get_org_access_restrictions#

python
get_org_access_restrictions()

Returns the access restriction settings configured for the organization.

Returns (dictionary) — Organization access restriction settings.

Raises — ServerError; ParseError

get_org_dashboards#

python
get_org_dashboards(config = {})

Returns the dashboards of the specified organization that the authenticated user may read, across the workspaces the user can reach or across the workspaces named in config["workspaceIds"].

ParameterTypeDescription
configdictionaryContains any additional control parameters. Can be null.

Returns (dictionary) — Dashboard list along with the paging details.

Raises — ServerError; ParseError

get_org_recent_items#

python
get_org_recent_items()

Returns the views the authenticated user opened most recently in the specified organization, newest first. At most 20 items are returned.

Returns (list) — View list.

Raises — ServerError; ParseError

get_org_workspaces#

python
get_org_workspaces()

Returns the workspaces of the specified organization that the authenticated user can reach. An Account Admin and an Organization Admin receive every active workspace of the organization. Every other user receives only the workspaces shared with them.

Returns (list) — Workspace list.

Raises — ServerError; ParseError

get_resource_details#

python
get_resource_details()

Returns resource usage details of the specified organization.

Returns (dictionary) — Resource details.

Raises — ServerError; ParseError

get_subscription_details#

python
get_subscription_details()

Returns subscription details of the specified organization.

Returns (dictionary) — Subscription details.

Raises — ServerError; ParseError

get_users#

python
get_users()

Returns list of users for the specified organization.

Returns (list) — User list.

Raises — ServerError; ParseError

get_view_details#

python
get_view_details(view_id, config = {})

Returns details of the specified view in the organization.

ParameterTypeDescription
view_idstringId of the view.
configdictionaryContains any additional control parameters. Can be null.

Returns (dictionary) — View details.

Raises — ServerError; ParseError

remove_users#

python
remove_users(email_ids, config = {})

Remove users from the specified organization.

ParameterTypeDescription
email_idslistThe email address of the users to be removed.
configdictionaryContains any additional control parameters. Can be null.

Raises — ServerError; ParseError

update_custom_role#

python
update_custom_role(role_id, role_name, access_type, permissions, config = {})

Update the specified custom role in the organization.

ParameterTypeDescription
role_idstringId of the custom role.
role_namestringNew name for the custom role.
access_typestringAccess type for the custom role.
permissionsdictionaryContains the permission details for the custom role.
configdictionaryContains any additional control parameters. Can be null.

Raises — ServerError; ParseError

update_org_access_restrictions#

python
update_org_access_restrictions(config = {})

Update the access restriction settings of the organization.

ParameterTypeDescription
configdictionaryContains the access restriction configurations to be updated.

Raises — ServerError; ParseError

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