Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/2a4f0dac-ffff-42b9-b9b1-2be3ce8a2670

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4OCIsImVtYWlsIjoiZW1haWwtMTE2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2MzN9.onOZgw2TTDWsF4mrf3gI8e82IvUais-GcxhbQ-aAsho
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/2a4f0dac-ffff-42b9-b9b1-2be3ce8a2670" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4OCIsImVtYWlsIjoiZW1haWwtMTE2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2MzN9.onOZgw2TTDWsF4mrf3gI8e82IvUais-GcxhbQ-aAsho" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "2a4f0dac-ffff-42b9-b9b1-2be3ce8a2670",
    "url": "/v2/organizations/2a4f0dac-ffff-42b9-b9b1-2be3ce8a2670",
    "created_at": "2015-05-07T23:37:13Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1248",
    "billing_enabled": false,
    "quota_definition_guid": "eae13944-95c7-4f2b-a7e0-8832d5851474",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/eae13944-95c7-4f2b-a7e0-8832d5851474",
    "spaces_url": "/v2/organizations/2a4f0dac-ffff-42b9-b9b1-2be3ce8a2670/spaces",
    "domains_url": "/v2/organizations/2a4f0dac-ffff-42b9-b9b1-2be3ce8a2670/domains",
    "private_domains_url": "/v2/organizations/2a4f0dac-ffff-42b9-b9b1-2be3ce8a2670/private_domains",
    "users_url": "/v2/organizations/2a4f0dac-ffff-42b9-b9b1-2be3ce8a2670/users",
    "managers_url": "/v2/organizations/2a4f0dac-ffff-42b9-b9b1-2be3ce8a2670/managers",
    "billing_managers_url": "/v2/organizations/2a4f0dac-ffff-42b9-b9b1-2be3ce8a2670/billing_managers",
    "auditors_url": "/v2/organizations/2a4f0dac-ffff-42b9-b9b1-2be3ce8a2670/auditors",
    "app_events_url": "/v2/organizations/2a4f0dac-ffff-42b9-b9b1-2be3ce8a2670/app_events",
    "space_quota_definitions_url": "/v2/organizations/2a4f0dac-ffff-42b9-b9b1-2be3ce8a2670/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 64894be2-b868-4c6d-adac-86369665b20e
Content-Length: 1300
X-Content-Type-Options: nosniff