PUT
URI:
Input fields:
| quota |
integer |
Yes |
The allocated quota. |
| realm_id |
string |
Yes |
The realm ID. |
Successful response fields:
| realm_id |
string |
The realm ID. |
| realm_quota |
integer |
The allocated realm quota. |
| available qutoa |
integer |
The common quota shared among realms. |
Response codes:
| 204 NO CONTENT |
|
Realm user quota has been allocated. |
| 400 Bad Request |
-
Quota cannot be negative.
-
Quota is not enough for the current user size of the realm.
-
Remaining customer quota is not enough to change the quota for the realm.
|
|
| 403 Forbidden |
|
|
| 404 Not Found |
|
|
Example request body:
{
"realm_id":"12345678-abcd-efgh-1234-xxxxxxxxxxxx",
"quota":1
}
Example of successful response body:
{
"realm_id":"12345678-abcd-efgh-1234-xxxxxxxxxxxx",
"realm_quota":1,
"available_quota":239
}