POST /auth/create
Create Auth
Create auths using composable infra architecture.
Request Body (CreateAuthApiRequest)
| Field | Type | Required | Description |
|---|---|---|---|
auths | CreateAuthItem[] | No | List of auth providers to create (required on first call) |
idempotency_key | string | No | Operation key for ack — promotes or rejects a dormant create |
soft | boolean | No | Stage the create dormant (active=False) — propose; the ack ({idempotency_key, accept}) promotes/rejects it |
accept | boolean | No | Accept (promote) or reject dormant state. Only meaningful with idempotency_key |
Response (CreateAuthApiResponse)
| Field | Type | Required | Description |
|---|---|---|---|
results | AuthResultItem[] | Yes | Per-item creation results |
idempotency_key | string | No | Idempotency key echoed back for client correlation |
auths | ListAuthApiAuth[] | No | Hydrated rows for the successfully-created auths (mirrors /auth/search shape) |
Last updated on