Zoho Modeling APIs API

Modeling APIs manage workspaces, views, columns, and folders, and support copying across or within Zoho Analytics accounts.

Documentation

Specifications

Code Examples

Other Resources

OpenAPI Specification

zoho-modeling-apis-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Helpcenter Modeling APIs API
  version: 1.0.0
  description: Modeling APIs manage workspaces, views, columns, and folders, and support copying across or within Zoho Analytics accounts.
tags:
- name: Modeling APIs
  description: Modeling APIs manage workspaces, views, columns, and folders, and support copying across or within Zoho Analytics accounts.
paths:
  /restapi/v2/workspaces:
    post:
      tags:
      - Modeling APIs
      summary: Create Workspace
      description: Create a blank workspace in the specified organization.
      operationId: createWorkspace
      parameters:
      - name: ZANALYTICS-ORGID
        in: header
        required: true
        schema:
          type: string
        description: Organization ID (source org).
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/CreateWorkspaceConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.modeling.create
      responses:
        '200':
          description: Workspace created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateWorkspaceResponse'
              examples:
                success:
                  value:
                    status: success
                    summary: Create workspace
                    data:
                      workspaceId: '1767024000003145002'
        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}:
    post:
      tags:
      - Modeling APIs
      summary: Copy Workspace
      description: Copy the specified workspace to another org or within the same org.
      operationId: copyWorkspace
      parameters:
      - name: ZANALYTICS-ORGID
        in: header
        required: true
        schema:
          type: string
        description: Source Organization ID
      - name: ZANALYTICS-DEST-ORGID
        in: header
        required: false
        schema:
          type: string
        description: Destination Organization ID
      - name: workspace-id
        in: path
        required: true
        schema:
          type: string
        description: Workspace ID to be copied
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/CopyWorkspaceConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.modeling.create
      responses:
        '200':
          description: Workspace copied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CopyWorkspaceResponse'
              examples:
                success:
                  value:
                    status: success
                    summary: Copy workspace
                    data:
                      workspaceId: '1767024000003145006'
        default:
          $ref: https://raw.githubusercontent.com/zoho/analytics-oas/refs/heads/main/v2.0/zoho-analytics-api-common.json#/components/responses/CommonErrorResponse
    put:
      tags:
      - Modeling APIs
      summary: Rename Workspace
      description: Renames the specified workspace.
      operationId: renameWorkspace
      parameters:
      - name: ZANALYTICS-ORGID
        in: header
        required: true
        schema:
          type: string
        description: Organization ID
      - name: workspace-id
        in: path
        required: true
        schema:
          type: string
        description: ID of the workspace to rename
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/RenameWorkspaceConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.modeling.update
      responses:
        '204':
          description: Workspace renamed successfully (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:
      - Modeling APIs
      summary: Delete Workspace
      description: Deletes the specified workspace.
      operationId: deleteWorkspace
      parameters:
      - name: ZANALYTICS-ORGID
        in: header
        required: true
        schema:
          type: string
        description: Organization ID
      - name: workspace-id
        in: path
        required: true
        schema:
          type: string
        description: ID of the workspace to delete
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.modeling.delete
      responses:
        '204':
          description: Workspace deleted successfully (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}/tables:
    post:
      tags:
      - Modeling APIs
      summary: Create Table
      description: Create a table in the specified workspace.
      operationId: createTable
      parameters:
      - name: ZANALYTICS-ORGID
        in: header
        required: true
        schema:
          type: string
        description: Organization ID
      - name: workspace-id
        in: path
        required: true
        schema:
          type: string
        description: Workspace ID
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/CreateTableConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.modeling.create
      responses:
        '200':
          description: Table created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateTableResponse'
              examples:
                success:
                  value:
                    status: success
                    summary: Create table
                    data:
                      viewId: '1767024000003145012'
        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}/querytables:
    post:
      tags:
      - Modeling APIs
      summary: Create Query Table
      description: This API allows you to create a query table using a SQL SELECT query.
      operationId: createQueryTable
      parameters:
      - name: ZANALYTICS-ORGID
        in: header
        required: true
        schema:
          type: string
        description: Organization ID
      - name: workspace-id
        in: path
        required: true
        schema:
          type: string
        description: Workspace ID
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/CreateQueryTableConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.modeling.create
      responses:
        '200':
          description: Query table created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateQueryTableResponse'
              examples:
                success:
                  value:
                    status: success
                    summary: Create query table
                    data:
                      viewId: '1767024000003145013'
        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}/querytables/{table-id}:
    put:
      tags:
      - Modeling APIs
      summary: Edit Query Table
      description: This API allows you to update an existing query table using a SQL SELECT query.
      operationId: editQueryTable
      parameters:
      - name: ZANALYTICS-ORGID
        in: header
        required: true
        schema:
          type: string
        description: Organization ID
      - name: workspace-id
        in: path
        required: true
        schema:
          type: string
        description: Workspace ID
      - name: table-id
        in: path
        required: true
        schema:
          type: string
        description: Query Table ID
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/EditQueryTableConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.modeling.update
      responses:
        '204':
          description: Query table updated successfully.
        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}/reports:
    post:
      tags:
      - Modeling APIs
      summary: Create Report
      description: This API allows you to create a report (chart/table/pivot) in a workspace.
      operationId: createReport
      parameters:
      - name: ZANALYTICS-ORGID
        in: header
        required: true
        schema:
          type: string
        description: Organization ID
      - name: workspace-id
        in: path
        required: true
        schema:
          type: string
        description: Workspace ID
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/CreateReportConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.modeling.create
      responses:
        '200':
          description: Report created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateReportResponse'
              examples:
                success:
                  value:
                    status: success
                    summary: Create report
                    data:
                      reportId: '1767024000003145020'
        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}/reports/{report-id}:
    put:
      tags:
      - Modeling APIs
      summary: Update Report
      description: This API allows you to update the metadata or design of an existing report.
      operationId: updateReport
      parameters:
      - name: ZANALYTICS-ORGID
        in: header
        required: true
        schema:
          type: string
        description: Organization ID
      - name: workspace-id
        in: path
        required: true
        schema:
          type: string
        description: Workspace ID
      - name: report-id
        in: path
        required: true
        schema:
          type: string
        description: Report ID
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/UpdateReportConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.modeling.update
      responses:
        '204':
          description: Report updated successfully.
        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}/views/{view-id}/saveas:
    post:
      tags:
      - Modeling APIs
      summary: Save As View
      description: This API creates a new view by duplicating an existing one.
      operationId: saveAsView
      parameters:
      - $ref: '#/components/parameters/org-id'
      - $ref: '#/components/parameters/workspace-id'
      - $ref: '#/components/parameters/view-id'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/SaveAsViewConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.modeling.create
      responses:
        '200':
          description: New view created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SaveAsViewResponse'
              examples:
                success:
                  value:
                    status: success
                    summary: Saveas view
                    data:
                      viewId: '1767024000004723001'
        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}/views/movetofolder:
    put:
      tags:
      - Modeling APIs
      summary: Move Views To Folder
      description: Moves multiple views into a specified folder.
      operationId: moveViewsToFolder
      parameters:
      - $ref: '#/components/parameters/org-id'
      - $ref: '#/components/parameters/workspace-id'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/MoveViewsToFolderConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.modeling.update
      responses:
        '204':
          description: Views moved successfully.
        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}/views/{view-id}:
    put:
      tags:
      - Modeling APIs
      summary: Rename View
      description: Renames an existing view.
      operationId: renameView
      parameters:
      - $ref: '#/components/parameters/org-id'
      - $ref: '#/components/parameters/workspace-id'
      - $ref: '#/components/parameters/view-id'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/RenameViewConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.modeling.update
      responses:
        '204':
          description: View renamed successfully.
        default:
          $ref: https://raw.githubusercontent.com/zoho/analytics-oas/refs/heads/main/v2.0/zoho-analytics-api-common.json#/components/responses/CommonErrorResponse
    delete:
      tags:
      - Modeling APIs
      summary: Delete View
      description: Moves the view to trash.
      operationId: deleteView
      parameters:
      - $ref: '#/components/parameters/org-id'
      - $ref: '#/components/parameters/workspace-id'
      - $ref: '#/components/parameters/view-id'
      requestBody:
        required: false
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/DeleteViewConfig'
            encoding:
              CONFIG:
                contentType: application/json
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.modeling.delete
      responses:
        '204':
          description: View deleted and moved to trash.
        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}/trash/{view-id}:
    post:
      tags:
      - Modeling APIs
      summary: Restore Trash View
      description: Restores a view from trash.
      operationId: restoreTrashView
      parameters:
      - $ref: '#/components/parameters/org-id'
      - $ref: '#/components/parameters/workspace-id'
      - $ref: '#/components/parameters/view-id'
      requestBody:
        required: false
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/RestoreTrashViewConfig'
            encoding:
              CONFIG:
                contentType: application/json
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.modeling.create
      responses:
        '204':
          description: Trash view restored successfully.
        default:
          $ref: https://raw.githubusercontent.com/zoho/analytics-oas/refs/heads/main/v2.0/zoho-analytics-api-common.json#/components/responses/CommonErrorResponse
    delete:
      tags:
      - Modeling APIs
      summary: Delete Trash View
      description: Permanently deletes a view from trash.
      operationId: deleteTrashView
      parameters:
      - $ref: '#/components/parameters/org-id'
      - $ref: '#/components/parameters/workspace-id'
      - $ref: '#/components/parameters/view-id'
      requestBody:
        required: false
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/DeleteTrashViewConfig'
            encoding:
              CONFIG:
                contentType: application/json
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.modeling.delete
      responses:
        '204':
          description: View deleted permanently from trash.
        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}/folders:
    post:
      tags:
      - Modeling APIs
      summary: Create Folder
      description: Create a folder under a specified workspace to organize views.
      operationId: createFolder
      parameters:
      - $ref: '#/components/parameters/org-id'
      - $ref: '#/components/parameters/workspace-id'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/CreateFolderConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      responses:
        '200':
          description: Folder created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateFolderResponse'
              examples:
                success:
                  value:
                    status: success
                    summary: Create folder
                    data:
                      folderId: '1767024000004578011'
        default:
          $ref: https://raw.githubusercontent.com/zoho/analytics-oas/refs/heads/main/v2.0/zoho-analytics-api-common.json#/components/responses/CommonErrorResponse
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.modeling.create
  /restapi/v2/workspaces/{workspace-id}/folders/{folder-id}:
    put:
      tags:
      - Modeling APIs
      summary: Rename Folder
      description: Rename an existing folder in the workspace.
      operationId: renameFolder
      parameters:
      - $ref: '#/components/parameters/org-id'
      - $ref: '#/components/parameters/workspace-id'
      - $ref: '#/components/parameters/folder-id'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/RenameFolderConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      responses:
        '204':
          description: Folder renamed successfully.
        default:
          $ref: https://raw.githubusercontent.com/zoho/analytics-oas/refs/heads/main/v2.0/zoho-analytics-api-common.json#/components/responses/CommonErrorResponse
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.modeling.update
    delete:
      tags:
      - Modeling APIs
      summary: Delete Folder
      description: Delete a folder from the workspace. Optionally delete views within.
      operationId: deleteFolder
      parameters:
      - $ref: '#/components/parameters/org-id'
      - $ref: '#/components/parameters/workspace-id'
      - $ref: '#/components/parameters/folder-id'
      requestBody:
        required: false
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/DeleteFolderConfig'
            encoding:
              CONFIG:
                contentType: application/json
      responses:
        '204':
          description: Folder deleted successfully.
        default:
          $ref: https://raw.githubusercontent.com/zoho/analytics-oas/refs/heads/main/v2.0/zoho-analytics-api-common.json#/components/responses/CommonErrorResponse
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.modeling.delete
  /restapi/v2/workspaces/{workspace-id}/folders/{folder-id}/default:
    post:
      tags:
      - Modeling APIs
      summary: Make Default Folder
      description: Set the specified folder as the default folder for a given view type.
      operationId: makeDefaultFolder
      parameters:
      - $ref: '#/components/parameters/org-id'
      - $ref: '#/components/parameters/workspace-id'
      - $ref: '#/components/parameters/folder-id'
      responses:
        '204':
          description: Default folder set successfully.
        default:
          $ref: https://raw.githubusercontent.com/zoho/analytics-oas/refs/heads/main/v2.0/zoho-analytics-api-common.json#/components/responses/CommonErrorResponse
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.modeling.update
  /restapi/v2/workspaces/{workspace-id}/folders/{folder-id}/move:
    put:
      tags:
      - Modeling APIs
      summary: Change Folder Hierarchy
      description: Update the hierarchy of a folder (parent or child) and set its parent if needed.
      operationId: changeFolderHierarchy
      parameters:
      - $ref: '#/components/parameters/org-id'
      - $ref: '#/components/parameters/workspace-id'
      - $ref: '#/components/parameters/folder-id'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/ChangeFolderHierarchyConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      responses:
        '204':
          description: Folder hierarchy updated successfully.
        default:
          $ref: https://raw.githubusercontent.com/zoho/analytics-oas/refs/heads/main/v2.0/zoho-analytics-api-common.json#/components/responses/CommonErrorResponse
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.modeling.update
  /restapi/v2/workspaces/{workspace-id}/folders/{folder-id}/reorder:
    put:
      tags:
      - Modeling APIs
      summary: Change Folder Position
      description: Reorder a folder by moving it relative to another folder.
      operationId: changeFolderPosition
      parameters:
      - $ref: '#/components/parameters/org-id'
      - $ref: '#/components/parameters/workspace-id'
      - $ref: '#/components/parameters/folder-id'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/ChangeFolderPositionConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      responses:
        '204':
          description: Folder position updated successfully.
        default:
          $ref: https://raw.githubusercontent.com/zoho/analytics-oas/refs/heads/main/v2.0/zoho-analytics-api-common.json#/components/responses/CommonErrorResponse
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.modeling.update
  /restapi/v2/workspaces/{workspace-id}/views/{view-id}/data/sort:
    put:
      tags:
      - Modeling APIs
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.modeling.update
      summary: Sort Data by Columns
      description: Sorts the data in the table based on specified columns.
      operationId: sortDataByColumns
      parameters:
      - $ref: '#/components/parameters/org-id'
      - $ref: '#/components/parameters/workspace-id'
      - $ref: '#/components/parameters/view-id'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SortDataByColumnsConfig'
            examples:
              sample:
                value:
                  columns:
                  - '2531676000011845005'
                  - '2531676000011845007'
                  sortOrder: 2
                  resetSort: false
      responses:
        '204':
          description: Data sorted successfully (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}/views/{view-id}/columns:
    post:
      tags:
      - Modeling APIs
      summary: Add Column
      description: This API allows you to add a new column to the specified view.
      operationId: addColumn
      parameters:
      - $ref: '#/components/parameters/org-id'
      - $ref: '#/components/parameters/workspace-id'
      - $ref: '#/components/parameters/view-id'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/AddColumnConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.modeling.create
      responses:
        '200':
          description: Column added successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddColumnResponse'
              examples:
                success:
                  value:
                    status: success
                    summary: Add column
                    data:
                      columnId: '1767024000003145017'
        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}/views/{view-id}/columns/{column-id}:
    put:
      tags:
      - Modeling APIs
      summary: Rename Column
      description: This API allows you to rename a column.
      operationId: renameColumn
      parameters:
      - $ref: '#/components/parameters/org-id'
      - $ref: '#/components/parameters/workspace-id'
      - $ref: '#/components/parameters/view-id'
      - $ref: '#/components/parameters/column-id'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/RenameColumnConfig'
              required:
              - CONFIG
            encoding:
              CONFIG:
                contentType: application/json
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.modeling.update
      responses:
        '204':
          description: Column renamed successfully.
        default:
          $ref: https://raw.githubusercontent.com/zoho/analytics-oas/refs/heads/main/v2.0/zoho-analytics-api-common.json#/components/responses/CommonErrorResponse
    delete:
      tags:
      - Modeling APIs
      summary: Delete Column
      description: This API deletes the specified column from a view.
      operationId: deleteColumn
      parameters:
      - $ref: '#/components/parameters/org-id'
      - $ref: '#/components/parameters/workspace-id'
      - $ref: '#/components/parameters/view-id'
      - $ref: '#/components/parameters/column-id'
      requestBody:
        required: false
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                CONFIG:
                  $ref: '#/components/schemas/DeleteColumnConfig'
            encoding:
              CONFIG:
                contentType: application/json
      security:
      - iam-oauth2-schema:
        - ZohoAnalytics.modeling.delete
      responses:
        '204':
          description: Column deleted successfully.
        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}/views/{view-id}/columns/{column-id}/lookup:
    post:
      tags:
      - 

# --- truncated at 32 KB (125 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/zoho/refs/heads/main/openapi/zoho-modeling-apis-api-openapi.yml