Skip to main content

Delete role

DELETE 

/metalakes/:metalake/roles/:role

Deletes a role and revokes it from every user and group it was granted to. The response reports whether a role was deleted.

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

Request​

Path Parameters

    metalake stringrequired

    The name of the metalake

    role stringrequired

    The name of the role

Responses​

Whether the object was deleted. The server sets dropped and deleted to the same value so that clients can read either field; both are false when the object did not exist.

Schema

    code int32

    Possible values: [0]

    Status code of the response

    dropped boolean

    Whether the delete operation was successful

    deleted boolean

    Same value as dropped, kept for clients that read the older field name

Loading...