action stream_io_api_update_app { label: "Update App Settings" description: "This method updates one or more application settings" provider: stream_io_api method: PATCH path: "/app" encoding: json input: { type: "object" properties: { agora_options: { type: "object" required: ["app_certificate", "app_id"] properties: { app_certificate: { type: "string" } app_id: { type: "string" } default_role: { type: "string" enum: ["attendee", "publisher", "subscriber", "admin"] } role_map: { type: "object" } } } apn_config: { type: "object" properties: { Disabled: { type: "boolean" } auth_key: { type: "string" } auth_type: { type: "string" enum: ["certificate", "token"] } bundle_id: { type: "string" } development: { type: "boolean" } host: { type: "string" } key_id: { type: "string" } notification_template: { type: "string" } p12_cert: { type: "string" } team_id: { type: "string" } } } async_moderation_config: { type: "object" properties: { callback: { type: "object" properties: { mode: { type: "string" enum: ["CALLBACK_MODE_NONE", "CALLBACK_MODE_REST", "CALLBACK_MODE_TWIRP"] } server_url: { type: "string" } } } timeout_ms: { type: "number" } } } async_url_enrich_enabled: { type: "boolean" } auto_translation_enabled: { type: "boolean" } before_message_send_hook_url: { type: "string" } cdn_expiration_seconds: { type: "number" } channel_hide_members_only: { type: "boolean" } custom_action_handler_url: { type: "string" } disable_auth_checks: { type: "boolean" } disable_permissions_checks: { type: "boolean" } enforce_unique_usernames: { type: "string" enum: ["no", "app", "team"] } file_upload_config: { type: "object" properties: { allowed_file_extensions: { type: "array" items: { type: "string" } } allowed_mime_types: { type: "array" items: { type: "string" } } blocked_file_extensions: { type: "array" items: { type: "string" } } blocked_mime_types: { type: "array" items: { type: "string" } } } } firebase_config: { type: "object" properties: { Disabled: { type: "boolean" } apn_template: { type: "string" } credentials_json: { type: "string" } data_template: { type: "string" } notification_template: { type: "string" } server_key: { type: "string" } } } grants: { type: "object" } hms_options: { type: "object" additionalProperties: true } huawei_config: { type: "object" properties: { Disabled: { type: "boolean" } id: { type: "string" } secret: { type: "string" } } } image_moderation_block_labels: { type: "array" items: { type: "string" } } image_moderation_enabled: { type: "boolean" } image_moderation_labels: { type: "array" items: { type: "string" } } image_upload_config: { type: "object" additionalProperties: true } migrate_permissions_to_v2: { type: "boolean" } multi_tenant_enabled: { type: "boolean" } permission_version: { type: "string" enum: ["v1", "v2"] } push_config: { type: "object" properties: { offline_only: { type: "boolean" } version: { type: "string" enum: ["v1", "v2"] } } } reminders_interval: { type: "number" } revoke_tokens_issued_before: { type: "string" format: "date-time" } sqs_key: { type: "string" } sqs_secret: { type: "string" } sqs_url: { type: "string" } user_search_disallowed_roles: { type: "array" items: { type: "string" } } video_provider: { type: "string" enum: ["agora", "hms"] } webhook_events: { type: "array" items: { type: "string" } } webhook_url: { type: "string" } xiaomi_config: { type: "object" properties: { Disabled: { type: "boolean" } package_name: { type: "string" } secret: { type: "string" } } } } } output: { type: "object" required: ["duration"] properties: { duration: { type: "string" description: "Duration of the request in human-readable format" } } } }