{
  "opencollection": "1.0.0",
  "info": {
    "name": "Zoho Analytics Bulk Bulk Export - Asynchronous Sharing & Collaboration APIs API",
    "version": "v2"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
      "accessTokenUrl": "https://accounts.zoho.com/oauth/v2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Sharing & Collaboration APIs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Org Admins",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://analyticsapi.zoho.com/restapi/v2/orgadmins",
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
              "accessTokenUrl": "https://accounts.zoho.com/oauth/v2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Returns list of admins for a specified organization."
        },
        {
          "info": {
            "name": "Get Workspace Admins",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://analyticsapi.zoho.com/restapi/v2/workspaces/:workspace-id/admins",
            "headers": [
              {
                "name": "ZANALYTICS-ORGID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspace-id",
                "value": "",
                "type": "path",
                "description": "ID of the workspace."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
              "accessTokenUrl": "https://accounts.zoho.com/oauth/v2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Returns list of admins for the specified workspace."
        },
        {
          "info": {
            "name": "Add Workspace Admins",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://analyticsapi.zoho.com/restapi/v2/workspaces/:workspace-id/admins",
            "headers": [
              {
                "name": "ZANALYTICS-ORGID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspace-id",
                "value": "",
                "type": "path",
                "description": "ID of the workspace."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "CONFIG",
                  "value": ""
                }
              ]
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
              "accessTokenUrl": "https://accounts.zoho.com/oauth/v2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Adds admins for the specified workspace."
        },
        {
          "info": {
            "name": "Remove Workspace Admins",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://analyticsapi.zoho.com/restapi/v2/workspaces/:workspace-id/admins",
            "headers": [
              {
                "name": "ZANALYTICS-ORGID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspace-id",
                "value": "",
                "type": "path",
                "description": "ID of the workspace."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "CONFIG",
                  "value": ""
                }
              ]
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
              "accessTokenUrl": "https://accounts.zoho.com/oauth/v2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Removes admins from the specified workspace."
        },
        {
          "info": {
            "name": "Get Workspace Shared Details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://analyticsapi.zoho.com/restapi/v2/workspaces/:workspace-id/share",
            "headers": [
              {
                "name": "ZANALYTICS-ORGID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspace-id",
                "value": "",
                "type": "path",
                "description": "ID of the workspace."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
              "accessTokenUrl": "https://accounts.zoho.com/oauth/v2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Returns sharing details of all views in the specified workspace."
        },
        {
          "info": {
            "name": "Share Views",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://analyticsapi.zoho.com/restapi/v2/workspaces/:workspace-id/views/share",
            "headers": [
              {
                "name": "ZANALYTICS-ORGID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspace-id",
                "value": "",
                "type": "path",
                "description": "ID of the workspace."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "CONFIG",
                  "value": ""
                }
              ]
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
              "accessTokenUrl": "https://accounts.zoho.com/oauth/v2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Shares the specified views in the workspace with users or groups with selected permissions."
        },
        {
          "info": {
            "name": "Update Shared Details For View",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://analyticsapi.zoho.com/restapi/v2/workspaces/:workspace-id/views/share",
            "headers": [
              {
                "name": "ZANALYTICS-ORGID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspace-id",
                "value": "",
                "type": "path",
                "description": "ID of the workspace."
              },
              {
                "name": "view-id",
                "value": "",
                "type": "path",
                "description": "ID of the view."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "CONFIG",
                  "value": ""
                }
              ]
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
              "accessTokenUrl": "https://accounts.zoho.com/oauth/v2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Updates the existing sharing configuration for a view."
        },
        {
          "info": {
            "name": "Remove Share",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://analyticsapi.zoho.com/restapi/v2/workspaces/:workspace-id/views/share",
            "headers": [
              {
                "name": "ZANALYTICS-ORGID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspace-id",
                "value": "",
                "type": "path",
                "description": "ID of the workspace."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "CONFIG",
                  "value": ""
                }
              ]
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
              "accessTokenUrl": "https://accounts.zoho.com/oauth/v2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Removes view sharing from specified users or groups in the workspace."
        },
        {
          "info": {
            "name": "Get My Permissions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://analyticsapi.zoho.com/workspaces/:workspace-id/views/:view-id/share/mypermissions",
            "headers": [
              {
                "name": "ZANALYTICS-ORGID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspace-id",
                "value": "",
                "type": "path",
                "description": "ID of the workspace."
              },
              {
                "name": "view-id",
                "value": "",
                "type": "path",
                "description": "ID of the view."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
              "accessTokenUrl": "https://accounts.zoho.com/oauth/v2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Returns permissions for the specified view."
        },
        {
          "info": {
            "name": "Get Shared Details For Views",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://analyticsapi.zoho.com/workspaces/:workspace-id/share/shareddetails",
            "headers": [
              {
                "name": "ZANALYTICS-ORGID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspace-id",
                "value": "",
                "type": "path",
                "description": "ID of the workspace."
              },
              {
                "name": "CONFIG",
                "value": "",
                "type": "query",
                "description": "View IDs for which shared details need to be fetched."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
              "accessTokenUrl": "https://accounts.zoho.com/oauth/v2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Returns shared details of the specified views."
        },
        {
          "info": {
            "name": "Get Groups",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://analyticsapi.zoho.com/workspaces/:workspace-id/groups",
            "params": [
              {
                "name": "workspace-id",
                "value": "",
                "type": "path",
                "description": "ID of the workspace."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
              "accessTokenUrl": "https://accounts.zoho.com/oauth/v2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Returns list of groups for the specified workspace."
        },
        {
          "info": {
            "name": "Create Group",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://analyticsapi.zoho.com/workspaces/:workspace-id/groups",
            "params": [
              {
                "name": "workspace-id",
                "value": "",
                "type": "path",
                "description": "ID of the workspace."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "CONFIG",
                  "value": ""
                }
              ]
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
              "accessTokenUrl": "https://accounts.zoho.com/oauth/v2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create a group in the specified workspace."
        },
        {
          "info": {
            "name": "Get Group Details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://analyticsapi.zoho.com/workspaces/:workspace-id/groups/:group-id",
            "params": [
              {
                "name": "workspace-id",
                "value": "",
                "type": "path",
                "description": "ID of the workspace."
              },
              {
                "name": "group-id",
                "value": "",
                "type": "path",
                "description": "ID of the group."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
              "accessTokenUrl": "https://accounts.zoho.com/oauth/v2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Returns details of the specified group."
        },
        {
          "info": {
            "name": "Rename Group",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://analyticsapi.zoho.com/workspaces/:workspace-id/groups/:group-id",
            "params": [
              {
                "name": "workspace-id",
                "value": "",
                "type": "path",
                "description": "ID of the workspace."
              },
              {
                "name": "group-id",
                "value": "",
                "type": "path",
                "description": "ID of the group."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "CONFIG",
                  "value": ""
                }
              ]
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
              "accessTokenUrl": "https://accounts.zoho.com/oauth/v2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Rename a specified group."
        },
        {
          "info": {
            "name": "Delete Group",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://analyticsapi.zoho.com/workspaces/:workspace-id/groups/:group-id",
            "params": [
              {
                "name": "workspace-id",
                "value": "",
                "type": "path",
                "description": "ID of the workspace."
              },
              {
                "name": "group-id",
                "value": "",
                "type": "path",
                "description": "ID of the group."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
              "accessTokenUrl": "https://accounts.zoho.com/oauth/v2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Delete a specified group."
        },
        {
          "info": {
            "name": "Add Group Members",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://analyticsapi.zoho.com/workspaces/:workspace-id/groups/:group-id/members",
            "params": [
              {
                "name": "workspace-id",
                "value": "",
                "type": "path",
                "description": "ID of the workspace."
              },
              {
                "name": "group-id",
                "value": "",
                "type": "path",
                "description": "ID of the group."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "CONFIG",
                  "value": ""
                }
              ]
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
              "accessTokenUrl": "https://accounts.zoho.com/oauth/v2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Add users to the specified group."
        },
        {
          "info": {
            "name": "Remove Group Members",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://analyticsapi.zoho.com/workspaces/:workspace-id/groups/:group-id/members",
            "params": [
              {
                "name": "workspace-id",
                "value": "",
                "type": "path",
                "description": "ID of the workspace."
              },
              {
                "name": "group-id",
                "value": "",
                "type": "path",
                "description": "ID of the group."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "CONFIG",
                  "value": ""
                }
              ]
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
              "accessTokenUrl": "https://accounts.zoho.com/oauth/v2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Remove users from the specified group."
        }
      ]
    }
  ],
  "bundled": true
}