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.eyJ1c2VyX2lkIjoidWFhLWlkLTI4MiIsImVtYWlsIjoiZW1haWwtMjE0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5NzZ9.JB4Mvzk6_Jn_IhKWxbFUxWYeHFbACb7Dvn42-7AqEiY
Host: example.org
Cookie: 

Route

GET /v2/organizations/5e2bbc8c-11c9-4c05-a1a4-63b05821c9b0/memory_usage

cURL

curl "https://api.[your-domain.com]/v2/organizations/5e2bbc8c-11c9-4c05-a1a4-63b05821c9b0/memory_usage" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4MiIsImVtYWlsIjoiZW1haWwtMjE0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5NzZ9.JB4Mvzk6_Jn_IhKWxbFUxWYeHFbACb7Dvn42-7AqEiY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: e2b43897-d506-4b9d-8777-96b87d70b7a0
Content-Length: 24
X-Content-Type-Options: nosniff

Status

200 OK

Body

{"memory_usage_in_mb":0}