Home
Version 3
Organizations API

Organizations API

Get Organization summary

GET /v2/organizations/:guid/summary

Request

Route

GET /v2/organizations/7cb96c6c-36e0-4328-9dd5-8de74ea105fe/summary

Body

Name Description Default Valid Values Example Values
guid The guid of the organization for which summary is requested
name The name of the organization.
spaces List of spaces that are in the organization
status Status of the organization

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyOSIsImVtYWlsIjoiZW1haWwtMjU2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2NDV9.Q_Iw4yqcZ86OB_e1K4DmuS857w6ts1ryGnPtIfNKwa0
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/7cb96c6c-36e0-4328-9dd5-8de74ea105fe/summary" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyOSIsImVtYWlsIjoiZW1haWwtMjU2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2NDV9.Q_Iw4yqcZ86OB_e1K4DmuS857w6ts1ryGnPtIfNKwa0" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{"guid":"7cb96c6c-36e0-4328-9dd5-8de74ea105fe","name":"name-2009","status":"active","spaces":[{"guid":"1926f848-797f-47d2-b0aa-3646d2bce9a0","name":"name-2011","service_count":0,"app_count":0,"mem_dev_total":0,"mem_prod_total":0}]}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 817ef94e-1cde-4fa0-ae32-66947add8122
Content-Length: 231
X-Content-Type-Options: nosniff