Websites

Transfer a website to another organization

Moves the website to a different organization. The target must not be the current owner, and you need transfer permission on the website plus website-creation permission in the target organization. When the website has a custom domain, the target organization must have active billing with a free plan slot. If the target organization already has an active website with the same slug, transfer returns a 409. All website-scoped editor grants are removed as part of the transfer.

post/websites/{websiteId}/transfer

Request

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

Path parameters

websiteIdstring required

Request body

targetOrganizationIdstring required

Response

The website under its new organization.

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.