---
title: "Removes user from Auth Group"
method: POST
path: "/api/authgroup/remove/{authGroupID}/{userID}"
tags: ["Auth Groups"]
---

# Removes user from Auth Group

`POST /api/authgroup/remove/{authGroupID}/{userID}`

## Request

- Base URL: `https://passivelogic.com` (the document declares no server; this is the origin it was published from)
- URL: `https://passivelogic.com/api/authgroup/remove/{authGroupID}/{userID}`
- Auth: one of:
  - API key in header `X-PL-AUTH`
  - API key in header `Authorization: PL-API-KEY`
  - API key in header `PL-API-KEY`
  - HTTP basic
- TypeScript: <https://skmtc.dev/passivelogic/apis/passivelogic-http-api/docs/api/authgroup/remove/:authGroupID/:userID/post.ts> (a function with typed inputs; its response is checked against the schema)

Remove a User from an AuthGroup. Users must have PrivilegedUser or greater permissions to remove another user.
User can only remove other users with permissions less than or equal to their own permissions. For example: PrivilegedUsers
cannot remove SuperUsers.

## Path parameters

- `authGroupID` string, required
- `userID` string, required

## Response `200`

OK

- AuthGroupRemovalResponse: Response indicating that a User has been removed from an AuthGroup.
  - `userID` string, uuid, required: ID of the User who has been removed
  - `authGroupID` string, uuid, required: ID of the Authgroup the user has been removed from.
  - `message` string, required: Message with additional information

---

[API](https://skmtc.dev/passivelogic/apis/passivelogic-http-api.md) - [All operations](https://skmtc.dev/passivelogic/apis/passivelogic-http-api/llms.txt) - [OpenAPI document](https://skmtc.dev/passivelogic/apis/passivelogic-http-api/revisions/28fce63bcdbb?raw)
