insert Password

@PostMapping(headers = [] )
open fun insertPassword(    @PathVariable(value = "id") userId: String,     @RequestHeader(value = "token") token: String,     @RequestHeader(value = "device_id") deviceId: String,     @RequestBody payload: Map<String, Any>): String

Endpoint used to insert a password owned by 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

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]
                             }