Sure, please find below example for both Policy Object and Groups tagging a particular firewall rule.
Policy Object tagging to a firewall rule:
API URL: https://api.meraki.com/api/v1/networks/{{ network id}}/appliance/firewall/l3FirewallRules
{
"rules": [
{
"comment": "Allow TCP traffic to subnet with HTTP servers.",
"policy": "allow",
"protocol": "tcp",
"destPort": "443",
"destCidr": "OBJ(1234567890)", #### 1234567890 is the Policy Object id
"srcPort": "Any",
"srcCidr": "10.10.10.0/24",
"syslogEnabled": false
} ]
}
Policy Groups tagging to a firewall rule:
API URL: https://api.meraki.com/api/v1/networks/{{ network id}}/appliance/firewall/l3FirewallRules
{
"rules": [
{
"comment": "Allow TCP traffic to subnet with HTTP servers.",
"policy": "allow",
"protocol": "tcp",
"destPort": "443",
"destCidr": "GRP(7894564679)", #### 7894564679 is the Policy Group id
"srcPort": "Any",
"srcCidr": "10.10.10.0/24",
"syslogEnabled": false
} ]
}
Hope this helps