Skip to main content
Version: 0.7.0-incubating

Revoke roles to a user

PUT 

/metalakes/:metalake/permissions/users/:user/revoke

Revoke roles to a user

Request

Path Parameters

    metalake stringrequired

    The name of the metalake

    user stringrequired

    The name of the user

Body

    roleNames string[]required

    The role names need to revoke

Responses

Returns the revoked user object

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

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