---
title: "Clears multiple user roles."
method: POST
path: "/accessmanagement/userroles/bulk/delete"
tags: ["accessmanagement - user roles"]
---

# Clears multiple user roles.

`POST /accessmanagement/userroles/bulk/delete`

## Request

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

This endpoint clears multiple user roles simultaneously, allowing for efficient role management and reduced administrative overhead.</br></br>Key features include:</br></br>- **Bulk clearing support:** Enables the clearing of multiple user roles in a single request, simplifying and streamlining bulk management processes while retaining record structures.</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 roles, helping maintain a clean and organized system.

## Request body

- integer[]

## Response `204`

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