src/Jaspersoft/Service/RoleService.php
public function deleteRole(Role $role)
    {
        $url = self::makeUrl($role->tenantId, $role->name);
        $this->service->prepAndSend($url, array(204), 'DELETE', null, false);
	}
public function deleteRole(Role $role)
    {
        $url = self::makeUrl($role->tenantId, $role->name);
        $this->service->prepAndSend($url, array(204), 'DELETE', null, false);
	}
public function deleteRole ( Role $ role ) { $ url = self :: makeUrl ( $ role -> tenantId , $ role -> name ) ; $ this -> service -> prepAndSend ( $ url , array ( 204 ) , 'DELETE' , null , false ) ; }
Remove a role currently in existence.

Provide the Role object of the role you wish to remove. Use getRole() to retrieve Roles.

@param \Jaspersoft\Dto\Role\Role $role
@throws \Jaspersoft\Exception\RESTRequestException
Remove a role currently in existence .