> ## 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.

# Pipedrive: Delete Project Field

> Delete one project field. Includes SDK V2 and CLI requests, input constraints, response fields, and Deepline credit cost.

Delete one project field.

<Info>
  Tool ID: `pipedrive_delete_project_field`
</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(
  'pipedrive_delete_project_field',
  {
    "field_code": "example"
  },
);

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

### CLI

```bash theme={null}
deepline tools execute pipedrive_delete_project_field --input '{
  "field_code": "example"
}' --json
```

## Example response

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

```json theme={null}
{
  "data": {
    "success": true,
    "data": {
      "field_name": "Example",
      "field_code": "example",
      "field_type": "example",
      "is_custom_field": true,
      "is_optional_response_field": true
    }
  }
}
```

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

## Input reference

Marks a custom field as deleted.

| Name                 | Type     | Required | Default | Details                               |
| -------------------- | -------- | -------- | ------- | ------------------------------------- |
| `payload.field_code` | `string` | Yes      | —       | The unique code identifying the field |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Marks a custom field as deleted.",
    "properties": {
      "field_code": {
        "type": "string",
        "description": "The unique code identifying the field"
      }
    },
    "required": [
      "field_code"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                          | Type            | Required | Default | Details                                                                    |
| --------------------------------------------- | --------------- | -------- | ------- | -------------------------------------------------------------------------- |
| `result.data`                                 | `object`        | Yes      | —       | Provider response payload.                                                 |
| `result.data.success`                         | `boolean`       | No       | —       | Whether the request was successful                                         |
| `result.data.data`                            | `object`        | No       | —       | —                                                                          |
| `result.data.data.field_name`                 | `string`        | Yes      | —       | The display name/label of the field                                        |
| `result.data.data.field_code`                 | `string`        | Yes      | —       | The unique identifier for the field (40-character hash for custom fields)  |
| `result.data.data.field_type`                 | `string`        | Yes      | —       | The type of the field                                                      |
| `result.data.data.options`                    | `array \| null` | No       | —       | Array of available options for enum/set fields, null for other field types |
| `result.data.data.subfields`                  | `array \| null` | No       | —       | Array of subfields for complex field types, null for simple field types    |
| `result.data.data.is_custom_field`            | `boolean`       | Yes      | —       | Whether this is a user-created custom field                                |
| `result.data.data.is_optional_response_field` | `boolean`       | Yes      | —       | Whether this field is not returned by default in entity responses          |
| `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": "Provider response payload.",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Whether the request was successful"
          },
          "data": {
            "type": "object",
            "properties": {
              "field_name": {
                "type": "string",
                "description": "The display name/label of the field"
              },
              "field_code": {
                "type": "string",
                "description": "The unique identifier for the field (40-character hash for custom fields)"
              },
              "field_type": {
                "type": "string",
                "description": "The type of the field"
              },
              "options": {
                "type": [
                  "array",
                  "null"
                ],
                "description": "Array of available options for enum/set fields, null for other field types",
                "items": {
                  "type": "object"
                }
              },
              "subfields": {
                "type": [
                  "array",
                  "null"
                ],
                "description": "Array of subfields for complex field types, null for simple field types",
                "items": {
                  "type": "object"
                }
              },
              "is_custom_field": {
                "type": "boolean",
                "description": "Whether this is a user-created custom field"
              },
              "is_optional_response_field": {
                "type": "boolean",
                "description": "Whether this field is not returned by default in entity responses"
              }
            },
            "required": [
              "field_name",
              "field_code",
              "field_type",
              "is_custom_field",
              "is_optional_response_field"
            ],
            "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

* [Pipedrive provider guide](/docs/providers/pipedrive/guide)
* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
