Account

Manage the current active account.


These methods pertain to the current active account. There's no create method, as the active account would have been created by its parent. See networking for more information on account relationships.

Method Description
accountRead() Returns the account id, title, contactEmail, contactName, inactiveDate, created, apiKey
accountUpdate($post) Updates the current account values. $post values are title*, contactName*, contactEmail* Returns error on failure.
accountDelete() Deletes the current account. You can only delete the account if there are no active child accounts. Returns error on failure. Otherwise, it logs out the current user.