1.0.1 Deleting an Organization¶
To delete an organization, use the DELETE method and specify the organization ID in the URL. When deleting an organization, all of its resources in the repository, all of its sub-organizations, all of its users, and all of its roles are permanently deleted.
Method |
URL |
||
DELETE |
http://<host>:<port>/jasperserver-pro/rest_v2/organizations/organizationID/ |
||
Return Value on Success |
Typical Return Values on Failure |
||
204 No Content – The organization was successfully deleted. |
400 Bad Request – When attempting to delete the organization of the logged-in user. 404 Not Found – When the ID of the organization cannot be resolved. |
||