Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/820461c2-07ca-41a4-88b5-0f6b37a9cac3

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5IiwiZW1haWwiOiJlbWFpbC0yOUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYzNjE4NzA0fQ.uHgH8jj3MA4RcWGKSB5myj-k5mf3Az_jguzZAZ87M-8
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/820461c2-07ca-41a4-88b5-0f6b37a9cac3" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5IiwiZW1haWwiOiJlbWFpbC0yOUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYzNjE4NzA0fQ.uHgH8jj3MA4RcWGKSB5myj-k5mf3Az_jguzZAZ87M-8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "820461c2-07ca-41a4-88b5-0f6b37a9cac3",
    "url": "/v2/organizations/820461c2-07ca-41a4-88b5-0f6b37a9cac3",
    "created_at": "2016-05-12T00:45:04Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-42",
    "billing_enabled": false,
    "quota_definition_guid": "f8878791-b42d-467c-b50e-c5367aaeb9eb",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/f8878791-b42d-467c-b50e-c5367aaeb9eb",
    "spaces_url": "/v2/organizations/820461c2-07ca-41a4-88b5-0f6b37a9cac3/spaces",
    "domains_url": "/v2/organizations/820461c2-07ca-41a4-88b5-0f6b37a9cac3/domains",
    "private_domains_url": "/v2/organizations/820461c2-07ca-41a4-88b5-0f6b37a9cac3/private_domains",
    "users_url": "/v2/organizations/820461c2-07ca-41a4-88b5-0f6b37a9cac3/users",
    "managers_url": "/v2/organizations/820461c2-07ca-41a4-88b5-0f6b37a9cac3/managers",
    "billing_managers_url": "/v2/organizations/820461c2-07ca-41a4-88b5-0f6b37a9cac3/billing_managers",
    "auditors_url": "/v2/organizations/820461c2-07ca-41a4-88b5-0f6b37a9cac3/auditors",
    "app_events_url": "/v2/organizations/820461c2-07ca-41a4-88b5-0f6b37a9cac3/app_events",
    "space_quota_definitions_url": "/v2/organizations/820461c2-07ca-41a4-88b5-0f6b37a9cac3/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: c62a19b4-31ae-496b-a915-08fa8df42bfa
Content-Length: 1298
X-Content-Type-Options: nosniff