Update Element Access Config (v2.2)
PUT/v2.2/api/tenants/:tenant_id/elements/:element_id/elementaccessconfigs/:element_access_id
Update a specific element access configuration.
Request
Path Parameters
tenant_id stringrequired
ID of the tenant.
element_id stringrequired
ID of the element.
element_access_id stringrequired
ID of the element access config.
- application/json
Body
Details of the access config to be updated
account_disable_interval int32
The account disable interval.
id string
The ID of the element.
inactive_interval int32
The inactive interval.
otpkey_version int32
The version of the OTP key.
retry_login_count int32
The count for retry logins.
ssh_enabled boolean
Indicates if SSH is enabled.
ssh_outbound_enabled boolean
Indicates if SSH is outbound enabled.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
account_disable_interval int32
The account disable interval.
id string
The ID of the element.
inactive_interval int32
The inactive interval.
otpkey_version int32
The version of the OTP key.
retry_login_count int32
The count for retry logins.
ssh_enabled boolean
Indicates if SSH is enabled.
ssh_outbound_enabled boolean
Indicates if SSH is outbound enabled.
{
"account_disable_interval": 0,
"id": "string",
"inactive_interval": 0,
"otpkey_version": 0,
"retry_login_count": 0,
"ssh_enabled": true,
"ssh_outbound_enabled": true
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
code string
The error code.
message string
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "ELEMENT_ACCESS_CONFIG_INVALID_INACTIVE_INTERVAL"
},
{
"code": "ELEMENT_ACCESS_CONFIG_INVALID_RETRY_LOGIN_COUNT"
},
{
"code": "ELEMENT_ACCESS_CONFIG_INVALID_ACCOUNT_DISABLE_INTERVAL"
}
]
}
}
Loading...