# Delete a role

## Delete a role

Delete a Role in the server. Role Options, and Variables can be used.

{% hint style="warning" %}
Your bot must have Manage Roles permissions in order to Delete Roles!
{% endhint %}

## Role Type

The role to delete. See the list below.

| Action        | Response                                                                          |
| ------------- | --------------------------------------------------------------------------------- |
| Specific Role | The unique role you wish to delete. This is a preset choice, containing one role. |
| Role ID       | The role ID number.                                                               |
| Variable      | A custom variable choice that contains a role in the value.                       |

### Specific Role

The unique role you wish to delete. This is a preset choice, containing one role.

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FBKYC0juRivo1YXwaQl1q%2FA13A0776-DF40-4E3D-9777-0A9B766249AC.jpeg?alt=media&#x26;token=36fe02a9-37ec-4aff-9655-811d6c94bcc7" alt=""><figcaption></figcaption></figure>

Not seeing your role? Click the Refresh button.

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FvlHuHvNC5ioCWLXYCsyU%2F315F09EA-0152-47AA-B374-8A18BC9F239F.jpeg?alt=media&#x26;token=7670a5ad-5d2e-47d6-ae54-6f4ebd746305" alt=""><figcaption></figcaption></figure>

### Role ID or Variable

Enter a Role ID or Variable to delete. Custom variables can be used. Want to create a variable? See [data-storage](https://botghost.com/docs/~/changes/zT1fjHAwQ21lXOKdCcfT/data-storage "mention")

<figure><img src="https://1937909199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm_hW5MApY3J0lRhi0M%2Fuploads%2FFpI2SmPIJJMITlJtglCv%2F6C662D02-E95A-4BFF-BAEE-8729507687EB.jpeg?alt=media&#x26;token=6281a913-319b-4914-9dac-e1d5fc1d8692" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
The bot must have Manage Roles permission in order to delete roles!
{% endhint %}
