Delete a CHAP user as follows.
-
Required role: Security
-
Verify the ID of the CHAP user to be deleted.
If you use the CLI to specify a CHAP user with a CHAP user name, check the CHAP user name.
REST API: GET /v1/objects/chap-users
CLI: chap_user_list
-
Delete a CHAP user.
Run either of the following commands with the ID of the CHAP user specified.
If you use the CLI, you can specify the CHAP user name instead of the CHAP user's ID.
REST API: DELETE /v1/objects/chap-users/<chapUserId>
CLI: chap_user_delete
Verify the job ID which is displayed after the command is run.
-
Verify the state of the job by specifying the job ID.
REST API: GET /v1/objects/jobs/<jobId>
CLI: job_show
If the job state is "Succeeded", the job is completed.
-
(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.