Deleting a user group

Virtual Storage Platform One SDS Block System Administrator Guide

Version
1.15.x
Audience
anonymous
Part Number
MK-24VSP1SDS001-02

You can delete a user group which includes no user.

However, a built-in user group cannot be deleted.

If external authentication is enabled and users are managed on each group basis on the external authentication server, deleting a local user group corresponding to the external group deletes all sessions.

  • Required role: Security

  • When deleting user groups in a VPS: Scope of the VPS

  1. Verify the user group ID of the user group to be deleted.

    REST API: GET /v1/objects/user-groups

    CLI: user_group_list

  2. Obtain detailed information about the user group.

    Run either of the following commands with the ID of the user group specified.

    REST API: GET /v1/objects/user-groups/<userGroupId>

    CLI: user_group_show

    Execute the following steps after verifying that there is no user in the group.

  3. Delete the user group.

    Run either of the following commands with the ID of the user group specified.

    REST API: DELETE /v1/objects/user-groups/<userGroupId>

    CLI: user_group_delete

  4. Obtain a list of user groups and verify that the intended user group is deleted.

    REST API: GET /v1/objects/user-groups

    CLI: user_group_list

  5. (Virtual machine)(Bare metal) Back up the configuration information.

    Perform this step by referring to Backing up the configuration information (Virtual machine)(Bare metal).

    If you continue operations with other procedures, you must back up the configuration information after you have completed all operations.