Hi Team,
I’m trying to update the user password from my application using management API-Patch Users.
API Docs says we have “password” parameter but in the response getting like it’s an additional parameter.
Url:
https://{domain}/api/v2/users/{userID}
The request body is like below:
{
"password ": “xxxxx”,
“connection”: “Username-Password-Authentication”
}
Response:
{
"statusCode": 400,
"error": "Bad Request",
"message": "Payload validation error: 'Additional properties not allowed: password (consider storing them in app_metadata or user_metadata. See \"Users Metadata\" in https://auth0.com/docs/api/v2/changes for more details)'.",
"errorCode": "invalid_body"
}
I’ve gone through the several topics in the forum but I couldn’t find updating password request body anywhere.
Please instruct me on the same if I’m in wrong path:
Thanks in Advance