Skip to main content
Skip to main content
🚧 Work in Progress

Delete PostgreSQL service

Delete PostgreSQL service in Zerops GUI​

Go to the project dashboard and select the delete service menu item in the top right corner.

// TODO screenshot (show menu with the delete service item)

Delete PostgreSQL using zCLI​

zCLI is the Zerops command-line tool. To delete the PostgreSQL service via the command-line, follow these steps:

  1. Install & setup zCLI
  2. Run the zcli service delete command
Usage:
zcli service delete [serviceIdOrName] [flags]

Flags:
--confirm If set, zCLI will not ask for confirmation of destructive operations.
-h, --help the service delete command.
--projectId string If you have access to more than one project, you must specify the project ID for which the
command is to be executed.
--serviceId string If you have access to more than one service, you must specify the service ID for which the
command is to be executed.

zCLI commands are interactive, when you press enter after zcli service delete, you will be given a list of your projects and its services to choose from.