Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/ab808dc3-296d-4e61-9993-f2df65a53d8c

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0MyIsImVtYWlsIjoiZW1haWwtMjQ2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTQ0NTE2MzB9.5JKlJdzJOY9HYrOX8_vL0r2eqSJR2vfQLSR8Eceysrk
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/ab808dc3-296d-4e61-9993-f2df65a53d8c" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0MyIsImVtYWlsIjoiZW1haWwtMjQ2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTQ0NTE2MzB9.5JKlJdzJOY9HYrOX8_vL0r2eqSJR2vfQLSR8Eceysrk" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "ab808dc3-296d-4e61-9993-f2df65a53d8c",
    "url": "/v2/organizations/ab808dc3-296d-4e61-9993-f2df65a53d8c",
    "created_at": "2016-01-26T22:20:30Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2205",
    "billing_enabled": false,
    "quota_definition_guid": "5e328321-eb15-482c-bc72-7189d9411563",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/5e328321-eb15-482c-bc72-7189d9411563",
    "spaces_url": "/v2/organizations/ab808dc3-296d-4e61-9993-f2df65a53d8c/spaces",
    "domains_url": "/v2/organizations/ab808dc3-296d-4e61-9993-f2df65a53d8c/domains",
    "private_domains_url": "/v2/organizations/ab808dc3-296d-4e61-9993-f2df65a53d8c/private_domains",
    "users_url": "/v2/organizations/ab808dc3-296d-4e61-9993-f2df65a53d8c/users",
    "managers_url": "/v2/organizations/ab808dc3-296d-4e61-9993-f2df65a53d8c/managers",
    "billing_managers_url": "/v2/organizations/ab808dc3-296d-4e61-9993-f2df65a53d8c/billing_managers",
    "auditors_url": "/v2/organizations/ab808dc3-296d-4e61-9993-f2df65a53d8c/auditors",
    "app_events_url": "/v2/organizations/ab808dc3-296d-4e61-9993-f2df65a53d8c/app_events",
    "space_quota_definitions_url": "/v2/organizations/ab808dc3-296d-4e61-9993-f2df65a53d8c/space_quota_definitions"
  }
}

Headers

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