Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/406411ea-2d16-410c-8826-f956debce890

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzMiIsImVtYWlsIjoiZW1haWwtOTlAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1MzMxMDk3N30.63xfGtxsWKhn_mKOIwNciiee7PbAkID-RkW_t3qwplg
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/406411ea-2d16-410c-8826-f956debce890" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzMiIsImVtYWlsIjoiZW1haWwtOTlAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1MzMxMDk3N30.63xfGtxsWKhn_mKOIwNciiee7PbAkID-RkW_t3qwplg" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "406411ea-2d16-410c-8826-f956debce890",
    "url": "/v2/organizations/406411ea-2d16-410c-8826-f956debce890",
    "created_at": "2016-01-13T17:29:37Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-481",
    "billing_enabled": false,
    "quota_definition_guid": "1bb35730-0684-405e-baa2-4c4ed17eccc5",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/1bb35730-0684-405e-baa2-4c4ed17eccc5",
    "spaces_url": "/v2/organizations/406411ea-2d16-410c-8826-f956debce890/spaces",
    "domains_url": "/v2/organizations/406411ea-2d16-410c-8826-f956debce890/domains",
    "private_domains_url": "/v2/organizations/406411ea-2d16-410c-8826-f956debce890/private_domains",
    "users_url": "/v2/organizations/406411ea-2d16-410c-8826-f956debce890/users",
    "managers_url": "/v2/organizations/406411ea-2d16-410c-8826-f956debce890/managers",
    "billing_managers_url": "/v2/organizations/406411ea-2d16-410c-8826-f956debce890/billing_managers",
    "auditors_url": "/v2/organizations/406411ea-2d16-410c-8826-f956debce890/auditors",
    "app_events_url": "/v2/organizations/406411ea-2d16-410c-8826-f956debce890/app_events",
    "space_quota_definitions_url": "/v2/organizations/406411ea-2d16-410c-8826-f956debce890/space_quota_definitions"
  }
}

Headers

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