Show quota for mail service.

Request URL

Mail API v1.0

GET /v1/services/(uuid:service_id)/quotas

Request Paramters

Parameter Value Style Type Description
X-Auth-Token - header string User Token
service_id - URI UUID Service ID

Response Paramters

Parameter Value Style Type Description
quota - plain dict -
quota - plain int Quota for Use(Unit:GB)
total_usage - plain float Total Usage(Unit:GB)It displays the number with two decimal point.

Request Json

This operation does not accept a request body.

Normal response codes

200 - Success

Error response codes

401 - Access Denied
404 - Not Found




curl -i -X GET \
-H "Accept: application/json" \
-H "X-Auth-Token: 39be9f8d53044388b7f2e867eba8b140" \
HTTP/1.1 200 Success
Date: Tue, 09 Dec 2014 01:46:58 GMT
Server: Apache
Content-Length: 1003
Content-Type: application/json

        "quota": 50,
        "total_usage": 24