Skip to main content

Reset user password

PATCH
/users/password/{id}

Contract

Parameter
Value
Sectionusers
AuthenticationCookieAuth
Consumesnot required
Producesapplication/json

Parameters

1 parameter

Name
Location
Required
Type
Description
idpathyesintegerUser ID

Responses

4 responses

Status
Description
Type
200
New temporary credentialsobject
400
Invalid IDobject
401
Unauthorizedobject
500
Internal server errorobject
  • {
      "email": "<string>",
      "password": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }