Skip to main content
POST
/
locks
/
simulate
/
manual_lock_via_keypad
await seam.locks.simulate.manualLockViaKeypad({ device_id: "d0eed522-8c2f-4905-88fd-4fe8b067bedc", }); /* { "action_attempt_id": "f0e1d2c3-b4a5-6d7e-8f90-1a2b3c4d5e6f", "action_type": "SIMULATE_MANUAL_LOCK_VIA_KEYPAD", "error": null, "result": {}, "status": "success" } */
{
  "action_attempt": {
    "action_attempt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "action_type": "SIMULATE_MANUAL_LOCK_VIA_KEYPAD",
    "result": {},
    "error": {
      "type": "<string>",
      "message": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
device_id
string<uuid>
required

ID of the device for which you want to simulate a manual lock action using a keypad.

Response

OK

action_attempt
object
required

Tracks the progress of this operation. Poll using the action_attempt_id.