A request XML packet removing a custom button includes the delete-custombutton operation node:
<packet version="1.5.1.0">
<ui>
<delete-custombutton>
...
</delete-custombutton>
</ui>
</packet>
The delete-custombutton graphical representation is as follows:

ui_input.xsd).