Integration Server 10.3 | Built-In Services Reference Guide | Packages Folder | Summary of Elements in this Folder | pub.packages:disablePackage
 
pub.packages:disablePackage
WmPublic. Disables a package, thus prohibiting access to the services in the package.
Input Parameters
package
String Name of the package that you want to disable. Package names are case sensitive.
Output Parameters
message
String Message from server. (This is the same message that you receive when you disable a package with the Integration Server Administrator.)
Usage Notes
When a package is disabled, the services in the package are no longer available to the clients. To re-enable a package that has been disabled, use pub.packages:enablePackage.
Important:
Never disable the WmRoot package. Doing so would disable the server.
Be aware that if you disable a package while services in the package are being executed, those services will most likely fail. disablePackage does not wait for in-progress services to finish before disabling a package.
This service will throw an exception if the package specified in package does not exist or cannot otherwise be disabled.
See Also
pub.packages:enablePackage