NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Dashboards → Count Dashboards for a User

AI-generated

Summary

Count dashboards for a selected user and domain.

Inputs

  • refreshOptions (required) — Whether to bypass cached dropdown values and fetch fresh options
  • domain (required) — Select a domain from which to count dashboards
  • user (required) — Select a user whose dashboards to count
  • owner_id — Optional owner ID to filter dashboards by owner

Output shape

a single numeric count of dashboards

The operation returns a number; if no dashboards match, the count is zero.

Examples

Example 1: User wants to know the total dashboards they own

Select a domain, select a user, optionally set owner_id, enable refreshOptions if needed

Example 2: Admin needs to verify dashboard count per user

Choose domain, choose user, optionally specify owner_id, run operation

Example 3: Periodic cleanup of unused dashboards

Run operation for each user and domain, optionally use refreshOptions

Links

Discussion