Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/157ed4e1-cde1-4b52-824d-9a7a93e12ae9

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyMSIsImVtYWlsIjoiZW1haWwtMjI0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5NDF9.oiL_WixaEzzEjtYN6oN18M7D0ItEnYcLWXEaQbm-CLc
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/157ed4e1-cde1-4b52-824d-9a7a93e12ae9" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyMSIsImVtYWlsIjoiZW1haWwtMjI0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5NDF9.oiL_WixaEzzEjtYN6oN18M7D0ItEnYcLWXEaQbm-CLc" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "157ed4e1-cde1-4b52-824d-9a7a93e12ae9",
    "url": "/v2/organizations/157ed4e1-cde1-4b52-824d-9a7a93e12ae9",
    "created_at": "2015-10-07T00:35:41Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2113",
    "billing_enabled": false,
    "quota_definition_guid": "80ace971-0856-4a09-b952-187df03c4910",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/80ace971-0856-4a09-b952-187df03c4910",
    "spaces_url": "/v2/organizations/157ed4e1-cde1-4b52-824d-9a7a93e12ae9/spaces",
    "domains_url": "/v2/organizations/157ed4e1-cde1-4b52-824d-9a7a93e12ae9/domains",
    "private_domains_url": "/v2/organizations/157ed4e1-cde1-4b52-824d-9a7a93e12ae9/private_domains",
    "users_url": "/v2/organizations/157ed4e1-cde1-4b52-824d-9a7a93e12ae9/users",
    "managers_url": "/v2/organizations/157ed4e1-cde1-4b52-824d-9a7a93e12ae9/managers",
    "billing_managers_url": "/v2/organizations/157ed4e1-cde1-4b52-824d-9a7a93e12ae9/billing_managers",
    "auditors_url": "/v2/organizations/157ed4e1-cde1-4b52-824d-9a7a93e12ae9/auditors",
    "app_events_url": "/v2/organizations/157ed4e1-cde1-4b52-824d-9a7a93e12ae9/app_events",
    "space_quota_definitions_url": "/v2/organizations/157ed4e1-cde1-4b52-824d-9a7a93e12ae9/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 18a7a70f-9f3b-4cf1-9ee2-fac4837b0504
Content-Length: 1300
X-Content-Type-Options: nosniff