User module status management
Allows activating or blocking individual user modules independently of the general user status. Currently supported modules: cameras and intercoms.
Request example:
JSON
{
"login": "test@mail.com",
"module": "cameras",
"status": "blocked"
}
Notes:
-
For
cameras, updates camera access status for the user and all their subusers and sendscameras_status_changedpush. -
For
intercoms, applies status to all user's flats. When blocking, additionally resets landline number and access flags (key, code, face) similar to global blocking.
|
POST /api/v1/billing/user/manage/modules/status |
Параметры метода
string login, User login
string module, User module. Allowed values: cameras, intercoms
string status, Module status. Allowed values: active, blocked
|
204 |
|
Successful response |
|
422 |
|
Returns a JSON object with an error. JSON
|