Class ObjectSetPreferencesParams

  • All Implemented Interfaces:
    app.knock.api.core.Params

    
    public final class ObjectSetPreferencesParams
     implements Params
                        

    Sets preferences within the given preference set. This is a destructive operation and will replace any existing preferences with the preferences given. If no object exists in the current environment for the given :collection and :object_id, Knock will create the object as part of this request. The preference set :id can be either default or a tenant.id. Learn more about /preferences/tenant-preferences.