Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/5bacc93b-8edf-421a-9f8d-51b3a50830b7

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTg1IiwiZW1haWwiOiJlbWFpbC02NEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyNzc0OTgyfQ.3mvXTsRtwCpvz9J7UNt5zU8z3wozGesmOKLUDQOdYtc
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/5bacc93b-8edf-421a-9f8d-51b3a50830b7" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTg1IiwiZW1haWwiOiJlbWFpbC02NEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyNzc0OTgyfQ.3mvXTsRtwCpvz9J7UNt5zU8z3wozGesmOKLUDQOdYtc" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "5bacc93b-8edf-421a-9f8d-51b3a50830b7",
    "url": "/v2/organizations/5bacc93b-8edf-421a-9f8d-51b3a50830b7",
    "created_at": "2015-05-21T01:03:02Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-276",
    "billing_enabled": false,
    "quota_definition_guid": "a15b1800-2593-460c-8e1f-e8949f5a95f7",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/a15b1800-2593-460c-8e1f-e8949f5a95f7",
    "spaces_url": "/v2/organizations/5bacc93b-8edf-421a-9f8d-51b3a50830b7/spaces",
    "domains_url": "/v2/organizations/5bacc93b-8edf-421a-9f8d-51b3a50830b7/domains",
    "private_domains_url": "/v2/organizations/5bacc93b-8edf-421a-9f8d-51b3a50830b7/private_domains",
    "users_url": "/v2/organizations/5bacc93b-8edf-421a-9f8d-51b3a50830b7/users",
    "managers_url": "/v2/organizations/5bacc93b-8edf-421a-9f8d-51b3a50830b7/managers",
    "billing_managers_url": "/v2/organizations/5bacc93b-8edf-421a-9f8d-51b3a50830b7/billing_managers",
    "auditors_url": "/v2/organizations/5bacc93b-8edf-421a-9f8d-51b3a50830b7/auditors",
    "app_events_url": "/v2/organizations/5bacc93b-8edf-421a-9f8d-51b3a50830b7/app_events",
    "space_quota_definitions_url": "/v2/organizations/5bacc93b-8edf-421a-9f8d-51b3a50830b7/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 5545a0b3-1cac-4297-8ed8-86fc69bb25cb
Content-Length: 1299
X-Content-Type-Options: nosniff