Skip to main content

Revoke roles from a group

PUT 

/metalakes/:metalake/permissions/groups/:group/revoke

Revokes roles from a group and returns the group with its remaining roles.

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

Request​

Path Parameters

    metalake stringrequired

    The name of the metalake

    group stringrequired

    The name of the group

Body

    roleNames string[]required

    The role names need to revoke

Responses​

The group, with the roles that remain after the revocation.

Schema

    code int32

    Possible values: [0]

    Status code of the response

    group

    object

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