---
title: "Patch portal page"
method: PATCH
path: "/portal-pages/{pageId}"
tags: ["Portal Pages"]
---

# Patch portal page

`PATCH /portal-pages/{pageId}`

User must have the ENVIRONMENT_DOCUMENTATION[update] permission.

## Path parameters

- `pageId` string, required

## Request body

- PatchPortalPage — Update portal page payload
  - `content` string — The content of the page in Gravitee Markdown format

## Response `200`

A portal page

- PortalPageWithDetails — A portal page with details
  - `id` string — The unique ID of the portal page
  - `content` string — Page contents
  - `type` 'gravitee_markdown' — Content type
  - `context` 'homepage' — The portal context (eg. "homepage", "api_list")
  - `published` boolean — Whether the page is published or not

## Other responses

- `default` — Generic error response

---

[API](https://skmtc.net/gravitee-io/apis/gravitee-io-apim-management-api-environments.md) · [All operations](https://skmtc.net/gravitee-io/apis/gravitee-io-apim-management-api-environments/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gravitee-io/gravitee-io-apim-management-api-environments/revisions/b736a7e375df/schema)
