> ## 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 Contact Role Relation. Includes SDK V2 and CLI requests, input constraints, response fields, and Deepline credit cost.

Delete Contact Role Relation.

<Info>
  Tool ID: `zoho_crm_deal_contact_roles_delete_contact_role_relation`
</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_deal_contact_roles_delete_contact_role_relation',
  {
    "module": "Deals",
    "dealId": "deal_123",
    "contactId": "contact_123"
  },
);

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

### CLI

```bash theme={null}
deepline tools execute zoho_crm_deal_contact_roles_delete_contact_role_relation --input '{
  "module": "Deals",
  "dealId": "deal_123",
  "contactId": "contact_123"
}' --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": "relation removed",
        "status": "success"
      }
    ]
  }
}
```

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

## Input reference

Remove a specific contact-deal relation using the contact identifier in the path.

| Name                | Type      | Required | Default | Details                                                      |
| ------------------- | --------- | -------- | ------- | ------------------------------------------------------------ |
| `payload.module`    | `"Deals"` | Yes      | —       | The module name for the deal record Allowed: `Deals`.        |
| `payload.dealId`    | `string`  | Yes      | —       | The unique identifier of the deal record Format: `int64`.    |
| `payload.contactId` | `string`  | Yes      | —       | The unique identifier of the contact record Format: `int64`. |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Remove a specific contact-deal relation using the contact identifier in the path.",
    "properties": {
      "module": {
        "type": "string",
        "description": "The module name for the deal record",
        "enum": [
          "Deals"
        ]
      },
      "dealId": {
        "type": "string",
        "description": "The unique identifier of the deal record",
        "format": "int64"
      },
      "contactId": {
        "type": "string",
        "description": "The unique identifier of the contact record",
        "format": "int64"
      }
    },
    "required": [
      "module",
      "dealId",
      "contactId"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                            | Type                 | Required | Default | Details                                                                        |
| ------------------------------- | -------------------- | -------- | ------- | ------------------------------------------------------------------------------ |
| `result.data`                   | `object`             | Yes      | —       | Response returned after deleting contact role relations                        |
| `result.data.data`              | `array`              | Yes      | —       | Status entries for each deleted relation Minimum items: 1. Maximum items: 100. |
| `result.data.data[].code`       | `"SUCCESS"`          | Yes      | —       | Operation status code                                                          |
| `result.data.data[].details`    | `object`             | Yes      | —       | Details about the deleted relation                                             |
| `result.data.data[].details.id` | `string`             | Yes      | —       | Identifier of the deleted relation Format: `int64`.                            |
| `result.data.data[].message`    | `"relation removed"` | Yes      | —       | Result message                                                                 |
| `result.data.data[].status`     | `"success"`          | Yes      | —       | Operation status                                                               |
| `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 returned after deleting contact role relations",
        "properties": {
          "data": {
            "type": "array",
            "description": "Status entries for each deleted relation",
            "minItems": 1,
            "maxItems": 100,
            "items": {
              "type": "object",
              "description": "Result for a single relation delete operation",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "Operation status code",
                  "const": "SUCCESS"
                },
                "details": {
                  "type": "object",
                  "description": "Details about the deleted relation",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Identifier of the deleted relation",
                      "format": "int64"
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false
                },
                "message": {
                  "type": "string",
                  "description": "Result message",
                  "const": "relation removed"
                },
                "status": {
                  "type": "string",
                  "description": "Operation status",
                  "const": "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)
