delete spec and method for the client