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/3db95237-e021-4834-af85-5ba7b19fa5c9

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3MSIsImVtYWlsIjoiZW1haWwtMTAzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjEzNzQ2Mjl9.cWrTaR62eNWcDhThHOL0sSo9A2zI9FZgqyETTvl3NAs
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/quota_definitions/3db95237-e021-4834-af85-5ba7b19fa5c9" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3MSIsImVtYWlsIjoiZW1haWwtMTAzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjEzNzQ2Mjl9.cWrTaR62eNWcDhThHOL0sSo9A2zI9FZgqyETTvl3NAs" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "3db95237-e021-4834-af85-5ba7b19fa5c9",
    "url": "/v2/quota_definitions/3db95237-e021-4834-af85-5ba7b19fa5c9",
    "created_at": "2016-04-16T01:23:49Z",
    "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: e4468a44-01c4-4513-b0ea-e69ed927b66c
Content-Length: 594
X-Content-Type-Options: nosniff