Skip to main content
POST

Authorizations

Authorization
string
header
required

Can be either an Organization API Key or Personal Access Token (PAT).

Include in the Authorization header as: Bearer YOUR_TOKEN

Path Parameters

branch_id
string<uuid>
required

The organization-wide branch ID (orgBranchId). This isn't the same as the ID of a branch model.

Example:

"123e4567-e89b-12d3-a456-426614174001"

Query Parameters

userId
string<uuid>

Organization API key required. The membership ID of the user to act as.

Body

application/json
destination
Branch · object
required

Where to move the parts.

branchModelIds
string<uuid>[]

IDs of the model changes to move: the id of each model part returned by the Get a branch endpoint. Every draft built on a moved change moves with it.

draftIds
string<uuid>[]

IDs of the drafts to move on their own: the id of each draft part returned by the Get a branch endpoint. A draft listed under a moving model change doesn't need to be named here.

Response

The parts moved.

destination
object | null
required

The branch the parts were moved to. null when the destination was production.

movedBranchModelIds
string<uuid>[]
required

The requested branchModelIds that moved.

movedDraftIds
string<uuid>[]
required

The drafts that moved, limited to drafts the caller can see. A draft that moved along with a model change is omitted if the caller can't see it.

movedDraftCount
integer
required

How many drafts moved in total, including ones that moved with a model change and ones the caller can't see.

success
boolean
required