Home
Version 3
Organizations API

Organizations API

Retrieving organization memory usage

GET /v2/organizations/:guid/memory_usage

Request

Route

GET /v2/organizations/5120ef85-9fad-4d14-94f3-2a90c71b174c/memory_usage

Parameters

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2IiwiZW1haWwiOiJlbWFpbC0zNkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYzNjE4NzA1fQ.fTd_A_VGLWZTkSJdCeX7XsQ8j13LZYX4fbs7h98aCuQ
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/5120ef85-9fad-4d14-94f3-2a90c71b174c/memory_usage" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2IiwiZW1haWwiOiJlbWFpbC0zNkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYzNjE4NzA1fQ.fTd_A_VGLWZTkSJdCeX7XsQ8j13LZYX4fbs7h98aCuQ" \
	-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: 03f7af64-9ba6-42ed-8e24-8ce5c79521e0
Content-Length: 24
X-Content-Type-Options: nosniff