githubEdit

Unlock a Lock

Unlocks a lockarrow-up-right. See also Locking and Unlocking Smart Locksarrow-up-right.

Unlocks a lock.

Code:

await seam.locks.unlockDoor({
  device_id: "be047431-bf00-4da6-9fc7-0a7796a9b57f",
});

Output:

{
  "action_attempt_id": "5f4e3d2c-1b0a-9f8e-7d6c-5b4a3c2d1e0f",
  "action_type": "UNLOCK_DOOR",
  "error": null,
  "result": {},
  "status": "success"
}
chevron-rightAuthentication Methodshashtag
  • API key

  • Client session token

  • Personal access token Must also include the seam-workspace header in the request.

To learn more, see Authenticationarrow-up-right.

Request Parameters

device_id String (Required)

ID of the lock that you want to unlock.


Response

circle-check

Last updated

Was this helpful?