Home
Version 3
Organizations API

Organizations API

Retrieving organization memory usage

GET /v2/organizations/:guid/memory_usage

Fields

Name Description Default Valid Values Example Values

Parameters

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

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxIiwiZW1haWwiOiJlbWFpbC00MUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0MTM3MzY0fQ.AQ1dv2Sn2t7XeOH0JydBtyNnW-EQqLb4bh34zdUmXOg
Host: example.org
Cookie: 

Route

GET /v2/organizations/67489fc5-e1f3-435d-a944-68e971260ea3/memory_usage

cURL

curl "https://api.[your-domain.com]/v2/organizations/67489fc5-e1f3-435d-a944-68e971260ea3/memory_usage" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxIiwiZW1haWwiOiJlbWFpbC00MUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0MTM3MzY0fQ.AQ1dv2Sn2t7XeOH0JydBtyNnW-EQqLb4bh34zdUmXOg" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 1b88c79d-cbc5-46be-9f8f-cb8feed11fd9
Content-Length: 24
X-Content-Type-Options: nosniff

Status

200 OK

Body

{"memory_usage_in_mb":0}