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

# Unpublish Landing Page

> Return a landing page to draft

Unpublish a landing page and return it to draft status. You can optionally
update its name, slug, or content in the same request.

## Request

<ParamField path="landingPageId" type="string" required>
  Landing page ID.
</ParamField>

<ParamField body="name" type="string">
  Optional updated landing page name.
</ParamField>

<ParamField body="slug" type="string">
  Optional updated URL slug.
</ParamField>

<ParamField body="content" type="object">
  Optional updated landing page builder JSON.
</ParamField>

```bash theme={null}
curl -X POST "https://api.sequenzy.com/api/v1/landing-pages/lp_abc123/unpublish" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

## Responses

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "landingPage": {
      "id": "lp_abc123",
      "name": "Product Waitlist",
      "slug": "product-waitlist",
      "status": "draft",
      "appPublicUrl": null,
      "publicUrl": null
    }
  }
  ```

  ```json 400 theme={null}
  {
    "success": false,
    "error": "Invalid landing page content."
  }
  ```

  ```json 401 theme={null}
  {
    "success": false,
    "error": "Unauthorized"
  }
  ```

  ```json 404 theme={null}
  {
    "success": false,
    "error": "Landing page not found"
  }
  ```
</ResponseExample>
