API

MailboxQuota

Mailboxes available and in use, per offer.

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
GET /mailbox/quotas list OK

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

mailbox_quotas, err := client.MailboxQuota(nil).List(nil, nil)
if err != nil {
    panic(err)
}
fmt.Println(mailbox_quotas)

Lua

Construct client as shown in the Lua setup, then call the operations:

local mailbox_quotas, err = client:MailboxQuota():list()

PHP

Construct client as shown in the PHP setup, then call the operations:

$mailbox_quotas = $client->MailboxQuota()->list();

Python

Construct client as shown in the Python setup, then call the operations:

mailbox_quotas = client.MailboxQuota().list()

Ruby

Construct client as shown in the Ruby setup, then call the operations:

mailbox_quotas = client.MailboxQuota.list()

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const mailbox_quotas = await client.MailboxQuota().list()

Fields

Field Type Required Description
annually object Yes Annually
config_name string Yes Config Name
label string Yes Label
monthly object Yes Monthly
quota string Yes Quota

list

GET /mailbox/quotas

Operation ID: getMailboxQuotas.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
sharing_id query string No

Responses

200: OK

application/json

Property Type Required Description
[].annually object Yes
[].annually.available integer Yes
[].annually.total integer Yes
[].annually.used integer Yes
[].config_name string Yes
[].label string Yes
[].monthly object Yes
[].monthly.available integer Yes
[].monthly.total integer Yes
[].monthly.used integer Yes
[].quota string Yes
401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes