Removal of Entitlements added via API

You can try using a workflow to achieve this. Please refer this post for solution.