setPayload

abstract suspend fun setPayload(name: String, payload: Payload, selector: DeleteSelector, key: String? = null, wait: Boolean = false)

Merge payload into the selected points' payload (existing keys are kept). Select the points with DeleteSelector.Ids(...) or DeleteSelector.ByFilter(filter { ... }).

Parameters

key

an optional payload path to assign under (nested set).