# DeleteRole

**POST /redpanda.core.admin.v2.SecurityService/DeleteRole**

Delete a Role resource by name.


## Servers
- http://localhost:9644: http://localhost:9644 ()



## Parameters
### Headers
- **Connect-Protocol-Version** (number)
  Define the version of the Connect protocol
- **Connect-Timeout-Ms** (number)
  Define the timeout, in ms



### Body: application/json (object)

- **deleteAcls** (boolean)
  Whether to also delete any ACLs associated with this role.
- **name** (string)
  The name of the Role to delete.


## Responses
### 200
Success

#### Body: application/json (object)
object
### default
Error

#### Body: application/json (object)
- **code** (string)
  The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
- **details** (array[object])
  A list of messages that carry the error details. There is no limit on the number of messages.
- **message** (string)
  A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.


[Powered by Bump.sh](https://bump.sh)
