Admin Reset password

Admin reset of a given user's password

Request
Security:
vc-security
query Parameters
username
required
string
newPassword
required
string
Responses
200

OK

400

Bad Request. The request parameters (or body) were malformed or invalid. Fix the issues with the request and try again.

401

Unauthorized request. Make sure token was included and is valid and try again.

403

Forbidden. You are not permitted to access the requested resource.

404

Not Found. The specified resource (or resource referred to by id) was not found

post/user-service/v1/user/admin/resetPassword
Request samples
curl -i -X POST \
  'http://localhost:8081/user-service/v1/user/admin/resetPassword?username=string&newPassword=string' \
  -H 'x-auth-token: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "message": "Field \"name\" cannot be null",
  • "status": 400,
  • "error": "Bad Request",
  • "timestamp": "2023-12-13T19:02:31.5897497",
  • "path": "/user-service/v1"
}