latestSwagger 2.02026-08-104652131.5 KB
614091456d31
AGENT
Assign agents to default config group and pipeline using token
Using a valid agent token, this API assigns the provided agents (hosts or k8s) to the specified default configuration group and automatically attaches them to the corresponding default ingestion pipeline (default-host or default-k8s).
put/agent/public/setting/config-groups/{token}/{groupName}
Path parameters
tokenstring required
Agent Token
groupNamestring required
Default configuration group name
Query parameters
agent_typestring
Agent type (host or k8s). Defaults to host
Request body
object required
Response
Agents successfully assigned to config group and pipeline
object required