Skip to main content
POST
Duplicate a Program

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Program ID.

Body

name
string

Name of the copy, up to 255 characters. If omitted or empty, uses the original name with the translated Copy of prefix; the resulting name must fit this limit.

Maximum string length: 10000
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

Response

Existing duplication request. Check its status.

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