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

# Clay Enterprise: Clay Privacy Delete People

> Permanently delete people from your Clay Audiences by email, LinkedIn slug or phone, returning a job ID. preview first with dry_run.

Permanently delete people from your Clay Audiences by email, LinkedIn slug or phone, returning a job ID. preview first with dry\_run.

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

## 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(
  'clay_privacy_delete_people',
  {
    "person_identifiers": [
      {}
    ]
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline run clay_privacy_delete_people --input '{
  "person_identifiers": [
    {}
  ]
}'
```

## Example response

The static output schema lacks the details for a reliable example. Use `deepline describe clay_privacy_delete_people --json` for the complete live contract.

## Input reference

Identifies people to delete within the workspace associated with your API key.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.dry_run` | `boolean` | No | `false` | Preview the number of matching people without queueing deletion. Defaults to false. |
| `payload.person_identifiers` | `array` | Yes | — | Provide 1–100 email, LinkedIn slug, or phone identifiers. People matching any identifier are selected. Minimum items: 1. Maximum items: 100. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Identifies people to delete within the workspace associated with your API key.",
    "properties": {
      "dry_run": {
        "type": "boolean",
        "description": "Preview the number of matching people without queueing deletion. Defaults to false.",
        "default": false
      },
      "person_identifiers": {
        "type": "array",
        "description": "Provide 1–100 email, LinkedIn slug, or phone identifiers. People matching any identifier are selected.",
        "minItems": 1,
        "maxItems": 100,
        "items": {
          "type": "object",
          "additionalProperties": true
        }
      }
    },
    "required": [
      "person_identifiers"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.matched_count` | `integer` | Yes | — | The number of unique matching people, including archived people. No deletion was queued. |
| `result.data.status` | `"dry_run"` | Yes | — | — |
| `result.data.job_id` | `string` | Yes | — | Deletion job ID for asynchronous processing. |
| `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": {
        "description": "Provider response payload.",
        "anyOf": [
          {
            "description": "Returns HTTP 200 for a dry-run preview or when no people match.",
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "matched_count": {
                    "type": "integer",
                    "description": "The number of unique matching people, including archived people. No deletion was queued.",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "status": {
                    "type": "string",
                    "const": "dry_run"
                  }
                },
                "required": [
                  "status",
                  "matched_count"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "matched_count": {
                    "type": "number",
                    "description": "No matching people were found.",
                    "const": 0
                  },
                  "status": {
                    "type": "string",
                    "const": "no_matches"
                  }
                },
                "required": [
                  "status",
                  "matched_count"
                ],
                "additionalProperties": false
              }
            ]
          },
          {
            "type": "object",
            "description": "Returns HTTP 202 when deletion is queued.",
            "properties": {
              "job_id": {
                "type": "string",
                "description": "Deletion job ID for asynchronous processing."
              },
              "status": {
                "type": "string",
                "const": "in_progress"
              }
            },
            "required": [
              "status",
              "job_id"
            ],
            "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

* [Connect integrations](https://deepline.com/docs/integrations.md)
* [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.