Gets the list of email domains owned by a billing account.
Request
GET https://www.activityinfo.org/resources/billingAccounts/{accountId}/domains
Successful response
application/json
array[object] | |||
domain | string | The email domain. (for example, "acme.com") | required |
idp | string | The Identity Provider (IdP) that is linked to this email domain, if any. If present, user accounts with this email domain must authenticate with this IdP. | optional |
deliveryStatus | string | Status of email delivery to this domain. Values:
|
required |
userCount | integer | The number of user accounts within this domain. Note that this count includes all user accounts associated with this email domain, even if they have not been invited to a database owned by this billing account. | required |
Error responses
Status Code | Error Code | Description |
---|---|---|
401 | AUTHENTICATION_ |
The request must be authenticated |
403 | FORBIDDEN | Permission denied |
404 | NOT_ |
The resource could not be found |
410 | DELETED | The resource has been deleted |
Example
curl -u anything:YOUR_API_TOKEN \
https://www.activityinfo.org/resources/billingAccounts/190780004/domains