---
title: "Add Agent to Groups."
method: POST
path: "/agents/{id}/groups"
tags: ["Agents"]
---

# Add Agent to Groups.

`POST /agents/{id}/groups`

Add a specific Agent to one or more existing user groups in your SysAid account.

## Request body

- GroupIds
  - `groupIds` integer[], required — One or more SysAid Group IDs.

## Response `200`

Groups successfully added to the agent.

- SuccessfulResponse
  - `success` boolean

## Other responses

- `400` — The request was invalid or cannot be served
- `401` — Authentication information is missing or invalid
- `404` — The specified resource was not found

---

[API](https://skmtc.net/sysaid/apis/sysaid-public-api.md) · [All operations](https://skmtc.net/sysaid/apis/sysaid-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sysaid/sysaid-public-api/revisions/38a43a1b2981/schema)
