Fix a bug where a client is deleted before details looked up. Also return 204 on success