Skip to main content

list_organizations

Function list_organizations 

Source
pub async fn list_organizations(
    ts: Option<SharedTokenSource>,
) -> Result<Vec<Organization>>
Expand description

Returns the organizations visible to the token source’s identity, sorted by name. ts must mint tokens for PLATFORM_AUDIENCE; None uses platform_token_source. It calls the IAM Groups API: GET /iam/v1/groups?uidp.in_root=true.