Home
Version 3
Organizations API

Organizations API

Get Organization summary

GET /v2/organizations/:guid/summary

Request

Route

GET /v2/organizations/a64c9c0e-e6d9-4149-92ae-c9350f18f49e/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.eyJ1c2VyX2lkIjoidWFhLWlkLTE1OCIsImVtYWlsIjoiZW1haWwtMTM3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzI3NzQ5ODd9.Fai6CHpJWOzk07uQLI_2wF-4ik9NgKqSaw5PoQt3uy0
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/a64c9c0e-e6d9-4149-92ae-c9350f18f49e/summary" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1OCIsImVtYWlsIjoiZW1haWwtMTM3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzI3NzQ5ODd9.Fai6CHpJWOzk07uQLI_2wF-4ik9NgKqSaw5PoQt3uy0" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{"guid":"a64c9c0e-e6d9-4149-92ae-c9350f18f49e","name":"name-721","status":"active","spaces":[{"guid":"b207401d-5f0e-49f0-a4bd-9b0ef17ca3ce","name":"name-723","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: 3d5508a9-0ee0-466f-b26e-dbece5c86b2f
Content-Length: 229
X-Content-Type-Options: nosniff