Skip to main content
Skip table of contents

Intercom «Sputnik»

Replacing the panel on the intercom while preserving the settings. Additionally, there is an option to update the camera.

Permission for this request: intercom-replace

POST/api/admin/v1/intercoms/{intercom}/replace

Headers

Authorization

Bearer token

Accept

application/json

Body

json

JSON
{
    "uuid": "017f4d16-6dd8-48b6-968e-b0f23740c517",
    "ip": "127.0.0.1",
    "port": 8080,
    "login": "admin",
    "password": "qwerty"
}

uuidrequired

string

Panel UUID

iprequired

string

Camera IP address

portrequired

integer

Camera port

loginrequired

string

Camera login

passwordrequired

string

Camera password

Response

200

Successful response

JSON
{
    "message": "Success message, but with some caveats"
}
400

Request not executed

JSON
{
  "message": "Error message"
}
401

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

Example

JSON
curl -k --location --request POST 'https://vms.local/api/admin/v1/intercoms/{intercom}/replace' \
--header 'Authorization:Bearer token' \
--header 'Accept:application/json' \
--header 'Content-Type: application/json \
--data-raw '{
    "uuid": "017f4d16-6dd8-48b6-968e-b0f23740c517",
    "ip": "127.0.0.1",
    "port": 8080,
    "login": "admin",
    "password": "qwerty"
}'
JavaScript errors detected

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

If this problem persists, please contact our support.