Skip to main content
POST
Move a Section

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json
destination_program_id
string
required

Destination program ID. You need edit access to both programs. On a cross-program move, the section goes to the end of the destination program. Omit the group ID to use the destination program's last group.

Required string length: 1 - 255
destination_section_group_id
string

Destination section group ID. It must belong to the destination program. Supply it to change groups within the same program. If the section is already in the selected location, the API returns it unchanged.

Required string length: 1 - 255

Response

Successful operation.

id
string
product_id
string
section_group_id
string | null
section_group_position
integer | null
name
string
description
string
position
integer | null
drip_delay
integer
is_published
boolean
image_cover_url
string | null