---
title: "Remove roles from group"
method: DELETE
path: "/resources/groups/v1/{groupId}/roles"
tags: ["User groups"]
---

# Remove roles from group

`DELETE /resources/groups/v1/{groupId}/roles`

## Request

- Base URL: `http://localhost:8181`
- URL: `http://localhost:8181/resources/groups/v1/{groupId}/roles`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/docs/resources/groups/v1/:groupId/roles/delete.ts> (a function with typed inputs; its response is checked against the schema)

This route removes requested roles from existing group.

## Path parameters

- `groupId` string, required

## Request body

- UpdateRolesOnGroupDto
  - `roleIds` string[], required: Will add / remove requested roles from the group

## Response `200`

---

[API](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp.md) - [All operations](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/llms.txt) - [OpenAPI document](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/revisions/c496ae9e1c3e?raw)
