3

On SPO, after changing a list's Name in 'List Settings' > 'List name, description and navigation', the list's Name in the SPO webpages gets immediately updated, but the GET /_api/Web/Lists(guid'my-guid') endpoint still returns the old Name in its Title property.

How do I get the updated Name (ex: I'm looking at the wrong property), or is it simply impossible with the REST API?

3

You might be looking at wrong Title property.

I replicated the scenario at my end, I changed my list name from Contoso to Contoso 1.

And hit the REST API and it returned the updated name.

enter image description here

It does not need any additional time to update the details.

So, try again and try to look all the Title property in your JSON result.

You can try hitting the REST endpoint in the browser directly.

  • 1
    Thanks for the swift answer! Sending the request in the browser does return the updated Title, however the API still returns the old title if I use cURL. Guess I'll need to check if there's issues with my cURL parameters, credentials, or if there's any caching going in. – user3058273 Dec 12 '18 at 6:03
  • After checking, it seems like the API returns different values when using the browser cookies and an access token from AAD. Question asked here: sharepoint.stackexchange.com/questions/254417 – user3058273 Dec 18 '18 at 1:28

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.