openapi: 3.0.0
info:
  title: Users
  description: 'User APIs for ID360, to manage users in your account.'
  version: 1.0.0
servers:
  - url: 'https://id360.manageengine.com/api/v1'
    description: 'API Endpoint'
tags:
  - name: user
    description: 'User Endpoint'
paths:
  /users :
    get:
      tags:
        - user
      summary: 'Get All Users'
      description: 'The Get All Users API can be used to get the details of all users in your account.'
      parameters:
        - $ref: '#/components/parameters/acceptHeader'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/fields'
        - $ref: '#/components/parameters/licensing'
        - $ref: '#/components/parameters/filter'
        - $ref: '#/components/parameters/sort'
        - $ref: '#/components/parameters/cursor'
      responses:
        '200':
          description: 'OK'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/getUsersResponse'
        '400':
          description: 'Bad Request'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/invalidParam'
        '401':
          description: 'Unauthorized'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/unauthorized'
        '500':
          description: 'Internal Server Error'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      security:
        - Zoho_Auth:
            - id360.user.READ
            - id360.user.ALL
    post:
      tags:
        - user
      summary: 'Create User'
      description: 'The Create User API can be used to create a new user in your account.'
      parameters:
        - $ref: '#/components/parameters/acceptHeader'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/userResource'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/getUserResponse'
        '400':
          description: 'Bad Request'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/templateValidationFailed'
        '401':
          description: 'Unauthorized'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/unauthorized'
        '422':
          description: 'Unprocessable Entity'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userExists'
        '500':
          description: 'Internal Server Error'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      security:
        - Zoho_Auth:
            - id360.user.CREATE
            - id360.user.WRITE
            - id360.user.ALL
  /users/{id}:
    get:
      tags:
        - user
      summary: 'Get User'
      description: 'The Get User API can be used to get the details of a specific user in your account.'
      parameters:
        - name: id
          in: path
          required: true
          description: 'The ID of the user to be fetched'
          example: 2000000000001
          schema:
            type: integer
            example: 2000000000001
        - $ref: '#/components/parameters/fields'
        - $ref: '#/components/parameters/acceptHeader'
      responses:
        '200':
          description: 'OK'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/getUserResponse'
        '400':
          description: 'Bad Request'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/invalidParam'
        '401':
          description: 'Unauthorized'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/unauthorized'
        '404':
          description: 'Not Found'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userNotFound'
        '500':
          description: 'Internal Server Error'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      security:
        - Zoho_Auth:
            - id360.user.READ
            - id360.user.ALL
    patch:
      tags:
        - user
      summary: 'Update User'
      description: 'The Update User API can be used to update the details of a specific user in your account.'
      parameters:
        - name: id
          in: path
          required: true
          description: 'The ID of the user to be updated'
          example: 2000000000001
          schema:
            type: integer
            example: 2000000000001
        - $ref: '#/components/parameters/acceptHeader'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/userUpdate'
      responses:
        '200':
          description: 'OK'
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/userUpdate'
        '400':
          description: 'Bad Request'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/templateValidationFailed'
        '401':
          description: 'Unauthorized'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/unauthorized'
        '403':
          description: 'Forbidden'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/unLicensedUser'
        '404':
          description: 'Not Found'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userNotFound'
        '422':
          description: 'Unprocessable Entity'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/passwordSameAsLast'
        '500':
          description: 'Internal Server Error'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      security:
        - Zoho_Auth:
            - id360.user.UPDATE
            - id360.user.WRITE
            - id360.user.ALL
    delete:
      tags:
        - user
      summary: 'Delete User'
      description: 'Delete User API can be used to delete a specific user in your account.'
      parameters:
        - name: id
          in: path
          required: true
          description: 'The ID of the user to be deleted'
          example: 2000000000001
          schema:
            type: integer
            example: 2000000000001
        - $ref: '#/components/parameters/acceptHeader'
      responses:
        '204':
          description: No Content
        '401':
          description: 'Unauthorized'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/unauthorized'
        '403':
          description: 'Forbidden'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/unLicensedUser'
        '404':
          description: 'Not Found'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userNotFound'
        '500':
          description: 'Internal Server Error'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      security:
        - Zoho_Auth:
            - id360.user.DELETE
            - id360.user.WRITE
            - id360.user.ALL
  /users/{id}/enable:
    post:
      tags:
        - user
      summary: 'Enable User'
      description: 'Enable User API can be used to enable a specific user in your account.'
      parameters:
        - name: id
          in: path
          required: true
          description: 'The ID of the user to be enabled'
          example: 2000000000001
          schema:
            type: integer
            example: 2000000000001
        - $ref: '#/components/parameters/acceptHeader'
      responses:
        '204':
          description: No Content
        '401':
          description: 'Unauthorized'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/unauthorized'
        '403':
          description: 'Forbidden'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/unLicensedUser'
        '404':
          description: 'Not Found'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userNotFound'
        '500':
          description: 'Internal Server Error'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      security:
        - Zoho_Auth:
            - id360.user.UPDATE
            - id360.user.WRITE
            - id360.user.ALL
  /users/{id}/disable:
    post:
      tags:
        - user
      summary: 'Disable User'
      description: 'Disable User API can be used to disable a specific user in your account.'
      parameters:
        - name: id
          in: path
          required: true
          description: 'The ID of the user to be disabled'
          example: 2000000000001
          schema:
            type: integer
            example: 2000000000001
        - $ref: '#/components/parameters/acceptHeader'
      responses:
        '204':
          description: No Content
        '401':
          description: 'Unauthorized'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/unauthorized'
        '403':
          description: 'Forbidden'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/unLicensedUser'
        '404':
          description: 'Not Found'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userNotFound'
        '500':
          description: 'Internal Server Error'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      security:
        - Zoho_Auth:
            - id360.user.UPDATE
            - id360.user.WRITE
            - id360.user.ALL
  /users/new/{template_id} :
    post:
      tags:
        - user
      summary: 'Create User using template'
      description: 'The Create user using template API can be used to create a new user in your account using the provided template.'
      parameters:
        - $ref: '#/components/parameters/acceptHeader'
        - name: template_id
          in: path
          required: true
          description: 'The ID of the template to be used for creating the user'
          example: 2000000000101
          schema:
            type: integer
            example: 2000000000101
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/userResource'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/getUserResponse'
        '400':
          description: 'Bad Request'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/templateValidationFailed'
        '401':
          description: 'Unauthorized'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/unauthorized'
        '404':
          description: 'Not Found'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/templateNotFound'
        '422':
          description: 'Unprocessable Entity'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userExists'
        '500':
          description: 'Internal Server Error'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      security:
        - Zoho_Auth:
            - id360.user.CREATE
            - id360.user.WRITE
            - id360.user.ALL

components:
  parameters:
    authorization:
      name: Authorization
      in: header
      schema:
        type: string
      description: 'Authorization OAuth token for the API'
      required: true
      example: 'Zoho-oauthtoken 1000.41d**************125f'
    acceptHeader:
      name: Accept
      in: header
      schema:
        type: string
      description: 'Accept header for the API'
      required: false
      example: 'application/json'
    limit:
      in: query
      name: limit
      schema:
        type: integer
        maximum: 200
        minimum: 1
        default: 200
      description: 'Limit the number of users to be fetched'
      required: false
      example: 50
    fields:
      in: query
      name: fields
      schema:
        type: string
      description: 'Select the fields to be fetched in the response.'
      required: false
      example: 'id,firstName,email'
    licensing:
      in: query
      name: licensing
      schema:
        type: string
        enum: ['licensed', 'unlicensed', 'both']
        default: licensed
      description: 'Filter users based on their licensing status. licensed - Licensed users, unlicensed - Unlicensed users, both - All users'
      required: false
      example: 'licensed'
    filter:
      in: query
      name: filter
      schema:
        type: string
      description: >
        Filter users based on a the provided SCIM filter query. Refer to filter section for more details
        <br>
        <strong>eg:</strong> firstName eq "John" and lastName eq "Doe"
      required: false
      example: firstName eq "John" and lastName eq "Doe"
    sort:
      in: query
      name: sort
      schema:
        type: string
      description: >
        Sort the users based on the provided field. The default sort order is ascending. To sort in descending order, prefix the field with a - (hyphen).
        <br>
        <strong>eg:</strong> firstName,-lastName
      required: false
      example: 'firstName,-lastName'
    cursor:
      in: query
      name: cursor
      schema:
        type: string
      description: 'Cursor for pagination. Use the next_cursor value from the previous response to fetch the next set of results.'
      required: false
      example: '2000000000001'
  schemas:
    userResource:
      type: object
      properties:
        city:
          type: string
          description: 'The city where the user is located.'
          example: 'Anchorage'
        company:
          type: string
          description: 'The name of the company the user works for.'
          example: 'Berge Corporation'
        country:
          type: string
          description: 'The country where the user resides, using ISO 3166-1 codes.'
          example: 'US'
        department:
          type: string
          description: 'The department where the user works.'
          example: 'Marketing'
        description:
          type: string
          description: 'Additional information or a summary about the user.'
          example: 'User of marketing department'
        displayName:
          type: string
          description: 'The name displayed for the user in the system.'
          example: 'AlexHales'
        email:
          type: string
          description: 'The user’s email address.'
          example: 'alexhales@company.com'
        employeeID:
          type: string
          description: 'A unique ID assigned to the employee within the organization.'
          example: '12342'
        fax:
          type: string
          description: 'The fax number associated with the user.'
          example: '441619998888'
        firstName:
          type: string
          description: The user's first name.
          example: 'Alex'
        gender:
          type: string
          description: 'The gender identity of the user.Use a single character: M (Male), F (Female), or N (Other).'
          example: 'M'
        homePhone:
          type: string
          description: 'The user’s home phone number.'
          example: '044-24681357'
        id:
          type: string
          description: 'The unique identifier for the user, assigned by the system.'
          example: '2000000000001'
          readOnly: true
        isDomainVerified:
          type: boolean
          description: 'Indicates if the user’s domain has been verified.'
          example: false
          readOnly: true
        language:
          type: string
          description: The user's preferred language for communication.Use an ISO 639-1 code, or a combination of ISO 639-1 and ISO 3166-1 (e.g., en, zh, ta, or en-US, zh-CN, ta-IN).
          example: 'en'
        lastName:
          type: string
          description: The user's last name.
          example: 'Hales'
        manager:
          type: string
          description: 'The user ID of the user’s direct manager.'
          example: '2000000072269'
        mobileNumber:
          type: string
          description: 'The user’s mobile phone number.'
          example: '7700900461'
        password:
          type: string
          description: 'The password for the user’s account.'
          example: 'Test@1527#'
          writeOnly: true
        postOfficeBox:
          type: string
          description: The user's P.O. box address.
          example: '1052'
        primarySource:
          type: object
          description: Details about the user's primary directory.
          readOnly: true
          properties:
            applicationName:
              type: string
              description: 'The name of the application or directory.'
              example: 'Berge-Corp'
            applicationService:
              type: object
              description: 'Details about the service associated with the directory or app.'
              properties:
                name:
                  type: string
                  description: 'Application Service Name'
                  example: 'Universal Directory'
                id:
                  type: string
                  description: 'The unique identifier for the service.'
                  example: '2000000018007'
                logo:
                  type: string
                  description: 'Application Service Logo'
                  example: 'universal-directory'
                serviceName:
                  type: string
                  description: 'Application Service Name'
                  example: 'ZOHO_DIRECTORY'
            creationTime:
              type: string
              description: 'The timestamp when the template was created, in ISO 8601 format.'
              example: '2023-12-12T14:32:50+05:30'
            isEnabled:
              type: boolean
              description: 'Indicates whether the directory is enabled or disabled.'
              example: true
            id:
              type: string
              description: 'The unique identifier for the directory.'
              example: '2000000072637'
            modifiedTime:
              type: string
              description: 'The timestamp for the most recent modification, in ISO 8601 format.'
              example: '2023-12-12T14:32:50+05:30'
        seatingLocation:
          type: string
          description: 'The physical seating location of the user within the office or facility.'
          example: '5LC12'
        stateProvince:
          type: string
          description: 'The state or province where the user resides.'
          example: 'Alaska'
        status:
          type: integer
          description: 'The user’s current status: 1 for active, 0 for inactive.'
          enum:
            - 1
            - 0
          example: 1
        street:
          type: string
          description: 'The street address of the user.'
          example: '19th Ave, Anchorage, Alaska'
        telephoneNumber:
          type: string
          description: 'The telephone number of the user.'
          example: '9072746922'
        title:
          type: string
          description: The user's job title or role within the organization.
          example: 'Manager'
        workLocation:
          type: string
          description: 'The location where the user works.'
          example: 'Alaska'
        zipPostal:
          type: string
          description: The postal or ZIP code for the user's address.
          example: '99501'
    gendoc-attributes-schema:
      $ref: '#/components/schemas/userResource'
    getUsersResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/userResource'
          example:
            - city: "Anchorage"
              country: "US"
              description: "User of marketing department"
              displayName: "AlexHales"
              email: "alexhales@company.com"
              employeeID: "12342"
              firstName: "Alex"
              gender: "M"
              id: "2000000000001"
              isDomainVerified: false
              language: "en"
              lastName: "Hales"
              mobileNumber: "7700900461"
              stateProvince: "Alaska"
              status: 1
              street: "19th Ave, Anchorage, Alaska"
              workLocation: "Alaska"
              zipPostal: "99501"
            - city: "Los Angeles"
              country: "US"
              description: "User of sales department"
              displayName: "JohnRay"
              email: "johnray@company.com"
              employeeID: "13894"
              firstName: "John"
              gender: "M"
              id: "2000000000002"
              isDomainVerified: false
              language: "en"
              lastName: "Raymond"
              mobileNumber: "7304729472"
              stateProvince: "California"
              status: 1
              street: "Mckinley Ave, Los Angeled, California"
              workLocation: "California"
              zipPostal: "90001"
        meta:
          $ref: '#/components/schemas/meta'
    meta:
      type: object
      properties:
        cursor:
          type: string
          example: null
          description: 'Current cursor specified in the request'
        next_cursor:
          type: string
          example: null
          description: 'Next cursor to be used in the next request'
        is_last:
          type: boolean
          example: true
          description: 'Is this the last page of the response'
        limit:
          type: integer
          example: 100
          description: 'Number of users requested to be in the response'
        total_no_of_objects:
          type: integer
          example: 2
          description: 'Total number of users'
    getUserResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/userResource'
    userUpdate:
      type: object
      properties:
        city:
          type: string
          description: 'The city where the user is located.'
          example: 'Ottawa'
        company:
          type: string
          description: 'The name of the company the user works for.'
          example: 'Berge Corporation'
        country:
          type: string
          description: 'The country where the user resides, using ISO 3166-1 codes.'
          example: 'CA'
        department:
          type: string
          description: 'The department where the user works.'
          example: 'Marketing'
        description:
          type: string
          description: 'Additional information or a summary about the user.'
          example: 'User of marketing department'
        displayName:
          type: string
          description: 'The name displayed for the user in the system.'
          example: 'Hales'
        email:
          type: string
          description: 'The user’s email address.'
          example: 'alexhales@company.com'
        employeeID:
          type: string
          description: 'A unique ID assigned to the employee within the organization.'
          example: '12342'
        fax:
          type: string
          description: 'The fax number associated with the user.'
          example: '441619998888'
        firstName:
          type: string
          description: The user's first name.
          example: 'Alex'
        gender:
          type: string
          description: 'The gender identity of the user.Use a single character: M (Male), F (Female), or N (Other).'
          example: 'M'
        homePhone:
          type: string
          description: 'The user’s home phone number.'
          example: '044-24681357'
        id:
          type: string
          description: 'The unique identifier for the user, assigned by the system.'
          example: '2000000000001'
          readOnly: true
        isDomainVerified:
          type: boolean
          description: 'Indicates if the user’s domain has been verified.'
          example: false
          readOnly: true
        language:
          type: string
          description: The user's preferred language for communication.Use an ISO 639-1 code, or a combination of ISO 639-1 and ISO 3166-1 (e.g., en, zh, ta, or en-US, zh-CN, ta-IN).
          example: 'en-CA'
        lastName:
          type: string
          description: The user's last name.
          example: 'Hales'
        manager:
          type: string
          description: 'The user ID of the user’s direct manager.'
          example: '2000000072271'
        mobileNumber:
          type: string
          description: 'The user’s mobile phone number.'
          example: '7700900461'
        password:
          type: string
          description: 'The password for the user’s account.'
          example: 'Test@1527#'
          writeOnly: true
        postOfficeBox:
          type: string
          description: The user's P.O. box address.
          example: '1052'
        primarySource:
          type: object
          description: Details about the user's primary directory.
          readOnly: true
          properties:
            applicationName:
              type: string
              description: 'The name of the application or directory.'
              example: 'Berge-Corp'
            applicationService:
              type: object
              description: 'Details about the service associated with the directory or app.'
              properties:
                name:
                  type: string
                  description: 'Application Service Name'
                  example: 'Universal Directory'
                id:
                  type: string
                  description: 'The unique identifier for the directory.'
                  example: '2000000018007'
                logo:
                  type: string
                  description: 'Application Service Logo'
                  example: 'universal-directory'
                serviceName:
                  type: string
                  description: 'Service Name'
                  example: 'ZOHO_DIRECTORY'
            creationTime:
              type: string
              format: date-time
              description: 'The timestamp when the template was created, in ISO 8601 format.'
              example: '2023-12-12T14:32:50+05:30'
            isEnabled:
              type: boolean
              description: 'Indicates whether the directory is enabled or disabled.'
              example: true
            id:
              type: string
              description: 'The unique identifier for the directory.'
              example: '2000000072637'
            modifiedTime:
              type: string
              format: date-time
              description: 'The timestamp for the most recent modification, in ISO 8601 format.'
              example: '2023-12-12T14:32:50+05:30'
        seatingLocation:
          type: string
          description: 'The physical seating location of the user within the office or facility.'
          example: '5LC12'
        stateProvince:
          type: string
          description: 'The state or province where the user resides.'
          example: 'Ontario'
        status:
          type: integer
          description: 'The user’s current status: 1 for active, 0 for inactive.'
          enum:
            - 0
            - 1
          example: 1
        street:
          type: string
          description: 'The street address of the user.'
          example: 'Colonel Murray St, Ottawa, Ontario'
        telephoneNumber:
          type: string
          description: 'The telephone number of the user.'
          example: '9072746922'
        title:
          type: string
          description: The user's job title or role within the organization.
          example: 'Manager'
        workLocation:
          type: string
          description: 'The location where the user works.'
          example: 'Alaska'
        zipPostal:
          type: string
          description: The postal or ZIP code for the user's address.
          example: 'K0A0A4'
    invalidParam:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: '00000107'
            title:
              type: string
              example: 'Invalid Parameter'
            detail:
              type: string
              example: 'The parameter select is invalid.'
    unLicensedUser:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: '00010109'
            title:
              type: string
              example: 'Unlicensed User'
            detail:
              type: string
              example: 'Actions cannot be performed on unlicensed users.'
    userNotFound:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: '00010105'
            title:
              type: string
              example: 'User Not Found'
            detail:
              type: string
              example: 'This User ID does not exist or you do not have permission to access it.'
    userExists:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: '00000102'
            title:
              type: string
              example: 'Unprocessable Content'
            detail:
              type: string
              example: 'An user with the Email id "johnwick@jwcorp.com" already exists. Please use a different Email id.'
    passwordSameAsLast:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: '00000102'
            title:
              type: string
              example: 'Unprocessable Content'
            detail:
              type: string
              example: 'Password should not be same as your last 1 password(s)'
    templateValidationFailed:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: '00010111'
            title:
              type: string
              example: 'Template Validation Failed'
            detail:
              type: string
              example: 'Password does not meet password policy complexity requirements.'
    unauthorized:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: '00000101'
            title:
              type: string
              example: 'Unauthorized'
            detail:
              type: string
              example: 'The OAuth token is invalid.'
    templateNotFound:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: '00010112'
            title:
              type: string
              example: 'Template Not Found'
            detail:
              type: string
              example: 'No templates found or the provided template ID does not match the directory.'
    serverError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: '00000000'
            title:
              type: string
              example: 'Internal Server Error'
            detail:
              type: string
              example: 'An unexpected internal error has occurred on the server. Please try again later.'
  securitySchemes:
    Zoho_Auth:
      type: oauth2
      x-authorization-example: 'Zoho-oauthtoken 1000.41d9f2cfbd1b7a8f9e314b7aff7bc2d1.8fcc9810810a216793f385b9dd6e125f'
      flows:
        implicit:
          authorizationUrl: https://accounts.zoho.com/oauth/v2/auth
          scopes:
            idmpod.user.read: 'Read User from the account'
            idmpod.user.write: 'Create/Update/Delete User in the account'
            idmpod.user.create: 'Create User in the account'
            idmpod.user.delete: 'Delete User from the account'
            idmpod.user.update: 'Update User in the account'
            idmpod.user.all: 'Perfrom all actions on User'
        authorizationCode:
          authorizationUrl: 'https://accounts.zoho.com/oauth/v2/auth'
          tokenUrl: 'https://accounts.zoho.com/oauth/v2/token'
          scopes:
            idmpod.user.read: 'Read User from the account'
            idmpod.user.write: 'Create/Update/Delete User in the account'
            idmpod.user.create: 'Create User in the account'
            idmpod.user.delete: 'Delete User from the account'
            idmpod.user.update: 'Update User in the account'
            idmpod.user.all: 'Perfrom all actions on User'
        clientCredentials:
          tokenUrl: https://accounts.zoho.com/oauth/v2/token
          scopes:
            idmpod.user.read: 'Read User from the account'
            idmpod.user.write: 'Create/Update/Delete User in the account'
            idmpod.user.create: 'Create User in the account'
            idmpod.user.delete: 'Delete User from the account'
            idmpod.user.update: 'Update User in the account'
            idmpod.user.all: 'Perfrom all actions on User'
        password:
          tokenUrl: https://accounts.zoho.com/oauth/v2/token
          scopes:
            idmpod.user.read: 'Read User from the account'
            idmpod.user.write: 'Create/Update/Delete User in the account'
            idmpod.user.create: 'Create User in the account'
            idmpod.user.delete: 'Delete User from the account'
            idmpod.user.update: 'Update User in the account'
            idmpod.user.all: 'Perfrom all actions on User'