Use the DELETE method of the organization service to remove an existing organization.
Method |
URL |
||
DELETE |
http://<host>:<port>/jasperserver-pro/rest/organization/organizationID/ |
||
Return Value on Success |
Typical Return Values on Failure |
||
200 OK |
404 Not Found – When the organization ID is not found in the server. |
Deleting an organization removes all of its users, roles, and all of its suborganizations recursively.