Home
Version 3
Organizations API

Organizations API

Retrieving organization memory usage

GET /v2/organizations/:guid/memory_usage

Fields

Name Description Default Valid Values Example Values

Parameters

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

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3NCIsImVtYWlsIjoiZW1haWwtMjc2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NTR9.dqtpb4iAg8fU87dDY7xfV8Q8ODJ7f_GrwbBlgFMYnFI
Host: example.org
Cookie: 

Route

GET /v2/organizations/fa717c36-b502-4151-b2be-7db047d75ff2/memory_usage

cURL

curl "https://api.[your-domain.com]/v2/organizations/fa717c36-b502-4151-b2be-7db047d75ff2/memory_usage" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3NCIsImVtYWlsIjoiZW1haWwtMjc2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NTR9.dqtpb4iAg8fU87dDY7xfV8Q8ODJ7f_GrwbBlgFMYnFI" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: a1a1209c-1369-4972-8102-8193ecba01fd
Content-Length: 24
X-Content-Type-Options: nosniff

Status

200 OK

Body

{"memory_usage_in_mb":0}