Renaming a camera. VMS Client API
Renaming a camera.
POST/api/v1/cameras/{camera}/renameHeaders | |||||||||
Authorization | Bearer token | ||||||||
Accept | application/json | ||||||||
X-Client | ios-cctv|android-cctv|thick-legal|web | ||||||||
X-UUID | unique device id |
Body | |||||||||
json |
JSON
| ||||||||
cameraoptional | int | Camera identifier | |||||||
namerequired | string | New camera name |
Response | |||||||||
200 | Camera object | ||||||||
JSON
| |||||||||
401 | Authorization token not provided or invalid, see Obtaining a token | ||||||||
422 | Returns a JSON object with an error, see Validation | ||||||||
JSON
| |||||||||
404 | If the camera does not belong to the user or does not exist |
Example | |||||||||
JSON
|