CBL | DevPortal
  • Welcome to the Central Bank of Libya Developer Portal | DevPortal
  • LYPay
    • LYPay Instant Payment System
    • Regulatory Guidelines & Compliance
    • Accounting & Settlement in LYPay
    • LYPay Instant Payment System – Technical Overview
    • API Documentation
      • About the APIs
      • API reference
        • Webhooks
        • Auth
          • Revoke
        • Api
          • V1
            • Miscs
              • Institutions
              • Transaction status
            • Payments
              • Funds transfers
                • Refund
                • Confirm
              • Debited funds transfers
              • Credited funds transfers
                • By internal merchant reference
              • Details
            • Auth
              • Token
              • Password
                • Reset
      • Specification
    • NUMO QR Code Standards
  • Contact & Support
Powered by GitBook
On this page
  1. LYPay
  2. API Documentation
  3. API reference
  4. Api
  5. V1
  6. Auth
  7. Password

Reset

PreviousPasswordNextNUMO QR Code Standards

Reset Password

post

Allows a user to reset their password by providing the email, current password and a new password.

Body
emailstringRequiredExample: mtellesy@gmail.com
passwordstringRequiredExample: 12345678
new_passwordstringRequiredExample: 123123123
Responses
200
Password reset successfully
default
An error response object
application/json
post
POST /api/v1/auth/password/reset HTTP/1.1
Host: 127.0.0.1:8080
Content-Type: application/json
Accept: */*
Content-Length: 79

{
  "email": "mtellesy@gmail.com",
  "password": "12345678",
  "new_password": "123123123"
}

No content