Remove a resource