Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/7a4fe254-3969-467b-b94f-90622e3835c1

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExNSIsImVtYWlsIjoiZW1haWwtNjFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0MTY2MjU5OH0.G-JryHdVlzcXVTP-Ue3ZgV2B0Yx82al6-5-_VLWY_Xo
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/7a4fe254-3969-467b-b94f-90622e3835c1" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExNSIsImVtYWlsIjoiZW1haWwtNjFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0MTY2MjU5OH0.G-JryHdVlzcXVTP-Ue3ZgV2B0Yx82al6-5-_VLWY_Xo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "7a4fe254-3969-467b-b94f-90622e3835c1",
    "url": "/v2/organizations/7a4fe254-3969-467b-b94f-90622e3835c1",
    "created_at": "2015-08-31T21:49:57Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-329",
    "billing_enabled": false,
    "quota_definition_guid": "899a5f05-1d72-4b22-8d98-016f2f27a877",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/899a5f05-1d72-4b22-8d98-016f2f27a877",
    "spaces_url": "/v2/organizations/7a4fe254-3969-467b-b94f-90622e3835c1/spaces",
    "domains_url": "/v2/organizations/7a4fe254-3969-467b-b94f-90622e3835c1/domains",
    "private_domains_url": "/v2/organizations/7a4fe254-3969-467b-b94f-90622e3835c1/private_domains",
    "users_url": "/v2/organizations/7a4fe254-3969-467b-b94f-90622e3835c1/users",
    "managers_url": "/v2/organizations/7a4fe254-3969-467b-b94f-90622e3835c1/managers",
    "billing_managers_url": "/v2/organizations/7a4fe254-3969-467b-b94f-90622e3835c1/billing_managers",
    "auditors_url": "/v2/organizations/7a4fe254-3969-467b-b94f-90622e3835c1/auditors",
    "app_events_url": "/v2/organizations/7a4fe254-3969-467b-b94f-90622e3835c1/app_events",
    "space_quota_definitions_url": "/v2/organizations/7a4fe254-3969-467b-b94f-90622e3835c1/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 1a59ac80-6b91-4c5a-b743-04a6dd320d0d
Content-Length: 1299
X-Content-Type-Options: nosniff