Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/d69d89ce-bdcb-4941-a18c-386e148f1d4c

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE2NCIsImVtYWlsIjoiZW1haWwtOTZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NDI2MDY0MX0.g0SoTiTAumxcEWCHq87Y9Z6i7hs-cIJCrFnjF9h1BuU
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/d69d89ce-bdcb-4941-a18c-386e148f1d4c" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE2NCIsImVtYWlsIjoiZW1haWwtOTZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NDI2MDY0MX0.g0SoTiTAumxcEWCHq87Y9Z6i7hs-cIJCrFnjF9h1BuU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "d69d89ce-bdcb-4941-a18c-386e148f1d4c",
    "url": "/v2/organizations/d69d89ce-bdcb-4941-a18c-386e148f1d4c",
    "created_at": "2015-09-30T23:30:41Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1271",
    "billing_enabled": false,
    "quota_definition_guid": "0b0ef272-ac49-4c90-b000-2de7e84d98a2",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/0b0ef272-ac49-4c90-b000-2de7e84d98a2",
    "spaces_url": "/v2/organizations/d69d89ce-bdcb-4941-a18c-386e148f1d4c/spaces",
    "domains_url": "/v2/organizations/d69d89ce-bdcb-4941-a18c-386e148f1d4c/domains",
    "private_domains_url": "/v2/organizations/d69d89ce-bdcb-4941-a18c-386e148f1d4c/private_domains",
    "users_url": "/v2/organizations/d69d89ce-bdcb-4941-a18c-386e148f1d4c/users",
    "managers_url": "/v2/organizations/d69d89ce-bdcb-4941-a18c-386e148f1d4c/managers",
    "billing_managers_url": "/v2/organizations/d69d89ce-bdcb-4941-a18c-386e148f1d4c/billing_managers",
    "auditors_url": "/v2/organizations/d69d89ce-bdcb-4941-a18c-386e148f1d4c/auditors",
    "app_events_url": "/v2/organizations/d69d89ce-bdcb-4941-a18c-386e148f1d4c/app_events",
    "space_quota_definitions_url": "/v2/organizations/d69d89ce-bdcb-4941-a18c-386e148f1d4c/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 54f7f52e-3646-420d-aa59-b60a12f9b28a
Content-Length: 1300
X-Content-Type-Options: nosniff