Removing REST Resources from a REST API Descriptor
You can remove REST resources from a REST API descriptor. However, a REST API descriptor must contain at least one REST resource. Designer prevents you from deleting the last REST resource in a REST API descriptor.
To remove a REST resource from a REST API descriptor
1. In the Package Navigator view, lock and open the REST API descriptor from which you want to remove a REST resource.
2. Click the REST Resources tab.
3. Select the REST resource that you want to remove.
4. Click on the REST API descriptor editor toolbar or right-click the selected REST resource and select Delete. Designer removes the selected REST resource from the REST API descriptor.
5. Click File > Save.