Skip to Content
API ReferenceProfilePOST /duplicate

POST /profile/duplicate

Duplicate Profile

Duplicate a profile — composable infra architecture.

Request Body (DuplicateProfileApiRequest)

FieldTypeRequiredDescription
target_profile_idstringYesUUID of the profile 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 (DuplicateProfileApiResponse)

FieldTypeRequiredDescription
successbooleanYesWhether the duplication succeeded
profile_idstringYesUUID of the newly created profile
messagestringYesResult message
idempotency_keystringNoIdempotency key echoed back for client correlation
profilesListProfilesApiProfile[]NoHydrated row for the newly-created duplicate profile (mirrors /profile/search shape)
Last updated on