|
POST /api/v1/billing/intercoms/{intercom}/camera/attach |
Links an existing camera to an intercom that does not yet have a camera assigned. The camera must not be linked to another intercom; a link to a deleted intercom is ignored and removed. Specify the camera by id or by external_id — exactly one of the two. Sets camera.is_intercom = true, synchronizes intercom residents' access to the camera, and recalculates the intercom status.
{
"id": 42
}
Method parameters
int intercom required , Intercom ID (in the URL)
int id, Existing camera ID. Required if external_id
string external_id , Existing camera external_id. Required if id
|
204 |
|
Camera successfully linked |
|
404 |
|
Intercom or camera not found |
|
422 |
|
Validation error. For more information, see General information > Validation. JSON
|