Try OpenEdge Now
skip to main content
Administration
Command and Utility Reference : RESTMAN unpublish (Application)
 

RESTMAN unpublish (Application)

Deletes a REST service (paar) from a REST Web Application.
Note: You must disable the REST Web application before you can unpublish a service from it.

Syntax

Operating system
Syntax
UNIX
Windows
restman
   -name instance-name
   -appname application-name
   -service service-name
   -unpublish
-name instance-name
The name of the REST Management Agent instance.
-appname application-name
The name of the REST Web application.
-service service-name
The name of the REST Web application's paar file that you want to unpublish. You must provide only the service name, and not the complete filename and extension.
For example, you must provide myService as your service name, instead of myService.paar.

Notes

The unpublish command throws an error if you try to undeploy a web service of REST Web application that has only one service deployed on the Web server. Therefore, a REST Web application must have at least two Web services (paar files) deployed on the Web server for you to be able to unpublish one of the available services of the REST Web application.