Portfolio

Check if asset name exists

GET/portfolio/assets/name-exists

Checks whether an asset with the given name already exists, optionally scoped to a parent asset. Useful for validating uniqueness before creating or renaming an asset.

Query parameters

  • namestring#
  • asset_idstring#
  • parent_idstring#

Responses

200
true

Examples

curl https://your-org-domain/kong/core/api/v2/portfolio/assets/name-exists\
  -H "Authorization: Bearer $HELM_API_KEY"\
  -H "Content-Type: application/json"