Post Element Access Config (v2.1)
POST/v2.1/api/tenants/:tenant_id/elements/:element_id/elementaccessconfigs
Post all the element access configuration.
Request
Path Parameters
tenant_id stringrequired
ID of the tenant.
element_id stringrequired
ID of the element.
- application/json
Body
Post element access config
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.
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.
{
"account_disable_interval": 0,
"id": "string",
"inactive_interval": 0,
"otpkey_version": 0,
"retry_login_count": 0,
"ssh_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": "CHALLENGE_VERIFICATION_FAILED"
}
]
}
}
Loading...