Zoho User Management APIs API

Manage User APIs allow you to add, remove, activate, or deactivate users in your Zoho Analytics organization programmatically.

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 13

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /restapi/v2/users List users in an organization · Get Users #
Ask an LLM
“Which users are in my Zoho Analytics organization?”
“Can I see every user account for one org?”
Tell an agent
List all users in organization {org}.
Show every user account for org {org}.
POST /restapi/v2/users Add users to an organization · Add Users #
Ask an LLM
“How do I invite new users to my analytics organization?”
“Can I bulk add users to an organization with a config?”
Tell an agent
Add users to organization {org} with config {config}.
Invite new users to org {org} using {config}.
DELETE /restapi/v2/users Remove users from an organization · Remove Users #
Ask an LLM
“How do I remove users from my analytics organization?”
“Can I delete users from an organization by config?”
Tell an agent destructive · confirm first
Remove users from organization {org} with config {config}.
Delete users in org {org} using {config}.
PUT /restapi/v2/users/active Activate users in an organization · Activate Users #
Ask an LLM
“How do I reactivate users in my analytics organization?”
“Can I turn on several users at once for an org?”
Tell an agent
Activate users in organization {org} with config {config}.
Reactivate the users in org {org} using {config}.
PUT /restapi/v2/users/inactive Deactivate users in an organization · Deactivate Users #
Ask an LLM
“How do I deactivate users in my analytics organization?”
“Can I suspend several users in an org at once?”
Tell an agent
Deactivate users in organization {org} with config {config}.
Suspend the users in org {org} using {config}.
PUT /restapi/v2/users/role Change roles of users in an organization · Change User Role #
Ask an LLM
“How do I change the role of users in my analytics organization?”
“Can I promote several users to admin in one request?”
Tell an agent
Change the roles of users in organization {org} with config {config}.
Update user roles in org {org} using {config}.
GET /restapi/v2/subscription Get a workspace organization's subscription · Get Subscription Details #
Ask an LLM
“Which Zoho Analytics subscription does my organization have?”
“What does a workspace organization's subscription plan include?”
Tell an agent
Get the subscription details for organization {org}.
Show what plan organization {org} is on.
GET /restapi/v2/resources Get an organization's resource usage · Get Resource Details #
Ask an LLM
“How much storage and compute is my analytics organization using?”
“What are the resource usage details for an organization?”
Tell an agent
Get resource usage details for organization {org}.
Show how much storage and compute org {org} is consuming.
GET /restapi/v2/workspaces/{workspace-id}/users List users in a workspace · Get Workspace Users #
Ask an LLM
“Which users have access to a particular workspace?”
“Can I see the members of one analytics workspace?”
Tell an agent
List users in workspace {workspace}.
Show who has access to workspace {workspace}.
POST /restapi/v2/workspaces/{workspace-id}/users Add users to a workspace · Add Workspace Users #
Ask an LLM
“How do I share a workspace with new users?”
“Can I add several users to a workspace at once?”
Tell an agent
Add users to workspace {workspace} with config {config}.
Share workspace {workspace} with new users using {config}.
DELETE /restapi/v2/workspaces/{workspace-id}/users Remove users from a workspace · Delete Workspace Users #
Ask an LLM
“How do I revoke workspace access for users?”
“Can I remove users from a workspace by config?”
Tell an agent destructive · confirm first
Remove users from workspace {workspace} with config {config}.
Revoke access to workspace {workspace} using {config}.
PUT /restapi/v2/workspaces/{workspace-id}/users/status Activate or deactivate workspace users · Change Workspace Users Status #
Ask an LLM
“How do I deactivate a user's access to a workspace?”
“Can I reactivate users in a workspace?”
Tell an agent
Update the activation status of users in workspace {workspace} with config {config}.
Deactivate users in workspace {workspace} using {config}.
PUT /restapi/v2/workspaces/{workspace-id}/users/role Change roles of users in a workspace · Change Workspace Users Role #
Ask an LLM
“How do I change who owns a workspace?”
“Can I change the role of users in a workspace?”
Tell an agent
Change the roles of users in workspace {workspace} with config {config}.
Update who owns workspace {workspace} using {config}.

Documentation

Specifications

Code Examples

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/zoho:zoho-user-management-apis-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

zoho-user-management-apis-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Zoho Analytics User Management APIs API
  version: v2
  description: API for managing data in Zoho Analytics workspaces and views.
servers:
- url: https://analyticsapi.zoho.com
tags:
- name: User Management APIs
  description: Manage User APIs allow you to add, remove, activate, or deactivate users in your Zoho Analytics organization programmatically.
paths:
  /restapi/v2/users:
    get:
      tags:
      - User Management APIs
      summary: Get Users
      description: Returns list of users for the specified organization.
      operationId: getUsers
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.usermanagement.read
      parameters:
      - $ref: '#/components/parameters/org-id'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetUsersResponse'
        default:
          $ref: https://raw.githubusercontent.com/zoho/analytics-oas/refs/heads/main/v2.0/zoho-analytics-api-common.json#/components/responses/CommonErrorResponse
    post:
      tags:
      - User Management APIs
      summary: Add Users
      description: Add users to the specified organization.
      operationId: addUsers
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.usermanagement.create
      parameters:
      - $ref: '#/components/parameters/org-id'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/AddUsersConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      responses:
        '204':
          description: No Content
        default:
          $ref: https://raw.githubusercontent.com/zoho/analytics-oas/refs/heads/main/v2.0/zoho-analytics-api-common.json#/components/responses/CommonErrorResponse
    delete:
      tags:
      - User Management APIs
      summary: Remove Users
      description: Remove users from the specified organization.
      operationId: removeUsers
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.usermanagement.delete
      parameters:
      - $ref: '#/components/parameters/org-id'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/RemoveUsersConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      responses:
        '204':
          description: No Content
        default:
          $ref: https://raw.githubusercontent.com/zoho/analytics-oas/refs/heads/main/v2.0/zoho-analytics-api-common.json#/components/responses/CommonErrorResponse
  /restapi/v2/users/active:
    put:
      tags:
      - User Management APIs
      summary: Activate Users
      description: Activate users in the specified organization.
      operationId: activateUsers
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.usermanagement.update
      parameters:
      - $ref: '#/components/parameters/org-id'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/ActivateUsersConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      responses:
        '204':
          description: No Content
        default:
          $ref: https://raw.githubusercontent.com/zoho/analytics-oas/refs/heads/main/v2.0/zoho-analytics-api-common.json#/components/responses/CommonErrorResponse
  /restapi/v2/users/inactive:
    put:
      tags:
      - User Management APIs
      summary: Deactivate Users
      description: Deactivate users in the specified organization.
      operationId: deActivateUsers
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.usermanagement.update
      parameters:
      - $ref: '#/components/parameters/org-id'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/DeactivateUsersConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      responses:
        '204':
          description: No Content
        default:
          $ref: https://raw.githubusercontent.com/zoho/analytics-oas/refs/heads/main/v2.0/zoho-analytics-api-common.json#/components/responses/CommonErrorResponse
  /restapi/v2/users/role:
    put:
      tags:
      - User Management APIs
      summary: Change User Role
      description: Change role for the specified users.
      operationId: changeUserRole
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.usermanagement.update
      parameters:
      - $ref: '#/components/parameters/org-id'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/ChangeUserRoleConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      responses:
        '204':
          description: No Content
        default:
          $ref: https://raw.githubusercontent.com/zoho/analytics-oas/refs/heads/main/v2.0/zoho-analytics-api-common.json#/components/responses/CommonErrorResponse
  /restapi/v2/subscription:
    get:
      tags:
      - User Management APIs
      summary: Get Subscription Details
      description: Returns subscription details of the specified organization.
      operationId: getSubscriptionDetails
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.usermanagement.read
      parameters:
      - $ref: '#/components/parameters/org-id'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetSubscriptionDetailsResponse'
        default:
          $ref: https://raw.githubusercontent.com/zoho/analytics-oas/refs/heads/main/v2.0/zoho-analytics-api-common.json#/components/responses/CommonErrorResponse
  /restapi/v2/resources:
    get:
      tags:
      - User Management APIs
      summary: Get Resource Details
      description: Returns resource usage details of the specified organization.
      operationId: getResourceDetails
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.usermanagement.read
      parameters:
      - $ref: '#/components/parameters/org-id'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetResourceDetailsResponse'
        default:
          $ref: https://raw.githubusercontent.com/zoho/analytics-oas/refs/heads/main/v2.0/zoho-analytics-api-common.json#/components/responses/CommonErrorResponse
  /restapi/v2/workspaces/{workspace-id}/users:
    get:
      tags:
      - User Management APIs
      summary: Get Workspace Users
      description: Returns list of users for the specified workspace.
      operationId: getWorkspaceUsers
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.usermanagement.read
      parameters:
      - $ref: '#/components/parameters/workspace-id'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetWorkspaceUsersResponse'
        default:
          $ref: https://raw.githubusercontent.com/zoho/analytics-oas/refs/heads/main/v2.0/zoho-analytics-api-common.json#/components/responses/CommonErrorResponse
    post:
      tags:
      - User Management APIs
      summary: Add Workspace Users
      description: Add users to the specified workspace.
      operationId: addWorkspaceUsers
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.usermanagement.create
      parameters:
      - $ref: '#/components/parameters/workspace-id'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/AddWorkspaceUsersConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      responses:
        '204':
          description: No Content
        default:
          $ref: https://raw.githubusercontent.com/zoho/analytics-oas/refs/heads/main/v2.0/zoho-analytics-api-common.json#/components/responses/CommonErrorResponse
    delete:
      tags:
      - User Management APIs
      summary: Delete Workspace Users
      description: Delete users from the specified workspace.
      operationId: deleteWorkspaceUsers
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.usermanagement.delete
      parameters:
      - $ref: '#/components/parameters/workspace-id'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/DeleteWorkspaceUsersConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      responses:
        '204':
          description: No Content
        default:
          $ref: https://raw.githubusercontent.com/zoho/analytics-oas/refs/heads/main/v2.0/zoho-analytics-api-common.json#/components/responses/CommonErrorResponse
  /restapi/v2/workspaces/{workspace-id}/users/status:
    put:
      tags:
      - User Management APIs
      summary: Change Workspace Users Status
      description: Update activation status of users in a Zoho Analytics workspace.
      operationId: changeWorkspaceUsersStatus
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.usermanagement.update
      parameters:
      - $ref: '#/components/parameters/workspace-id'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/ChangeWorkspaceUsersStatusConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      responses:
        '204':
          description: No Content
        default:
          $ref: https://raw.githubusercontent.com/zoho/analytics-oas/refs/heads/main/v2.0/zoho-analytics-api-common.json#/components/responses/CommonErrorResponse
  /restapi/v2/workspaces/{workspace-id}/users/role:
    put:
      tags:
      - User Management APIs
      summary: Change Workspace Users Role
      description: Update role of users in a Zoho Analytics workspace.
      operationId: changeWorkspaceUsersRole
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.usermanagement.update
      parameters:
      - $ref: '#/components/parameters/workspace-id'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/ChangeWorkspaceUsersRoleConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      responses:
        '204':
          description: No Content
        default:
          $ref: https://raw.githubusercontent.com/zoho/analytics-oas/refs/heads/main/v2.0/zoho-analytics-api-common.json#/components/responses/CommonErrorResponse
components:
  schemas:
    DeleteWorkspaceUsersConfig:
      type: object
      properties:
        emailIds:
          type: array
          items:
            type: string
            format: email
        domainName:
          type: string
          description: Domain name to remove users from
      required:
      - emailIds
    AddWorkspaceUsersConfig:
      type: object
      properties:
        emailIds:
          type: array
          items:
            type: string
            format: email
        domainName:
          type: string
          description: Name of the domain to which users are added
        role:
          type: string
          description: Role to assign (USER, WORKSPACEADMIN or custom role)
      required:
      - emailIds
    GetSubscriptionDetailsResponse:
      type: object
      properties:
        status:
          type: string
        summary:
          type: string
        data:
          type: object
          properties:
            subscription:
              type: object
              properties:
                planName:
                  type: string
                addOns:
                  type: string
                billingDate:
                  type: string
                trialStatus:
                  type: boolean
      examples:
      - status: success
        summary: Get subscription details
        data:
          subscription:
            planName: Premium
            addOns: Zoho Recruit Connector,Zoho Books Connector
            billingDate: ' - '
            trialStatus: false
    DeactivateUsersConfig:
      type: object
      properties:
        emailIds:
          type: array
          items:
            type: string
            format: email
        domainName:
          type: string
      required:
      - emailIds
      examples:
      - emailIds:
        - emailId1
        - emailId2
    RemoveUsersConfig:
      type: object
      properties:
        emailIds:
          type: array
          items:
            type: string
        domainName:
          type: string
      required:
      - emailIds
      examples:
      - emailIds:
        - <email-id1>
        - <email-id2>
    ChangeWorkspaceUsersRoleConfig:
      type: object
      properties:
        emailIds:
          type: array
          items:
            type: string
            format: email
        domainName:
          type: string
          description: Domain of users whose role is being changed
        role:
          type: string
          description: New role to assign (USER, WORKSPACEADMIN, or custom)
      required:
      - emailIds
      - role
    GetWorkspaceUsersResponse:
      type: object
      properties:
        status:
          type: string
        summary:
          type: string
        data:
          type: object
          properties:
            users:
              type: array
              items:
                type: object
                properties:
                  emailId:
                    type: string
                  status:
                    type: boolean
                  role:
                    type: string
                required:
                - emailId
                - status
                - role
          required:
          - users
      required:
      - status
      - summary
      - data
      examples:
      - status: success
        summary: Get workspace users
        data:
          users:
          - emailId: user101@zoho.com
            status: true
            role: Account Admin
          - emailId: user1@zoho.com
            status: true
            role: Workspace Admin
          - emailId: user2@zoho.com
            status: true
            role: Workspace Admin
    ActivateUsersConfig:
      type: object
      properties:
        emailIds:
          type: array
          items:
            type: string
            format: email
        domainName:
          type: string
      required:
      - emailIds
      examples:
      - emailIds:
        - emailId1
        - emailId2
    AddUsersConfig:
      type: object
      properties:
        emailIds:
          type: array
          items:
            type: string
        role:
          type: string
          description: 'Supported roles: USER, VIEWER, ORGADMIN'
        domainName:
          type: string
      required:
      - emailIds
      examples:
      - emailIds:
        - <email-id1>
        - <email-id2>
        role: USER
    ChangeUserRoleConfig:
      type: object
      properties:
        emailIds:
          type: array
          items:
            type: string
            format: email
        role:
          type: string
          enum:
          - USER
          - VIEWER
          - ORGADMIN
        domainName:
          type: string
      required:
      - emailIds
      - role
      examples:
      - emailIds:
        - emailId1
        - emailId2
        role: USER
    ChangeWorkspaceUsersStatusConfig:
      type: object
      properties:
        emailIds:
          type: array
          items:
            type: string
            format: email
        domainName:
          type: string
          description: Domain to update user status in
        operation:
          type: string
          enum:
          - activate
          - deactivate
          description: The status operation to perform
      required:
      - emailIds
      - operation
    GetUsersResponse:
      type: object
      properties:
        status:
          type: string
        summary:
          type: string
        data:
          type: object
          properties:
            users:
              type: array
              items:
                type: object
                properties:
                  emailId:
                    type: string
                  status:
                    type: boolean
                  role:
                    type: string
      examples:
      - status: success
        summary: Get users
        data:
          users:
          - emailId: user1@gmail.com
            status: true
            role: Organization Admin
          - emailId: user2@gmail.com
            status: true
            role: User
    GetResourceDetailsResponse:
      type: object
      properties:
        status:
          type: string
        summary:
          type: string
        data:
          type: object
          properties:
            resourceDetails:
              type: array
              items:
                type: object
                properties:
                  resourceName:
                    type: string
                  resourceUsage:
                    type: object
                    properties:
                      allocated:
                        type: string
                      used:
                        type: string
                      remaining:
                        type: string
                      remarks:
                        type: string
      examples:
      - status: success
        summary: Get resource details
        data:
          resourceDetails:
          - resourceName: users
            resourceUsage:
              allocated: '15'
              used: '15'
              remaining: '0'
              remarks: ''
          - resourceName: roUsers
            resourceUsage:
              allocated: '25'
              used: '1'
              remaining: '24'
              remarks: ''
  parameters:
    workspace-id:
      name: workspace-id
      in: path
      required: true
      schema:
        type: string
      description: ID of the workspace.
    org-id:
      name: ZANALYTICS-ORGID
      in: header
      required: true
      schema:
        type: string
      description: Organization ID (can be obtained using Get Organizations API).
  securitySchemes:
    iam-oauth2-schema:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.zoho.com/oauth/v2/auth
          tokenUrl: https://accounts.zoho.com/oauth/v2/token
          refreshUrl: https://accounts.zoho.com/oauth/v2/token
          scopes:
            ZohoAnalytics.usermanagement.read: Read user management data in Zoho Analytics.
            ZohoAnalytics.usermanagement.delete: Delete user management data in Zoho Analytics.
            ZohoAnalytics.usermanagement.update: Update user management data in Zoho Analytics.
            ZohoAnalytics.usermanagement.create: Create user management data in Zoho Analytics.
            ZohoAnalytics.usermanagement.all: Full access to user management in Zoho Analytics.
            ZohoAnalytics.fullaccess.all: Full access to all Zoho Analytics features.