Delete Catalog
To delete a catalog, use the following request:
1
2
| DELETE /catalogs/:id.xml
DELETE /catalogs/:id.json
|
XML Request Example
1
| curl -i -X DELETE -u user:userpass --url http://onapp.test/catalogs/12.xml -H 'Accept: application/xml' -H 'Content-type: application/xml'
|
JSON Request Example
1
| curl -i -X DELETE -u user:userpass --url http://onapp.test/catalogs/12.json -H 'Accept: application/json' -H 'Content-type: application/json'
|