Home
Version 3
Organizations API

Organizations API

Retrieving organization memory usage

GET /v2/organizations/:guid/memory_usage

Request

Route

GET /v2/organizations/ec8f6a09-ce93-45b8-835a-be8235b83f41/memory_usage

Parameters

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTg2IiwiZW1haWwiOiJlbWFpbC00N0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQxNjYyNTk3fQ.zMEaZCzdqf9jMxrcpnAcqh8Fequnjx-vvz4C1YdG3yI
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/ec8f6a09-ce93-45b8-835a-be8235b83f41/memory_usage" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTg2IiwiZW1haWwiOiJlbWFpbC00N0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQxNjYyNTk3fQ.zMEaZCzdqf9jMxrcpnAcqh8Fequnjx-vvz4C1YdG3yI" \
	-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: b3765528-6d46-4b59-b31e-742daefebdaa
Content-Length: 24
X-Content-Type-Options: nosniff