Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/043e6f70-c07b-4ced-b6fe-536bdbe32489

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3NCIsImVtYWlsIjoiZW1haWwtMjY2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3OTl9.IXfO2IJK4_YyuRbaxqrubDgnbSMkEi3bAGfoLmoZsRE
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/043e6f70-c07b-4ced-b6fe-536bdbe32489" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3NCIsImVtYWlsIjoiZW1haWwtMjY2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3OTl9.IXfO2IJK4_YyuRbaxqrubDgnbSMkEi3bAGfoLmoZsRE" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "043e6f70-c07b-4ced-b6fe-536bdbe32489",
    "url": "/v2/organizations/043e6f70-c07b-4ced-b6fe-536bdbe32489",
    "created_at": "2015-07-06T23:23:19Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2198",
    "billing_enabled": false,
    "quota_definition_guid": "c355fda9-c67b-476f-a168-2556652fb9df",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/c355fda9-c67b-476f-a168-2556652fb9df",
    "spaces_url": "/v2/organizations/043e6f70-c07b-4ced-b6fe-536bdbe32489/spaces",
    "domains_url": "/v2/organizations/043e6f70-c07b-4ced-b6fe-536bdbe32489/domains",
    "private_domains_url": "/v2/organizations/043e6f70-c07b-4ced-b6fe-536bdbe32489/private_domains",
    "users_url": "/v2/organizations/043e6f70-c07b-4ced-b6fe-536bdbe32489/users",
    "managers_url": "/v2/organizations/043e6f70-c07b-4ced-b6fe-536bdbe32489/managers",
    "billing_managers_url": "/v2/organizations/043e6f70-c07b-4ced-b6fe-536bdbe32489/billing_managers",
    "auditors_url": "/v2/organizations/043e6f70-c07b-4ced-b6fe-536bdbe32489/auditors",
    "app_events_url": "/v2/organizations/043e6f70-c07b-4ced-b6fe-536bdbe32489/app_events",
    "space_quota_definitions_url": "/v2/organizations/043e6f70-c07b-4ced-b6fe-536bdbe32489/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 96e6050a-aba0-44c0-8572-2e4d11b657cf
Content-Length: 1300
X-Content-Type-Options: nosniff