> ## 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 Link Attachment. Zoho CRM Attachments Delete Attachment reference includes SDK V2 and CLI requests, input constraints, response fields, and Deepline.

Delete Link Attachment.

<Info>
  Tool ID: `zoho_crm_attachments_delete_attachment`
</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_attachments_delete_attachment',
  {
    "recordId": "record_123",
    "moduleApiName": "Example",
    "id": "id_123"
  },
);

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

### CLI

```bash theme={null}
deepline tools execute zoho_crm_attachments_delete_attachment --input '{
  "recordId": "record_123",
  "moduleApiName": "Example",
  "id": "id_123"
}' --json
```

## Example response

The static output schema is not detailed enough to generate a reliable example. Use `deepline tools get zoho_crm_attachments_delete_attachment --json` for the complete live contract.

## Input reference

Delete a link attachment associated with a specific record in a module.

| Name                    | Type     | Required | Default | Details                                                     |
| ----------------------- | -------- | -------- | ------- | ----------------------------------------------------------- |
| `payload.recordId`      | `string` | Yes      | —       | The unique identifier of the record Maximum length: 64.     |
| `payload.moduleApiName` | `string` | Yes      | —       | The API name of the module Maximum length: 64.              |
| `payload.id`            | `string` | Yes      | —       | The unique identifier of the attachment Maximum length: 64. |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Delete a link attachment associated with a specific record in a module.",
    "properties": {
      "recordId": {
        "type": "string",
        "description": "The unique identifier of the record",
        "maxLength": 64
      },
      "moduleApiName": {
        "type": "string",
        "description": "The API name of the module",
        "maxLength": 64
      },
      "id": {
        "type": "string",
        "description": "The unique identifier of the attachment",
        "maxLength": 64
      }
    },
    "required": [
      "recordId",
      "moduleApiName",
      "id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                            | Type               | Required | Default | Details                                                               |
| ------------------------------- | ------------------ | -------- | ------- | --------------------------------------------------------------------- |
| `result.data`                   | `object`           | Yes      | —       | Successful deletion response                                          |
| `result.data.data`              | `array`            | Yes      | —       | Array of deletion results Maximum items: 100.                         |
| `result.data.data[].code`       | `"SUCCESS"`        | Yes      | —       | Response code indicating success Allowed: `SUCCESS`.                  |
| `result.data.data[].details`    | `object`           | Yes      | —       | Details of the deleted attachment                                     |
| `result.data.data[].details.id` | `string`           | Yes      | —       | ID of the deleted attachment Maximum length: 50. Pattern: `^[0-9]+$`. |
| `result.data.data[].message`    | `"record deleted"` | Yes      | —       | Success message Allowed: `record deleted`.                            |
| `result.data.data[].status`     | `"success"`        | Yes      | —       | Operation status 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": "Successful deletion response",
        "properties": {
          "data": {
            "type": "array",
            "description": "Array of deletion results",
            "maxItems": 100,
            "items": {
              "type": "object",
              "description": "Deletion status details",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "Response code indicating success",
                  "enum": [
                    "SUCCESS"
                  ]
                },
                "details": {
                  "type": "object",
                  "description": "Details of the deleted attachment",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "ID of the deleted attachment",
                      "maxLength": 50,
                      "pattern": "^[0-9]+$"
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false
                },
                "message": {
                  "type": "string",
                  "description": "Success message",
                  "enum": [
                    "record deleted"
                  ]
                },
                "status": {
                  "type": "string",
                  "description": "Operation status",
                  "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)
