Documents

Whether the deal has hidden folders

GET/deals/{dealId}/directory/hidden-folders
documents:readget_deal_hidden_foldersRead-onlyDeprecatedSunset 2027-06-30

Reports 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

  • dealIdstring (uuid)Required#

    The deal uuid.

Responses

200

OK

{
  "data": {
    "has_hidden_folders": true
  }
}
401

Authentication failed. error.code is one of invalid_token, expired, revoked.

Error
403

Authorization failed. error.code is one of org_disabled, ip_blocked, missing_scope, scope_disabled, user_disabled.

Error
404

Resource not found (error.code = not_found).

Error
429

Rate limit exceeded (error.code = rate_limited).

Error

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"