catissuecore/rest/ng/storage-containers/{storageContainerId}
Use this resource to disable the Storage Container. Use HTTP DELETE method to call this API by passing the below details in JSON format.
Below are the attributes which need to be sent in the request body:
Parameter | Details |
---|---|
StorageContainerId | Id of the Storage Container |
http[s]:<host>:<port>/catissuecore/rest/ng/storage-containers
Use this URL to disable Storage Container in caTissue application.
Result:
The response of this request will contains the details of the disabled Storage Container.
Below is the example of the disable Storage Container :
URL | http://<host>:<port>/ catissuecore/rest/ng/storage-containers/{storageContainerId} |
Method | DELETE |
Request | application /json |
Response | "success" |
Error Cases :
code | Applies to | Status Message |
---|---|---|
200 | All resources | StorageContainer has been disabled successfully |
401 | All requests | Authorization failed, User doesn’t have Authority |
404 | All requests | StorageContainer not found, StorageContainer with given details not present in the system |
500 | All requests | Internal server error, Encountered server error while performing operations |