---
title: "Updates a specific resource group."
method: PUT
path: "/accessmanagement/resourcegroups/{resourceGroupId}"
tags: ["accessmanagement - resource groups"]
---

# Updates a specific resource group.

`PUT /accessmanagement/resourcegroups/{resourceGroupId}`

## Request

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

This endpoint updates the details of a specific resource group, enabling users to modify its configuration or properties as needed.</br></br>Key features include:</br></br>- **Clear success messaging:** Returns a `200` success code with a confirmation message indicating the successful completion of the requested action.</br>- **Comprehensive error handling:** Returns a `400` error code with a clear description when requests fail.</br>- **Reliable resource group updates:** Facilitates the modification of a specific resource group, ensuring accurate and up-to-date information across the system.</br>- **Targeted data updates:** Leverages the `resourceGroupId` parameter in the URL path to update the specified resource group, ensuring accurate and focused modifications.

## Path parameters

- `resourceGroupId` integer, required

## Request body

- ResourceGroupUpdate
  - `name` string
  - `description` string

## Response `200`

Resource group updated successfully.

- PlainResourceGroup
  - `id` integer
  - `name` string
  - `description` string
  - `canDelete` boolean
  - `canRename` boolean
  - `isDefault` boolean
  - `resourceCount` integer
  - `userGroupCount` integer
  - `userGroupSummary` PlainResourceGroupUserGroupSummary[]
    - `id` integer
    - `name` string
    - `roles` PlainResourceGroupRoles[]
      - `id` integer
      - `name` string
      - `description` string
      - `roleType` string
      - `canDelete` boolean
      - `canRename` boolean
      - `resourceGroupCount` integer
      - `userCount` integer
      - `modifiedTs` string, date-time
      - `createdTs` string, date-time

## Other responses

- `400`: Request is malformed or invalid.

---

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