Child pages
  • Delete Publishing Rule
Skip to end of metadata
Go to start of metadata
DELETE /virtual_machines/:vm_id/publications.xml
DELETE /virtual_machines/:vm_id/publications.json

XML Request example

curl -i -X DELETE -u user:userpass http://onapp.test/virtual_machines/ozfdksfaf7esrx/publications/4.xml -H 'Accept: application/xml' -H 'Content-type: application/xml'

JSON Request example

curl -i -X DELETE -u user:userpass http://onap.test/virtual_machines/ozfdksfaf7esrx/publications/5.json -H 'Accept: application/json' -H 'Content-type: application/json'


XML Response example

 

HTTP/1.1 204 No Content
Date: Fri, 14 Sep 2012 10:45:47 GMT
Server: Apache/2.2.3 (CentOS)
X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 3.0.9
X-UA-Compatible: IE=Edge,chrome=1
Cache-Control: no-cache
X-Request-Id: 0fa1960416e6a84fcee571c1afdebe02
X-Runtime: 0.107463
X-Rack-Cache: invalidate, pass
Set-Cookie: _session_id=e8d6bffc3de53ba9223eabf835351cdd; path=/; HttpOnly
Status: 204
Content-Length: 0
Connection: close
Content-Type: text/plain; charset=UTF-8
#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels