Forgot Password
POST /oauth/forget
Basic Authorization (retrieve credentials from OAuth Application)
- Username: OAuth Client ID
- Password: OAuth Client Secret
- HTTP header:
Authorization: Basic base64(client_id:client_secret)
Headers
Content-Type: application/json
Request Body
| Key | Type | Required | Rule | Description |
|---|---|---|---|---|
| username | string | Mandatory | User's login identifier (email/phone) |
Expected HTTP status code
- 200 OK
Error
| Code | error | error_description |
|---|---|---|
400 | rate_limit_exceeded | A password reset was requested recently. Please try again shortly. |