---
title: "Removes multiple user groups from a specific resource group."
method: POST
path: "/accessmanagement/resourcegroups/{resourceGroupId}/usergroups/bulk/remove"
tags: ["accessmanagement - resource groups"]
---

# Removes multiple user groups from a specific resource group.

`POST /accessmanagement/resourcegroups/{resourceGroupId}/usergroups/bulk/remove`

## Request

- Base URL: `https://manager.digicertdns.com/v1`
- URL: `https://manager.digicertdns.com/v1/accessmanagement/resourcegroups/{resourceGroupId}/usergroups/bulk/remove`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/digicert/apis/digicert-dns/docs/accessmanagement/resourcegroups/:resourceGroupId/usergroups/bulk/remove/post.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint removes multiple user groups from a specific resource group, simplifying access revocation processes.</br></br>Key features include:</br></br>- **Bulk removal support:** Enables the removal of multiple user groups in a single request, simplifying and streamlining bulk management processes.</br>- **Clear success messaging:** Returns a `204` success code with a confirmation message indicating the successful completion of the requested action.</br>- **Comprehensive error handling:** Returns `400` and `404` error codes with clear descriptions when requests fail.</br>- **Efficient lifecycle management:** Facilitates the removal of user groups, helping maintain a clean and organized system.</br>- **Targeted data removal:** Utilizes the `resourceGroupId` parameter to remove the specified user groups, ensuring precise removal with enhanced control and accuracy.

## Path parameters

- `resourceGroupId` integer, required

## Request body

- ResourceGroupUserGroupDeleteRequest[]
  - `userGroup` ResourceGroupResourceAddRequestResourceType
    - `id` integer

## Response `204`

User groups removed successfully.

## Other responses

- `400`: Request is malformed or invalid.
- `404`: Resource not found.

---

[API](https://skmtc.dev/digicert/apis/digicert-dns.md) - [All operations](https://skmtc.dev/digicert/apis/digicert-dns/llms.txt) - [OpenAPI document](https://skmtc.dev/digicert/apis/digicert-dns/revisions/c74fc728cff8?raw)
