Home
Version 3
Organizations API

Organizations API

Retrieving organization memory usage

GET /v2/organizations/:guid/memory_usage

Request

Route

GET /v2/organizations/46295c8a-b52b-4541-afa8-85c8c8570644/memory_usage

Parameters

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE5OCIsImVtYWlsIjoiZW1haWwtMTE0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NDJ9.phbve94pEXmi0qckPpmoQwkuskUh9-GlWvwBjFr3qdc
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/46295c8a-b52b-4541-afa8-85c8c8570644/memory_usage" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE5OCIsImVtYWlsIjoiZW1haWwtMTE0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NDJ9.phbve94pEXmi0qckPpmoQwkuskUh9-GlWvwBjFr3qdc" \
	-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: 95a016ae-25f1-4da9-ab15-fd0dfa4a6a6c
Content-Length: 24
X-Content-Type-Options: nosniff