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

# Deletes a specific resource group.

`DELETE /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/delete.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint deletes a specific resource group, allowing users to remove unused or unnecessary groupings from the system.</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>- **Efficient lifecycle management:** Facilitates the removal of a resource group, helping maintain a clean and organized system.</br>- **Targeted data deletion:** Utilizes the `resourceGroupId` parameter to delete the specified resource group, ensuring precise removal with enhanced control and accuracy.

## Path parameters

- `resourceGroupId` integer, required

## Response `204`

Resource group deleted 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)
