Password

Reset user password

Reset user password.

POSThttp://127.0.0.1:8888/api/users/{id}/password
Path parameters
id*all of

The unique ID of user.

Body
passwordstring

The password of user.

Response

OK

Request
const response = await fetch('http://127.0.0.1:8888/api/users/{id}/password', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();