Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/c314f4f7-e3a2-4e23-8ba4-b2d84b73f2f6

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ0IiwiZW1haWwiOiJlbWFpbC00NEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYwNTA2NjM5fQ.JSC3ZKsJ-6W2LC1Ly1YSdnelDvEAyRwVH4XRSEGhhYU
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/c314f4f7-e3a2-4e23-8ba4-b2d84b73f2f6" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ0IiwiZW1haWwiOiJlbWFpbC00NEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYwNTA2NjM5fQ.JSC3ZKsJ-6W2LC1Ly1YSdnelDvEAyRwVH4XRSEGhhYU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "c314f4f7-e3a2-4e23-8ba4-b2d84b73f2f6",
    "url": "/v2/organizations/c314f4f7-e3a2-4e23-8ba4-b2d84b73f2f6",
    "created_at": "2016-04-06T00:17:19Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-186",
    "billing_enabled": false,
    "quota_definition_guid": "ac0f138a-7fac-4554-81e4-cd685bf52be7",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/ac0f138a-7fac-4554-81e4-cd685bf52be7",
    "spaces_url": "/v2/organizations/c314f4f7-e3a2-4e23-8ba4-b2d84b73f2f6/spaces",
    "domains_url": "/v2/organizations/c314f4f7-e3a2-4e23-8ba4-b2d84b73f2f6/domains",
    "private_domains_url": "/v2/organizations/c314f4f7-e3a2-4e23-8ba4-b2d84b73f2f6/private_domains",
    "users_url": "/v2/organizations/c314f4f7-e3a2-4e23-8ba4-b2d84b73f2f6/users",
    "managers_url": "/v2/organizations/c314f4f7-e3a2-4e23-8ba4-b2d84b73f2f6/managers",
    "billing_managers_url": "/v2/organizations/c314f4f7-e3a2-4e23-8ba4-b2d84b73f2f6/billing_managers",
    "auditors_url": "/v2/organizations/c314f4f7-e3a2-4e23-8ba4-b2d84b73f2f6/auditors",
    "app_events_url": "/v2/organizations/c314f4f7-e3a2-4e23-8ba4-b2d84b73f2f6/app_events",
    "space_quota_definitions_url": "/v2/organizations/c314f4f7-e3a2-4e23-8ba4-b2d84b73f2f6/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 
Content-Length: 1299
X-Content-Type-Options: nosniff