Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/769dd7f2-a30b-400b-9de5-319d80935ad6

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwNiIsImVtYWlsIjoiZW1haWwtMTQzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM2ODZ9.w5Oyev5yYW6n20rRyJaBxMCJkA9jEWM9Jdt_u5HcBzQ
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/769dd7f2-a30b-400b-9de5-319d80935ad6" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwNiIsImVtYWlsIjoiZW1haWwtMTQzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM2ODZ9.w5Oyev5yYW6n20rRyJaBxMCJkA9jEWM9Jdt_u5HcBzQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "769dd7f2-a30b-400b-9de5-319d80935ad6",
    "url": "/v2/organizations/769dd7f2-a30b-400b-9de5-319d80935ad6",
    "created_at": "2015-12-22T18:28:06Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-719",
    "billing_enabled": false,
    "quota_definition_guid": "7aaa8f19-5535-45ca-90d2-1351aa9bcf1c",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/7aaa8f19-5535-45ca-90d2-1351aa9bcf1c",
    "spaces_url": "/v2/organizations/769dd7f2-a30b-400b-9de5-319d80935ad6/spaces",
    "domains_url": "/v2/organizations/769dd7f2-a30b-400b-9de5-319d80935ad6/domains",
    "private_domains_url": "/v2/organizations/769dd7f2-a30b-400b-9de5-319d80935ad6/private_domains",
    "users_url": "/v2/organizations/769dd7f2-a30b-400b-9de5-319d80935ad6/users",
    "managers_url": "/v2/organizations/769dd7f2-a30b-400b-9de5-319d80935ad6/managers",
    "billing_managers_url": "/v2/organizations/769dd7f2-a30b-400b-9de5-319d80935ad6/billing_managers",
    "auditors_url": "/v2/organizations/769dd7f2-a30b-400b-9de5-319d80935ad6/auditors",
    "app_events_url": "/v2/organizations/769dd7f2-a30b-400b-9de5-319d80935ad6/app_events",
    "space_quota_definitions_url": "/v2/organizations/769dd7f2-a30b-400b-9de5-319d80935ad6/space_quota_definitions"
  }
}

Headers

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