pages.edit
Update a hosted static website for this Vee3 account.
Change the display name and/or the public slug. Changing the slug moves the preview hostname to {slug}.vee3.site and issues a new TLS certificate. An attached custom domain stays in place. Pass at least one of name or slug.
Cost = 20 tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name for the page. Does not change the public URL. Pass an empty value to clear the name. At most 80 characters. | |
| slug | No | 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. | |
| page_id | Yes | Page id to update. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public HTTPS URL for the page. Uses the custom domain when one is attached. | |
| name | No | Display name for the page, if set. | |
| slug | No | Page slug. | |
| status | No | Current page status. | |
| page_id | No | Unique identifier for the page. | |
| hostname | No | Preview hostname ({slug}.vee3.site). Always present, including when a custom domain is attached. | |
| created_at | No | When the page was created. | |
| updated_at | No | When the page record was last updated. | |
| custom_domain | No | Custom hostname attached to the page, if any. | |
| last_deployed_at | No | When files were last deployed to the page. |