Skip to main content
POST
Unpublish a version

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Content ID

projectId
string
required

Project ID

Body

application/json
environmentId
string
required

The environment to clear the live version in.

Response

Unpublished; returns the content

id
string
required
object
enum<string>
required
Available options:
content
name
string
required
type
enum<string>
required
Available options:
checklist,
flow,
launcher,
banner,
tracker,
resource-center,
announcement
buildUrl
string | null
required

URL of the app page where this content is authored and previewed (the visual editor opens it there). Metadata only — it plays NO part in runtime targeting; where content shows is controlled by its start rules.

editedVersionId
string
required
environments
object[]
required

Where this content is live RIGHT NOW: one row per environment it is currently published to (empty = published nowhere). Rows disappear on unpublish.

deleted
boolean
required
updatedAt
string<date-time>
required
createdAt
string<date-time>
required
editedVersion
object