```kotlin import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client(context) .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID val databases = Databases(client) val result = databases.decrementDocumentAttribute( databaseId = "", collectionId = "", documentId = "", attribute = "", value = 0, // (optional) min = 0, // (optional) transactionId = "", // (optional) )```