Skip to main content

List groups

Return groups, optionally only those whose name starts with some text or that match a search expression.

Command in the Okta toolkit · id ooa.okta/list_groups · 6 inputs, 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Organization address (URL)StringNoYour Okta address, e.g. https://yourcompany.okta.com.
Name starts withStringNoOnly groups whose name starts with this text.
Maximum resultsNumberNo1000Most groups to return.
API tokenCredentialNoOkta API token from the vault. Leave empty when you use an access token instead.
Access tokenCredentialNoOAuth access token from the vault, used instead of an API token. Or leave it empty and choose a connection that signs in, which gets and renews the token.
SearchStringNoOkta search expression on group properties, e.g. profile.name eq "Finance" for an exact name, or type eq "APP_GROUP". Used instead of name_starts_with.

Outputs​

OutputTypeWhat it is
tableTableColumns: id, name, description, type.
countNumberNumber of groups returned.