> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Zoho CRM: Portal User Type Update Portal User Type

> Change a Zoho CRM portal user type's name, modules or permissions. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Change a Zoho CRM portal user type's name, modules or permissions.

> [!NOTE]
>
> Tool ID: `zoho_crm_portal_user_type_update_portal_user_type`

## Run this action

This action has conditional or dynamic inputs. A static example cannot describe these inputs reliably.

Read the live contract before you execute this action:

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline describe zoho_crm_portal_user_type_update_portal_user_type --json
```

## Example response

The static output schema lacks the details for a reliable example. Use `deepline describe zoho_crm_portal_user_type_update_portal_user_type --json` for the complete live contract.

## Input reference

Request schema for updating portal user types.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.portal` | `string` | Yes | — | Portal unique name (path parameter). Provide the portal identifier as defined in the account. Minimum length: 1. Maximum length: 255. |
| `payload.userTypeId` | `string` | Yes | — | Unique id of the portal user type. Represented as a long numeric id encoded as a string. Minimum length: 1. Maximum length: 32. Pattern: `^[0-9]+$`. |
| `payload.user_type` | `array` | Yes | — | Array of portal user type objects to update. Minimum items: 1. Maximum items: 1000. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Request schema for updating portal user types.",
    "properties": {
      "portal": {
        "type": "string",
        "description": "Portal unique name (path parameter). Provide the portal identifier as defined in the account.",
        "minLength": 1,
        "maxLength": 255
      },
      "userTypeId": {
        "type": "string",
        "description": "Unique id of the portal user type. Represented as a long numeric id encoded as a string.",
        "minLength": 1,
        "maxLength": 32,
        "pattern": "^[0-9]+$"
      },
      "user_type": {
        "type": "array",
        "description": "Array of portal user type objects to update.",
        "minItems": 1,
        "maxItems": 1000,
        "items": {
          "type": "object",
          "description": "Portal user type object for update.",
          "properties": {
            "personality_module": {
              "type": "object",
              "description": "Personality module details for the user type.",
              "properties": {
                "api_name": {
                  "type": "string",
                  "description": "API name of the personality module.",
                  "maxLength": 25,
                  "pattern": "^[A-Za-z0-9 ]{1,25}$"
                },
                "id": {
                  "type": "string",
                  "description": "Long id represented as digits string.",
                  "maxLength": 255,
                  "pattern": "^[0-9]+$"
                }
              },
              "required": [
                "api_name",
                "id"
              ],
              "additionalProperties": true
            },
            "name": {
              "type": "string",
              "description": "Name of the user type.",
              "maxLength": 255
            },
            "modules": {
              "type": "array",
              "description": "Modules to assign to this user type.",
              "minItems": 0,
              "maxItems": 1000,
              "uniqueItems": true,
              "items": {
                "type": "object",
                "description": "Module object for assignment.",
                "additionalProperties": true
              }
            }
          },
          "required": [
            "personality_module",
            "name",
            "modules"
          ],
          "additionalProperties": true
        }
      }
    },
    "required": [
      "portal",
      "userTypeId",
      "user_type"
    ],
    "additionalProperties": true
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Successful update response schema for updated portal user type(s). |
| `result.data.user_type` | `array` | No | — | Array of updated portal user type objects. Maximum items: 1000. |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Successful update response schema for updated portal user type(s).",
        "properties": {
          "user_type": {
            "type": "array",
            "description": "Array of updated portal user type objects.",
            "maxItems": 1000,
            "items": {
              "type": "object",
              "description": "Portal user type object.",
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": true
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.