> ## 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 Share Email Unshare Emails

> Stop sharing a Zoho CRM record's emails with other users. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Stop sharing a Zoho CRM record's emails with other users.

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

## 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_share_email_unshare_emails',
  {
    "moduleApiName": "Leads",
    "id": "1034369001076415228"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute zoho_crm_record_share_email_unshare_emails --input '{
  "moduleApiName": "Leads",
  "id": "1034369001076415228"
}' --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": "Sharing revoked successfully",
        "status": "success"
      }
    ]
  }
}
```

Use `deepline describe zoho_crm_record_share_email_unshare_emails --json` for the latest machine-readable contract.

## Input reference

To unshare emails of specific record with other users in your organization

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.moduleApiName` | `"Leads" \| "Contacts" \| "Accounts" \| "Deals" \| "CustomModule1"` | Yes | — | Module Api Name of the record Allowed: `Leads`, `Contacts`, `Accounts`, `Deals`, `CustomModule1`. |
| `payload.id` | `"1034369001076415228" \| "1034369001076415230" \| "1034369001076415231"` | Yes | — | The ID of the record Allowed: `1034369001076415228`, `1034369001076415230`, `1034369001076415231`. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "To unshare emails of specific record with other users in your organization",
    "properties": {
      "moduleApiName": {
        "type": "string",
        "description": "Module Api Name of the record",
        "enum": [
          "Leads",
          "Contacts",
          "Accounts",
          "Deals",
          "CustomModule1"
        ]
      },
      "id": {
        "type": "string",
        "description": "The ID of the record",
        "enum": [
          "1034369001076415228",
          "1034369001076415230",
          "1034369001076415231"
        ]
      }
    },
    "required": [
      "moduleApiName",
      "id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Response schema for successful email unsharing. |
| `result.data.data` | `array` | No | — | List of results for the unsharing operation. Maximum items: 100. |
| `result.data.data[].code` | `"SUCCESS"` | Yes | — | Status code of the operation. Allowed: `SUCCESS`. |
| `result.data.data[].details` | `object` | Yes | — | Details of the unshared record. |
| `result.data.data[].details.id` | `string` | Yes | — | The ID of the record. Format: `string`. |
| `result.data.data[].message` | `"Sharing revoked successfully"` | Yes | — | A message indicating the result. Allowed: `Sharing revoked successfully`. |
| `result.data.data[].status` | `"success"` | Yes | — | The status of the operation. 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 for successful email unsharing.",
        "properties": {
          "data": {
            "type": "array",
            "description": "List of results for the unsharing operation.",
            "maxItems": 100,
            "items": {
              "type": "object",
              "description": "Result for a single record.",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "Status code of the operation.",
                  "enum": [
                    "SUCCESS"
                  ]
                },
                "details": {
                  "type": "object",
                  "description": "Details of the unshared record.",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "The ID of the record.",
                      "format": "string"
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false
                },
                "message": {
                  "type": "string",
                  "description": "A message indicating the result.",
                  "enum": [
                    "Sharing revoked successfully"
                  ]
                },
                "status": {
                  "type": "string",
                  "description": "The status of the operation.",
                  "enum": [
                    "success"
                  ]
                }
              },
              "required": [
                "code",
                "details",
                "message",
                "status"
              ],
              "additionalProperties": false
            }
          }
        },
        "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.