Deleting an EIM User Using OKS
You can delete EIM user roles using OKS CLI.
Deleting an EIM User Using OKS CLI
The user delete command allows you to delete an EIM user:
$ oks-cli user delete \
--profile-name "default" \
--project-name NAME_OF_PROJECT \
--user OKSVolumesManager \
--dry-run \
--force \
--output json
This command contains the following options that you need to specify:
-
(optional)
profile-name: The name of the profile that you want to delete the EIM user from. -
project-name: The name of the project in which the EIM user was created. -
user: The user role to delete. Possible values areOKSVolumesManagerandOKSSnapshotsManager. -
(optional)
dry-run: Provides an overview of the operations performed by the command without actually running it. You can use this as a safety measure to review the impact of a command before executing it. -
(optional)
force: Forces the user deletion without prompting you first. -
(optional)
output: The output format for the response (json|yaml). By default, the response format is in JSON.
You are then prompted to confirm the deletion. If you proceed by entering y, the user will be permanently deleted. If you enter N, the deletion process will be canceled.
{
"Details": "User has been deleted."
}
Related Pages
Corresponding API Method