Skip to main content
POST
/
auth
/
admin
/
reset-password
Reset admin password
curl -X POST http://localhost:50052/auth/admin/reset-password \
  -H "Content-Type: application/json" \
  -H 'Authorization: Bearer <admin-jwt-or-access-token>' \
  -d '{
    "password": "MyNewSecurePwd!2"
  }'
{
  "status": "success",
  "message": "Password reset successfully"
}

Authorizations

Authorization
string
header
required

Admin JWT obtained from the login endpoint.

Body

application/json
password
string
required

New password for the admin user. Must satisfy the password policy.

Response

Password reset successfully.

status
string

Operation result status.

message
string

Human-readable status message.