openspecimen/rest/ng/sites/{siteIdid}
or
openspecimen/rest/ng/sites/name={name}
Use this resource to delete the site. Use HTTP DELETE method to call this API by passing the below details in JSON format.
...
Parameter | Details |
---|---|
id | Site id of the site. |
name | Site name of the site. |
http[s]:<host>:<port>/openspecimen/rest/ng/sites/{id}
or
http[s]:<host>:<port>/openspecimen/rest/ng/sites/name={name}
Use this URL to delete site in openSpecimen application.
...
Below is the example of the delete site:
URL |
/1 or
|
Method | DELETE |
Request | application /json |
Response | "success" |
...