Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/bce5bf18-3552-49b9-a638-f4fee1d8e62e

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4IiwiZW1haWwiOiJlbWFpbC0yOEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI3NDgwODQyfQ.0A3eAH6P9Gusxyuy-kt-lDWfc0RF6B9fU_xjT2ExtCA
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/bce5bf18-3552-49b9-a638-f4fee1d8e62e" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4IiwiZW1haWwiOiJlbWFpbC0yOEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI3NDgwODQyfQ.0A3eAH6P9Gusxyuy-kt-lDWfc0RF6B9fU_xjT2ExtCA" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "bce5bf18-3552-49b9-a638-f4fee1d8e62e",
    "url": "/v2/organizations/bce5bf18-3552-49b9-a638-f4fee1d8e62e",
    "created_at": "2015-03-20T18:27:22Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-131",
    "billing_enabled": false,
    "quota_definition_guid": "20944a35-430b-46cf-91ca-c35cfb7d750a",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/20944a35-430b-46cf-91ca-c35cfb7d750a",
    "spaces_url": "/v2/organizations/bce5bf18-3552-49b9-a638-f4fee1d8e62e/spaces",
    "domains_url": "/v2/organizations/bce5bf18-3552-49b9-a638-f4fee1d8e62e/domains",
    "private_domains_url": "/v2/organizations/bce5bf18-3552-49b9-a638-f4fee1d8e62e/private_domains",
    "users_url": "/v2/organizations/bce5bf18-3552-49b9-a638-f4fee1d8e62e/users",
    "managers_url": "/v2/organizations/bce5bf18-3552-49b9-a638-f4fee1d8e62e/managers",
    "billing_managers_url": "/v2/organizations/bce5bf18-3552-49b9-a638-f4fee1d8e62e/billing_managers",
    "auditors_url": "/v2/organizations/bce5bf18-3552-49b9-a638-f4fee1d8e62e/auditors",
    "app_events_url": "/v2/organizations/bce5bf18-3552-49b9-a638-f4fee1d8e62e/app_events",
    "space_quota_definitions_url": "/v2/organizations/bce5bf18-3552-49b9-a638-f4fee1d8e62e/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: b8ef06ff-120a-40ec-afce-794211c7a760
Content-Length: 1299
X-Content-Type-Options: nosniff