> ## 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: README

> Update portal. Zoho CRM Portals Update Portal reference includes SDK V2 and CLI requests, input constraints, response fields, and Deepline cost.

Update portal.

<Info>
  Tool ID: `zoho_crm_portals_update_portal`
</Info>

## Run this action

This action has conditional or dynamic input fields that cannot be represented by a reliable static example.

Inspect the live contract before executing it:

```bash theme={null}
deepline tools get zoho_crm_portals_update_portal --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": {
    "portals": [
      {
        "code": "SUCCESS",
        "message": "Example message",
        "details": {
          "name": "Example"
        },
        "status": "success"
      }
    ]
  }
}
```

Use `deepline tools get zoho_crm_portals_update_portal --json` for the latest machine-readable contract.

## Input reference

Request body schema for updating portal settings

| Name              | Type     | Required | Default | Details                                            |
| ----------------- | -------- | -------- | ------- | -------------------------------------------------- |
| `payload.portal`  | `string` | Yes      | —       | Portal identifier Maximum length: 255.             |
| `payload.portals` | `array`  | Yes      | —       | Array of portal update objects Maximum items: 100. |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Request body schema for updating portal settings",
    "properties": {
      "portal": {
        "type": "string",
        "description": "Portal identifier",
        "maxLength": 255
      },
      "portals": {
        "type": "array",
        "description": "Array of portal update objects",
        "maxItems": 100,
        "items": {
          "type": "object",
          "description": "Portal update object",
          "properties": {
            "name": {
              "type": "string",
              "description": "Portal name (6-30 characters)",
              "minLength": 6,
              "maxLength": 30
            },
            "saml_configuration": {
              "type": "object",
              "description": "SAML configuration to apply to the portal",
              "properties": {
                "login_url": {
                  "type": "string",
                  "description": "SAML login URL",
                  "maxLength": 2048,
                  "pattern": "http[s]://www[.][a-z]{7}[.]com"
                },
                "logout_url": {
                  "type": "string",
                  "description": "SAML logout URL",
                  "maxLength": 2048,
                  "pattern": "http[s]://www[.][a-z]{7}[.]com"
                },
                "public_key": {
                  "type": "string",
                  "description": "SAML public key certificate",
                  "maxLength": 5000
                },
                "active": {
                  "type": "boolean",
                  "description": "SAML configuration active status",
                  "enum": [
                    true
                  ]
                }
              },
              "required": [
                "login_url",
                "logout_url",
                "public_key"
              ],
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        }
      }
    },
    "required": [
      "portal",
      "portals"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                 | Type        | Required | Default | Details                                                             |
| ------------------------------------ | ----------- | -------- | ------- | ------------------------------------------------------------------- |
| `result.data`                        | `object`    | Yes      | —       | Success response for portal update                                  |
| `result.data.portals`                | `array`     | Yes      | —       | List of created or updated portals Maximum items: 100.              |
| `result.data.portals[].code`         | `"SUCCESS"` | Yes      | —       | Status code of the portal operation Allowed: `SUCCESS`.             |
| `result.data.portals[].message`      | `string`    | Yes      | —       | Message describing the portal operation result Maximum length: 255. |
| `result.data.portals[].details`      | `object`    | Yes      | —       | Details of the created or updated portal                            |
| `result.data.portals[].details.name` | `string`    | Yes      | —       | Name of the created or updated portal Maximum length: 30.           |
| `result.data.portals[].status`       | `"success"` | Yes      | —       | Status of the portal operation Allowed: `success`.                  |
| `result.meta`                        | `object`    | No       | —       | Additional response metadata (status, paging).                      |

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

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Success response for portal update",
        "properties": {
          "portals": {
            "type": "array",
            "description": "List of created or updated portals",
            "maxItems": 100,
            "items": {
              "type": "object",
              "description": "Portal update result object",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "Status code of the portal operation",
                  "enum": [
                    "SUCCESS"
                  ]
                },
                "message": {
                  "type": "string",
                  "description": "Message describing the portal operation result",
                  "maxLength": 255
                },
                "details": {
                  "type": "object",
                  "description": "Details of the created or updated portal",
                  "properties": {
                    "name": {
                      "type": "string",
                      "description": "Name of the created or updated portal",
                      "maxLength": 30
                    }
                  },
                  "required": [
                    "name"
                  ],
                  "additionalProperties": false
                },
                "status": {
                  "type": "string",
                  "description": "Status of the portal operation",
                  "enum": [
                    "success"
                  ]
                }
              },
              "required": [
                "code",
                "message",
                "details",
                "status"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "portals"
        ],
        "additionalProperties": false
      },
      "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](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
