Server Quota
ServerQuotaItem object
123Pass 0 for default quota
12345Can be empty or null for default and basic client quota
JD-NB2UU6VX732Pattern: ^[A-Z0-9_\-.]{0,240}$Pass 0 combined with instanceTypeId 0 to define max quota for an entire client
18Pass 0 to define with locationId > 0 to define max quota for an entire location
1235Successful operation
ServerQuotaItem object
123Pass 0 for default quota
12345Can be empty or null for default and basic client quota
JD-NB2UU6VX732Pattern: ^[A-Z0-9_\-.]{0,240}$Pass 0 combined with instanceTypeId 0 to define max quota for an entire client
18Pass 0 to define with locationId > 0 to define max quota for an entire location
1235Invalid json body supplied
Invalid authentication
Conflict - resource exists
Invalid body parameter(s) supplied
POST /api/quota HTTP/1.1
X-Api-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 95
{
"clientId": 12345,
"contractId": "JD-NB2UU6VX732",
"locationId": 18,
"instanceTypeId": 123,
"quota": 5
}{
"id": 123,
"clientId": 12345,
"contractId": "JD-NB2UU6VX732",
"locationId": 18,
"instanceTypeId": 123,
"quota": 5
}ID of the quota item
123Successful operation
ServerQuotaItem object
123Pass 0 for default quota
12345Can be empty or null for default and basic client quota
JD-NB2UU6VX732Pattern: ^[A-Z0-9_\-.]{0,240}$Pass 0 combined with instanceTypeId 0 to define max quota for an entire client
18Pass 0 to define with locationId > 0 to define max quota for an entire location
1235Invalid json body supplied
Invalid authentication
Quota item not found
GET /api/quota/{id} HTTP/1.1
X-Api-Key: YOUR_API_KEY
Accept: */*
{
"id": 123,
"clientId": 12345,
"contractId": "JD-NB2UU6VX732",
"locationId": 18,
"instanceTypeId": 123,
"quota": 5
}ID of the quota item
123ServerQuotaItem object
123Pass 0 for default quota
12345Can be empty or null for default and basic client quota
JD-NB2UU6VX732Pattern: ^[A-Z0-9_\-.]{0,240}$Pass 0 combined with instanceTypeId 0 to define max quota for an entire client
18Pass 0 to define with locationId > 0 to define max quota for an entire location
1235Successful operation
ServerQuotaItem object
123Pass 0 for default quota
12345Can be empty or null for default and basic client quota
JD-NB2UU6VX732Pattern: ^[A-Z0-9_\-.]{0,240}$Pass 0 combined with instanceTypeId 0 to define max quota for an entire client
18Pass 0 to define with locationId > 0 to define max quota for an entire location
1235Invalid json body supplied
Invalid authentication
Quota item not found
Invalid body parameter(s) supplied
PUT /api/quota/{id} HTTP/1.1
X-Api-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 95
{
"clientId": 12345,
"contractId": "JD-NB2UU6VX732",
"locationId": 18,
"instanceTypeId": 123,
"quota": 5
}{
"id": 123,
"clientId": 12345,
"contractId": "JD-NB2UU6VX732",
"locationId": 18,
"instanceTypeId": 123,
"quota": 5
}ID of the quota item
123No content
No content
Invalid json body supplied
Invalid authentication
Quota item not found
DELETE /api/quota/{id} HTTP/1.1
X-Api-Key: YOUR_API_KEY
Accept: */*
No content
Successful operation
ServerQuotaClients containing a list of client IDs that have custom quota
Invalid json body supplied
Invalid authentication
GET /api/quota/clients HTTP/1.1
X-Api-Key: YOUR_API_KEY
Accept: */*
{
"items": [
{
"clientId": 1,
"contractId": "JD-NB2UU6VX732"
}
]
}Successful operation
ServerQuota object
Invalid json body supplied
Invalid authentication
GET /api/quota/default HTTP/1.1
X-Api-Key: YOUR_API_KEY
Accept: */*
{
"items": [
{
"id": 123,
"clientId": 12345,
"contractId": "JD-NB2UU6VX732",
"locationId": 18,
"instanceTypeId": 123,
"quota": 5
}
]
}ID of the client to get quota for
12345Successful operation
ServerQuota object
Invalid json body supplied
Invalid authentication
Client not found
GET /api/client/{clientId}/quota HTTP/1.1
X-Api-Key: YOUR_API_KEY
Accept: */*
{
"items": [
{
"id": 123,
"clientId": 12345,
"contractId": "JD-NB2UU6VX732",
"locationId": 18,
"instanceTypeId": 123,
"quota": 5
}
]
}ID of the client to get quota for
12345ServerQuotaBulk to update all (client) quota for a contract ID in 1 go
Can be empty or null for on-demand client quota
JD-NB2UU6VX732Pattern: ^[A-Z0-9_\-.]{0,240}$Successful operation
ServerQuota object
Invalid json body supplied
Invalid authentication
Client not found
Invalid body parameter(s) supplied
POST /api/client/{clientId}/quota HTTP/1.1
X-Api-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 137
{
"contractId": "JD-NB2UU6VX732",
"items": [
{
"clientId": 12345,
"contractId": "JD-NB2UU6VX732",
"locationId": 18,
"instanceTypeId": 123,
"quota": 5
}
]
}{
"items": [
{
"id": 123,
"clientId": 12345,
"contractId": "JD-NB2UU6VX732",
"locationId": 18,
"instanceTypeId": 123,
"quota": 5
}
]
}ID of the client to delete quota for
12345contract id
^[A-Z0-9_\-.]{0,240}$No content
No content
Invalid json body supplied
Invalid authentication
Not Acceptable
DELETE /api/client/{clientId}/quota HTTP/1.1
X-Api-Key: YOUR_API_KEY
Accept: */*
No content
ID of the client to get quota + usage for
12345Successful operation
ServerQuotaUsage object
Invalid json body supplied
Invalid authentication
Client not found
GET /api/client/{clientId}/quota/usage HTTP/1.1
X-Api-Key: YOUR_API_KEY
Accept: */*
{
"items": [
{
"id": 123,
"clientId": 12345,
"contractId": "JD-NB2UU6VX732",
"locationId": 18,
"instanceTypeId": 123,
"quota": 5,
"usage": 3
}
]
}Last updated
Was this helpful?