auth

Verify PIN

Checks the entered PIN. A wrong PIN is 401 pin_incorrect with attempts_remaining; the guess that exhausts the window — and any entry while locked — is 423 pin_locked with locked_until. 404 pin_not_set when no PIN is enrolled.

post/auth/me/pin/verify

Request

  • Base URL: https://api.instruxi.dev/api/v1/enforcer
  • URL: https://api.instruxi.dev/api/v1/enforcer/auth/me/pin/verify
  • Auth: API key in header Authorization

Request body

pinstring

Example request

{
  "pin": "042608"
}

Response

OK

successboolean

Example response

{
  "data": {
    "attempts_remaining": 4,
    "valid": true
  },
  "success": true
}

Changes

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