The undeploy option is used to make a user-defined Web service inaccessible to the ASE Web Services Engine through HTTP or HTTPS.
sp_webservices 'undeploy', ['all' | 'service_name']
all
Specifies that all user-defined Web services are to be undeployed for the current database.
service_name
The name of the user-defined Web service to be undeployed.
The deploy and undeploy options are used to control when user-defined Web services are available. The webservices_role privilege is required for this option.