Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 410 Bytes

File metadata and controls

15 lines (11 loc) · 410 Bytes
import { Client, Organizations } from "@appwrite.io/console";

const client = new Client()
    .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
    .setProject('<YOUR_PROJECT_ID>'); // Your project ID

const organizations = new Organizations(client);

const result = await organizations.listAddons({
    organizationId: '<ORGANIZATION_ID>'
});

console.log(result);