catalog_permission.

list_available_assignees

list_available_assignees(workspace_id: str, dashboard_id: str) -> CatalogAvailableAssignees

Provide list of users and groups available to assign some dashboard permission

Parameters

nametypedescription
workspace_idstrWorkspace identification string. e.g. "demo"
dashboard_idstrDashboard identification string. e.g. "campaign"

Returns

typedescription
CatalogAvailableAssigneesObject containing users and user groups

Example

# list all assignees
possible_assignees = list_available_assignees(workspace_id="demo",dashboard_id="sales")