Available methods:


GET /v1/api/quotas

The method returns all quotas which are registered in the system.

Input Parameters

#ParameterParameter TypeData TypeMandatoryDescription/Valid Values
1 skip query integer Optional Pagination: Number of items to skip
2 take query integer Optional Pagination: Number of items to skip


Output Parameters

PageV1Model  [QuotaItemInfoV1Model]

Response Class (Status 200)

Returns all existing quota items.

Response example

GET /v1/api/accounts/{accountID}/quotas

The method returns quotas which can be set on account. Return entity contains information about quota name, quota default value, the value on the account (if it was set) and item value for the account.

Note: this operation is applicable only to user accounts.

Input Parameters

#ParameterParameter TypeData TypeMandatoryDescription/Valid Values
1 accountID path string Required Identifies the account. 32 symbols (0-9, a-f)
2 skip query integer Optional Pagination: Number of items to skip
3 take query integer Optional Pagination: Number of items to skip


Output Parameters

PageV1Model  [QuotaItemGetV1Model]

Response Class (Status 200)

An array of all quotas currently configured for the specified account.

Response example

Returns 3 effective account quotas:

Possible error response messages

PUT /v1/api/accounts/{accountID}/quotas

This method updates account quotas.

Note: this operation is applicable only to user accounts.

Input Parameters

#ParameterParameter TypeData TypeMandatoryDescription/Valid Values
1 accountID path string Required Identifies the account. 32 symbols (0-9, a-f)
2 quotas body Array[Public REST API v1#QuotaItemSetV1Model] Required Name of the quota, that is valid for this account. To get effective valid account quotas,
use the GET /v1/api/accounts/{accountID}/quotas method.

Output Parameters

Inline Model 


Response Class (Status 200)

The specified quotas were update for the account.

Request example

New account quotas are specified:


[{"name":"MSExchange_mailboxesQuota","value":10.0},{"name":"IamEnterprise_usersQuota","value":15.0}]

Possible error response messages