def rename(id, name)
      wf_apitoken_id?(id)
      api.put(id, { tokenID: id, tokenName: name }, 'application/json')
    end
def rename(id, name)
      wf_apitoken_id?(id)
      api.put(id, { tokenID: id, tokenName: name }, 'application/json')
    end
PUT /api/v2/apitoken/id
 Update the name of the specified api token

 @param id [String] ID of the API token
 @param name [String] name of the API token
 @return [Wavefront::Response]