Skip to content
PharmaFlow Knowledgebase
Esc
↑↓navigate↵open⌘Jpreview

Confirm password for sensitive changes

Requires an unlocked staff session and the current password. Reconfirmation expires after five minutes.

POST/api/v1/security/reauth
Authorization
AuthorizationBearer token (JWT) · headerrequired

JWT from POST /api/v1/auth/login sent as Authorization Bearer.

Request body
requiredapplication/json
passwordstringrequired
min length 1
Responses
200

Password confirmed

403

Incorrect password

detailstringrequired
Try it
Server
Authorization
Bodyapplication/json
Request
curl -X POST 'http://localhost:8000/api/v1/security/reauth' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "password": "string"
}'
Response
Password confirmed