> ## 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: Layouts Activate Deactivate Layout Deactivate

> Deactivate a Zoho CRM layout and move its profiles and settings to another layout. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Deactivate a Zoho CRM layout and move its profiles and settings to another layout.

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

## Run this action

This action has conditional or dynamic inputs. A static example cannot describe these inputs reliably.

Read the live contract before you execute this action:

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline describe zoho_crm_layouts_activate_deactivate_layout_deactivate --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": {
    "layouts": [
      {
        "code": "SUCCESS",
        "details": {
          "id": "id_123"
        },
        "message": "Example message",
        "status": "success"
      }
    ]
  }
}
```

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

## Input reference

Deactivates an active layout and transfers its configuration (profile associations, permissions, field mappings) to another active layout within the same module. At least one active layout must remain in the module. This operation is idempotent - attempting to deactivate an already deactivated layout returns an error (ALREADY\_DEACTIVATED).

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.id` | `string` | Yes | — | The unique identifier of the layout to activate or deactivate. Must be a valid layout ID that exists within the specified module. Layout ID values are data center-specific. Format: `int64`. |
| `payload.module` | `string` | Yes | — | The CRM module API name that contains the layout. Supports both standard Zoho CRM modules (e.g., Leads, Contacts, Deals) and custom modules created in the organization. Module names follow PascalCase convention and may contain underscores for custom modules. Minimum length: 1. Maximum length: 100. Pattern: `^[A-Z][A-Za-z0-9_]*$`. |
| `payload.transfer_to` | `string` | Yes | — | The ID of an active layout within the same module to transfer the configuration to. Must be different from the layout being deactivated. The target layout must not have any conflicting configurations. Format: `int64`. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Deactivates an active layout and transfers its configuration (profile associations, permissions, field mappings) to another active layout within the same module. At least one active layout must remain in the module. This operation is idempotent - attempting to deactivate an already deactivated layout returns an error (ALREADY_DEACTIVATED).",
    "properties": {
      "id": {
        "type": "string",
        "description": "The unique identifier of the layout to activate or deactivate. Must be a valid layout ID that exists within the specified module. Layout ID values are data center-specific.",
        "format": "int64"
      },
      "module": {
        "type": "string",
        "description": "The CRM module API name that contains the layout. Supports both standard Zoho CRM modules (e.g., Leads, Contacts, Deals) and custom modules created in the organization. Module names follow PascalCase convention and may contain underscores for custom modules.",
        "minLength": 1,
        "maxLength": 100,
        "pattern": "^[A-Z][A-Za-z0-9_]*$"
      },
      "transfer_to": {
        "type": "string",
        "description": "The ID of an active layout within the same module to transfer the configuration to. Must be different from the layout being deactivated. The target layout must not have any conflicting configurations.",
        "format": "int64"
      }
    },
    "required": [
      "id",
      "module",
      "transfer_to"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Success response for layout deactivation operation |
| `result.data.layouts` | `array` | Yes | — | Array containing the deactivation result Minimum items: 1. Maximum items: 1. |
| `result.data.layouts[].code` | `"SUCCESS"` | Yes | — | Operation result code indicating successful deactivation Allowed: `SUCCESS`. |
| `result.data.layouts[].details` | `object` | Yes | — | Additional details about the deactivated layout |
| `result.data.layouts[].details.id` | `string` | Yes | — | The unique identifier of the deactivated layout Format: `int64`. |
| `result.data.layouts[].message` | `string` | Yes | — | Human-readable confirmation message Maximum length: 200. |
| `result.data.layouts[].status` | `"success"` | Yes | — | Overall 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={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Success response for layout deactivation operation",
        "properties": {
          "layouts": {
            "type": "array",
            "description": "Array containing the deactivation result",
            "minItems": 1,
            "maxItems": 1,
            "items": {
              "type": "object",
              "description": "Layout deactivation result details",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "Operation result code indicating successful deactivation",
                  "enum": [
                    "SUCCESS"
                  ]
                },
                "details": {
                  "type": "object",
                  "description": "Additional details about the deactivated layout",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "The unique identifier of the deactivated layout",
                      "format": "int64"
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false
                },
                "message": {
                  "type": "string",
                  "description": "Human-readable confirmation message",
                  "maxLength": 200
                },
                "status": {
                  "type": "string",
                  "description": "Overall operation status",
                  "enum": [
                    "success"
                  ]
                }
              },
              "required": [
                "code",
                "details",
                "message",
                "status"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "layouts"
        ],
        "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.