Delete a resource