Add deregistration
Add deregistration to CLI