Home
Version 3
Organizations API

Organizations API

Get Organization summary

GET /v2/organizations/:guid/summary

Fields

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

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzOCIsImVtYWlsIjoiZW1haWwtOTBAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQxOTk4OTk2N30.EP1efd63KXEiAK1MjURaNT-GcF-MpwF0gwF7J65Ob7w
Host: example.org
Cookie: 

Route

GET /v2/organizations/3d4601a8-ab63-41cc-9141-658d21cec0a6/summary

cURL

curl "https://api.[your-domain.com]/v2/organizations/3d4601a8-ab63-41cc-9141-658d21cec0a6/summary" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzOCIsImVtYWlsIjoiZW1haWwtOTBAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQxOTk4OTk2N30.EP1efd63KXEiAK1MjURaNT-GcF-MpwF0gwF7J65Ob7w" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 5df76372-eb59-434e-9b0a-1f4945e90c75
Content-Length: 231
X-Content-Type-Options: nosniff

Status

200 OK

Body

{"guid":"3d4601a8-ab63-41cc-9141-658d21cec0a6","name":"name-1050","status":"active","spaces":[{"guid":"6183966c-eb4b-4f5a-a395-418f042f86ed","name":"name-1052","service_count":0,"app_count":0,"mem_dev_total":0,"mem_prod_total":0}]}