Accounts-account-email-domain-webmailLimits:GET
From Hostway API Documentation
Revision as of 07:30, 16 September 2016 by Dragomir.penev (Talk)
GET /accounts/{account}/email/{domain}/webmailLimits
Getting maximum allowed number of mailboxes for each type
Note: /email/{domain}/webmailLimits is a shortcut equivalent of this resource
Contents |
Request
GET /accounts/{account}/email/{domain}/webmailLimits
URI Parameters
- account - string
- Account number for the owner of the email domain entity.
- domain - string
- Target domain name of the email domain resource.
Request Headers
- Authorization - HTTP Authorization header [1]
- The Authentication credentials of the client application.
- Content-Type
- Required. Set this header to
application/json; charset=UTF-8
Response
Returns dictionary which contains the webmail upgrade settings for the target domain as a key-value pairs.
Status Code
- 200 OK
- Success
Response Body
{ "webmailLimits": { "activesync": 2, "premium": -1, "starter": -1, "standard": -1 }, "links": [ { "href": "https://api.hostway.com/accounts/accNum123/email/example.com/webmailLimits/", "rel": "self" } ] }
Parameters
- webmailLimits - dictionary
- Specifies a limit for each available webmail type. Negative values and zero mean that there is no limit for the type
- links - list
- Hypermedia for the resource.
See also