Access Delete Public Key Subcommand

access: All users

All users can execute this command to remove their own public key.
Manager-level users can execute this command to remove any user’s public key.

access delete public key [-u | --user] USER [-a | --all] [-q | --quiet]

Arguments Description
[-u | --user] The user whose public key will be removed. Defaults to the current user If USER is not specified. This argument is repeatable to remove multiple public keys at one time.
[-a | --all] Removes all public keys.
[-q | --quiet] If the user to delete is not found, this argument specifies that no error be returned.

 

Return Codes

Following are the return values for this command:

Code Numeric Code Description
NWSE_Success 0 Command successfully completed.
NWSE_InvalidUsage 1 Invalid usage: bad parameter usage, conflicting options specified.
NWSE_RPCTimeout 2 Request was issued, but was not serviced by the server. RPC procedure timed out and the request may or may not have been serviced by the server.
NWSE_RPCNotConnected 3 Unable to connect to the RPC server.
NWSE_NotFound 5 Entity (user, service, file, path, etc.) was not found.
NWSE_NoPermission 6 Not authorized to perform this operation.

 

Related Topics

System Management Commands

Access Command