agent_id
.agent_id
in the path.agent_id
, follow this guide:curl --location -g --request GET 'https:///v2/api/agent/1251/access' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer '
{
"success": true,
"message": "Agent Access Data fetched successfully",
"data": {
"id": 1251,
"agent_name": "Policy Whisperer",
"access": "Only me"
}
}