Organization Quota Definitions API

Retrieve a Particular Organization Quota Definition

GET /v2/quota_definitions/:guid

Request

Route

GET /v2/quota_definitions/80f3e539-a8c0-4c43-9c72-649df53da8cb

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyOSIsImVtYWlsIjoiZW1haWwtMjI0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4OTl9.ar__mFQ6qOuTbbNi9r4W3C8zVNG_-9ME-Ev7UJm-1s4
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/quota_definitions/80f3e539-a8c0-4c43-9c72-649df53da8cb" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyOSIsImVtYWlsIjoiZW1haWwtMjI0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4OTl9.ar__mFQ6qOuTbbNi9r4W3C8zVNG_-9ME-Ev7UJm-1s4" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "80f3e539-a8c0-4c43-9c72-649df53da8cb",
    "url": "/v2/quota_definitions/80f3e539-a8c0-4c43-9c72-649df53da8cb",
    "created_at": "2016-06-08T16:41:39Z",
    "updated_at": "2016-06-08T16:41:26Z"
  },
  "entity": {
    "name": "name-1996",
    "non_basic_services_allowed": true,
    "total_services": 60,
    "total_routes": 1000,
    "total_private_domains": -1,
    "memory_limit": 20480,
    "trial_db_allowed": false,
    "instance_memory_limit": -1,
    "app_instance_limit": -1,
    "app_task_limit": -1,
    "total_service_keys": -1,
    "total_reserved_route_ports": 5
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: d8e3cefa-20eb-404a-a79d-e9578d686fcb
Content-Length: 595
X-Content-Type-Options: nosniff