POST
/
api
/
v1
/
auth
/
reset-password
/
{email}
curl --request POST \
  --url https://chat.api.toolzz.com.br/api/v1/auth/reset-password/{email} \
  --header 'Content-Type: application/json' \
  --data '{
  "password": "<string>",
  "confirm-password": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "lastName": "<string>",
  "email": "<string>",
  "token": "<string>",
  "institutionId": "<string>",
  "institutionName": "<string>",
  "isActive": true,
  "hasPassword": true,
  "superAdmin": true,
  "verified": true,
  "members": [
    {}
  ],
  "isMember": true
}

Parameters

email
string

the email of the account

password
string

the new password of the account

confirm-password
string

the new password of the account

Response Description

Below you will see the description of the reset password response

id
uuid
required

Unique identifier for the user.

name
string
required

First name of the user.

lastName
string
required

Last name of the user.

email
string
required

Email address of the user.

token
string
required

Authentication token for the user.

institutionId
uuid

UUID of the associated institution (optional).

institutionName
string

Name of the associated institution (optional).

isActive
boolean
required

Indicates whether the user’s account is active.

hasPassword
boolean
required

Indicates whether the user has a password set.

superAdmin
boolean
required

Indicates whether the user has super admin privileges.

verified
boolean
required

Indicates whether the user’s email is verified.

members
array
required

List of members associated with the user.

isMember
boolean
required

Indicates whether the user is a member of an institution.