To delete an item, use the command item/delete_item:
svc=item/delete_item¶ms={"itemId":<long>}
You can find an example of this request in the sample Creating, editing and deleting items.
Name | Description |
---|---|
itemId | item ID |
{ "error":<long> /* error code (if 0 - successful execution) */ }
Code | Value |
---|---|
1 | invalid session |
2 | invalid service name |
3 | invalid result |
4 | invalid format or value of parameters |
6 | error deleting item |
|