Skip to main content
POST
Duplicate 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
name
string

Name of the copy, up to 255 characters. Omitted or empty uses Copy of followed by the original name, in the school language. The complete name must fit the limit.

Maximum string length: 255
idempotency_key
string

Reuse the same key with identical request details to return the existing operation. Different request details with the same key return HTTP 422.

Required string length: 1 - 255
destination_program_id
string

Destination program ID. Defaults to the source program. You need edit access to both programs.

Required string length: 1 - 255
destination_section_group_id
string

Group ID within the destination program. Defaults to that program's last group.

Required string length: 1 - 255

Response

Previously completed duplication request.

id
string
operation
string
status
enum<string>
Available options:
pending,
running,
completed,
failed
result
object | null
error
string | null