class Attio::Attribute
def archive(**opts)
def archive(**opts) raise InvalidRequestError, "Cannot archive an attribute without an ID" unless persisted? response = self.class.send(:execute_request, :POST, "#{resource_path}/archive", {}, opts) update_from(response[:data] || response) self end