mutation policyWanFirewallRemoveSubPolicy ( $accountId:ID! $wanFirewallPolicyMutationInput:WanFirewallPolicyMutationInput $wanFirewallRemoveSubPolicyInput:WanFirewallRemoveSubPolicyInput!) {
	policy ( accountId:$accountId ) {
		wanFirewall ( input:$wanFirewallPolicyMutationInput  )  {
			removeSubPolicy ( input:$wanFirewallRemoveSubPolicyInput   ) {
				policy {
					id
					name
					description
					enabled
					rules {
						audit {
							updatedTime
							updatedBy
						}
						rule {
							id
							name
							description
							index
							section {
								id
								name
							}
							enabled
							source {
								host {
									id
									name
								}
								site {
									id
									name
								}
								subnet
								ip
								ipRange {
									from
									to
								}
								globalIpRange {
									id
									name
								}
								networkInterface {
									id
									name
								}
								siteNetworkSubnet {
									id
									name
								}
								floatingSubnet {
									id
									name
								}
								user {
									id
									name
								}
								usersGroup {
									id
									name
								}
								group {
									id
									name
								}
								systemGroup {
									id
									name
								}
							}
							connectionOrigin
							country {
								id
								name
							}
							device {
								id
								name
							}
							deviceOS
							deviceAttributes {
								category
								type
								model
								manufacturer
								os
								osVersion
							}
							destination {
								host {
									id
									name
								}
								site {
									id
									name
								}
								subnet
								ip
								ipRange {
									from
									to
								}
								globalIpRange {
									id
									name
								}
								networkInterface {
									id
									name
								}
								siteNetworkSubnet {
									id
									name
								}
								floatingSubnet {
									id
									name
								}
								user {
									id
									name
								}
								usersGroup {
									id
									name
								}
								group {
									id
									name
								}
								systemGroup {
									id
									name
								}
							}
							application {
								application {
									id
									name
								}
								appCategory {
									id
									name
								}
								customApp {
									id
									name
								}
								customCategory {
									id
									name
								}
								sanctionedAppsCategory {
									id
									name
								}
								domain
								fqdn
								ip
								subnet
								ipRange {
									from
									to
								}
								globalIpRange {
									id
									name
								}
							}
							service {
								standard {
									id
									name
								}
								custom {
									port
									portRange {
										from
										to
									}
									protocol
								}
							}
							action
							tracking {
								event {
									enabled
								}
								alert {
									enabled
									frequency
									subscriptionGroup {
										id
										name
									}
									webhook {
										id
										name
									}
									mailingList {
										id
										name
									}
								}
							}
							schedule {
								activeOn
								customTimeframe {
									from
									to
								}
								customRecurring {
									from
									to
									days
								}
							}
							activePeriod {
								useEffectiveFrom
								effectiveFrom
								useExpiresAt
								expiresAt
							}
							direction
							exceptions {
								name
								source {
									host {
										id
										name
									}
									site {
										id
										name
									}
									subnet
									ip
									ipRange {
										from
										to
									}
									globalIpRange {
										id
										name
									}
									networkInterface {
										id
										name
									}
									siteNetworkSubnet {
										id
										name
									}
									floatingSubnet {
										id
										name
									}
									user {
										id
										name
									}
									usersGroup {
										id
										name
									}
									group {
										id
										name
									}
									systemGroup {
										id
										name
									}
								}
								deviceOS
								destination {
									host {
										id
										name
									}
									site {
										id
										name
									}
									subnet
									ip
									ipRange {
										from
										to
									}
									globalIpRange {
										id
										name
									}
									networkInterface {
										id
										name
									}
									siteNetworkSubnet {
										id
										name
									}
									floatingSubnet {
										id
										name
									}
									user {
										id
										name
									}
									usersGroup {
										id
										name
									}
									group {
										id
										name
									}
									systemGroup {
										id
										name
									}
								}
								country {
									id
									name
								}
								device {
									id
									name
								}
								deviceAttributes {
									category
									type
									model
									manufacturer
									os
									osVersion
								}
								application {
									application {
										id
										name
									}
									appCategory {
										id
										name
									}
									customApp {
										id
										name
									}
									customCategory {
										id
										name
									}
									sanctionedAppsCategory {
										id
										name
									}
									domain
									fqdn
									ip
									subnet
									ipRange {
										from
										to
									}
									globalIpRange {
										id
										name
									}
								}
								service {
									standard {
										id
										name
									}
									custom {
										port
										portRange {
											from
											to
										}
										protocol
									}
								}
								connectionOrigin
								direction
							}
						}
						properties
						ruleType
						subPolicy {
							id
							name
						}
						access {
							action
						}
					}
					sections {
						audit {
							updatedTime
							updatedBy
						}
						section {
							id
							name
						}
						properties
					}
					audit {
						publishedTime
						publishedBy
					}
					revision {
						id
						name
						description
						changes
						createdTime
						updatedTime
					}
					subPolicies {
						policy {
							id
							name
							description
							enabled
							policyLevel
							audit {
								publishedTime
								publishedBy
							}
						}
						properties
						access {
							action
						}
					}
					access {
						action
					}
				}
				status
				errors {
					errorMessage
					errorCode
				}
			}
		}
	}	
}