To uninstall a server instance, run the setup tool in interactive command-line, or non-interactive command-line mode.

Interactive command-line mode
Interactive command-line mode is a text-based interface that prompts the user for input. To use this mode, run the bin/uninstall command without any options.
Non-interactive command-line mode
Non-interactive command-line mode suppresses progress information from being written to standard output during processing, except for fatal errors. To use this mode, run the bin/uninstall command with the --no-prompt option.
Note:

For standalone installations with a single Directory Server instance, you can also manually remove the Directory Server by stopping the server and recursively deleting the directory and subdirectories, as in the following example.

$ rm -rf /ds/PingDirectory