...
Use this resource to delete the Distribution Protocol distribution protocol. Use HTTP DELETE method to call this API by passing the below details in JSON format.
...
Parameter | Details |
---|---|
id | Distribution Protocol Id protocol id of the Distribution Protocol |
...
http[s]:<host>:<port>/openspecimen/rest/ng/distribution-protocols/{id}
Use this URL to delete Distribution Protocol distribution protocol in openSpecimen application.
...
The response of this request will contains the details of the deleted Distribution Protocol distribution protocol.
Below is the example of the delete Distribution Protocol distribution protocol:
URL | http://<host>:<port>/ openspecimen/rest/ng/distribution-protocols/{distributionprotocolId}1 |
Method | DELETE |
Request | application /json |
Response | "success" |
...
code | Applies to | Status Message |
---|---|---|
200 | All resources | Distribution Protocolprotocol has been deleted successfully |
401 | All requests | Authorization failed, User user doesn’t have Authority |
404 | All requests | Distribution Protocolprotocol not found, Distribution Protocolprotocol with given details not present in the system |
500 | All requests | Internal server error, Encountered encountered server error while performing operations |