updateCredentials #
Updates a user credentials for the specified authentication strategy.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/credentials/<strategy>/<_id>/_update Method: PUT Body:{ // example with the "local" authentication strategy "password": "<new password>" }Other protocols #
{ "controller": "security", "action": "updateCredentials", "strategy": "<strategy>", "_id": "<kuid>", "body": { // example with the "local" authentication strategy "password": "<new password>" } }Arguments #
_id: user kuidstrategy: authentication strategy
Body properties #
The properties that can be sent to update a user credentials depend entirely of the authentication strategy.
Response #
Returns the authentication strategy response.
Example for the "local" authentication strategy: #
{ "status": 200, "error": null, "action": "updateCredentials", "controller": "security", "_id": "<kuid>", "result": { "username": "MyUser", "kuid": "<kuid>" } }