Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Fields

Name Description Default Valid Values Example Values

Parameters

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

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzOCIsImVtYWlsIjoiZW1haWwtMjU5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NTN9.d48bI6znjrU041nFmYK9DlsF7D-t994AvWt8pcW5a9U
Host: example.org
Cookie: 

Route

GET /v2/organizations/cba3d6f0-8c37-438a-bd29-9a38b4946ca2

cURL

curl "https://api.[your-domain.com]/v2/organizations/cba3d6f0-8c37-438a-bd29-9a38b4946ca2" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzOCIsImVtYWlsIjoiZW1haWwtMjU5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NTN9.d48bI6znjrU041nFmYK9DlsF7D-t994AvWt8pcW5a9U" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: cca3d8ec-8c0d-4e4c-8054-86efa341294c
Content-Length: 1305
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "cba3d6f0-8c37-438a-bd29-9a38b4946ca2",
    "url": "/v2/organizations/cba3d6f0-8c37-438a-bd29-9a38b4946ca2",
    "created_at": "2015-01-20T01:52:33+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-1938",
    "billing_enabled": false,
    "quota_definition_guid": "71b060f4-bd42-4d41-85e0-322278358107",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/71b060f4-bd42-4d41-85e0-322278358107",
    "spaces_url": "/v2/organizations/cba3d6f0-8c37-438a-bd29-9a38b4946ca2/spaces",
    "domains_url": "/v2/organizations/cba3d6f0-8c37-438a-bd29-9a38b4946ca2/domains",
    "private_domains_url": "/v2/organizations/cba3d6f0-8c37-438a-bd29-9a38b4946ca2/private_domains",
    "users_url": "/v2/organizations/cba3d6f0-8c37-438a-bd29-9a38b4946ca2/users",
    "managers_url": "/v2/organizations/cba3d6f0-8c37-438a-bd29-9a38b4946ca2/managers",
    "billing_managers_url": "/v2/organizations/cba3d6f0-8c37-438a-bd29-9a38b4946ca2/billing_managers",
    "auditors_url": "/v2/organizations/cba3d6f0-8c37-438a-bd29-9a38b4946ca2/auditors",
    "app_events_url": "/v2/organizations/cba3d6f0-8c37-438a-bd29-9a38b4946ca2/app_events",
    "space_quota_definitions_url": "/v2/organizations/cba3d6f0-8c37-438a-bd29-9a38b4946ca2/space_quota_definitions"
  }
}