Update Multiple Linked Access Codes

Update the starting and ending times for a set of linked access codes across multiple devices.

POST /access_codes/update ⇒ void

Updates the starts_at and ends_at timestamps of a specified group of access codes linked by a common_code_key, across multiple devices. You create these groups of access codes using /access_codes/create_multiple, and all these codes have the same PIN code. See also Creating and Updating Multiple Linked Access Codes.

Request:

# Update the starting and ending times
# for a group of linked access codes,
# using the common_code_key to identify
# the group of access codes to update.
seam.access_codes.update_multiple(
  common_code_key = common_code_key,
  starts_at = "2024-11-15T12:00:00Z",
  ends_at = "2024-11-17T15:00:00Z"
)

Response:

None

Request Parameters

common_code_key

Type: string Required: Yes

Key that links the group of access codes, assigned on creation by /access_codes/create_multiple.


starts_as

Type: string Required: No

Date and time at which the validity of the linked access codes starts, in ISO 8601 format.


ends_at

Type: string Required: No

Date and time at which the validity of the linked access codes ends, in ISO 8601 format. Must be a time in the future and after starts_at.


Return Type

void

Last updated

Logo

© Seam Labs, Inc. All rights reserved.