Loading...

Reset User Password

Description

This API enables you to reset the password of a user of your Catalyst application. When this API is called, an email will be sent to the user’s email address with a password reset link. The user can configure a new password for your application and save it, upon clicking the link.

Request Details

Request URL

POST

{api-domain}/baas/v1/project/{project_id}/project-user/forgotpassword

copy

api-domain
URL
The DC-specific domain to access Catalyst API

project_id
Numerical
The unique ID of the project

Request Headers

Content-Type: application/json
PROJECT_ID: {ZAID}


Optional Headers

CATALYST-ORG: {org_id}

Environment: Development

Note: Catalyst does not authenticate this API request. Therefore, you need not pass an OAuth token or specify any scopes.

Request JSON Properties

platform_type string
mandatory
Accepted values: web, android, ios
Max Size: N/A
redirect_url string
optional
The URL to be redirected to, after the user resets the password
Max Size: 200
user_details json
mandatory

The JSON that contains the details of the user

first_name
String
First name of the user
Mandatory: No
Max Size: 100

last_name
String
Last name of the user
Mandatory: No
Max Size: 100

email_id
String
Email address of the user
Mandatory: Yes
Max Size: N/A

Response Details

The response will contain the status of the reset password action.

Sample Request
copy

curl -X POST
https://api.catalyst.zoho.com/baas/v1/project/3000000002001/project-user/forgotpassword
-H “Content-Type: application/json” \ -d ‘{ “user_details”:{ “email_id”:“p.boyle@zylker.com” }, “platform_type”:“web” }’

Sample Response
copy
{
    "status": "success",
    "data": "Reset link sent to your p.boyle@zylker.com email address. Please check your email :)"
}