Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/75c2dca3-fa8c-4d9c-b527-01c7e30e03da

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgyIiwiZW1haWwiOiJlbWFpbC01MEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ1MzYyMjk4fQ.e2A1igDeDZZ9e2Pcn9NII-ItpDwMwicKs0lV3Ghz-gI
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/75c2dca3-fa8c-4d9c-b527-01c7e30e03da" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgyIiwiZW1haWwiOiJlbWFpbC01MEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ1MzYyMjk4fQ.e2A1igDeDZZ9e2Pcn9NII-ItpDwMwicKs0lV3Ghz-gI" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "75c2dca3-fa8c-4d9c-b527-01c7e30e03da",
    "url": "/v2/organizations/75c2dca3-fa8c-4d9c-b527-01c7e30e03da",
    "created_at": "2015-10-13T17:31:38Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-211",
    "billing_enabled": false,
    "quota_definition_guid": "0055ede5-ddef-46da-b589-5bc6342849b6",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/0055ede5-ddef-46da-b589-5bc6342849b6",
    "spaces_url": "/v2/organizations/75c2dca3-fa8c-4d9c-b527-01c7e30e03da/spaces",
    "domains_url": "/v2/organizations/75c2dca3-fa8c-4d9c-b527-01c7e30e03da/domains",
    "private_domains_url": "/v2/organizations/75c2dca3-fa8c-4d9c-b527-01c7e30e03da/private_domains",
    "users_url": "/v2/organizations/75c2dca3-fa8c-4d9c-b527-01c7e30e03da/users",
    "managers_url": "/v2/organizations/75c2dca3-fa8c-4d9c-b527-01c7e30e03da/managers",
    "billing_managers_url": "/v2/organizations/75c2dca3-fa8c-4d9c-b527-01c7e30e03da/billing_managers",
    "auditors_url": "/v2/organizations/75c2dca3-fa8c-4d9c-b527-01c7e30e03da/auditors",
    "app_events_url": "/v2/organizations/75c2dca3-fa8c-4d9c-b527-01c7e30e03da/app_events",
    "space_quota_definitions_url": "/v2/organizations/75c2dca3-fa8c-4d9c-b527-01c7e30e03da/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 2abea92c-6a32-4ad7-92c5-0595db10e768
Content-Length: 1299
X-Content-Type-Options: nosniff