List entities selectable for the visibility ACL
GET
/deals/{dealId}/visibility/candidatesLists the classifications, teams and users the deal's existing rules already name, grouped by entity type; it does not list everything that could be selected. It changes nothing.
Deprecated: it will be withdrawn on 2027-06-30; it has no replacement, use GET /deals/{id}/visibility, GET /deals/{id}/classifications and GET /deals/{dealId}/visibility/investors.
Path parameters
The deal's public uuid.
Responses
{
"data": {
"classification": [
"5",
"12"
],
"team": [],
"user": [
"9c4b1d2e-3f5a-4b6c-8d7e-0f1a2b3c4d5e"
]
},
"meta": {
"source": "deal-acl",
"catalogues": {
"classification": "GET /v2/classifications",
"user": "GET /v2/investors",
"team": "GET /v2/groups"
}
}
}403Error
Authorization failed. error.code is one of org_disabled,
ip_blocked, missing_scope, scope_disabled, user_disabled.
Examples
curl https://your-org-domain/kong/core/api/v2/deals/{dealId}/visibility/candidates\
-H "Authorization: Bearer $HELM_API_KEY"\
-H "Content-Type: application/json"