---
title: "Deletes a specific user group."
method: DELETE
path: "/accessmanagement/usergroups/{userGroupId}"
tags: ["accessmanagement - user groups"]
---

# Deletes a specific user group.

`DELETE /accessmanagement/usergroups/{userGroupId}`

## Request

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

This endpoint deletes a specific user group, helping users remove unused or unnecessary groups 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 user group, helping maintain a clean and organized system.</br>- **Targeted data deletion:** Utilizes the `userGroupId` parameter to delete the specified user group, ensuring precise removal with enhanced control and accuracy.

## Path parameters

- `userGroupId` integer, required

## Response `204`

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