Hi all,
I have successfully installed and run orthanc server. I can also use curl command to see the instances and studies. However i cannt delete any instances using curl.
When i run the following:
curl -X DELETE http://localhost/dicom-web/studies/1.x…
i get following error.
405 Method Not Allowed
Method Not Allowed
The requested method DELETE is not allowed for this URL.
Apache/2.4.41 (Ubuntu) Server at localhost Port 80
Can someone help me with this
Regards
Jalaj
Hello,
The DICOMweb standard simply cannot be used to delete DICOM resources:
https://www.dicomstandard.org/using/dicomweb
You’ll have to resort to the REST API of Orthanc to this end:
https://book.orthanc-server.com/users/rest.html#deleting-resources-from-orthanc
Regards,
Sébastien-
Thanks.
I am using the curl method to delete the instance as specified in the document however i am getting an error that
i get following error.
405 Method Not Allowed
Method Not Allowed
The requested method DELETE is not allowed for this URL.
Apache/2.4.41 (Ubuntu) Server at localhost Port 80
Please help me to understand how can i fix this.
Regards
Jalaj
In your previous message, you wrote:
$ curl -X DELETE http://localhost/**dicom-web/studies/**1.x…
Check out the bold part: This is DICOMweb. This is not the REST API of Orthanc, cf. the link I sent you:
https://book.orthanc-server.com/users/rest.html#deleting-resources-from-orthanc