Skip to main content

Add user

POST 

/metalakes/:metalake/users

Adds a user to the metalake and returns the new user, including its roles and audit information.

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

Request​

Path Parameters

    metalake stringrequired

    The name of the metalake

Body

    name stringrequired

    The name of the user

Responses​

The new user, with its roles and audit information.

Schema

    code int32

    Possible values: [0]

    Status code of the response

    user

    object

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