According to Chapter 4.4 of JasperReports-Server-Web-Services-Guide.pdf GET method returns list of all available roles: default and created for any tenant (organization).
The real result is different from the documented example, only default roles (with no tenantId) are in the response. Roles created by user (assigned to certain tenantId) are absent.
After REST services code analysis we see that in order to list user defined roles additional parameter must be provided as tenantId search criteria:
The similar search criteria must be provided for DELETE method
We suggest to update the documentation. Chapters 4.4, 4.4.3 should contain complete description of possible search criterias.