Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/51d45244-cc70-4134-a37e-4b1d5d4432eb

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxIiwiZW1haWwiOiJlbWFpbC0xNkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYxMzc0NjIyfQ.3Dd4pUEJw8jV4suJbbBsrPBKVdexl0fhPQdDpGodsXM
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/51d45244-cc70-4134-a37e-4b1d5d4432eb" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxIiwiZW1haWwiOiJlbWFpbC0xNkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYxMzc0NjIyfQ.3Dd4pUEJw8jV4suJbbBsrPBKVdexl0fhPQdDpGodsXM" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "51d45244-cc70-4134-a37e-4b1d5d4432eb",
    "url": "/v2/organizations/51d45244-cc70-4134-a37e-4b1d5d4432eb",
    "created_at": "2016-04-16T01:23:42Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-33",
    "billing_enabled": false,
    "quota_definition_guid": "f7f21c51-ca18-4c5e-9969-f51bec8f52f4",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/f7f21c51-ca18-4c5e-9969-f51bec8f52f4",
    "spaces_url": "/v2/organizations/51d45244-cc70-4134-a37e-4b1d5d4432eb/spaces",
    "domains_url": "/v2/organizations/51d45244-cc70-4134-a37e-4b1d5d4432eb/domains",
    "private_domains_url": "/v2/organizations/51d45244-cc70-4134-a37e-4b1d5d4432eb/private_domains",
    "users_url": "/v2/organizations/51d45244-cc70-4134-a37e-4b1d5d4432eb/users",
    "managers_url": "/v2/organizations/51d45244-cc70-4134-a37e-4b1d5d4432eb/managers",
    "billing_managers_url": "/v2/organizations/51d45244-cc70-4134-a37e-4b1d5d4432eb/billing_managers",
    "auditors_url": "/v2/organizations/51d45244-cc70-4134-a37e-4b1d5d4432eb/auditors",
    "app_events_url": "/v2/organizations/51d45244-cc70-4134-a37e-4b1d5d4432eb/app_events",
    "space_quota_definitions_url": "/v2/organizations/51d45244-cc70-4134-a37e-4b1d5d4432eb/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 6ae07d9a-90a8-4f85-9f79-a4a4d64cb02d
Content-Length: 1298
X-Content-Type-Options: nosniff