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/9b95f629-b7ea-446d-b5a5-4b92399a72dd

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0OCIsImVtYWlsIjoiZW1haWwtMjUwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NjV9.ZuzcDvaA0eE4Rk8-JVMRhEDh4QIQPs86OVWSY4AVoao
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/quota_definitions/9b95f629-b7ea-446d-b5a5-4b92399a72dd" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0OCIsImVtYWlsIjoiZW1haWwtMjUwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NjV9.ZuzcDvaA0eE4Rk8-JVMRhEDh4QIQPs86OVWSY4AVoao" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "9b95f629-b7ea-446d-b5a5-4b92399a72dd",
    "url": "/v2/quota_definitions/9b95f629-b7ea-446d-b5a5-4b92399a72dd",
    "created_at": "2015-10-15T23:52:45Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2253",
    "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: ed920a18-106a-46de-a298-ecbb5f86d771
Content-Length: 502
X-Content-Type-Options: nosniff