<< Click to Display Table of Contents >> Delete group |
![]() ![]() ![]() |
Request address |
http://ip:port/bi/api?action=delNode&token=xxxx |
|
Request message |
Request parameter |
Request Parameters: xmlData(required) <?xml version="1.0" encoding="UTF-8"?> <group> <name>group1</name> </group> |
parametric description |
The request parameter is node information 1) name(required): the group's full path, including the group's name. |
|
Sample |
function deleteNode () { var xml = getXml(); $.post("http://" + ip + ":" + port + "/" + project + "/api?action=delNode&token=xxxx", {xmlData : xml}, function(result) { writeXml(result); }); } |
|
Response message |
Response result
|
1) Successful operation <?xml version="1.0" encoding="UTF-8"?> <results> <result> <level>1</level> <message>Delete“group1” successfully.</message> </result> </results> 2) Delete failed <?xml version="1.0" encoding="UTF-8"?> <results> <result> <level>6</level> <message>Groups “g2” does not exist.</message> </result> </results> |
Result description |
The response result information is xml. direct parse. 1) Level return type, different values represent different return status, see appendix. 2) Message is the interface operation result information. |