Home
Version 3
Organizations API

Organizations API

Retrieving organization memory usage

GET /v2/organizations/:guid/memory_usage

Request

Route

GET /v2/organizations/c2aa2ac7-cb0d-4421-bf56-9a5427b3c44b/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.eyJ1c2VyX2lkIjoidWFhLWlkLTIyMSIsImVtYWlsIjoiZW1haWwtMTc5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzIzMTM2MTZ9.tAuXLgxUgTQGg6LQjevv3nuns7nCGugUXVZUN6UK9IE
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/c2aa2ac7-cb0d-4421-bf56-9a5427b3c44b/memory_usage" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyMSIsImVtYWlsIjoiZW1haWwtMTc5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzIzMTM2MTZ9.tAuXLgxUgTQGg6LQjevv3nuns7nCGugUXVZUN6UK9IE" \
	-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: 82902043-baec-4d71-bc18-5e4ce217b681
Content-Length: 24
X-Content-Type-Options: nosniff