Paywalls V2

Promote Headless Version

Points production at a pushed headless version (the latest by default): repoints the deployed version and stamps the paywall URL delivered to SDKs. Requires paywalls:write scope.

post/v2/paywalls/{id}/promote

Path parameters

idstring required

Paywall ID

Paywall ID

Request body

versionnumber

The pushed version number to promote. Defaults to the latest pushed version.

Response

Success

object'paywall' required

Object type, always paywall

idstring required

ID of the paywall

versionnumber required

The version now live in production

urlstring required

Immutable URL of the now-live snapshot

promoted_atstring required

ISO 8601 timestamp of when the version was promoted

Changes

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