Deletind a mark. VMS Client API
You can only delete the marks that the user has created. Automatically generated marks cannot be deleted.
After deleting a mark, a push notification of type mark_deleted will be sent to the user.ID channel.
DELETE/api/v1/cameras/{camera}/marks/{mark}Headers | |||||||||
Authorization | Bearer token | ||||||||
Accept | application/json | ||||||||
X-Client | ios-cctv|android-cctv|thick-legal|web | ||||||||
X-UUID | unique device id |
Body | |||||||||
cameraoptional | int | Camera Identifier to which the mark belongs | |||||||
markoptional | int | Mark identifier to be deleted |
Response | |||||||||
200 | Successful response | ||||||||
JSON
| |||||||||
401 | Authorization token not provided or invalid, see Obtaining a token | ||||||||
403 | If mark cannot be deleted | ||||||||
422 | Returns a JSON object with an error, see Validation | ||||||||
JSON
|
Example | |||||||||
JSON
|