Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/b6b58d33-7f8b-44d3-b0fd-10557a7592b5

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgiLCJlbWFpbCI6ImVtYWlsLThAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2MTk1ODM5MH0.c7lxdr5xu0KoeZyeEOb8zqrVwFoyEVNJSC7wErSy6Zg
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/b6b58d33-7f8b-44d3-b0fd-10557a7592b5" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgiLCJlbWFpbCI6ImVtYWlsLThAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2MTk1ODM5MH0.c7lxdr5xu0KoeZyeEOb8zqrVwFoyEVNJSC7wErSy6Zg" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "b6b58d33-7f8b-44d3-b0fd-10557a7592b5",
    "url": "/v2/organizations/b6b58d33-7f8b-44d3-b0fd-10557a7592b5",
    "created_at": "2016-04-22T19:33:10Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-33",
    "billing_enabled": false,
    "quota_definition_guid": "f431d621-dfab-4c43-b43d-e51d03e6be32",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/f431d621-dfab-4c43-b43d-e51d03e6be32",
    "spaces_url": "/v2/organizations/b6b58d33-7f8b-44d3-b0fd-10557a7592b5/spaces",
    "domains_url": "/v2/organizations/b6b58d33-7f8b-44d3-b0fd-10557a7592b5/domains",
    "private_domains_url": "/v2/organizations/b6b58d33-7f8b-44d3-b0fd-10557a7592b5/private_domains",
    "users_url": "/v2/organizations/b6b58d33-7f8b-44d3-b0fd-10557a7592b5/users",
    "managers_url": "/v2/organizations/b6b58d33-7f8b-44d3-b0fd-10557a7592b5/managers",
    "billing_managers_url": "/v2/organizations/b6b58d33-7f8b-44d3-b0fd-10557a7592b5/billing_managers",
    "auditors_url": "/v2/organizations/b6b58d33-7f8b-44d3-b0fd-10557a7592b5/auditors",
    "app_events_url": "/v2/organizations/b6b58d33-7f8b-44d3-b0fd-10557a7592b5/app_events",
    "space_quota_definitions_url": "/v2/organizations/b6b58d33-7f8b-44d3-b0fd-10557a7592b5/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 8a610d17-c8a7-46a7-ae03-0dd180d9a78a
Content-Length: 1298
X-Content-Type-Options: nosniff