Leave a comment at the end of this page or email contact@krishagni.com
Delete Consent-tier
openspecimen/rest/ng/collection-protocols/{cpId}/consent-tiers/{tier-id}
Use this resource to delete consent-tier for Collection Protocol in the OpenSpecimen application. 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 |
---|---|
cpId | Collection Protocol Id |
tier-id | identifier of consent-tier to delete |
http[s]:<host>:<port>/openspecimen/rest/ng/collection-protocols/{cpId}/consent-tiers/1
Use this URL to delete consent-tier for Collection Protocol in the OpenSpecimen application.
Result:
The response of this request will contains the details of the deleted consent-tier
Below is the example of the delete consent-tier:
URL | http://<host>:<port>/ openspecimen/rest/ng/collection-protocols/2/consent-tiers/1 |
Method | DELETE |
Response | { "id" : "1", "statement": "Consent to store the samples for research" } |
Leave a comment at the end of this page or email contact@krishagni.com