Skip to content

POST /user/{user_key}/verify

Verify User Password

POST
/user/{user_key}/verify

Verify a user's current password.

Checks the supplied plain-text password against the bcrypt hash stored for
user_key. Returns 200 on success; raises 401 on mismatch. Used by the
frontend before allowing sensitive operations that require re-confirmation.

Emits: (direct transaction — no event class)

Required scope: auth:user:verify

Authorizations

OAuth2PasswordBearer
password Flow
Token URL"/api/auth"
Scopes:
  • "admin"User can access and edit users and system settings
  • "library"User can access and edit products
  • "production"User can access and edit production plans
  • "operator"User can access the operator panel and make production declarations

Parameters

Path Parameters

user_key*
Type
string
Required

Request Body

application/json
JSON
{
  
"password": "string"
}

Responses

Successful Response

application/json
JSON
{
  
"status": 200,
  
"message": "string",
  
"detail": "string"
}

Samples

Powered by VitePress OpenAPI

Released under the Apache 2.0 License.