Update an Access Code
Updates a specified active or upcoming access code.
See also Modifying Access Codes.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
ID of the access code that you want to update.
Indicates whether external modification of the code is allowed. Default: false.
Code to be used for access.
4 - 12^\d+$ID of the device containing the access code that you want to update.
Indicates whether external modification of the code is allowed. Default: false.
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.
Indicates whether the access code is an offline access code.
Indicates whether the offline access code is a single-use access code.
Maximum rounding adjustment. To create a daily-bound offline access code for devices that support this feature, set this parameter to 1d.
1hour, 1day, 1h, 1d Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.
Indicates whether native scheduling should be used for time-bound codes when supported by the provider. Default: true.
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.
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 Changing a time-bound access code to permanent access.
ongoing, time_bound Indicates whether to use a backup access code pool provided by Seam. If true, you can use /access_codes/pull_backup_access_code.
Deprecated. Use is_offline_access_code instead.
Response
OK
The response is of type object.