Difference between revisions of "API Delete Camera"
IVSWikiBlue (talk | contribs) (Created page with "This API call will delete an existing camera. ===Resource URL=== <pre>http://valt.example.com/api/v3/admin/cameras/{cameraid}/delete</pre> ''Replace {cameraid} with the actua...") |
(No difference)
|
Latest revision as of 13:55, 14 April 2020
This API call will delete an existing camera.
Contents
Resource URL
http://valt.example.com/api/v3/admin/cameras/{cameraid}/delete
Replace {cameraid} with the actual id number of the camera. Cameras are numbered sequentially when added to VALT.
Resource Information
Method | POST |
Response Type | JSON |
Authentication Required | Yes |
Parameters
No parameters are required for this API call.
Response
Code | Reason |
---|---|
200 | Request Successful |
401 | Unauthorized |
404 | Camera Not Found |
data | |
---|---|
message | Deleted |
Examples
Request
https://ivstest1.ad.ipivs.com/api/v3/admin/cameras/91/delete?access_token=e82632d19c523678fea3d1016c6df9e9
Successful Response
{ "data":{ "message": "Deleted" } }
Failure Response
{ "error":{ "code": 404 } }