Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/2bcc0b4f-bcf0-4def-9002-38a2382b073d

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTYzIiwiZW1haWwiOiJlbWFpbC02M0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM5NDI2MTk2fQ.UiyzVB7WQRD0SG3d7evhbEIyg7Vjs8TyUZqZk4ME6CM
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/2bcc0b4f-bcf0-4def-9002-38a2382b073d" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTYzIiwiZW1haWwiOiJlbWFpbC02M0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM5NDI2MTk2fQ.UiyzVB7WQRD0SG3d7evhbEIyg7Vjs8TyUZqZk4ME6CM" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "2bcc0b4f-bcf0-4def-9002-38a2382b073d",
    "url": "/v2/organizations/2bcc0b4f-bcf0-4def-9002-38a2382b073d",
    "created_at": "2015-08-06T00:36:36Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-350",
    "billing_enabled": false,
    "quota_definition_guid": "5e1b1d33-9fa1-4337-bdbe-58230aebc74b",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/5e1b1d33-9fa1-4337-bdbe-58230aebc74b",
    "spaces_url": "/v2/organizations/2bcc0b4f-bcf0-4def-9002-38a2382b073d/spaces",
    "domains_url": "/v2/organizations/2bcc0b4f-bcf0-4def-9002-38a2382b073d/domains",
    "private_domains_url": "/v2/organizations/2bcc0b4f-bcf0-4def-9002-38a2382b073d/private_domains",
    "users_url": "/v2/organizations/2bcc0b4f-bcf0-4def-9002-38a2382b073d/users",
    "managers_url": "/v2/organizations/2bcc0b4f-bcf0-4def-9002-38a2382b073d/managers",
    "billing_managers_url": "/v2/organizations/2bcc0b4f-bcf0-4def-9002-38a2382b073d/billing_managers",
    "auditors_url": "/v2/organizations/2bcc0b4f-bcf0-4def-9002-38a2382b073d/auditors",
    "app_events_url": "/v2/organizations/2bcc0b4f-bcf0-4def-9002-38a2382b073d/app_events",
    "space_quota_definitions_url": "/v2/organizations/2bcc0b4f-bcf0-4def-9002-38a2382b073d/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: dbd8f68e-abee-4bd0-9f31-cb3a5ada409a
Content-Length: 1299
X-Content-Type-Options: nosniff