1. Home
  2. Docs
  3. API
  4. Special Endpoints
  5. Password

Password

To change a user password using the API, you need to use the endpoint ApiGoat/reset/{ValidationKey}

PATCH https://x.apigoat.com/p/YOUR-PROJECT-NAME/api/v1/ApiGoat/reset/AxG3Clxsmvy0QI9OONwtqKMlBt3iOctT HTTP/1.1
Content-type: application/json
Accept: application/json

{
  "PasswdHash":"c20ad4d76fe97759aa27a0c99bff6710"
}

This is a PATCH request with the user ValidationKey.

Pass on the PasswdHash as the md5 of the user password.

How can we help?

Leave a Reply