Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/a8d4a6f1-eb00-4ad7-afab-12c970aa1a18

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTU1IiwiZW1haWwiOiJlbWFpbC0zNkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI3MzIzOTU2fQ.JtIoIoAoGOgpKgE31BJUxZbPlhMopTRoPRWRzYK8vsU
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/a8d4a6f1-eb00-4ad7-afab-12c970aa1a18" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTU1IiwiZW1haWwiOiJlbWFpbC0zNkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI3MzIzOTU2fQ.JtIoIoAoGOgpKgE31BJUxZbPlhMopTRoPRWRzYK8vsU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "a8d4a6f1-eb00-4ad7-afab-12c970aa1a18",
    "url": "/v2/organizations/a8d4a6f1-eb00-4ad7-afab-12c970aa1a18",
    "created_at": "2015-03-18T22:52:36Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-103",
    "billing_enabled": false,
    "quota_definition_guid": "bd0381ad-c84c-4796-830f-361725a898a6",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/bd0381ad-c84c-4796-830f-361725a898a6",
    "spaces_url": "/v2/organizations/a8d4a6f1-eb00-4ad7-afab-12c970aa1a18/spaces",
    "domains_url": "/v2/organizations/a8d4a6f1-eb00-4ad7-afab-12c970aa1a18/domains",
    "private_domains_url": "/v2/organizations/a8d4a6f1-eb00-4ad7-afab-12c970aa1a18/private_domains",
    "users_url": "/v2/organizations/a8d4a6f1-eb00-4ad7-afab-12c970aa1a18/users",
    "managers_url": "/v2/organizations/a8d4a6f1-eb00-4ad7-afab-12c970aa1a18/managers",
    "billing_managers_url": "/v2/organizations/a8d4a6f1-eb00-4ad7-afab-12c970aa1a18/billing_managers",
    "auditors_url": "/v2/organizations/a8d4a6f1-eb00-4ad7-afab-12c970aa1a18/auditors",
    "app_events_url": "/v2/organizations/a8d4a6f1-eb00-4ad7-afab-12c970aa1a18/app_events",
    "space_quota_definitions_url": "/v2/organizations/a8d4a6f1-eb00-4ad7-afab-12c970aa1a18/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 26fda26e-8af4-49b4-a47c-18e5f0991745
Content-Length: 1299
X-Content-Type-Options: nosniff