Update App
update_appUpdate app-level settings on the Bridge app. Only the fields you pass are changed: name (display name shown on the hosted auth pages and in emails), apiUrl (your backend's base URL), uiUrl (your frontend's base URL — used to build links in invitation and password-reset emails), webhookUrl (where Bridge POSTs platform events), defaultCallbackUri (the OAuth callback used when a login flow does not name one), allowedOrigins (CORS origins), tenantSelfSignup (whether a new user may create their own workspace instead of being invited) and paymentsAutoRedirect (force new users to pick a plan before entering the app — a billing paywall). WARNING: allowedOrigins REPLACES the entire list, so call get_app first and pass the existing origins plus the new one; the previous list is returned as previousAllowedOrigins so a mistake can be undone. Redirect URIs are NOT settable here — use add_redirect_uri / remove_redirect_uri, which preserve the rest of the list. Login methods are not settable here either — use update_auth_methods, or setup_sso for a provider with credentials. Token lifetimes: use update_password_policy. Before writing app code that consumes this, call get_integration_guide with topic=auth and the framework the app uses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Id of the Bridge app to act on for this call (see list_apps). Omit to use the current app. | |
| name | No | App display name. | |
| uiUrl | No | Frontend base URL, absolute http(s). Used to build email links. | |
| apiUrl | No | Backend base URL, absolute http(s). | |
| webhookUrl | No | Absolute http(s) URL Bridge POSTs platform events to. | |
| allowedOrigins | No | CORS origins (scheme://host[:port]). REPLACES the whole list — include the existing origins from get_app, not just the new one. | |
| tenantSelfSignup | No | Allow users to create their own workspace instead of being invited. | |
| defaultCallbackUri | No | Default OAuth callback URI, absolute http(s). | |
| paymentsAutoRedirect | No | Force new users to pick a plan before entering the app (billing paywall). |