> ## 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: Users Territories Remove Territoriesfrom User

> Remove several territories from a Zoho CRM user. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Remove several territories from a Zoho CRM user.

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

## 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_users_territories_remove_territoriesfrom_user --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "territories": [
      {
        "code": "SUCCESS",
        "details": {
          "id": "id_123"
        },
        "message": "Example message",
        "status": "success"
      }
    ]
  }
}
```

Use `deepline describe zoho_crm_users_territories_remove_territoriesfrom_user --json` for the latest machine-readable contract.

## Input reference

Remove Territories from a User

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.user` | `string` | Yes | — | The ID of the user Format: `int64`. |
| `payload.ids` | `string` | Yes | — | Comma-separated IDs (each ID is an int64) Maximum length: 2000. Pattern: `^[0-9]+(,[0-9]+)*$`. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Remove Territories from a User",
    "properties": {
      "user": {
        "type": "string",
        "description": "The ID of the user",
        "format": "int64"
      },
      "ids": {
        "type": "string",
        "description": "Comma-separated IDs (each ID is an int64)",
        "maxLength": 2000,
        "pattern": "^[0-9]+(,[0-9]+)*$"
      }
    },
    "required": [
      "user",
      "ids"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Response for successful association of territories to a user |
| `result.data.territories` | `array` | Yes | — | List of per-territory result items Minimum items: 0. Maximum items: 200. Items must be unique. |
| `result.data.territories[].code` | `"SUCCESS"` | Yes | — | Result code Allowed: `SUCCESS`. |
| `result.data.territories[].details` | `object` | Yes | — | Details for the result item |
| `result.data.territories[].details.id` | `string` | Yes | — | ID of the territory Format: `int64`. |
| `result.data.territories[].message` | `string` | Yes | — | Human-readable message Maximum length: 1000. |
| `result.data.territories[].status` | `"success"` | Yes | — | Status of the result Allowed: `success`. |
| `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": "Response for successful association of territories to a user",
        "properties": {
          "territories": {
            "type": "array",
            "description": "List of per-territory result items",
            "minItems": 0,
            "maxItems": 200,
            "uniqueItems": true,
            "items": {
              "type": "object",
              "description": "Per-territory result item",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "Result code",
                  "enum": [
                    "SUCCESS"
                  ]
                },
                "details": {
                  "type": "object",
                  "description": "Details for the result item",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "ID of the territory",
                      "format": "int64"
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false
                },
                "message": {
                  "type": "string",
                  "description": "Human-readable message",
                  "maxLength": 1000
                },
                "status": {
                  "type": "string",
                  "description": "Status of the result",
                  "enum": [
                    "success"
                  ]
                }
              },
              "required": [
                "code",
                "details",
                "message",
                "status"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "territories"
        ],
        "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](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.