Skip to main content
POST
Merge Pillars

Authorizations

x-api-key
string
header
required

API key for authentication. You can create one here.

Body

application/json
website_id
string<uuid>
required

The website whose pillars to merge.

target_pillar_id
string<uuid>
required

The published pillar that survives and receives the sources' facts.

source_pillar_ids
string<uuid>[]
required

Pillars to fold into the target. Deleted after the merge.

Required array length: 1 - 20 elements

Response

Merge report

success
enum<boolean>
required
Available options:
true
moved_fact_count
integer
required

Facts re-filed from the sources onto the target.

merged_pillars
object[]
required

The deleted source pillars, in request order. A deleted pillar cannot be re-fetched, so this is the caller's record.

pillar
object
required

The surviving target pillar.