Home
Version 3
Organizations API

Organizations API

Get Organization summary

GET /v2/organizations/:guid/summary

Request

Route

GET /v2/organizations/bb23ebb3-4d4a-443c-a87b-f369f107caf5/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.eyJ1c2VyX2lkIjoidWFhLWlkLTI5NiIsImVtYWlsIjoiZW1haWwtMjEzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3OTJ9.0FkxfeXOsgjygPi3XReML1IVGzgeoKxpRVwKmdRtCMs
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/bb23ebb3-4d4a-443c-a87b-f369f107caf5/summary" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5NiIsImVtYWlsIjoiZW1haWwtMjEzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3OTJ9.0FkxfeXOsgjygPi3XReML1IVGzgeoKxpRVwKmdRtCMs" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{"guid":"bb23ebb3-4d4a-443c-a87b-f369f107caf5","name":"name-1751","status":"active","spaces":[{"guid":"cea5d7f9-fc15-44fd-bd7f-ea804fb92860","name":"name-1753","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: f5e29262-4e30-4281-9fd8-2ae647cf9313
Content-Length: 231
X-Content-Type-Options: nosniff