POST /v1/accounts/{accountId}/resources/{resourceId}/otp

Validates the one-time password provided by the user.

Request

Path parameters

accountIdstring required

Identifies your WatchGuard Cloud account. Example: WGC-1-123abc456 or ACC-1234567.

resourceIdnumber required

Identifies the API resource making the request.

Request body

loginstring required

Identifies the user to validate. This must be the email address or the user name of the user to validate.

passwordstring

The password of the user to be validated. It must be filled in clear text.

otpstring required

The one-time password typed by the user. This must be a six-digit OTP that includes only numbers.

originIpAddressstring

The end user IP address. The IP address must be in IPv4 format.

Response

Successful authentication response

authenticationResult'AUTHORIZED'

The authentication result

Changes

No recorded changes to this operation across all 1 revision of this API.