Skip to main content
Skip table of contents

Deleting all keys

Delete all keys associated with the intercom. You can only delete them if no users are associated with the intercom.

DELETE/api/admin/v1/intercoms/{intercom}/delete-all-keys

Headers

Authorization

Bearer token

Accept

application/json

X-Client

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

X-UUID

unique device id

Body

intercomoptional

int

Unique identifier of the intercom

Response

204

Successful response

401

Authorization token is not provided or is invalid. Obtaining a token

422

Returns a JSON object with an error. Validation

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

Example

JSON
curl -k --location --request DELETE 'https://vms.local/api/admin/v1/intercoms/{intercom}/delete-all-keys' \
--header 'Authorization:Bearer token' \
--header 'Accept:application/json' \
--header 'X-Client:ios-cctv|android-cctv|thick-legal|web' \
--header 'X-UUID:unique device id'
JavaScript errors detected

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

If this problem persists, please contact our support.