services/src/main/java/org/keycloak/services/resources/admin/RoleByIdResource.java
/**
     * Delete this role
     *
     * @param id id of role
     */
Delete this role

@param id id of role
Delete this role @param id id of role
@Path("{role-id}")
    @DELETE
    @NoCache
    public void deleteRole(final @PathParam("role-id") String id) {
        RoleModel role = getRoleModel(id);
        auth.requireManage();
        deleteRole(role);
        adminEvent.operation(OperationType.DELETE).resourcePath(uriInfo).success();
    }
@ Path ( "{role-id}" ) @ DELETE @ NoCache public void deleteRole ( final @ PathParam ( "role-id" ) String id ) { RoleModel role = getRoleModel ( id ) ; auth . requireManage ( ) ; deleteRole ( role ) ; adminEvent . operation ( OperationType . DELETE ) . resourcePath ( uriInfo ) . success ( ) ; }
Delete this role
Delete this role