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/c44bb214-a203-4359-8107-e96a9c9ba803

Parameters

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

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyMCIsImVtYWlsIjoiZW1haWwtOTFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNjE4Nzc0Mn0.16YnVKaAMVCHm0Id2dT5Nu6pVhiwHy-kUA_-yMri6_s
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/quota_definitions/c44bb214-a203-4359-8107-e96a9c9ba803" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyMCIsImVtYWlsIjoiZW1haWwtOTFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNjE4Nzc0Mn0.16YnVKaAMVCHm0Id2dT5Nu6pVhiwHy-kUA_-yMri6_s" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "c44bb214-a203-4359-8107-e96a9c9ba803",
    "url": "/v2/quota_definitions/c44bb214-a203-4359-8107-e96a9c9ba803",
    "created_at": "2015-03-05T19:15:42Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-434",
    "non_basic_services_allowed": true,
    "total_services": 60,
    "total_routes": 1000,
    "memory_limit": 20480,
    "trial_db_allowed": false,
    "instance_memory_limit": -1
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 260760a9-533d-46f0-9413-4f276440ddf4
Content-Length: 438
X-Content-Type-Options: nosniff