Parameters
-vserver <vserver name> - Vserver
This parameter optionally specifies the Vserver of the user for whom you are adding the public key.
-username <text> - Username
This parameter specifies the name of the user for whom you are deleting a public key. If you do not specify a user, the user named admin is specified by default.
-index <integer> - Index
This parameter specifies an index number for the public key. Default value is zero if it is the first public key created for the user, otherwise, one greater than the highest existing index.
Examples
The following command deletes the public key for the user named tsmith with the index number 5.
cluster1::> security login publickey delete -username tsmith -index 5