Applied groups
Retrieve a collection of user groups applied to outbound rule.
Authorizations
Path parameters
idall ofRequired
The unique ID of outbound rule.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
Responses
200
OK
application/json
4XX
Error
get
GET /api/outbound_rules/{id}/applied_groups HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"id": "NzAwNTUxOTA5NzczMTQ4MTYw",
"name": "text",
"description": "text"
}
]
}
Check if a group has outbound rule applied.
Authorizations
Path parameters
idall ofRequired
The unique ID of outbound rule.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
group_idall ofRequired
The unique ID of user group.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
Responses
200
OK
application/json
404
Not Found
get
GET /api/outbound_rules/{id}/applied_groups/{group_id} HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "NzAwNTUxOTA5NzczMTQ4MTYw",
"name": "text",
"description": "text"
}
Apply a group to outbound rule.
Authorizations
Path parameters
idall ofRequired
The unique ID of outbound rule.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
group_idall ofRequired
The unique ID of user group.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
Responses
200
OK
4XX
Error
post
POST /api/outbound_rules/{id}/applied_groups/{group_id} HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content