Whether the deal has hidden folders
GET
/deals/{dealId}/directory/hidden-foldersReports only whether the deal's directory tree contains any hidden folder. Deprecated: use GET /folders?filter[deal_id]={dealId}&filter[hidden]=true instead. It is withdrawn on 2027-06-30 and keeps its old response shape. Responses carry Deprecation, Sunset and a Link header with rel="successor-version" pointing at the replacement.
Path parameters
The deal uuid.
Responses
200
OK
{
"data": {
"has_hidden_folders": true
}
}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}/directory/hidden-folders\
-H "Authorization: Bearer $HELM_API_KEY"\
-H "Content-Type: application/json"