Skip to Content
API ReferenceAuthPOST /create

POST /auth/create

Create Auth

Create auths using composable infra architecture.

Request Body (CreateAuthApiRequest)

FieldTypeRequiredDescription
authsCreateAuthItem[]NoList of auth providers to create (required on first call)
idempotency_keystringNoOperation key for ack — promotes or rejects a dormant create
softbooleanNoStage the create dormant (active=False) — propose; the ack ({idempotency_key, accept}) promotes/rejects it
acceptbooleanNoAccept (promote) or reject dormant state. Only meaningful with idempotency_key

Response (CreateAuthApiResponse)

FieldTypeRequiredDescription
resultsAuthResultItem[]YesPer-item creation results
idempotency_keystringNoIdempotency key echoed back for client correlation
authsListAuthApiAuth[]NoHydrated rows for the successfully-created auths (mirrors /auth/search shape)
Last updated on