Hi @saif sheikh ,
Create a new application and add role table in from manage dependencies and in your application create a screen for role list.
Now show the list of roles on that table and add one delete button on and make server action for that.
in server action call deleteRole for role table and in source select GetRolebyId and refresh the data.
on click of this delete button you can delete you role as per your requirment.
Regards,
Jitendra