Home
Version 3
Organizations API

Organizations API

Retrieving organization memory usage

GET /v2/organizations/:guid/memory_usage

Request

Route

GET /v2/organizations/e1bfe0c0-6777-47e4-9ab9-47294073af50/memory_usage

Parameters

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

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzNiIsImVtYWlsIjoiZW1haWwtOTZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyOTAzODcwMn0.7kXU62arXdfylkjF-nFKvSsdpuzj0C4AA8wnF_qAsYY
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/e1bfe0c0-6777-47e4-9ab9-47294073af50/memory_usage" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzNiIsImVtYWlsIjoiZW1haWwtOTZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyOTAzODcwMn0.7kXU62arXdfylkjF-nFKvSsdpuzj0C4AA8wnF_qAsYY" \
	-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: a8d8a954-0b47-45e0-b162-51070545d4b0
Content-Length: 24
X-Content-Type-Options: nosniff