Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/fbba4029-db02-4c41-9e0a-e3c2a6db9c4c

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4MSIsImVtYWlsIjoiZW1haWwtMjEyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyNDB9.KwBzxaDwaJh-goevHvKeZ9BHDlDsmN0bi_5lV8iW1FI
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/fbba4029-db02-4c41-9e0a-e3c2a6db9c4c" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4MSIsImVtYWlsIjoiZW1haWwtMjEyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyNDB9.KwBzxaDwaJh-goevHvKeZ9BHDlDsmN0bi_5lV8iW1FI" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "fbba4029-db02-4c41-9e0a-e3c2a6db9c4c",
    "url": "/v2/organizations/fbba4029-db02-4c41-9e0a-e3c2a6db9c4c",
    "created_at": "2016-02-19T02:04:00Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2261",
    "billing_enabled": false,
    "quota_definition_guid": "c31ade50-ad9d-48b5-8566-7dd3d8cc6f22",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/c31ade50-ad9d-48b5-8566-7dd3d8cc6f22",
    "spaces_url": "/v2/organizations/fbba4029-db02-4c41-9e0a-e3c2a6db9c4c/spaces",
    "domains_url": "/v2/organizations/fbba4029-db02-4c41-9e0a-e3c2a6db9c4c/domains",
    "private_domains_url": "/v2/organizations/fbba4029-db02-4c41-9e0a-e3c2a6db9c4c/private_domains",
    "users_url": "/v2/organizations/fbba4029-db02-4c41-9e0a-e3c2a6db9c4c/users",
    "managers_url": "/v2/organizations/fbba4029-db02-4c41-9e0a-e3c2a6db9c4c/managers",
    "billing_managers_url": "/v2/organizations/fbba4029-db02-4c41-9e0a-e3c2a6db9c4c/billing_managers",
    "auditors_url": "/v2/organizations/fbba4029-db02-4c41-9e0a-e3c2a6db9c4c/auditors",
    "app_events_url": "/v2/organizations/fbba4029-db02-4c41-9e0a-e3c2a6db9c4c/app_events",
    "space_quota_definitions_url": "/v2/organizations/fbba4029-db02-4c41-9e0a-e3c2a6db9c4c/space_quota_definitions"
  }
}

Headers

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