Device Access Settings

This endpoint is used to save the access settings of the specified device.

Controlled Errors

Error CodeError Message
error_device_not_foundNo device was found.
error_saving_access_control_settingsFailed to save access settings.
error_null_access_control_settingsInvalid request object provided

Any status codes returned that are not provided here are generic status codes that can be found here.

Body Params
int32

The type of contact sensor the door has. See available values here. If this value is not passed, it will default to 0 which is None.

int32

The intended state of the door when not in active use. See available values here. If this value is not passed, it will default to 0 which is Normally Open.

int32

Time (in seconds) to allow the door to remain open before alerting the system. If this value is not passed, it will default to 0.

int32

The type of contact sensor the exit button has. See available values here. If this value is not passed, it will default to 0 which is None.

int32

The intended state of the exit button when not in use. See available values here. If this value is not passed, it will default to 0 which is Normally Open.

boolean

Whether or not to use the device's own internal relay for the sensors. If this value is not passed, it will default to false.

boolean

Whether or not to use one of the external IO relay for the external IO controller. If this value is not passed, it will default to false.

boolean

Whether or not to use one of the external IO relay for the external IO controller. If this value is not passed, it will default to false.

int32

Time (in seconds) for the lock to remain disabled after the door is opened. If this value is not passed, it will default to 0.

string
required

The serial number of the device to update.

int32

The format for writing the Wiegand output. See available values here. If this value is not passed, it will default to 0 which is the 26 bit format.

boolean

Whether or not to allow the device to read Wiegand input. If this value is not passed, it will default to false.

boolean

Whether or not to allow the device to write Wiegand output. If this value is not passed, it will default to false.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain