Skip to main content
Skip table of contents

Deleting an intercom. VMS Client API

After the intercoms are deleted, a push notification with an array of intercom IDs that were deleted will be sent to the user's websocket channel (user.{ID}). The push notification will not be sent to the device that initiated this request.

Additionally, all calls and codes associated with these intercoms will be deleted.

If a camera is not added to the user's billing, it will be removed from the list of available cameras.

DELETE/api/v1/intercom

Headers

Authorization

Bearer token

Accept

application/json

X-Client

ios-cctv|android-cctv|thick-legal|web

X-UUID

unique device id

Body

json

JSON
{
    "ids": [
        2,
        6,
        9
    ]
}

idsrequired

array

Array of intercom IDs to be deleted, maximum 200 in one request

Response

204

Successful response

401

Authorization token not provided or invalid, see Obtaining a token

Example

JSON
curl -k --location --request DELETE 'https://vms.local/api/v1/intercom' \
--header 'Authorization:Bearer token' \
--header 'Accept:application/json' \
--header 'X-Client:ios-cctv|android-cctv|thick-legal|web' \
--header 'X-UUID:unique device id' \
--header 'Content-Type: application/json \
--data-raw '{
    "ids": [
        2,
        6,
        9
    ]
}'
JavaScript errors detected

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

If this problem persists, please contact our support.