Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/e4e8c3fc-1c5b-4571-9517-36a3c6e0b837

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTg4IiwiZW1haWwiOiJlbWFpbC01NkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQyNjAxNTI5fQ.3pVaGT2T8jpQaltY-JFPEYTld_4A555QMAXaQAwyuuE
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/e4e8c3fc-1c5b-4571-9517-36a3c6e0b837" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTg4IiwiZW1haWwiOiJlbWFpbC01NkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQyNjAxNTI5fQ.3pVaGT2T8jpQaltY-JFPEYTld_4A555QMAXaQAwyuuE" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "e4e8c3fc-1c5b-4571-9517-36a3c6e0b837",
    "url": "/v2/organizations/e4e8c3fc-1c5b-4571-9517-36a3c6e0b837",
    "created_at": "2015-09-11T18:38:49Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-248",
    "billing_enabled": false,
    "quota_definition_guid": "ddc7a429-12ab-48b9-85b6-070e9356b7d0",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/ddc7a429-12ab-48b9-85b6-070e9356b7d0",
    "spaces_url": "/v2/organizations/e4e8c3fc-1c5b-4571-9517-36a3c6e0b837/spaces",
    "domains_url": "/v2/organizations/e4e8c3fc-1c5b-4571-9517-36a3c6e0b837/domains",
    "private_domains_url": "/v2/organizations/e4e8c3fc-1c5b-4571-9517-36a3c6e0b837/private_domains",
    "users_url": "/v2/organizations/e4e8c3fc-1c5b-4571-9517-36a3c6e0b837/users",
    "managers_url": "/v2/organizations/e4e8c3fc-1c5b-4571-9517-36a3c6e0b837/managers",
    "billing_managers_url": "/v2/organizations/e4e8c3fc-1c5b-4571-9517-36a3c6e0b837/billing_managers",
    "auditors_url": "/v2/organizations/e4e8c3fc-1c5b-4571-9517-36a3c6e0b837/auditors",
    "app_events_url": "/v2/organizations/e4e8c3fc-1c5b-4571-9517-36a3c6e0b837/app_events",
    "space_quota_definitions_url": "/v2/organizations/e4e8c3fc-1c5b-4571-9517-36a3c6e0b837/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 2ea151b4-0085-40b1-8f26-96f74d146127
Content-Length: 1299
X-Content-Type-Options: nosniff