Manage user's intercoms
The method and parameters
The method is used to manage user's intercoms. It synchronizes intercoms with the user's associated apartments based on their login.
{
"login": "test@mail.com",
"sync": [
{
"intercom_external_id": "qweasdzxc",
"flat": 15
},
{
"intercom_id": 1,
"flat": 10
}
]
}
POST /api/v1/billing/user/manage/intercoms |
The parameters
string
login – a user login
array
sync – an array linking intercoms and apartments for the user.
integer
flat – the apartment number for the intercom
204 |
A successful response |
422 |
Returns a JSON object with an error. For details, see the Validation page.
JSON
|