class Accounts
extends BaseApi
import { Accounts } from "https://deno.land/x/gesso@v0.1.2/src/Accounts.ts";
Constructors
new
Accounts(config: Configuration)Methods
createNewSubaccount(): Promise<Account>
deleteSubaccount(): Promise<Account>
account_id: string,
id: string,
body?: unknown,
deleteUserFromTheRootAccount(): Promise<User>
account_id: string,
user_id: string,
body?: unknown,
getAccountsThatAdminsCanManage(body?: unknown): Promise<Account[]>
getHelpLinks(account_id: string, body?: unknown): Promise<HelpLink>
getSingleAccount(id: string, body?: unknown): Promise<Account>
getTheManuallycreatedCoursesSubaccountForTheDomainRootAccount(body?: unknown): Promise<Account>
getTheSubaccountsOfAnAccount(): Promise<Account[]>
getTheTermsOfService(account_id: string, body?: unknown): Promise<TermsOfService>
listAccounts(params?: ListAccountsParams, body?: unknown): Promise<Account[]>
listAccountsForCourseAdmins(body?: unknown): Promise<Account[]>
listActiveCoursesInAnAccount(): Promise<Course[]>
permissions(): Promise<Course>
updateAnAccount(): Promise<Account>