The DELETE method allows you to delete a SBC Edge REST Resource.The following examples demonstrate how to use the DELETE Method on a resource using cURL:

DELETE on a Resource /rest/isdnsg/{identifier}

Usage Example:

./curl.exe --cookie PHPSESSID=ima0r3nkaeg8mo0suln67vg4m7 --cacert 192.168.1.183.crt \
-X DELETE -i https://192.168.1.183/rest/isdnsg/10011

 

Header Response

 
HTTP/1.1 200 OK
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Date: Tue, 17 May 2011 19:51:33 GMT

XML Response

Sample XML Response
 
<?xml version="1.0">
<root>
 <status>
  <http_code>200</http_code>
 </status>
</root>