Differences

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

Link to this comparison view

en:d-sdk:4_units:removing-units-from-a-group [2020/07/08 21:33] (current)
cappopt@gmail.com created
Line 1: Line 1:
 +====== Removing units from a group ======
 +The request is intended for deleting an object from a group.
  
 +=== Request example ===
 +<code php>&​svc=remove_units_from_group&​params={
 +    "​group_id":​ integer,
 +    "​unit_ids":​ [integer,​integer,​...]
 +}</​code>​
 +
 +=== Parameters ===
 +^ Parameter ​  ^ Description ​  ^
 +| group_id | Unique Id of unit group |
 +| unit_ids | The unique identifier of the object |
 +
 +=== Response ===
 +== List of removed units ids==
 +<code php>{
 +    "​removed":​ [
 +        ... //IDs of objects that were deleted from the group
 +    ]
 +}</​code>​