> ## 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: Data Sharing Update Data Sharing

> Change the default data sharing access level for Zoho CRM modules. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Change the default data sharing access level for Zoho CRM modules.

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

## 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_data_sharing_update_data_sharing',
  {
    "data_sharing": [
      {
        "share_type": "private",
        "module": {
          "id": "id_123"
        }
      }
    ]
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute zoho_crm_data_sharing_update_data_sharing --input '{
  "data_sharing": [
    {
      "share_type": "private",
      "module": {
        "id": "id_123"
      }
    }
  ]
}' --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_sharing": [
      {
        "status": "success",
        "code": "SUCCESS",
        "message": "data sharing settings updated successfully",
        "details": {
          "module": "example"
        }
      }
    ]
  }
}
```

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

## Input reference

Update Data Sharing Request Body

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.data_sharing` | `array` | Yes | — | List of Data Sharing Settings to be updated Maximum items: 100. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Update Data Sharing Request Body",
    "properties": {
      "data_sharing": {
        "type": "array",
        "description": "List of Data Sharing Settings to be updated",
        "maxItems": 100,
        "items": {
          "type": "object",
          "description": "Data Sharing Setting to be updated",
          "properties": {
            "share_type": {
              "type": "string",
              "description": "Stores the module-level data sharing permission type",
              "enum": [
                "private",
                "public_read_write",
                "public",
                "public_read_only"
              ]
            },
            "module": {
              "type": "object",
              "description": "Module Information",
              "properties": {
                "api_name": {
                  "type": "string",
                  "description": "API Name of the Module",
                  "maxLength": 100
                },
                "id": {
                  "type": "string",
                  "description": "ID of the Module",
                  "maxLength": 20
                }
              },
              "required": [
                "id"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "share_type",
            "module"
          ],
          "additionalProperties": false
        }
      }
    },
    "required": [
      "data_sharing"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Update Data Sharing Response |
| `result.data.data_sharing` | `array` | Yes | — | List of Update Status for Data Sharing Settings Maximum items: 100. |
| `result.data.data_sharing[].status` | `"success"` | Yes | — | Update Status Allowed: `success`. |
| `result.data.data_sharing[].code` | `"SUCCESS"` | Yes | — | Update Code Allowed: `SUCCESS`. |
| `result.data.data_sharing[].message` | `"data sharing settings updated successfully"` | Yes | — | Update Message Allowed: `data sharing settings updated successfully`. |
| `result.data.data_sharing[].details` | `object` | Yes | — | Additional Details |
| `result.data.data_sharing[].details.module` | `string` | No | — | Module API Name Maximum length: 100. |
| `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": "Update Data Sharing Response",
        "properties": {
          "data_sharing": {
            "type": "array",
            "description": "List of Update Status for Data Sharing Settings",
            "maxItems": 100,
            "items": {
              "type": "object",
              "description": "Update Status for Data Sharing Setting",
              "properties": {
                "status": {
                  "type": "string",
                  "description": "Update Status",
                  "enum": [
                    "success"
                  ]
                },
                "code": {
                  "type": "string",
                  "description": "Update Code",
                  "enum": [
                    "SUCCESS"
                  ]
                },
                "message": {
                  "type": "string",
                  "description": "Update Message",
                  "enum": [
                    "data sharing settings updated successfully"
                  ]
                },
                "details": {
                  "type": "object",
                  "description": "Additional Details",
                  "properties": {
                    "module": {
                      "type": "string",
                      "description": "Module API Name",
                      "maxLength": 100
                    }
                  },
                  "additionalProperties": false
                }
              },
              "required": [
                "status",
                "code",
                "message",
                "details"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "data_sharing"
        ],
        "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.