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.eyJ1c2VyX2lkIjoidWFhLWlkLTM3NiIsImVtYWlsIjoiZW1haWwtMjc4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4ODV9.cXYVJvyJDahLCXHtXUFo-ZjLp1E05fxteREzAlzmCUU
Host: example.org
Cookie: 

Route

GET /v2/organizations/59c02457-4058-4ab5-8976-60acde31741d/memory_usage

cURL

curl "https://api.[your-domain.com]/v2/organizations/59c02457-4058-4ab5-8976-60acde31741d/memory_usage" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3NiIsImVtYWlsIjoiZW1haWwtMjc4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4ODV9.cXYVJvyJDahLCXHtXUFo-ZjLp1E05fxteREzAlzmCUU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 4121ff7e-58c3-4166-9f70-536fecb815c8
Content-Length: 24
X-Content-Type-Options: nosniff

Status

200 OK

Body

{"memory_usage_in_mb":0}