Skip to main content

Get Groups

GET 

/api/v33.01/groups

x-prisma-cloud-target-env: {"permission":"userManagement"}

Retrieves the list of all groups.

This endpoint maps to the table data on the Manage > Authentication > Groups Console UI page.

cURL Request

Refer to the following example cURL command that retrieves all the system groups.

$ curl -k \
-X GET \
-u <USER> \
-H 'Content-Type: application/json' \
https://<CONSOLE>/api/v<VERSION>/groups

Responses

Groups represents a list of groups

Schema
  • Array [
  • _id string

    Group name.

    groupId string

    Group identifier in the Azure SAML identification process.

    groupName string

    Group name.

    lastModified date-time

    Datetime when the group was created or last modified.

    ldapGroup boolean

    Indicates if the group is an LDAP group (true) or not (false).

    oauthGroup boolean

    Indicates if the group is an OAuth group (true) or not (false).

    oidcGroup boolean

    Indicates if the group is an OpenID Connect group (true) or not (false).

    owner string

    User who created or modified the group.

    permissions object[]

    Permissions is a list of permissions

  • Array [
  • collections string (string)[]

    List of collections the user can access.

    project string

    Names of projects which the user can access.

  • ]
  • role string

    Role of the group.

    samlGroup boolean

    Indicates if the group is a SAML group (true) or not (false).

    user object[]

    Users in the group.

  • Array [
  • username string

    Name of a user.

  • ]
  • ]
Loading...