Files
Chirag AggarwalandChiragAgg5k e71d447c77 feat: SDK update for version 26.1.0 (#122)
* chore: update Dart SDK to 26.0.0

* Commit from GitHub Actions (Format and push)

* docs: clarify ActivityEvent changelog, country field remains

* chore: update Dart SDK to 26.0.0

* Commit from GitHub Actions (Format and push)

* chore: update Dart SDK to 26.1.0

* Commit from GitHub Actions (Format and push)

* chore: update Dart SDK to 26.1.0

* Commit from GitHub Actions (Format and push)

* chore: update Dart SDK to 26.1.0

* Commit from GitHub Actions (Format and push)

---------

Co-authored-by: ChiragAgg5k <ChiragAgg5k@users.noreply.github.com>
2026-07-24 11:41:17 +05:30

386 B

import 'package:dart_appwrite/dart_appwrite.dart';

Client client = Client()
    .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
    .setProject('<YOUR_PROJECT_ID>') // Your project ID
    .setSession(''); // The user session to authenticate with

Account account = Account(client);

await account.deleteConsent(
    consentId: '<CONSENT_ID>',
);