> ## 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: Mass Delete Cvid Mass Delete

> Delete up to 500 Zoho CRM records by ID, or every record in a custom view. Includes SDK V2 examples, input constraints, response fields, and Deepline cost.

Delete up to 500 Zoho CRM records by ID, or every record in a custom view.

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

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'zoho_crm_mass_delete_cvid_mass_delete',
  {
    "module": "Leads"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute zoho_crm_mass_delete_cvid_mass_delete --input '{
  "module": "Leads"
}' --json
```

## Example response

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

## Input reference

Request body containing **either** record IDs to delete **or** custom view ID with optional territory filter. Maximum 500 IDs per request.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.module` | `"Leads" \| "Accounts" \| "Contacts" \| "Deals" \| "Campaigns" \| "Tasks" \| "Calls" \| "Meetings" \| "Cases" \| "Solutions" \| "Products" \| "Vendors" \| "Price_Books" \| "Quotes" \| "Sales_Orders" \| "Purchase_Orders" \| "Invoices" \| "Custom" \| "Services" \| "Appointments"` | Yes | — | Specifies the CRM module for the mass delete operation. Note: Module names are case-sensitive. Allowed: `Leads`, `Accounts`, `Contacts`, `Deals`, `Campaigns`, `Tasks`, `Calls`, `Meetings`, `Cases`, `Solutions`, `Products`, `Vendors`, `Price_Books`, `Quotes`, `Sales_Orders`, `Purchase_Orders`, `Invoices`, `Custom`, `Services`, `Appointments`. Minimum length: 1. |
| `payload.ids` | `array` | No | — | Array of record IDs to delete. Mutually exclusive with `cvid`. Minimum items: 1. Maximum items: 500. |
| `payload.cvid` | `string` | No | — | Custom view ID. Mutually exclusive with `ids`. Format: `string`. Pattern: `^[0-9]+$`. |
| `payload.territory` | `object` | No | — | Territory filter for the delete operation (optional, only valid with `cvid`). |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Request body containing **either** record IDs to delete **or** custom view ID with optional territory filter. Maximum 500 IDs per request.",
    "properties": {
      "module": {
        "type": "string",
        "description": "Specifies the CRM module for the mass delete operation. Note: Module names are case-sensitive.",
        "minLength": 1,
        "enum": [
          "Leads",
          "Accounts",
          "Contacts",
          "Deals",
          "Campaigns",
          "Tasks",
          "Calls",
          "Meetings",
          "Cases",
          "Solutions",
          "Products",
          "Vendors",
          "Price_Books",
          "Quotes",
          "Sales_Orders",
          "Purchase_Orders",
          "Invoices",
          "Custom",
          "Services",
          "Appointments"
        ]
      },
      "ids": {
        "type": "array",
        "description": "Array of record IDs to delete. Mutually exclusive with `cvid`.",
        "minItems": 1,
        "maxItems": 500,
        "items": {
          "type": "string",
          "description": "Record ID",
          "pattern": "^[0-9]+$",
          "format": "string"
        }
      },
      "cvid": {
        "type": "string",
        "description": "Custom view ID. Mutually exclusive with `ids`.",
        "pattern": "^[0-9]+$",
        "format": "string"
      },
      "territory": {
        "type": "object",
        "description": "Territory filter for the delete operation (optional, only valid with `cvid`).",
        "properties": {
          "id": {
            "type": "string",
            "description": "Territory ID",
            "pattern": "^[0-9]+$",
            "format": "string"
          },
          "include_child": {
            "type": "boolean",
            "description": "Whether to include child territories."
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false
      }
    },
    "required": [
      "module"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Mass delete success response |
| `result.data.data` | `array` | Yes | — | Array of success responses (synchronous record deletions or batch job scheduling) Minimum items: 1. Maximum items: 500. |
| `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": "Mass delete success response",
        "properties": {
          "data": {
            "type": "array",
            "description": "Array of success responses (synchronous record deletions or batch job scheduling)",
            "minItems": 1,
            "maxItems": 500,
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        },
        "required": [
          "data"
        ],
        "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.