Skip to main content

Deleting a camera. VMS Billing API

When deleting a camera, if it has a reservation in DHCP, then it is deleted and the lease for the camera's IP address is also deleted

DELETE/api/v1/billing/cameras

Headers

Accept

application/json

Body

json

JSON
{
    "mac": "11:11:11:11:11:11"
}

macrequired

string

Camera MAC address

Response

204

Successful response

422

Returns a JSON object with an error. For details, see Validation.

JSON
{
    "message": "There will be no informative message here",
    "errors": {
        "any_key": [
            "The cause of the error will be described here"
        ]
    }
}

Example

JSON
curl -k --request POST \
	--url 'https://your-domain/api/v1/billing/cameras' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '{
    "mac": "11:11:11:11:11:11"
}'

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.