Home
Version 3
Organizations API

Organizations API

Retrieving organization memory usage

GET /v2/organizations/:guid/memory_usage

Request

Route

GET /v2/organizations/29915090-61c9-4aa7-8f3a-84810b856136/memory_usage

Parameters

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTU3IiwiZW1haWwiOiJlbWFpbC0zNEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYxOTU4MzkxfQ.LpJVBxUNWf4qcHUqOwlpnr8aCIOezXczmc_a_9nm1OM
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/29915090-61c9-4aa7-8f3a-84810b856136/memory_usage" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTU3IiwiZW1haWwiOiJlbWFpbC0zNEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYxOTU4MzkxfQ.LpJVBxUNWf4qcHUqOwlpnr8aCIOezXczmc_a_9nm1OM" \
	-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: 7760434f-27a3-4877-8e65-981f9b4fa64c
Content-Length: 24
X-Content-Type-Options: nosniff