Home
Version 3
Organizations API

Organizations API

Get Organization summary

GET /v2/organizations/:guid/summary

Request

Route

GET /v2/organizations/9237a895-9020-4b9d-ac3c-f8e37696ae6f/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.eyJ1c2VyX2lkIjoidWFhLWlkLTEwOSIsImVtYWlsIjoiZW1haWwtODBAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNjE4Nzc0Mn0.Ej6UEMzn8e6SXuPZ9qnR6mLfD2A1o3yp-X6gw69xuCU
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/9237a895-9020-4b9d-ac3c-f8e37696ae6f/summary" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwOSIsImVtYWlsIjoiZW1haWwtODBAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNjE4Nzc0Mn0.Ej6UEMzn8e6SXuPZ9qnR6mLfD2A1o3yp-X6gw69xuCU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{"guid":"9237a895-9020-4b9d-ac3c-f8e37696ae6f","name":"name-424","status":"active","spaces":[{"guid":"7ea1ccd6-e798-4fed-8fb0-a2274856e672","name":"name-426","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: 7323e57f-7355-4a4d-b7af-1aec13fadaf1
Content-Length: 229
X-Content-Type-Options: nosniff