Skip to main content
POST
Publish the head version

Authorizations

Authorization
string
header
required

Cactal API key. Create one in the dashboard or via POST /apiKeys. The plaintext key is shown once at creation.

Body

application/json
websiteId
string
required
Minimum string length: 1
leaseToken
string
required
Minimum string length: 1

Response

The published version now live and its serving deployment.

websiteId
string
required

Id of the website.

publishedVersion
integer
required

Source version now live.

formattingApplied
boolean
required

true when canonical formatting was committed as a new head version before publishing; re-read affected files before further edits.

deployment
object

The ready deployment now serving the site.