The method and parameters
When an intercom is deleted, it undergoes a soft delete:
-
The intercom's status is changed to deleted.
-
The associated apartments (intercom_flats) are deleted.
-
If a camera is connected, it is also deleted, but its video recording archive is retained.
Deletion by ID:
JSON
{
"id": "123",
"log_extra": {
"some": "information"
}
}
Deletion by MAC:
JSON
{
"mac": "11:11:11:11:11:11",
"log_extra": {
"some": "information"
}
}
|
DELETE /api/v1/billing/intercoms |
int id – the intercom ID.
string mac – the MAC address of the intercom.
string|array log_extra – additional information received from an external system.
|
204 |
|
A successful response |
|
422 |
|
Returns a JSON object with an error. For details, see General information/External system validation. JSON
|