Edit page

Update the display name and public slug for a hosted static website.

← All Pages endpoints · Capability overview

PATCH/v1/pages/{page_id}

https://api.vee3.io/v1/pages/{page_id}

20 tokens

Update the display name and public slug for a hosted static website.

Authorization

Send your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

MCP

The same capability is available as an MCP tool on Vee3 hosted MCP.

Tool name

pages.edit
Parameters3 fields
page_idstringRequired

Page id to update.

namestringOptional

Display name for the page. Does not change the public URL. Pass an empty value to clear the name. At most 80 characters.

max length 80

slugstringOptional

New page slug used for the public hostname ({slug}.vee3.site). Must be unique across Vee3. Lowercase alphanumeric characters and hyphens only; 1-48 characters; must start and end with an alphanumeric character.

max length 48

Response10 fields
page_idstring

Unique identifier for the page.

namestring

Display name for the page, if set.

slugstring

Page slug.

statusstring

Current page status.

urlstring

Public HTTPS URL for the page. Uses the custom domain when one is attached.

hostnamestring

Preview hostname ({slug}.vee3.site). Always present, including when a custom domain is attached.

custom_domainstring

Custom hostname attached to the page, if any.

created_atstring

When the page was created.

updated_atstring

When the page record was last updated.

last_deployed_atstring

When files were last deployed to the page.

HTTP errors: unauthorized, validation_error, insufficient_tokens, payment_required, pages_not_configured, pages_upstream_error, page_not_found, page_slug_taken