POST /api/organizations/app
Update organization app settings for the user's current organization. Base access requires MANAGE_APPLICATION_SETTINGS (all members). Editing org-wide registered_marketplaces additionally requires EDIT_ORG_SETTINGS (admin/owner), since those defaults apply to every member. Args: update_data: App settings update data request: The incoming request (used to resolve the target org for the marketplace permission check) service: OrgAppSettingsService (injected by dependency) user_id: Authenticated user ID (injected by require_permission) Returns: OrgAppSettingsResponse: The updated organization app settings Raises: HTTPException: 401 if user is not authenticated HTTPException: 403 if user lacks the required permission HTTPException: 404 if current organization not found HTTPException: 409 if a concurrent modification is detected HTTPException: 400 if validation errors occur (e.g. duplicate names) HTTPException: 500 if update fails
Parameters
| Name | In | Type | Required | Description |
|---|
org_id | query | `string | null` | no |
X-Org-Id | header | `string | null` | no |
Request body
| Field | Type | Required | Description |
|---|
enable_proactive_conversation_starters | `boolean | null` | no |
max_budget_per_task | `number | null` | no |
registered_marketplaces | `faheemcode__app_server__settings__settings_models__MarketplaceRegistration[] | null` | no |
last_known_updated_at | `string | null` | no |
Responses
| Status | Description |
|---|
200 | Successful Response |
422 | Validation Error |
Response body
| Field | Type | Required | Description |
|---|
enable_proactive_conversation_starters | boolean | no | — |
max_budget_per_task | `number | null` | no |
registered_marketplaces | faheemcode__app_server__settings__settings_models__MarketplaceRegistration[] | no | — |
updated_at | `string | null` | no |
Operation ID: update_org_app_settings_api_organizations_app_post