mirror of
https://github.com/appwrite/appwrite
synced 2026-05-15 21:19:19 +00:00
405 B
405 B
package main
import ( "fmt" "github.com/appwrite/sdk-for-go/client" "github.com/appwrite/sdk-for-go/users" )
client := client.New( client.WithEndpoint("https://.cloud.appwrite.io/v1") client.WithProject("<YOUR_PROJECT_ID>") client.WithKey("<YOUR_API_KEY>") )
service := users.New(client)
response, error := service.DeleteSession( "<USER_ID>", "<SESSION_ID>", )