Home
Version 3
Organizations API

Organizations API

Retrieving organization memory usage

GET /v2/organizations/:guid/memory_usage

Request

Route

GET /v2/organizations/59785e2a-a471-4fc1-bf89-ade500bb01de/memory_usage

Parameters

Name Description Valid Values Example Values
guid The guid of the Organization

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyNiIsImVtYWlsIjoiZW1haWwtNzNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0MjYwMTUzMH0.dUTpkUpkSCmyuWEYqJYXL-5e44a50Q9Wvg_zwVulUqA
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/59785e2a-a471-4fc1-bf89-ade500bb01de/memory_usage" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyNiIsImVtYWlsIjoiZW1haWwtNzNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0MjYwMTUzMH0.dUTpkUpkSCmyuWEYqJYXL-5e44a50Q9Wvg_zwVulUqA" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{"memory_usage_in_mb":0}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 5ca2ff16-b60d-43c2-a8b0-24a6128a43b0
Content-Length: 24
X-Content-Type-Options: nosniff