Organizations API

Get Organization summary

GET /v2/organizations/:guid/summary

Request

Route

GET /v2/organizations/bbf58adc-60cf-4965-8aec-82ae7ddcd2f5/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.eyJ1c2VyX2lkIjoidWFhLWlkLTEyMiIsImVtYWlsIjoiZW1haWwtNzdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2NjAwODg4N30.Bx8g5HWt4qs4kKaAU-rO2b5nYqmnXQscxBZwPr_1q1w
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/bbf58adc-60cf-4965-8aec-82ae7ddcd2f5/summary" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyMiIsImVtYWlsIjoiZW1haWwtNzdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2NjAwODg4N30.Bx8g5HWt4qs4kKaAU-rO2b5nYqmnXQscxBZwPr_1q1w" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "guid": "bbf58adc-60cf-4965-8aec-82ae7ddcd2f5",
  "name": "name-1373",
  "status": "active",
  "spaces": [
    {
      "guid": "cf63a51f-9dcd-43f8-8552-a08a4a3b4df3",
      "name": "name-1375",
      "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: bb9c40c5-6047-4092-b166-7a65ff6333ee
Content-Length: 231
X-Content-Type-Options: nosniff