Verify Challenge Phrase and Generate Response Phrase (v2.0)
POST/sdwan/v2.0/api/elements/:element_id/otpaccess
Verify the challenge phrase and generate the response phrase.
Request
Path Parameters
element_id stringrequired
ID of the element.
- application/json
Body
Details of the challenge phrase and response phrase created
challenge_phrase stringrequired
The challenge phrase.
id string
The ID of the element.
response_phrase string
The response phrase.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
challenge_phrase stringrequired
The challenge phrase.
id string
The ID of the element.
response_phrase string
The response phrase.
{
"challenge_phrase": "string",
"id": "string",
"response_phrase": "string"
}
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...