Get server metric access grants
GET
Lists the members and API keys explicitly allowed to read this VPS's metrics.
Access: User session: workspace admin or owner. API keys aren't supported.
- Owner/admin sessions already have access. These grants apply only to metrics, not VPS management.
header
AuthorizationBearer <token>Send Authorization: Bearer <token>. A token is an API key (lb_live_…, scoped, for programs) or a session (lb_sess_…, from signup or login, for people). See Authentication above.
id*stringThe resource id.
X-Org-ID?stringSessions only: act on this organization (you must be a member). Default: your first organization.
Explicit grants for this server
application/json- response
vm_id*stringuser_ids*array<string>Items
items <= 100api_key_ids*array<string>Items
items <= 100curl -X GET 'https://layerbeat.com/v1/vms/string/metrics/access'{ "vm_id": "vm_abc123", "user_ids": [ "usr_abc123" ], "api_key_ids": [ "key_abc123" ]}