Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/796325c5-b79e-4348-8dfd-693f79573741

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkyIiwiZW1haWwiOiJlbWFpbC03M0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI5MDM4NzAxfQ.EyY2ZHfpJ8CKxHK5v8_9GvMi_0l5ufX7trLTW6JnhDs
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/796325c5-b79e-4348-8dfd-693f79573741" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkyIiwiZW1haWwiOiJlbWFpbC03M0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI5MDM4NzAxfQ.EyY2ZHfpJ8CKxHK5v8_9GvMi_0l5ufX7trLTW6JnhDs" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "796325c5-b79e-4348-8dfd-693f79573741",
    "url": "/v2/organizations/796325c5-b79e-4348-8dfd-693f79573741",
    "created_at": "2015-04-07T19:11:41Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-278",
    "billing_enabled": false,
    "quota_definition_guid": "aeb5d735-cdbc-424e-9c03-87a8e9af8e22",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/aeb5d735-cdbc-424e-9c03-87a8e9af8e22",
    "spaces_url": "/v2/organizations/796325c5-b79e-4348-8dfd-693f79573741/spaces",
    "domains_url": "/v2/organizations/796325c5-b79e-4348-8dfd-693f79573741/domains",
    "private_domains_url": "/v2/organizations/796325c5-b79e-4348-8dfd-693f79573741/private_domains",
    "users_url": "/v2/organizations/796325c5-b79e-4348-8dfd-693f79573741/users",
    "managers_url": "/v2/organizations/796325c5-b79e-4348-8dfd-693f79573741/managers",
    "billing_managers_url": "/v2/organizations/796325c5-b79e-4348-8dfd-693f79573741/billing_managers",
    "auditors_url": "/v2/organizations/796325c5-b79e-4348-8dfd-693f79573741/auditors",
    "app_events_url": "/v2/organizations/796325c5-b79e-4348-8dfd-693f79573741/app_events",
    "space_quota_definitions_url": "/v2/organizations/796325c5-b79e-4348-8dfd-693f79573741/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: cbc22ac0-315d-4215-a7db-d055099d0d06
Content-Length: 1299
X-Content-Type-Options: nosniff