Update Quotas

Verb URI Description
PUT /quotas/tenant_id Updates quotas for a specified tenant. Use when non-default quotas are desired.

Normal Response Code: 200

Error Response Codes: Unauthorized (401), Forbidden (403)

This operation updates quotas for a given tenant.

This operation requires a request body. The body contains the resource names and their new quota values.

This operation returns a response body.

 

Example 5.46. Update Quotas: JSON Request

PUT /v2.0/quotas/5fcfbc3283a142a5bb6978b549a511ac.json HTTP/1.1
Host: controlnode:9696
User-Agent: python-neutronclient
Content-Type: application/json
Accept: application/json
X-Auth-Token: 4cbb09e780434b249ff596d6979fd8fc
Content-Length: 88
{
    "quota": {
        "subnet": 40,
        "router": 50,
        "network": 10,
        "floatingip": 30,
        "port": 30
    }
}

 

Example 5.47. Update Quotas: JSON Response

{
    "quota": {
        "subnet": 40,
        "router": 50,
        "port": 30,
        "network": 10,
        "floatingip": 30
    }
}

Log a bug against this page


loading table of contents...