delete connected to api