Files
2026-05-18 12:34:00 +00:00

395 B

import io.appwrite.Client
import io.appwrite.coroutines.CoroutineCallback
import io.appwrite.services.Presences

val client = Client(context)
    .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
    .setProject("<YOUR_PROJECT_ID>") // Your project ID

val presences = Presences(client)

val result = presences.delete(
    presenceId = "<PRESENCE_ID>", 
)