Pocketm8
  1. User
Pocketm8
  • Auth
    • User
      • Sign In
        POST
      • Reset Password
        POST
      • Send SMS Code
        POST
      • Verify Code
        POST
      • Verify Token
        POST
      • Verify Challenge
        POST
  • Profile
    • Get Profile
      GET
    • Update Profile
      PATCH
    • Update Email
      PUT
    • Update Phone
      PUT
    • Resend Code
      POST
    • Update Avatar
      POST
    • Verify Code
      POST
  • Users
    • Get Users
      GET
  • Contacts
    • Get Contact
      GET
    • Get Contacts
      GET
  • Tasks
    • Create Task
      POST
    • Delete Task
      DELETE
    • Update Task
      PUT
    • Update Task Status
      POST
    • Get Task
      GET
    • Get Tasks
      GET
  • Relations
    • Task Edit
      GET
    • File Edit
      GET
  • Files
    • Get File
    • Get Files
    • Upload File
    • Delete File
    • Update File
  • Avatars
    • Upload Avatar file
  • Integrations
    • Matrix
      • Files
        • Link File
        • Unlink File
  1. User

Reset Password

Developing
POST
/auth/user/reset-password
Allows users to reset their password by providing their email. If the email exists, a password reset link is sent. The user can then set a new password using the provided token.

Request

Body Params application/json

Example
{
    "email": "string"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://admin.letschat.ch/api/auth/user/reset-password' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email": "string"
}'

Responses

🟢200Success
application/json
Body

Example
{
    "message": "EMAIL_WITH_RESET_LINK_SENT"
}
🟠400Bad Request
Modified at 2025-03-07 13:46:36
Previous
Sign In
Next
Send SMS Code
Built with