---
title: "Performs a bulk update of user group assignments."
method: PUT
path: "/accessmanagement/users/bulk/usergroups"
tags: ["accessmanagement - users"]
---

# Performs a bulk update of user group assignments.

`PUT /accessmanagement/users/bulk/usergroups`

## Request

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

This endpoint performs a bulk update of user group assignments, making it easier to manage group membership for multiple users efficiently.</br></br>Key features include:</br></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>- **Reliable user group updates:** Facilitates the bulk modification of user groups, ensuring accurate and up-to-date information across the system.

## Request body

- UpdateUsersUserGroupsRequest
  - `users` UpdateUsersUserGroupsRequestUsers[]
    - `userId` integer
    - `userGroups` UpdateUsersUserRolesRequestRoles[]
      - `id` integer

## Response `204`

User group assignments updated 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)
