Deleting a User

You can delete a user in your account that no longer needs access to your resources.

You need to detach any resource associated with the user before you can delete the user. With Cockpit, you can also choose to detach a user from its associated resources and delete it at the same time.

Deleting a User Using Cockpit

Deleting a User with No Associated Resources

Before you begin:

  1. Hover over your name.
    A drop-down menu appears.

  2. Click Users and Policies Management .

  3. In the EIM navigation panel, click Users.
    The Users page appears.

  4. Click the user you want to delete.

    Multiselection is available.

    The user is selected.

  5. Click Delete .
    The DELETE USER(S) dialog box appears.

  6. Click Delete to validate.
    The user is deleted.

Deleting a User with Associated Resources

  1. Hover over your name.
    A drop-down menu appears.

  2. Click Users and Policies Management .

  3. In the EIM navigation panel, click Users.
    The Users page appears.

  4. Click the user you want to delete.

  5. Click Teardown .
    The TEARDOWN USER dialog box appears.

  6. Click Teardown to validate.
    The user is detached from its groups and policies and deleted with its access key.

Deleting a User Using AWS CLI

Before you begin:

To delete a user, use the delete-user command following this syntax:

Request sample
$ aws iam delete-user \
    --profile YOUR_PROFILE \
    --user-name USER_NAME \
    --endpoint https://eim.eu-west-2.outscale.com

This command contains the following attributes that you need to specify:

  • (optional) profile: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI.

  • user-name: The name of the user you want to delete.

  • endpoint: The endpoint corresponding to the Region you want to send the request to.

The specified user is deleted from your account.

Related Pages

Corresponding API Method

AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.