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.eyJ1c2VyX2lkIjoidWFhLWlkLTIwNiIsImVtYWlsIjoiZW1haWwtMTUwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MDV9.NZRhQvT7QlTEC7ofMCnFehPqHKPBzAy5Uzzxd9DayUY
Host: example.org
Cookie: 

Route

GET /v2/organizations/66db354c-0132-44da-9d16-98a04e8b0aa8/memory_usage

cURL

curl "https://api.[your-domain.com]/v2/organizations/66db354c-0132-44da-9d16-98a04e8b0aa8/memory_usage" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwNiIsImVtYWlsIjoiZW1haWwtMTUwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MDV9.NZRhQvT7QlTEC7ofMCnFehPqHKPBzAy5Uzzxd9DayUY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 7a765e22-8473-4d77-a724-7d513810e0dc
Content-Length: 24
X-Content-Type-Options: nosniff

Status

200 OK

Body

{"memory_usage_in_mb":0}