ksonbin / in.zeromod.ksonbin.api / Bin / update
update
suspend fun <reified JSON : Any> update(binId: String, data: JSON, versioning: Boolean = true, secretKey: String? = ksonbin.secretKey): BinUpdate<JSON>
Using the UPDATE API, you can Update Public and Private bins.
Parameters
binId - String
data - JSON (Any class with @Serializable annotated)
versioning - Boolean (Required only if you want to disable versioning on private records)
secretKey - String? (Required only if you are trying to update a private record)