Skip to main content
POST
Ensure a deployment build

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
target
enum<string>
required
Available options:
head,
published

Response

The ensured deployment for the resolved source version.

websiteId
string
required

Id of the website.

sourceVersion
integer
required

Source version resolved from target.

deployment
object
required

The reused or newly built deployment.