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.eyJ1c2VyX2lkIjoidWFhLWlkLTI0MiIsImVtYWlsIjoiZW1haWwtMTgyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NDh9.2RDgEuuQAHddOJIJoO_8HrD91f1wb0YPbB9qaIe1Hrs
Host: example.org
Cookie: 

Route

GET /v2/organizations/fa269c5c-0478-4275-9cfb-f29a1d6a219b/summary

cURL

curl "https://api.[your-domain.com]/v2/organizations/fa269c5c-0478-4275-9cfb-f29a1d6a219b/summary" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0MiIsImVtYWlsIjoiZW1haWwtMTgyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NDh9.2RDgEuuQAHddOJIJoO_8HrD91f1wb0YPbB9qaIe1Hrs" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 7a5d71b3-e416-47fa-902c-660da7053b28
Content-Length: 231
X-Content-Type-Options: nosniff

Status

200 OK

Body

{"guid":"fa269c5c-0478-4275-9cfb-f29a1d6a219b","name":"name-1757","status":"active","spaces":[{"guid":"826f0b57-7f52-4be0-bc49-a4b2e0f084e5","name":"name-1759","service_count":0,"app_count":0,"mem_dev_total":0,"mem_prod_total":0}]}