Knock.Users.set_preferences

You're seeing just the function set_preferences, go back to Knock.Users module for more information.
Link to this function

set_preferences(client, user_id, preferences, options \\ [])

View Source

Specs

set_preferences(Knock.Client.t(), String.t(), map(), Keyword.t()) ::
  Knock.Api.response()

Sets an entire preference set for the user. Will overwrite any existing data.