Home
Version 3
Organizations API

Organizations API

Retrieving organization memory usage

GET /v2/organizations/:guid/memory_usage

Request

Route

GET /v2/organizations/5e52f218-3c1b-48d9-a252-4bc15031610e/memory_usage

Parameters

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1NyIsImVtYWlsIjoiZW1haWwtMTM0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDcxMTY4Mzh9.5Gxp9fIwc8sprlg4QYE2nuD82G6UiTzxdIUFIvJZZOE
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/5e52f218-3c1b-48d9-a252-4bc15031610e/memory_usage" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1NyIsImVtYWlsIjoiZW1haWwtMTM0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDcxMTY4Mzh9.5Gxp9fIwc8sprlg4QYE2nuD82G6UiTzxdIUFIvJZZOE" \
	-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: 2a8c2738-730c-4395-adf0-c0c5a990e540
Content-Length: 24
X-Content-Type-Options: nosniff