---
title: "Divide the agent into different groups, which collect different stream source tasks."
method: POST
path: "/inlong/manager/openapi/agent/bindGroup"
tags: ["Open-Agent-API"]
---

# Divide the agent into different groups, which collect different stream source tasks.

`POST /inlong/manager/openapi/agent/bindGroup`

## Request

- The document declares no server URL.
- Auth: none declared

## Request body

- ClusterNodeBindAndUnbindStreamSourceLabelRequestStreamSourceLabelIsAFilterToJudgeWhetherToAcceptTheStreamSourceTask
  - `agentGroup` string: Cluster agent group
  - `bindClusterNodes` string[]: Cluster node ip list which needs to bind tag
  - `clusterName` string: Cluster name
  - `unbindClusterNodes` string[]: Cluster node ip list which needs to unbind tag

## Response `200`

OK

- ResponseBoolean
  - `data` boolean
  - `errMsg` string
  - `success` boolean

## Other responses

- `201`: Created
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/apache/apis/the-apache-software-foundation-file-api.md) - [All operations](https://skmtc.dev/apache/apis/the-apache-software-foundation-file-api/llms.txt) - [OpenAPI document](https://skmtc.dev/apache/apis/the-apache-software-foundation-file-api/revisions/41c687f48683?raw)
