> ## 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: Record Delete Records

> Delete several records from a Zoho CRM module by their IDs. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Delete several records from a Zoho CRM module by their IDs.

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

## 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_record_delete_records',
  {
    "module": "example"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute zoho_crm_record_delete_records --input '{
  "module": "example"
}' --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": {
    "data": [
      {
        "code": "SUCCESS",
        "details": {
          "id": "id_123"
        },
        "message": "record deleted",
        "status": "success"
      }
    ]
  }
}
```

Use `deepline describe 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={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "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={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "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](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.