Close the door (v2)
|
POST /api/v2/billing/intercoms/{intercom}/close-door |
Closes a door that was opened indefinitely (duration: full_time). A panel without capability door_close returns 422. Waiting for the panel response and response codes work the same way as for opening the door.
Method parameters
int intercom required , Intercom ID (in the URL)
boolean async, Do not wait for the panel response: immediately return 202 with `request_id`
|
204 |
|
Panel confirmed the command |
|
202 |
|
Command accepted; panel confirmation is still pending JSON
|
|
404 |
|
Intercom not found |
|
422 |
|
Returns a JSON error object. For more information, see General information > Validation. JSON
|