GET /api/v2/users/{user_id}/permissions.curl --location --globoff 'https:///api/v2/teams//permission-sets' \
--header 'X-Authorization-Consistency-Token;' \
--header 'Organization-Id;' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer '{
"success": true,
"message": "Team permission sets found successfully",
"data": {
"team_id": 7,
"team_name": "Support",
"organization_id": 12,
"effective_permissions": {
"agents": {
"view": [
"all"
],
"edit": [
"team"
],
"delete": [],
"publish": [],
"create": true
}
},
"permission_sets": [
{
"id": "6f1c2d3e-4b5a-4c7d-8e9f-0a1b2c3d4e5f",
"name": "Agent Editors",
"source": "direct",
"team": null,
"permissions": {
"agents": {
"view": "all",
"edit": "team",
"create": true
}
}
}
]
}
}