Skip to content

Get user quota

About

Retrieves user account quotas and usage for all available regions

GET /users/current/quotas

For more information see swagger documentation

Headers

Name Type Required Description
auth-token string Yes Authorization token. See Authentication and authorization

Response

  • 200 - User account quotas list. Response schema: Array<UserQuotas>
  • 401 - Authorization failed. Response schema: Error

Examples

Example request:

curl -X GET --header 'Accept: application/json' --header 'auth-token: token' 'https://mt-provisioning-api-v1.agiliumtrade.agiliumtrade.ai/users/current/quotas'

Example response:

[
  {
    "maxAccounts": {"quota": 100, "usageInPercents": 50},
    "maxDeployedG1Accounts": {"quota": 20, "usageInPercents": 25},
    "maxDeployedG2Accounts": {"quota": 100, "usageInPercents": 45},
    "maxDeployedCopyFactoryAccounts": {"quota": 100, "usageInPercents": 15},
    "maxDedicatedIpv4": {"quota": 4, "usageInPercents": 50},
    "maxDedicatedIpv6": {"quota": 8, "usageInPercents": 100},
    "region": "vint-hill"
  }
]