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/a2d2e1bd-bc51-4260-9577-63a3dd77a236

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTYwIiwiZW1haWwiOiJlbWFpbC01OEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI2NjMzODk4fQ.ms2PuesH_IuFA5Qh6RETPWHG1nOcqnWH_aKbJKriWlg
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/quota_definitions/a2d2e1bd-bc51-4260-9577-63a3dd77a236" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTYwIiwiZW1haWwiOiJlbWFpbC01OEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI2NjMzODk4fQ.ms2PuesH_IuFA5Qh6RETPWHG1nOcqnWH_aKbJKriWlg" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "a2d2e1bd-bc51-4260-9577-63a3dd77a236",
    "url": "/v2/quota_definitions/a2d2e1bd-bc51-4260-9577-63a3dd77a236",
    "created_at": "2015-03-10T23:11:38Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-233",
    "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: 5dad1cae-3b39-4dcc-8563-0309254b36fc
Content-Length: 438
X-Content-Type-Options: nosniff