Skip to main content
POST
/
v1
/
auth
/
reset-password
Reset password with code
curl --request POST \
  --url https://api.magne.app/v1/auth/reset-password \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "resetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "code": "<string>",
  "newPassword": "<string>"
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
resetId
string<uuid>
required
code
string
required
newPassword
string
required

Response

Success

message
string