Was this helpful?
Retrieve a collection of user groups applied to outbound rule.
/outbound_rules/{id}/applied_groups
The unique ID of outbound rule.
curl -L \ --url 'https://HOSTNAME:8887/api/outbound_rules/{id}/applied_groups' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "items": [ { "name": "text", "description": "text", "id": "NzAwNTUxOTA5NzczMTQ4MTYw" } ] }
Check if a group has outbound rule applied.
/outbound_rules/{id}/applied_groups/{group_id}
The unique ID of user group.
curl -L \ --url 'https://HOSTNAME:8887/api/outbound_rules/{id}/applied_groups/{group_id}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "name": "text", "description": "text", "id": "NzAwNTUxOTA5NzczMTQ4MTYw" }
Apply a group to outbound rule.
curl -L \ --request POST \ --url 'https://HOSTNAME:8887/api/outbound_rules/{id}/applied_groups/{group_id}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
No body