Websites

Rename a website

Updates the website’s display name and, when supplied, its URL slug. The slug must be lowercase, URL-safe, unreserved, and unique among active websites in the organization.

patch/websites/{websiteId}

Request

  • Base URL: https://api.cactal.ai/v1
  • URL: https://api.cactal.ai/v1/websites/{websiteId}
  • Auth: HTTP bearer

Path parameters

websiteIdstring required

Request body

namestring required
slugstring

Response

The renamed website.

idstring required

Unique website id.

organizationIdstring required

Id of the organization that owns the website.

namestring required

Display name, 1–200 characters.

slugstring required

URL-safe identifier unique among active websites in the organization.

customDomainsEnabledboolean required

Whether custom domains are enabled. Enabling is owner-only and makes the website a billable site; custom domains can only be attached while true.

headVersioninteger required

Latest draft source version number; starts at 1.

publishedVersioninteger nullable required

Currently published version. null when the website is not published.

createdAtstring date-time required

When the website was created.

updatedAtstring date-time required

When the website was last modified.

Changes

No recorded changes to this operation across all 1 revision of this API.