# SP Delete Mount Subcommand

access: Administrators, Managers

Deletes a mountpoint.

> sp delete mount [LOCAL MOUNT POINT][-q | --quiet]

Arguments | Description
--- | ---
LOCAL MOUNT POINT | Specifies the mountpoint to remove. If you do not specify the local mountpoint, /mnt is implicit as the default value.
[-q | --quiet] | If the mountpoint 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. The remote mount point was not specified.
NWSE_InvalidArgument | 4 | One or more arguments were incorrect or invalid. The local directory does not exist.
NWSE_NoPermission | 6 | Not authorized to perform this operation.
NWSE_NoMemory | 8 | Insufficient memory.
NWSE_Busy | 9 | Device or resource is busy.
NWSE_RPCConnected | 11 | RPC client already connected.
NWSE_RPCConnRefused | 12 | RPC connection refused.
NWSE_NoRouteToHost | 13 | No route to host (network down).
NWSE_HostDown | 14 | Host is down.
NWSE_UnknownError | 15 | Miscellaneous error not captured by other errors.

Related Topics

System Management Commands

SP Command