Home
Version 3
Organizations API

Organizations API

Get Organization summary

GET /v2/organizations/:guid/summary

Request

Route

GET /v2/organizations/802e56f7-f754-4889-8b55-5faf8b4ff9e1/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.eyJ1c2VyX2lkIjoidWFhLWlkLTIxOCIsImVtYWlsIjoiZW1haWwtMTQ5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjkwMzg3MDd9.UxVGn1VJptSu5o8gBxfVXGgZylhM9TpwYl7XZFM0dhw
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/802e56f7-f754-4889-8b55-5faf8b4ff9e1/summary" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxOCIsImVtYWlsIjoiZW1haWwtMTQ5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjkwMzg3MDd9.UxVGn1VJptSu5o8gBxfVXGgZylhM9TpwYl7XZFM0dhw" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{"guid":"802e56f7-f754-4889-8b55-5faf8b4ff9e1","name":"name-600","status":"active","spaces":[{"guid":"d3cfa990-c758-49d1-ba2c-17598dbb9dca","name":"name-602","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: c3f0f76f-2333-460b-976b-0fb5c43d1b1f
Content-Length: 229
X-Content-Type-Options: nosniff