Skip to main content

Create a new deployment

POST 

/v1/click/deployments

Deploys a published version of a template to a domain, path and environment. Send the version’s ID in versionId; the deployment serves it, as revision 1, until it is moved, rolled back, or follows a newer minor or patch of the same major. The combination of domain, environment, path and variant must be unique in your organization (409 CLICK_DEPLOYMENT_SLOT_TAKEN).

Request​

Responses​

Deployment created successfully

Response Headers
    X-Request-Id

    Correlation id for this request, returned on every response (success and error). Quote it when contacting support to pinpoint the exact request, and use it to correlate your own logs. It is the same 128-bit id as the trace-id segment of the traceparent header.

    traceparent

    W3C Trace Context identifier for this request, returned on every response. Send your own traceparent on a request to have it adopted, so a multi-call workflow shares one trace. Format: 00-<32-hex trace-id>-<16-hex span-id>-<2-hex flags>.