Skip to main content
POST
Change a data object's template

Authorizations

x-api-key
string
header
required

Organization-scoped API key (sk-cai-v1-...). Create one in Cloneable Office under Settings → API Keys.

Path Parameters

id
string
required

Body

application/json

Body

target_template_id
string

object_id (uuid) of the template to convert this object to

target_template_name_id
string

name_id of the template to convert this object to

expected_template_id
string

The template object_id the caller believes the object currently has. Rejected with 409 if it has since changed.

expected_template_name_id
string

Same guard, by name_id.

plan
object[]

Response

Success

id
string
required
from_template_name_id
string
required
to_template_name_id
string
required
moved
number
required
kept
number
required
discarded
number
required