Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
idSite id of the site.
nameSite 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

http://<host>:<port>/openspecimen/rest/ng/sites

/{id}

/1

or

http://<host>:<port>/openspecimen/rest/ng/sites/name="In Transit"

MethodDELETE
Requestapplication /json

Response

"success"

...