change Preset Password

@PatchMapping(path = "USERS_KEY + "/{" + IDENTIFIER_KEY + "}" + CHANGE_PRESET_PASSWORD_ENDPOINT", headers = [] )
open fun changePresetPassword(@PathVariable(value = "id") userId: String, @RequestHeader(value = "token") token: String, @RequestBody payload: Map<String, String>): String

Method to change the preset password of a VIEWER

Return

the result of the request as String

Parameters

userId

The identifier of the user

token

The token of the user

payload

The payload of the request


                                                            {
                                                                "password": "the password of the viewer" -> [String]
                                                            }