**Version: 202201**

# Update Page

**PUT** `/openapi/2022-01/pages/:id`

Update the details of an existing page using its unique identifier.

## Request

**Path Parameters**

- `id` string (required)

  Page's id

**application/json**

**Body | Example**

**Body**

- `title` string

  The title of the page.
- `content` string

  Page content
- `url` string

  The url of the page.
- `meta_title` string

  The SEO title of the page.
- `meta_keyword` string

  The SEO keyword of the page.
- `meta_description` string

  The SEO description of the page.
- `independent_seo` boolean

  Decide whether the seo title is edited independently.

```json
{
  "title": "string",
  "content": "string",
  "url": "string",
  "meta_title": "string",
  "meta_keyword": "string",
  "meta_description": "string",
  "independent_seo": true
}
```

## Responses

**200**

200

**application/json**

**Schema | Example | Result**

**Schema**

- `page` object

  - `id` integer

    **Default value:** `0`

    **Example:** `15978`
  - `title` string

    **Example:** `update`
  - `content` string

    **Example:**
  - `status` integer

    **Default value:** `0`

    **Example:** `1`
  - `created_at` string

    **Example:** `1714377411`
  - `updated_at` string

    **Example:** `1714378399`
  - `url` string

    **Example:** `/pages/update`
  - `meta_title` string

    **Example:** `update`
  - `meta_keyword` string

    **Example:**
  - `meta_description` string

    **Example:**
  - `independent_seo` boolean

    **Default value:** `true`

    **Example:** `false`

```json
{
  "page": {
    "id": 15978,
    "title": "update",
    "content": "",
    "status": 1,
    "created_at": "1714377411",
    "updated_at": "1714378399",
    "url": "/pages/update",
    "meta_title": "update",
    "meta_keyword": "",
    "meta_description": "",
    "independent_seo": false
  }
}
```

```json
{
  "page": {
    "id": 15978,
    "title": "update",
    "content": "",
    "status": 1,
    "created_at": "1714377411",
    "updated_at": "1714378399",
    "url": "/pages/update",
    "meta_title": "update",
    "meta_keyword": "",
    "meta_description": "",
    "independent_seo": false
  }
}
```
