---
title: "Update a custom page set"
method: PATCH
path: "/waap/v1/custom-page-sets/{set_id}"
tags: ["Custom Page Sets"]
---

# Update a custom page set

`PATCH /waap/v1/custom-page-sets/{set_id}`

Update a custom page set based on the provided parameters.
To update a field, provide the field with the new value.
To remove a field, provide it as null.
To keep a field unaltered, do not include it in the request.
Note: `name` cannot be removed.
When updating a custom page, include all the fields that you want it to have. Any field not included will be removed.

## Path parameters

- `set_id` integer, required — The ID of the custom page set

## Request body

- CustomPageSetUpdate — Update a custom page set
  - `domains` integer[], nullable — List of domain IDs that are associated with this page set
  - `block` BlockPageData
    - `logo` string — Supported image types are JPEG, PNG and JPG, size is limited to width 450px, height 130px. This should be a base 64 encoding of the full HTML img tag compatible image, with the header included.
    - `header` string — The text to display in the header of the custom page
    - `title` string — The text to display in the title of the custom page
    - `text` string — The text to display in the body of the custom page
    - `enabled` boolean, required — Indicates whether the custom custom page is active or inactive
  - `block_csrf` BlockCsrfPageData
    - `logo` string — Supported image types are JPEG, PNG and JPG, size is limited to width 450px, height 130px. This should be a base 64 encoding of the full HTML img tag compatible image, with the header included.
    - `header` string — The text to display in the header of the custom page
    - `title` string — The text to display in the title of the custom page
    - `text` string — The text to display in the body of the custom page
    - `enabled` boolean, required — Indicates whether the custom custom page is active or inactive
  - `captcha` CaptchaPageData
    - `logo` string — Supported image types are JPEG, PNG and JPG, size is limited to width 450px, height 130px. This should be a base 64 encoding of the full HTML img tag compatible image, with the header included.
    - `header` string — The text to display in the header of the custom page
    - `title` string — The text to display in the title of the custom page
    - `text` string — The text to display in the body of the custom page
    - `error` string — Error message
    - `enabled` boolean, required — Indicates whether the custom custom page is active or inactive
  - `cookie_disabled` CookieDisabledPageData
    - `header` string — The text to display in the header of the custom page
    - `text` string — The text to display in the body of the custom page
    - `enabled` boolean, required — Indicates whether the custom custom page is active or inactive
  - `handshake` HandshakePageData
    - `logo` string — Supported image types are JPEG, PNG and JPG, size is limited to width 450px, height 130px. This should be a base 64 encoding of the full HTML img tag compatible image, with the header included.
    - `header` string — The text to display in the header of the custom page
    - `title` string — The text to display in the title of the custom page
    - `enabled` boolean, required — Indicates whether the custom custom page is active or inactive
  - `javascript_disabled` JavascriptDisabledPageData
    - `header` string — The text to display in the header of the custom page
    - `text` string — The text to display in the body of the custom page
    - `enabled` boolean, required — Indicates whether the custom custom page is active or inactive
  - `name` string, nullable — Name of the custom page set

## Response `204`

Successful Response

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Unauthenticated
- `404` — Not Found
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

[API](https://skmtc.dev/g-core/apis/gcore-openapi.md) · [All operations](https://skmtc.dev/g-core/apis/gcore-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/g-core/gcore-openapi/revisions/09e652815095/schema)
