{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates an App Config for a site","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/magic_identifier"},"site_id":{"$ref":"#/definitions/magic_identifier"},"app_config_id":{"$ref":"#/definitions/magic_identifier"}},"required":["account_id","site_id","app_config_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/magic_app_config_update_request"}},"required":["path","body"],"additionalProperties":false,"definitions":{"magic_identifier":{"description":"Identifier","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"magic_app_config_update_request":{"type":"object","properties":{"account_app_id":{"$ref":"#/definitions/magic_account_app_id"},"breakout":{"$ref":"#/definitions/magic_app_breakout"},"managed_app_id":{"$ref":"#/definitions/magic_managed_app_id"},"preferred_wans":{"$ref":"#/definitions/magic_app_breakout_preferred_wans"},"priority":{"$ref":"#/definitions/magic_app_priority"}}},"magic_account_app_id":{"description":"Magic account app ID.","type":"string","examples":["ac60d3d0435248289d446cedd870bcf4"]},"magic_app_breakout":{"description":"Whether to breakout traffic to the app's endpoints directly. Null preserves default behavior.","type":"boolean","examples":[true]},"magic_managed_app_id":{"description":"Managed app ID.","type":"string","examples":["cloudflare"]},"magic_app_breakout_preferred_wans":{"description":"WAN interfaces to prefer over default WANs, highest-priority first. Can only be specified for breakout rules (breakout must be true).","type":"array","items":{"$ref":"#/definitions/magic_identifier"}},"magic_app_priority":{"description":"Priority of traffic. 0 is default, anything greater is prioritized. (Currently only 0 and 1 are supported)","type":"integer","maximum":1,"minimum":0}}},"name":"Update an App Config","id":"cloudflare.magic-site-app-configs-patch-app-config","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353","site_id":"023e105f4ecef8ad9ca31a8372d0c353","app_config_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":{}},"maxRequests":1,"summary":false}}