Home
Version 3
Organization Quota Definitions API

Organization Quota Definitions API

Retrieve a Particular Organization Quota Definition

GET /v2/quota_definitions/:guid

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
guid The guid of the Organization Quota Definition

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTciLCJlbWFpbCI6ImVtYWlsLTdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNDQ3MTY4NX0.OlmijwMbhxZSZOL_h2eMu2WucGAczVa7vcxQakaSc50
Host: example.org
Cookie: 

Route

GET /v2/quota_definitions/78c5b9f4-c556-4527-9774-7dfebeb8ec07

cURL

curl "https://api.[your-domain.com]/v2/quota_definitions/78c5b9f4-c556-4527-9774-7dfebeb8ec07" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTciLCJlbWFpbCI6ImVtYWlsLTdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNDQ3MTY4NX0.OlmijwMbhxZSZOL_h2eMu2WucGAczVa7vcxQakaSc50" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 4042616d-73be-46a5-bac3-9ca3fd7651e7
Content-Length: 437
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "78c5b9f4-c556-4527-9774-7dfebeb8ec07",
    "url": "/v2/quota_definitions/78c5b9f4-c556-4527-9774-7dfebeb8ec07",
    "created_at": "2015-02-13T22:34:45Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-30",
    "non_basic_services_allowed": true,
    "total_services": 60,
    "total_routes": 1000,
    "memory_limit": 20480,
    "trial_db_allowed": false,
    "instance_memory_limit": -1
  }
}