Update OTP Access for Elements (v2.0)
PUT/v2.0/api/tenants/:tenant_id/otpaccessconfigs/:otpaccess_config_id
Update an OTP Access for all the elements under a Tenant.
Request
Path Parameters
tenant_id stringrequired
ID of the tenant.
otpaccess_config_id stringrequired
The OTP access config ID.
- application/json
Body
Details of the challenge phrase and response phrase updated
id string
The ID of the config.
otp_attempts int32
The number of otp attempts. Min value = 2L / Max value = 20L.
otp_validity_minutes int32
The time for the otp validity. Min value = 5L / Max value = 60L.
Responses
- 200
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
id string
The ID of the config.
otp_attempts int32
The number of otp attempts. Min value = 2L / Max value = 20L.
otp_validity_minutes int32
The time for the otp validity. Min value = 5L / Max value = 60L.
{
"id": "string",
"otp_attempts": 0,
"otp_validity_minutes": 0
}
Loading...