Skip to main content
Skip table of contents

Group update. VMS Admin API

PUT/api/admin/v1/intercoms/groups/{group}

Headers

Authorization

Bearer token

Accept

application/json

X-Client

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

X-UUID

unique device id

Body

json

JSON
{
    "name": "name",
    "is_house": true
}

groupoptional

int

Unique identifier of the group

namerequired

string

Group name

is_houserequired

bool

Is it a house

Response

200

Successful response

JSON
{
    "id": 1,
    "name": "Cameras",
    "full_pretty": null,
    "is_house": 0,
    "cameras_count": 0,
    "parent_id": null,
    "csa_id": null,
    "intercoms_count": 0
}
401

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

Example

JSON
curl -k --location --request PUT 'https://vms.local/api/admin/v1/intercoms/groups/{group}' \
--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 '{
    "name": "name",
    "is_house": true
}'
JavaScript errors detected

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

If this problem persists, please contact our support.