Skip to content
rw3iss Auth

UpdateAppRequest

UpdateAppRequest

Defined in: dto/app.ts:92

Body for PATCH /admin/apps/{appId}. system_admin only. Every field is optional — only the keys present in the body get applied. To clear a value, pass an empty string / empty array as appropriate (the backend doesn’t currently differentiate “omit” from “set null” beyond the field’s optional/required type).

Properties

allowed_auth_methods?

optional allowed_auth_methods?: string[]

Defined in: dto/app.ts:106


allowed_email_domains?

optional allowed_email_domains?: string[]

Defined in: dto/app.ts:105


allowed_redirect_urls?

optional allowed_redirect_urls?: string[]

Defined in: dto/app.ts:95


auto_grant_on_signup?

optional auto_grant_on_signup?: boolean

Defined in: dto/app.ts:97


default_organization_id?

optional default_organization_id?: string

Defined in: dto/app.ts:107


description?

optional description?: string

Defined in: dto/app.ts:94


frontend_url?

optional frontend_url?: string

Defined in: dto/app.ts:104

Registration policy — PATCH-editable (2026-06). frontend_url: "" clears back to the server’s CLIENT_URL fallback. RISK: verify / reset / magic-link / invitation emails point at this origin — a wrong value strands those flows. default_organization_id: "" clears auto-org-membership.


name?

optional name?: string

Defined in: dto/app.ts:93


read_namespaces?

optional read_namespaces?: string[]

Defined in: dto/app.ts:115


registration_namespace?

optional registration_namespace?: string

Defined in: dto/app.ts:113

User pools — editable post-creation, unlike the older registration policy fields. registration_namespace = default pool; read_namespaces = other pools (login). Send registration_namespaces: [] to clear the legacy plural list so the singular default pool is authoritative.


registration_namespaces?

optional registration_namespaces?: string[]

Defined in: dto/app.ts:114


service_codes?

optional service_codes?: string[]

Defined in: dto/app.ts:96


status?

optional status?: string

Defined in: dto/app.ts:98


webhooks?

optional webhooks?: AppWebhook[]

Defined in: dto/app.ts:117

Outbound webhooks — non-undefined replaces the whole list ([] removes all).