Skip to Content
API ReferenceAuthPOST /duplicate

POST /auth/duplicate

Duplicate Auth

Duplicate an auth — composable infra architecture.

Request Body (DuplicateAuthApiRequest)

FieldTypeRequiredDescription
auth_idstringYesUUID of the auth provider 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 (DuplicateAuthApiResponse)

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