Delete roles
- DELETE /_security/role/{name}
Delete roles in the native realm. The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. The delete roles API cannot remove roles that are defined in roles files.
Required authorization
- Cluster privileges manage_security