{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates an Account App","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/magic_identifier"},"account_app_id":{"$ref":"#/definitions/magic_identifier"}},"required":["account_id","account_app_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/magic_app_update_request"}},"required":["path","body"],"additionalProperties":false,"definitions":{"magic_identifier":{"description":"Identifier","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"magic_app_update_request":{"type":"object","properties":{"hostnames":{"$ref":"#/definitions/magic_app_hostnames"},"ip_subnets":{"$ref":"#/definitions/magic_app_subnets"},"name":{"$ref":"#/definitions/magic_app_name"},"source_subnets":{"$ref":"#/definitions/magic_app_source_subnets"},"type":{"$ref":"#/definitions/magic_app_type"}},"anyOf":[{"required":["name"],"title":"Update App Name","type":"object"},{"required":["type"],"title":"Update App Type","type":"object"},{"required":["hostnames"],"title":"Update App Hostnames","type":"object"},{"required":["ip_subnets"],"title":"Update App Subnets","type":"object"},{"required":["source_subnets"],"title":"Update App Source Subnets","type":"object"}]},"magic_app_hostnames":{"description":"FQDNs to associate with traffic decisions.","type":"array","items":{"type":"string","examples":["auth.cloudflare.com"]}},"magic_app_subnets":{"description":"IPv4 CIDRs to associate with traffic decisions. (IPv6 CIDRs are currently unsupported)","type":"array","items":{"allOf":[{"$ref":"#/definitions/magic_cidr"},{"type":"string","examples":["1.1.1.1/32"]}]}},"magic_app_name":{"description":"Display name for the app.","type":"string","examples":["Cloudflare Dashboard"]},"magic_app_source_subnets":{"description":"IPv4 CIDRs to associate with traffic decisions. (IPv6 CIDRs are currently unsupported)","type":"array","items":{"allOf":[{"$ref":"#/definitions/magic_cidr"},{"type":"string","examples":["1.1.1.1/32"]}]}},"magic_app_type":{"description":"Category of the app.","type":"string","examples":["Development"]},"magic_cidr":{"description":"A valid CIDR notation representing an IP range.","type":"string","examples":["192.0.2.0/24"]}}},"name":"Update an App","id":"cloudflare.magic-account-apps-update-app","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353","account_app_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":{"name":"Cloudflare Dashboard"}},"maxRequests":1,"summary":false}}