new OrganizationAPI(rest)
This class is used to interact with Organizations in TidyHQ.
Parameters:
Name | Type | Description |
---|---|---|
rest | Rest | The rest instance to use for requests. |
- Source
Methods
(async) getOrganization(optionsopt) → {Promise.<TidyAPI_V1_Organization>}
Get the organization associated with the access token.
Parameters:
Name | Type | Attributes | Default | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
options | object | <optional> | {} | Properties
|
- Source
Returns:
- The organization.
- Type:
- Promise.<TidyAPI_V1_Organization>