Update group. VMS Client API
Headers | |||||||||
Authorization | Bearer token | ||||||||
Accept | application/json | ||||||||
X-Client | ios-cctv|android-cctv|thick-legal|web | ||||||||
X-UUID | unique device id |
Body | |||||||||
json |
JSON
| ||||||||
groupoptional | int | Group identifier to update | |||||||
namerequired | string | Group name | |||||||
itemsrequired | array | Array of camera IDs to be retained in the group (new ones will be added, those not included in the array will be removed from the group) |
Response | |||||||||
200 | Successful response | ||||||||
JSON
| |||||||||
404 | If the group does not belong to the user or does not exist | ||||||||
401 | Authorization token not provided or invalid, see Obtaining a token | ||||||||
422 | Returns a JSON object with an error, see Validation | ||||||||
JSON
|
Example | |||||||||
JSON
|