> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Lead Form Status

> Updates the status of a Meta Instant Form (lead gen form): ACTIVE, ARCHIVED, DELETED, or DRAFT

Updates the status of a Meta Instant Form (lead gen form): ACTIVE, ARCHIVED, DELETED, or DRAFT. Status is the only property Meta allows changing on an existing form; to change content, create a new form and archive the old one. ARCHIVED is reversible, DELETED is permanent.

|                       |                                |
| --------------------- | ------------------------------ |
| **App**               | Meta Ads                       |
| **Operation ID**      | `meta_update_lead_form_status` |
| **Type**              | Action                         |
| **Connection**        | `meta_ads` (required)          |
| **Credits per run**   | 1                              |
| **Agent / MCP tool**  | Yes                            |
| **Requires approval** | Yes (write operation)          |

## Inputs

| Field     | Type                       | Required | Default | Description                                                                                                                                                                                                     |
| --------- | -------------------------- | -------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `page`    | SelectItem                 | Yes      | -       | Select the Facebook page that owns the lead form, ask the user for it if not provided                                                                                                                           |
| `form_id` | string                     | Yes      | -       | Lead form ID, e.g. from meta\_list\_lead\_forms                                                                                                                                                                 |
| `status`  | string or SelectableOption | Yes      | -       | New form status. Status is the only thing Meta allows updating on a lead form. ARCHIVED is reversible (set ACTIVE to restore); DELETED is permanent, prefer ARCHIVED unless the user explicitly wants deletion. |

### SelectItem

| Field   | Type   | Required | Default | Description                                                                                          |
| ------- | ------ | -------- | ------- | ---------------------------------------------------------------------------------------------------- |
| `value` | string | Yes      | -       | The value of the selectable item.                                                                    |
| `label` | string | Yes      | -       | The label of the selectable item, used for display purposes. If not provided, defaults to the value. |

### SelectableOption

| Field   | Type   | Required | Default | Description |
| ------- | ------ | -------- | ------- | ----------- |
| `value` | string | Yes      | -       |             |
| `label` | string | Yes      | -       |             |

## Output

**Type**: `Dict`

Returns the form id and its new status.

**Fields**: `form_id`, `status`
