AXM icon

AXM

Read and write data in the AXM physical access control system

Lock → Update

AI-generated

Summary

Update an existing lock in the AXM access control system by specifying its ID and providing required and optional details to modify its configuration.

Inputs

  • Lock ID (required) — The unique identifier of the lock to update.
  • Lock System ID (required) — The ID of the lock system to which the lock belongs.
  • Name (required) — The name of the lock.
  • Lock Type (required) — The type of the lock, chosen from predefined options like Cylinder, Smart Handle, etc.
  • Building ID (required) — Identifier of the building where the lock is located.
  • Tags — Comma-separated tag names associated with the lock; use an empty string for none.
  • Door Code (required) — The door code, required by the AXM UpdateLock contract.
  • Additional Fields — Optional additional details such as Area ID, Description, Level, and Room Number.

Output shape

a single record

Returns the updated lock's data as a JSON object according to the AXM UpdateLock API response.

Examples

Example 1: Update an existing lock's name, type, and door code

Specify the lock's ID, lock system ID, new name, lock type, building ID, tags (optional), door code, and any additional fields to update the lock's configuration.

Links

Discussion