Home
Version 3
Organization Quota Definitions API

Organization Quota Definitions API

Retrieve a Particular Organization Quota Definition

GET /v2/quota_definitions/:guid

Request

Route

GET /v2/quota_definitions/788aef87-ea74-48a7-89bd-6cddf0ed1777

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4NSIsImVtYWlsIjoiZW1haWwtMTg4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5Mzh9.ILo0Fjhm86qUPKhIi6-jtIjjgkW7US6Cpy5WNSxBP3A
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/quota_definitions/788aef87-ea74-48a7-89bd-6cddf0ed1777" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4NSIsImVtYWlsIjoiZW1haWwtMTg4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5Mzh9.ILo0Fjhm86qUPKhIi6-jtIjjgkW7US6Cpy5WNSxBP3A" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "788aef87-ea74-48a7-89bd-6cddf0ed1777",
    "url": "/v2/quota_definitions/788aef87-ea74-48a7-89bd-6cddf0ed1777",
    "created_at": "2015-10-07T00:35:38Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1979",
    "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
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 448c162d-508c-4fbd-b281-7e1d698df896
Content-Length: 502
X-Content-Type-Options: nosniff