Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/a2e5677d-7f86-4ed2-8697-fe1f02a1b772

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTg2IiwiZW1haWwiOiJlbWFpbC01N0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDU4ODU1NjY3fQ.BXzcA6AbiJo-fNVc-lCEOw9nTNYMm-kDTjNnPKKxnoM
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/a2e5677d-7f86-4ed2-8697-fe1f02a1b772" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTg2IiwiZW1haWwiOiJlbWFpbC01N0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDU4ODU1NjY3fQ.BXzcA6AbiJo-fNVc-lCEOw9nTNYMm-kDTjNnPKKxnoM" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "a2e5677d-7f86-4ed2-8697-fe1f02a1b772",
    "url": "/v2/organizations/a2e5677d-7f86-4ed2-8697-fe1f02a1b772",
    "created_at": "2016-03-17T21:41:07Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-322",
    "billing_enabled": false,
    "quota_definition_guid": "6d873dc8-a95b-4477-a62e-ad539c2d6eef",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/6d873dc8-a95b-4477-a62e-ad539c2d6eef",
    "spaces_url": "/v2/organizations/a2e5677d-7f86-4ed2-8697-fe1f02a1b772/spaces",
    "domains_url": "/v2/organizations/a2e5677d-7f86-4ed2-8697-fe1f02a1b772/domains",
    "private_domains_url": "/v2/organizations/a2e5677d-7f86-4ed2-8697-fe1f02a1b772/private_domains",
    "users_url": "/v2/organizations/a2e5677d-7f86-4ed2-8697-fe1f02a1b772/users",
    "managers_url": "/v2/organizations/a2e5677d-7f86-4ed2-8697-fe1f02a1b772/managers",
    "billing_managers_url": "/v2/organizations/a2e5677d-7f86-4ed2-8697-fe1f02a1b772/billing_managers",
    "auditors_url": "/v2/organizations/a2e5677d-7f86-4ed2-8697-fe1f02a1b772/auditors",
    "app_events_url": "/v2/organizations/a2e5677d-7f86-4ed2-8697-fe1f02a1b772/app_events",
    "space_quota_definitions_url": "/v2/organizations/a2e5677d-7f86-4ed2-8697-fe1f02a1b772/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 
Content-Length: 1299
X-Content-Type-Options: nosniff