Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 3
Account API
Richard Thombs edited this page Apr 9, 2015
·
8 revisions
The Account API provides access to configuration settings that affect the entire TeamHaven Account.
The Account's display theme is used when displaying pages which are not Project-specific or when the selected Project does not have a display theme of it's own.
GET /api/account/theme
{AccentBackgroundColor: '#0081c6',AccentForegroundColor: '#ffffff',AccentBorderColor: '#008186',BoxBackgroundColor: '#ffffff'}PUT /api/account/theme
DELETE /api/account/theme
Resets the Project's theme so that the Account's theme is used instead.
This information is displayed on the TeamHaven Login page when connecting to TeamHaven via a Dedicated Domain or a Custom Domain. Once logged in, it is also available via the Help menu. This is intended to help users get in touch with your company's support team.
GET /api/account/support
PUT /api/account/support
GET /api/account/settings
{DesignRoles: true,WhiteLabel: true,DefaultCountry: 'GB',CollectorsCanChangePasswords: true,ClientsCanChangePasswords: true,PrimaryAccountHolderUserID: 1234}GET /api/account/name
{Name: 'My Company',ShortName: 'mycompany',CustomDomain: 'reports.mycompany.com'}PUT /api/account/name