Skip to main content

revoke-role

Addedv0.1.x

This operation revokes a role from a user.

📘Notes

This command is available for Dedicated clusters only. You can run zilliz context set to switch among clusters.

Synopsis

zilliz user revoke-role
--user <value>
--role <value>
[--output <json | table | text | yaml | csv]
[--no-header]
[--query <value>]

Options

  • --user (string) -

    [REQUIRED]

    Indicates the username.

  • --role (string) -

    [REQUIRED]

    Indicates the role name to revoke.

  • --output, -o (string) -

    Indicates the output format. Possible values:

    • json,

    • table,

    • text,

    • yaml,

    • csv.

  • --no-header (boolean) -

    Indicates whether to omit the header row when the output is set to table or csv.

  • --query, -q (string) -

    Indicates a JMESPath expression to filter output.

Example

zilliz user revoke-role --user my_user --role admin