Delete Unit

The request is intended to delete unit.

Request Example

&svc=delete_unit&params={
    "id_unit":integer,
    "forever": bool
}

Parameters

Parameter Description
id_unit Unique Unit ID
forever Flag of unit deletion

Additional Information

forever - Flag of unit deletion (move to recycle = 0, permanently delete = 1)

Server Response

Result:
{
    "result": true // Result of unit deletion
}