Skip to main content

List groups

GET 

/metalakes/:metalake/groups

Returns the names of the groups in the metalake, or the full groups with their roles and audit information when details is true. When authorization is enabled, the list includes only the groups the caller is allowed to view.

Sign in with a bearer token or a local user's password; see Authentication.

Request​

Path Parameters

    metalake stringrequired

    The name of the metalake

Query Parameters

    details boolean

    Whether to return the full group objects instead of only their names

Responses​

The names of the metalake's groups, or the full groups with their roles and audit information when details is true.

Schema

    oneOf

    code int32

    Possible values: [0]

    Status code of the response

    groups

    object[]

    A list of group objects

  • Array [

  • name stringrequired

    The name of the group

    roles string[]

    The roles of the group

    id int64

    The identifier Gravitino assigns to the group

    audit

    object

    Audit information for a Gravitino resource.

    creator string

    The user who created the resource

    createTime date-time

    The time the resource was created

    lastModifier string

    The user who last modified the resource

    lastModifiedTime date-time

    The time the resource was last modified

  • ]

Loading...