Update an Access Code
Last updated
Was this helpful?
Last updated
Was this helpful?
Updates a specified active or upcoming .
See also .
access_code_id
String (Required)
ID of the access code that you want to update.
allow_external_modification
Boolean
Indicates whether of the code is allowed. Default: false
.
attempt_for_offline_device
Boolean
code
String
Code to be used for access.
device_id
String
ID of the device containing the access code that you want to update.
ends_at
String
is_external_modification_allowed
Boolean
is_managed
Boolean
Indicates whether the access code is managed through Seam. Note that to convert an unmanaged access code into a managed access code, use /access_codes/unmanaged/convert_to_managed
.
is_offline_access_code
Boolean
is_one_time_use
Boolean
max_time_rounding
String
name
String
Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.
prefer_native_scheduling
Boolean
preferred_code_length
Number
Preferred code length. Only applicable if you do not specify a code
. If the affected device does not support the preferred code length, Seam reverts to using the shortest supported code length.
starts_at
String
type
String
use_backup_access_code_pool
Boolean
use_offline_access_code
Boolean
void
Date and time at which the validity of the new access code ends, in format. Must be a time in the future and after starts_at
.
Indicates whether of the code is allowed. Default: false
.
Indicates whether the access code is an .
Indicates whether the is a single-use access code.
Maximum rounding adjustment. To create a daily-bound for devices that support this feature, set this parameter to 1d
.
Indicates whether should be used for time-bound codes when supported by the provider. Default: true
.
Date and time at which the validity of the new access code starts, in format.
Type to which you want to convert the access code. To convert a time-bound access code to an ongoing access code, set type
to ongoing
. See also .
Indicates whether to use a provided by Seam. If true
, you can use .