Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:d-sdk:4_units:16_delete_unit [2018/04/25 21:06]
support@geliossoft.ru
en:d-sdk:4_units:16_delete_unit [2021/07/07 13:28]
Line 1: Line 1:
-====== Delete Unit ====== 
-The request is intended to delete unit. 
  
-=== Request Example === 
-<code php>&​svc=delete_unit&​params={ 
-    "​id_unit":​integer,​ 
-    "​forever":​ bool 
-}</​code>​ 
- 
-=== 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: == 
-<code php>{ 
-    "​result":​ true // Result of unit deletion 
-}</​code>​