Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/ddd44e97-a754-4129-8082-1d01c96e79a2

Parameters

Name Description Valid Values Example Values
guid The guid of the Organization

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3MSIsImVtYWlsIjoiZW1haWwtMTIzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjYxODc3NDR9.WedHDfKu45epyIm7vxWcm3ycIxNn6uhVklE9iGPnJtc
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/ddd44e97-a754-4129-8082-1d01c96e79a2" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3MSIsImVtYWlsIjoiZW1haWwtMTIzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjYxODc3NDR9.WedHDfKu45epyIm7vxWcm3ycIxNn6uhVklE9iGPnJtc" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "ddd44e97-a754-4129-8082-1d01c96e79a2",
    "url": "/v2/organizations/ddd44e97-a754-4129-8082-1d01c96e79a2",
    "created_at": "2015-03-05T19:15:44Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-505",
    "billing_enabled": false,
    "quota_definition_guid": "2052f4d0-ff79-4c38-839d-117aca6b36fb",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/2052f4d0-ff79-4c38-839d-117aca6b36fb",
    "spaces_url": "/v2/organizations/ddd44e97-a754-4129-8082-1d01c96e79a2/spaces",
    "domains_url": "/v2/organizations/ddd44e97-a754-4129-8082-1d01c96e79a2/domains",
    "private_domains_url": "/v2/organizations/ddd44e97-a754-4129-8082-1d01c96e79a2/private_domains",
    "users_url": "/v2/organizations/ddd44e97-a754-4129-8082-1d01c96e79a2/users",
    "managers_url": "/v2/organizations/ddd44e97-a754-4129-8082-1d01c96e79a2/managers",
    "billing_managers_url": "/v2/organizations/ddd44e97-a754-4129-8082-1d01c96e79a2/billing_managers",
    "auditors_url": "/v2/organizations/ddd44e97-a754-4129-8082-1d01c96e79a2/auditors",
    "app_events_url": "/v2/organizations/ddd44e97-a754-4129-8082-1d01c96e79a2/app_events",
    "space_quota_definitions_url": "/v2/organizations/ddd44e97-a754-4129-8082-1d01c96e79a2/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 147f4cb7-a280-4fbf-aba5-0ce7485494ec
Content-Length: 1299
X-Content-Type-Options: nosniff