---
title: "Partially update a Custom Page"
method: PATCH
path: "/workspace/custom_pages/{custom_page_id}"
tags: ["Custom Pages"]
---

# Partially update a Custom Page

`PATCH /workspace/custom_pages/{custom_page_id}`

Update one or more fields of an existing Custom Page without affecting other fields.

## Path parameters

- `custom_page_id` integer, required

## Request body

- PatchedCustomPageRequest
  - `name` string
  - `active` boolean
  - `pages` PageRequestBase[]
    - `code` 'default' | '400' | '401' | '403' | '404' | '405' | '406' | '408' | '409' | '410' | '411' | '414' | '415' | '416' | '426' | '429' | '431' | '500' | '501' | '502' | '503' | '504' | '505', required — * `default` - default * `400` - Bad Request * `401` - Unauthorized * `403` - Forbidden * `404` - Not Found * `405` - Method Not Allowed * `406` - Not Acceptable * `408` - Request Timeout * `409` - Conflict * `410` - Gone * `411` - Length Required * `414` - URI Too Long * `415` - Unsupported Media Type * `416` - Range Not Satisfiable * `426` - Upgrade Required * `429` - Too Many Requests * `431` - Request Header Fields Too Large * `500` - Internal Server Error * `501` - Not Implemented * `502` - Bad Gateway * `503` - Service Unavailable * `504` - Gateway Timeout * `505` - HTTP Version Not Supported
    - `page` PageRequest, required
      - `type` string, required
      - `attributes` PageConnectorAttributesRequest, required
        - `connector` integer, required
        - `ttl` integer
        - `uri` string, nullable
        - `custom_status_code` integer, nullable

## Response `200`

Custom page partially updated successfully.

- CustomPageResponse
  - `state` string
  - `data` CustomPage, required
    - `id` integer, required
    - `name` string, required
    - `last_editor` string, required
    - `last_modified` string, date-time, required
    - `created_at` string, date-time, required
    - `active` boolean
    - `product_version` string, required
    - `pages` PageBase[], required
      - `code` 'default' | '400' | '401' | '403' | '404' | '405' | '406' | '408' | '409' | '410' | '411' | '414' | '415' | '416' | '426' | '429' | '431' | '500' | '501' | '502' | '503' | '504' | '505', required — * `default` - default * `400` - Bad Request * `401` - Unauthorized * `403` - Forbidden * `404` - Not Found * `405` - Method Not Allowed * `406` - Not Acceptable * `408` - Request Timeout * `409` - Conflict * `410` - Gone * `411` - Length Required * `414` - URI Too Long * `415` - Unsupported Media Type * `416` - Range Not Satisfiable * `426` - Upgrade Required * `429` - Too Many Requests * `431` - Request Header Fields Too Large * `500` - Internal Server Error * `501` - Not Implemented * `502` - Bad Gateway * `503` - Service Unavailable * `504` - Gateway Timeout * `505` - HTTP Version Not Supported
      - `page` Page, required
        - `type` string, required
        - `attributes` PageConnectorAttributes, required
          - `connector` integer, required
          - `ttl` integer
          - `uri` string, nullable
          - `custom_status_code` integer, nullable

## Other responses

- `400` — Validation Error
- `401` — Authentication Failed
- `403` — Permission Denied
- `404` — Not Found
- `405` — Method Not Allowed
- `406` — Not Acceptable
- `429` — Throttled
- `500` — Internal Server Error

---

[API](https://skmtc.dev/azion/apis/azion-api.md) · [All operations](https://skmtc.dev/azion/apis/azion-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azion/azion-api/revisions/bb3250697218/schema)
