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

# Update Custom Page Set

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

## Request

- Base URL: `https://api.gcore.com`
- URL: `https://api.gcore.com/waap/v2/custom-page-sets/{set_id}`
- Auth: HTTP apikey

Fields with a value are updated, fields set to null are removed, and fields omitted are left unchanged (`name` cannot be removed). When updating a custom page, include all fields it should have — any field not included is 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 `200`

Successful Response

- CustomPageSetResponse
  - `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, required: Name of the custom page set
  - `id` integer, required: The ID of the custom page set

## Other responses

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

## Changes

- **2026-09-14** `3a73a1e91e66`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/g-core/apis/gcore-openapi/changes/waap/v2/custom-page-sets/:set_id/patch.md)

---

[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.dev/g-core/apis/gcore-openapi/revisions/a2b772345f3a?raw)
