# Delete Role

> Delete a role in the specified server.

- ID: `delete_role`
- Type: Block
- Category: [Roles](https://inventor.bot/docs/reference/blocks/roles.md)

**Inputs**

| Name | Required | Description | Value |
| --- | --- | --- | --- |
| `server_id` | yes | ID of the server containing the role. |  |
| `role_id` | yes | ID of the role to delete. |  |

**Example**

```go
delete_role(Args{server_id: trigger.server_id, role_id: "..."})
```