Skip to Content
API ReferenceSettingPOST /duplicate

POST /setting/duplicate

Duplicate Setting

Duplicate a setting — composable infra architecture.

Request Body (DuplicateSettingApiRequest)

FieldTypeRequiredDescription
setting_idstringYesUUID of the setting to duplicate
idempotency_keystringNoOperation key for ack — promotes or rejects a dormant duplicate
softbooleanNoStage the duplicate dormant (active=False) — propose; the ack ({idempotency_key, accept}) promotes/rejects it
acceptbooleanNoAccept (promote) or reject dormant state. Only meaningful with idempotency_key

Response (DuplicateSettingApiResponse)

FieldTypeRequiredDescription
successbooleanYesWhether the duplication succeeded
setting_idstringYesUUID of the newly created setting
messagestringYesResult message
settingsListSettingApiSetting[]NoHydrated list row(s) for the duplicated setting. Single-element list (kept as a list for shape consistency with create/update) so the client’s ghost rail can materialize the new card directly.
idempotency_keystringNoIdempotency key echoed back for client correlation
Last updated on