---
title: "Remove Agent from Groups."
method: DELETE
path: "/agents/{id}/groups"
tags: ["Agents"]
---

# Remove Agent from Groups.

`DELETE /agents/{id}/groups`

Remove a specific Agent from one or more user groups.

Removing an agent from all groups may affect their access permissions and assignment behavior.

## Request body

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

## Response `204`

Groups successfully removed from the agent.

## 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)
