curl --request GET \
--url https://api.easierprop.com/admin/keys \
--header 'Authorization: Bearer <token>'{
"ok": true,
"data": [
{
"key": "sk_live_abc123...",
"id": 1,
"label": "Production key",
"prefix": "sk_live_abc",
"max_accounts": 4,
"admin_id": 1,
"created_at": "2023-11-07T05:31:56Z"
}
]
}List API keys. Admins see their own keys; superadmins see all keys.
curl --request GET \
--url https://api.easierprop.com/admin/keys \
--header 'Authorization: Bearer <token>'{
"ok": true,
"data": [
{
"key": "sk_live_abc123...",
"id": 1,
"label": "Production key",
"prefix": "sk_live_abc",
"max_accounts": 4,
"admin_id": 1,
"created_at": "2023-11-07T05:31:56Z"
}
]
}