Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/0bc16bf2-bd80-4344-af6c-4de014b91064

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1NSIsImVtYWlsIjoiZW1haWwtMjE1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg1OTk0NDV9.jk0r5LzLqaMQMxrJ74TbtnN0ZZqoclZ71zez-5MaXWQ
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/0bc16bf2-bd80-4344-af6c-4de014b91064" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1NSIsImVtYWlsIjoiZW1haWwtMjE1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg1OTk0NDV9.jk0r5LzLqaMQMxrJ74TbtnN0ZZqoclZ71zez-5MaXWQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "0bc16bf2-bd80-4344-af6c-4de014b91064",
    "url": "/v2/organizations/0bc16bf2-bd80-4344-af6c-4de014b91064",
    "created_at": "2016-03-14T22:30:45Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2175",
    "billing_enabled": false,
    "quota_definition_guid": "7caf202e-0338-4feb-a26a-7ef9f6e15fca",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/7caf202e-0338-4feb-a26a-7ef9f6e15fca",
    "spaces_url": "/v2/organizations/0bc16bf2-bd80-4344-af6c-4de014b91064/spaces",
    "domains_url": "/v2/organizations/0bc16bf2-bd80-4344-af6c-4de014b91064/domains",
    "private_domains_url": "/v2/organizations/0bc16bf2-bd80-4344-af6c-4de014b91064/private_domains",
    "users_url": "/v2/organizations/0bc16bf2-bd80-4344-af6c-4de014b91064/users",
    "managers_url": "/v2/organizations/0bc16bf2-bd80-4344-af6c-4de014b91064/managers",
    "billing_managers_url": "/v2/organizations/0bc16bf2-bd80-4344-af6c-4de014b91064/billing_managers",
    "auditors_url": "/v2/organizations/0bc16bf2-bd80-4344-af6c-4de014b91064/auditors",
    "app_events_url": "/v2/organizations/0bc16bf2-bd80-4344-af6c-4de014b91064/app_events",
    "space_quota_definitions_url": "/v2/organizations/0bc16bf2-bd80-4344-af6c-4de014b91064/space_quota_definitions"
  }
}

Headers

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