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/e52a2aa5-3e00-4231-a0c3-98d900118c78

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzNCIsImVtYWlsIjoiZW1haWwtMTAyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjE5NTgzOTZ9.aQCEovlCofKQBM6kGtzz6Mqc5bRzzPaeTscAUm8pFAE
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/quota_definitions/e52a2aa5-3e00-4231-a0c3-98d900118c78" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzNCIsImVtYWlsIjoiZW1haWwtMTAyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjE5NTgzOTZ9.aQCEovlCofKQBM6kGtzz6Mqc5bRzzPaeTscAUm8pFAE" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "e52a2aa5-3e00-4231-a0c3-98d900118c78",
    "url": "/v2/quota_definitions/e52a2aa5-3e00-4231-a0c3-98d900118c78",
    "created_at": "2016-04-22T19:33:16Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-339",
    "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,
    "app_task_limit": -1,
    "total_service_keys": -1,
    "total_reserved_route_ports": 5
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: a53380b3-3192-446b-b23b-e2cc6a9bf89a
Content-Length: 594
X-Content-Type-Options: nosniff