---
title: "Apply group to outbound rule"
method: POST
path: "/outbound_rules/{id}/applied_groups/{group_id}"
tags: ["Outbound Rule"]
---

# Apply group to outbound rule

`POST /outbound_rules/{id}/applied_groups/{group_id}`

## Request

- Base URL: `https://HOSTNAME:8887/api`
- URL: `https://HOSTNAME:8887/api/outbound_rules/{id}/applied_groups/{group_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/docs/outbound_rules/:id/applied_groups/:group_id/post.ts> (a function with typed inputs; its response is checked against the schema)

Apply a group to outbound rule.

## Path parameters

- `id` string, required: The unique ID of the resource.
- `group_id` string, required: The unique ID of the resource.

## Response `200`

OK

## Other responses

- `4XX`: Error

---

[API](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api.md) - [All operations](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/revisions/577415d4a3d5?raw)
