Skip to main content

Get mailbox disk usage

GET 

/api/accounts/:accountId/quota

Returns how much disk the mailbox directory uses (usage, in bytes) and the configured storage quota (limit, in bytes). limit is 0 when the mailbox has no quota.

usage is the directory size, the same figure the Cloudron mailbox list shows. It includes indexes and other mailbox files, not only message bytes.

The request is made with the session's platform access token, so a session without one gets 401. Platform failures return 424.

Request​

Responses​

Disk usage and configured storage quota.