Use the PUT method of the role service to create a new role. In commercial editions, specify the role’s organization in the tenantID element of the role descriptor.
Method |
URL |
||
PUT |
http://<host>:<port>/jasperserver[-pro]/rest/role/ |
||
Content-Type |
Content |
||
text/plain |
A well-formed role descriptor that describes the properties of the desired role. |
||
Return Value on Success |
Typical Return Values on Failure |
||
201 Created |
404 Not Found – When the organization ID in the descriptor is not found in the server. |