Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/5b6fd46a-bf34-4bd6-aead-14c520e00f1b

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0OSIsImVtYWlsIjoiZW1haWwtMjY2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMjB9.KG4o4bu4FDvIL2-HvfmHq7HXpIcQCzjdxyZvMF8iTp4
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/5b6fd46a-bf34-4bd6-aead-14c520e00f1b" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0OSIsImVtYWlsIjoiZW1haWwtMjY2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMjB9.KG4o4bu4FDvIL2-HvfmHq7HXpIcQCzjdxyZvMF8iTp4" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "5b6fd46a-bf34-4bd6-aead-14c520e00f1b",
    "url": "/v2/organizations/5b6fd46a-bf34-4bd6-aead-14c520e00f1b",
    "created_at": "2015-06-04T00:05:20Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2160",
    "billing_enabled": false,
    "quota_definition_guid": "5f6d7d92-919c-4df3-8b87-6b940ec170b0",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/5f6d7d92-919c-4df3-8b87-6b940ec170b0",
    "spaces_url": "/v2/organizations/5b6fd46a-bf34-4bd6-aead-14c520e00f1b/spaces",
    "domains_url": "/v2/organizations/5b6fd46a-bf34-4bd6-aead-14c520e00f1b/domains",
    "private_domains_url": "/v2/organizations/5b6fd46a-bf34-4bd6-aead-14c520e00f1b/private_domains",
    "users_url": "/v2/organizations/5b6fd46a-bf34-4bd6-aead-14c520e00f1b/users",
    "managers_url": "/v2/organizations/5b6fd46a-bf34-4bd6-aead-14c520e00f1b/managers",
    "billing_managers_url": "/v2/organizations/5b6fd46a-bf34-4bd6-aead-14c520e00f1b/billing_managers",
    "auditors_url": "/v2/organizations/5b6fd46a-bf34-4bd6-aead-14c520e00f1b/auditors",
    "app_events_url": "/v2/organizations/5b6fd46a-bf34-4bd6-aead-14c520e00f1b/app_events",
    "space_quota_definitions_url": "/v2/organizations/5b6fd46a-bf34-4bd6-aead-14c520e00f1b/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 1ae9a280-684d-4e72-b013-52fd5c769008
Content-Length: 1300
X-Content-Type-Options: nosniff