Delete CI Type
To delete a CI Type use the following URL format:
http://<servername>:<portnumber>/api/cmdb/citype/CI Type Name/delete
Assuming you are deleting a CI Type Server of the local server with port number 8080, the URL should be given as:
http://localhost:8080/api/cmdb/citype/My Server/delete/
Keypoints:
-
The operation name "delete" should be sent as a "POST attribute" with key "OPERATION_NAME".
-
The technician key should be sent as a "POST attribute" with key "TECHNICIAN_KEY".
Note:
If no result format specified then API will return output in JSON format. |
<?xml version="1.0" encoding="UTF-8"?>
<API version="1.0">
<response>
<result>
<statuscode>200</statuscode>
<status>Success</status>
<message>1 records removed successfully.</message>
<created-date>Mar 22, 2013 10:58 AM</created-date>
</result>
</response>
</API>
{
"API": {
"response": {
"result": {
"created-date": "Sep 2, 2013 03:23 PM",
"message": "1 records removed successfully.",
"status": "Success",
"statuscode": "200"
}
},
"version": "1.0"
}
}