# Menghapus role

Menghapus role yang tidak dipakai lagi.

## Sebelum mulai

* Menu **Delete** tampil bila perannya punya izin `role:create`.
* Role bawaan **Owner** dan **Admin** tidak bisa dihapus.
* Pindahkan dulu member yang masih memakai role itu ke role lain; lihat [Mengubah role member](/help/settings/members/change-role).

## Langkah

<Steps>
  <Step>
    Buka **Settings** > **Roles**. Pada baris role, pilih menu titik tiga, lalu **Delete**.

    ![Menu baris role dengan pilihan Delete](/help/settings/roles/11-row-menu-delete.png)
  </Step>

  <Step>
    Dialog **Are you sure?** muncul: "This deletes the role ... Move members who still have it to another role first." Pilih **Cancel** bila tidak jadi.

    ![Dialog konfirmasi Are you sure? untuk menghapus role](/help/settings/roles/12-delete-dialog.png)
  </Step>

  <Step>
    Pilih **Delete** untuk menghapus role.

    ![Tombol Delete di dialog konfirmasi](/help/settings/roles/13-delete-confirm.png)
  </Step>
</Steps>

## Hasilnya

Toast **Role deleted successfully!** tampil dan role hilang dari daftar.

## Masalah umum

* **Failed to delete role.** — penghapusan gagal; pesan alasan dari server bisa tampil menggantikannya.
