Skip to content

Request user region quota update

About

Request user region quota to be updated. After request is processed, user will be notified about quota status via email assigned to user account. You can update existing non-processed request using the same endpoint.

PATCH /users/current/regions/{region}/quotas

For more information see swagger documentation

Headers

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

Path parameters

Name Type Required Description
region string Yes Quota region

Body

Name Type Required Description
maxAccounts number Maximum created accounts
maxDeployedG1Accounts number Maximum deployed G1 accounts
maxDeployedG2Accounts number Maximum deployed G2 accounts
maxDedicatedIpv4 number Maximum amount of primary accounts using dedicated IPv4
maxDedicatedIpv6 number Maximum amount of primary accounts using dedicated IPv6
message string Quota update request user message

Response

  • 201 - Region quota update request created
  • 204 - Region quota update request updated
  • 400 - Validation failed. Response schema: Error

Examples

Example request:

curl -X PATCH --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'auth-token: token' -d '{
    "maxAccounts": 150,
    "maxDeployedG1Accounts": 25,
    "maxDeployedG2Accounts": 120,
    "maxDeployedCopyFactoryAccounts": 120,
    "maxDedicatedIpv4": 100,
    "maxDedicatedIpv6": 100,
    "message": "quota update request user message"
}' 'https://mt-provisioning-api-v1.agiliumtrade.agiliumtrade.ai/users/current/regions/vint-hill/quotas'