Skip to main content
POST
https://example.com
/
api
/
users
/
{userId}
/
password-resets
Reset user password
curl --request POST \
  --url https://example.com/api/users/{userId}/password-resets \
  --cookie better-auth.session_token=
{
  "inviteUrl": "<string>"
}

Authorizations

better-auth.session_token
string
cookie
required

Path Parameters

userId
string
required
Minimum string length: 1

Response

Successful response

inviteUrl
string
required