Designer 10.7 | webMethods Service Development Help | Working with REST API Descriptors | Swagger-Based Provider REST API Descriptors | Configuring a REST V2 Resource | Working with REST V2 Resource Operation | Deleting a REST V2 Resource Operation
 
Deleting a REST V2 Resource Operation
Deleting a REST V2 resource operation also removes the specified URL template, the corresponding HTTP methods, and the associated flow service mapping. Therefore, ensure that any subsequent client request to Integration Server does not invoke the deleted REST resource operation because such a request will fail.
Note:
If the Generate JSON API URLs property is set to True for a REST V2 resource, you cannot delete a operation associated with the resource, Designer regenerates the operation when you try to delete and save it. To delete the operation, set the property to False, try to remove the operation and save it. For more information about this property, refer to REST V2 Resource Properties.
*To delete a REST V2 resource operation
1. In the Package Navigator view of Designer, double click the REST V2 resource for which you want to delete the operation.
2. On the Resource Configuration tab, select an operation and click Remove.
3. Click File > Save.
Integration Server deletes the selected resource operation.