> ## 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 a global picklist by id. Includes SDK V2 and CLI requests, input constraints, response fields, and Deepline credit cost.

Delete a global picklist by id.

<Info>
  Tool ID: `zoho_crm_global_picklists_delete_global_picklist`
</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_global_picklists_delete_global_picklist',
  {
    "id": "id_123"
  },
);

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

### CLI

```bash theme={null}
deepline tools execute zoho_crm_global_picklists_delete_global_picklist --input '{
  "id": "id_123"
}' --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": {
    "global_picklists": [
      {
        "code": "SCHEDULED",
        "message": "Example message",
        "details": {
          "job_id": "job_123"
        },
        "status": "success"
      }
    ]
  }
}
```

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

## Input reference

Deletes a single global picklist identified by the path parameter \&#123;id\&#125;. This request is asynchronous: a 202 Accepted indicates deletion has been scheduled and the response contains a job\_id in details. There is no status-check endpoint. A 400 Bad Request is returned for invalid id, deletion already scheduled, conversion in progress, association limits, or system-defined restrictions. When an error refers to a position in a multi-resource request/path, details.resource\_path\_index is provided.

| Name         | Type     | Required | Default | Details                                      |
| ------------ | -------- | -------- | ------- | -------------------------------------------- |
| `payload.id` | `string` | Yes      | —       | Numeric id of the resource. Format: `int64`. |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Deletes a single global picklist identified by the path parameter \\{id\\}. This request is asynchronous: a 202 Accepted indicates deletion has been scheduled and the response contains a job_id in details. There is no status-check endpoint. A 400 Bad Request is returned for invalid id, deletion already scheduled, conversion in progress, association limits, or system-defined restrictions. When an error refers to a position in a multi-resource request/path, details.resource_path_index is provided.",
    "properties": {
      "id": {
        "type": "string",
        "description": "Numeric id of the resource.",
        "format": "int64"
      }
    },
    "required": [
      "id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                            | Type          | Required | Default | Details                                                                     |
| ----------------------------------------------- | ------------- | -------- | ------- | --------------------------------------------------------------------------- |
| `result.data`                                   | `object`      | Yes      | —       | Response object for scheduled deletion of a global picklist.                |
| `result.data.global_picklists`                  | `array`       | Yes      | —       | Array containing the scheduled deletion response. Maximum items: 1.         |
| `result.data.global_picklists[].code`           | `"SCHEDULED"` | Yes      | —       | Response code indicating the operation was scheduled. Allowed: `SCHEDULED`. |
| `result.data.global_picklists[].message`        | `string`      | Yes      | —       | Human-readable message about the scheduled operation. Maximum length: 255.  |
| `result.data.global_picklists[].details`        | `object`      | Yes      | —       | Additional details about the scheduled deletion.                            |
| `result.data.global_picklists[].details.job_id` | `string`      | Yes      | —       | Background job identifier for the scheduled deletion. Maximum length: 100.  |
| `result.data.global_picklists[].status`         | `"success"`   | Yes      | —       | 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={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Response object for scheduled deletion of a global picklist.",
        "properties": {
          "global_picklists": {
            "type": "array",
            "description": "Array containing the scheduled deletion response.",
            "maxItems": 1,
            "items": {
              "type": "object",
              "description": "Scheduled deletion response details.",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "Response code indicating the operation was scheduled.",
                  "enum": [
                    "SCHEDULED"
                  ]
                },
                "message": {
                  "type": "string",
                  "description": "Human-readable message about the scheduled operation.",
                  "maxLength": 255
                },
                "details": {
                  "type": "object",
                  "description": "Additional details about the scheduled deletion.",
                  "properties": {
                    "job_id": {
                      "type": "string",
                      "description": "Background job identifier for the scheduled deletion.",
                      "maxLength": 100
                    }
                  },
                  "required": [
                    "job_id"
                  ],
                  "additionalProperties": false
                },
                "status": {
                  "type": "string",
                  "description": "Status of the operation.",
                  "enum": [
                    "success"
                  ]
                }
              },
              "required": [
                "code",
                "message",
                "details",
                "status"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "global_picklists"
        ],
        "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)
