Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/fe79371b-39b8-4f0d-8331-cff423a06aca

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ1OCIsImVtYWlsIjoiZW1haWwtMzI1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDk1MzE1NDB9.PDL-PXN6m_Un9dK-wNSQbCI__-FJKbC5bsffXGAt06c
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/fe79371b-39b8-4f0d-8331-cff423a06aca" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ1OCIsImVtYWlsIjoiZW1haWwtMzI1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDk1MzE1NDB9.PDL-PXN6m_Un9dK-wNSQbCI__-FJKbC5bsffXGAt06c" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "fe79371b-39b8-4f0d-8331-cff423a06aca",
    "url": "/v2/organizations/fe79371b-39b8-4f0d-8331-cff423a06aca",
    "created_at": "2015-11-30T23:39:00Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2536",
    "billing_enabled": false,
    "quota_definition_guid": "2516cb97-5798-4ae4-88d9-619b0464f0cf",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/2516cb97-5798-4ae4-88d9-619b0464f0cf",
    "spaces_url": "/v2/organizations/fe79371b-39b8-4f0d-8331-cff423a06aca/spaces",
    "domains_url": "/v2/organizations/fe79371b-39b8-4f0d-8331-cff423a06aca/domains",
    "private_domains_url": "/v2/organizations/fe79371b-39b8-4f0d-8331-cff423a06aca/private_domains",
    "users_url": "/v2/organizations/fe79371b-39b8-4f0d-8331-cff423a06aca/users",
    "managers_url": "/v2/organizations/fe79371b-39b8-4f0d-8331-cff423a06aca/managers",
    "billing_managers_url": "/v2/organizations/fe79371b-39b8-4f0d-8331-cff423a06aca/billing_managers",
    "auditors_url": "/v2/organizations/fe79371b-39b8-4f0d-8331-cff423a06aca/auditors",
    "app_events_url": "/v2/organizations/fe79371b-39b8-4f0d-8331-cff423a06aca/app_events",
    "space_quota_definitions_url": "/v2/organizations/fe79371b-39b8-4f0d-8331-cff423a06aca/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 
Content-Length: 1300
X-Content-Type-Options: nosniff