changeUserSettings

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

Method to change the settings of the yser

Return

the result of the request as String

Since

1.1.0

Parameters

id

The identifier of the user

token

The token of the user

payload

Payload of the request, based on the content will be changed the related setting preference