Configures global access settings
Used to set information about current global access settings.
To enable global/user access mode, Wiegand output must be disabled or selected 'duplicate'
mode using POST /access/general/wiegand if available
- application/json
 
Request Body
- mode string required
Possible values: [
normal_access,global_access]Access mode
 - auth_factors object[] required
List of auth factors required to gain access
 - identifiers_without_linkage_to_user_support boolean required
Enabled access identifiers attached to no user without multi factors authentication
 
- 200
 - 400
 - 401
 - 403
 - 422
 
OK
- auth_factors must contain at least one item
 - Missed json body or wrong param. Response sample:
 
  "error": "Wrong JSON body"
- auth_factors must contain at least one item Response sample:
 
  "error": "Wrong JSON body: no value for `param`"
where param - is a required field that was not provided
- Field was of the wrong type. Response sample:
 
  "error": "Wrong JSON body: value `param` was of the wrong type"
where param - is a field of the wrong type
- application/json
 
- Schema
 - Example (from schema)
 - Auth factors list is empty
 
Schema
- error string
Error message
 
{
  "error": true
}
{
  "error": "auth_factors must contain at least one item"
}
Unauthorized request. Log In
- application/json
 
- Schema
 - Example (from schema)
 - Log In
 
Schema
- error string
Error message
 
{
  "error": "Log In"
}
{
  "error": "Log In"
}
Administrator rights required. You are currently logged in with different user account. Log In with administrator rights
- application/json
 
- Schema
 - Example (from schema)
 - Admin Rights Required
 
Schema
- error string
Error message
 
{
  "error": "Administrator rights required"
}
{
  "error": "Administrator rights required"
}
Wiegand output access is used. To enable global/user access mode, Wiegand output must be
disabled or selected 'duplicate' mode using POST /access/general/wiegand.
- application/json
 
- Schema
 - Example (from schema)
 - Wiegand out is enabled
 
Schema
- error string
Error message
 
{
  "error": "Wrong JSON body"
}
{
  "error": "Please disable wiegand_control mode in Wiegand output settings to enable global_access/user_access mode"
}