edit Password

@PatchMapping(path = "/{" + PASSWORD_IDENTIFIER_KEY + "}", headers = [] )
open fun editPassword(    @PathVariable(value = "id") userId: String,     @RequestHeader(value = "token") token: String,     @RequestHeader(value = "device_id") deviceId: String,     @PathVariable(value = "password_id") passwordId: String,     @RequestBody payload: Map<String, Any>): String

Endpoint used to edit an existing password of a user

Return

the result of the request as String

Parameters

userId

The identifier of the user

token

The token of the user

deviceId

The identifier of the device of the user

passwordId

The identifier of the password

payload

Payload of the request


                             {
                                 "tail": "the tail of the password" -> [String],
                                 "scopes": "the scopes of the password" -> [String],
                                 "password": "the value of the password" -> [String] (if INSERTED password)
                             }