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

> Delete multiple records from a module. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Delete multiple records from a module.

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

## Run this action

Use the TypeScript SDK for a single call. Put `ctx.tools.execute(...)` inside a Play when the call should be durable, scheduled, or run across a CSV.

```ts theme={null}
import { Deepline } from 'deepline';

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

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

### CLI

```bash theme={null}
deepline tools execute zoho_crm_record_delete_records --input '{
  "module": "example"
}' --json
```

## Example response

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

```json theme={null}
{
  "data": {
    "data": [
      {
        "code": "SUCCESS",
        "details": {
          "id": "id_123"
        },
        "message": "record deleted",
        "status": "success"
      }
    ]
  }
}
```

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

## Input reference

Permanently deletes one or more records from the specified module using comma-separated record IDs. Returns per-item results for bulk operations.

| Name             | Type     | Required | Default | Details                                                                      |
| ---------------- | -------- | -------- | ------- | ---------------------------------------------------------------------------- |
| `payload.module` | `string` | Yes      | —       | Specifies the module name Maximum length: 100.                               |
| `payload.ids`    | `string` | No       | —       | To retrieve specific records based on their unique ID. Maximum length: 1024. |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Permanently deletes one or more records from the specified module using comma-separated record IDs. Returns per-item results for bulk operations.",
    "properties": {
      "module": {
        "type": "string",
        "description": "Specifies the module name",
        "maxLength": 100
      },
      "ids": {
        "type": "string",
        "description": "To retrieve specific records based on their unique ID.",
        "maxLength": 1024
      }
    },
    "required": [
      "module"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                            | Type               | Required | Default | Details                                                                                   |
| ------------------------------- | ------------------ | -------- | ------- | ----------------------------------------------------------------------------------------- |
| `result.data`                   | `object`           | Yes      | —       | Response schema returned when one or more records are successfully deleted.               |
| `result.data.data`              | `array`            | Yes      | —       | List of successfully deleted records with individual success details. Maximum items: 100. |
| `result.data.data[].code`       | `"SUCCESS"`        | Yes      | —       | Machine-readable code indicating successful deletion. Allowed: `SUCCESS`.                 |
| `result.data.data[].details`    | `object`           | Yes      | —       | Additional metadata related to the deleted record.                                        |
| `result.data.data[].details.id` | `string`           | Yes      | —       | Unique identifier of the record that was deleted. Format: `int64`.                        |
| `result.data.data[].message`    | `"record deleted"` | Yes      | —       | Human-readable confirmation message for the deletion. Allowed: `record deleted`.          |
| `result.data.data[].status`     | `"success"`        | Yes      | —       | Overall execution status of the delete operation for the record. 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": "Response schema returned when one or more records are successfully deleted.",
        "properties": {
          "data": {
            "type": "array",
            "description": "List of successfully deleted records with individual success details.",
            "maxItems": 100,
            "items": {
              "type": "object",
              "description": "Success object representing a single deleted record.",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "Machine-readable code indicating successful deletion.",
                  "enum": [
                    "SUCCESS"
                  ]
                },
                "details": {
                  "type": "object",
                  "description": "Additional metadata related to the deleted record.",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Unique identifier of the record that was deleted.",
                      "format": "int64"
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": true
                },
                "message": {
                  "type": "string",
                  "description": "Human-readable confirmation message for the deletion.",
                  "enum": [
                    "record deleted"
                  ]
                },
                "status": {
                  "type": "string",
                  "description": "Overall execution status of the delete operation for the record.",
                  "enum": [
                    "success"
                  ]
                }
              },
              "required": [
                "code",
                "details",
                "message",
                "status"
              ],
              "additionalProperties": false
            }
          }
        },
        "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](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
