Home
Version 3
Organizations API

Organizations API

Retrieving organization memory usage

GET /v2/organizations/:guid/memory_usage

Request

Route

GET /v2/organizations/d63b196c-8cb7-48bf-9c20-2d770b2937c2/memory_usage

Parameters

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwIiwiZW1haWwiOiJlbWFpbC0yM0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYxMzc0NjIzfQ.v_flK2w0n4SNjvjkQiYMTUnzXbThgmD1Hhb1mO3puM4
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/d63b196c-8cb7-48bf-9c20-2d770b2937c2/memory_usage" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwIiwiZW1haWwiOiJlbWFpbC0yM0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYxMzc0NjIzfQ.v_flK2w0n4SNjvjkQiYMTUnzXbThgmD1Hhb1mO3puM4" \
	-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: 20f8e78e-8b9e-4ff5-b819-032a8a29522f
Content-Length: 24
X-Content-Type-Options: nosniff