Skip to Content

POST /auth/draft

Patch Auth Draft

Patch auth draft — composable infra architecture.

Request Body (PatchAuthDraftApiRequest)

FieldTypeRequiredDescription
draft_idstringNoExisting draft UUID to update
input_draft_idstringNoExisting draft UUID to update
idempotency_keystringNoStable idempotency key for ack/promote flows
softbooleanNoStage the draft dormant (active=False) — propose; the ack ({idempotency_key, accept}) promotes/rejects it
acceptbooleanNoWhether to accept a pending draft when acknowledging
namestringNoName value to resolve or create
name_idstringNoUUID of the name resource
descriptionstringNoDescription value to resolve or create
description_idstringNoUUID of the description resource
flag_idsstring[]NoSelected flag option UUIDs — canonical; server derives semantics by flag type/value
activebooleanNoDenormalized auth_active flag state; resolved to a flag_ids entry server-side
departmentsstring[]NoDepartment names to resolve
department_idsstring[]NoDepartment UUIDs to assign
protocolsstring[]NoProtocol values to resolve
protocol_idsstring[]NoProtocol resource UUIDs
slugsstring[]NoSlug values to resolve
slug_idsstring[]NoSlug resource UUIDs
item_idsstring[]NoAuth item UUIDs
pending_idsstring[]NoResource IDs to keep pending where supported

Response (PatchAuthDraftApiResponse)

FieldTypeRequiredDescription
successbooleanYesWhether the draft save succeeded
draft_idstringYesUUID of the saved draft
idempotency_keystringNoStable idempotency key for ack/promote flows
messagestringYesResult message
form_stateapp__infra__auth__types__DraftFormStateNoServer-authoritative form state
Last updated on