Zend Server User Guide > Tasks > Working with CLI Tools > app-remove

app-remove

This CLI command removes an application from Zend Server.

Command Specific Arguments

This table specifies the various arguments used in the command:

Abbreviated Full Description Required/Optional

-i

--id

ID of the application to be removed.

Required

Common Arguments

This table lists arguments common to all zs-manage commands:

Abbreviated Full Description Required/Optional

-N

--key-name

WebAPI key name.

Required

-K

--secret-key

WebAPI secret key.

Required

-U

--server-url

Zend Server URL. Default: http://localhost:10081/ZendServer.

Required - when action is performed on a remote server.

-h

--help

Show usage information and exit.

Optional

Tip:

Use app-get-status to retrieve the ID of the application you wish to remove.

 

 

Instructions on how to complete a procedure

To use app-remove:

  1. Open your CLI.
  1. Enter a help command for the app-remove action to learn which arguments your command should include:

/usr/local/zend/bin/zs-manage app-remove --help

  1. Enter the command with the required arguments (replace brackets with your value):

/usr/local/zend/bin/zs-manage app-remove -i <application ID> [optional parameters- see table above] -N <existing key name> -K <existing key secret>

The application is removed from Zend Server.

APPINFO 2 http://<default-server>:80/sanity mtrig mynewapp /usr/local/zend/var/apps/http/__default__/0/sanity/1.0.0 deployed

SERVERAPPINFO 3 1.0.0 deactivating

SERVERAPPINFO 1 1.0.0 deactivating

 

 

 

Read Also

  CLI Tools    
  Working with CLI Tools