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/4728d20b-b2d4-428d-ae17-70670b3b83b2

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE5MiIsImVtYWlsIjoiZW1haWwtMTI1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1MzR9.Tb0JUnj3LsTCa-UQwCDAIUATFOW8LUohLHKRxtmEJFw
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/quota_definitions/4728d20b-b2d4-428d-ae17-70670b3b83b2" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE5MiIsImVtYWlsIjoiZW1haWwtMTI1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1MzR9.Tb0JUnj3LsTCa-UQwCDAIUATFOW8LUohLHKRxtmEJFw" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "4728d20b-b2d4-428d-ae17-70670b3b83b2",
    "url": "/v2/quota_definitions/4728d20b-b2d4-428d-ae17-70670b3b83b2",
    "created_at": "2015-09-11T18:38:54Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-615",
    "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: d54a0e68-2da1-47c8-824e-403f9e65fa34
Content-Length: 501
X-Content-Type-Options: nosniff