Skip to main content

List users

GET 

/metalakes/:metalake/users

Returns the names of the users in the metalake, or the full users with their roles and audit information when details is true. When authorization is enabled, the list includes only the users 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 user objects instead of only their names

Responses​

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

Schema

    oneOf

    code int32

    Possible values: [0]

    Status code of the response

    users

    object[]

    A list of user objects

  • Array [

  • name stringrequired

    The name of the user

    roles string[]

    The roles of the user

    id int64

    The identifier Gravitino assigns to the user

    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...