I used the below rest API to create a client side page from a template.


Problem: Assume John created the Template. Tim creates a page using the template, now the Author field is showing John but Editor is showing Tim. Ideally Tim has to be both Author and Editor. I tried passing digest value in header as well but no luck.



You can use below rest endpoint to update author/editor:

Post : /_api/Web/Lists(guid'b38f437d-468e-4598-b6b9-a29ded00f028')/Items(21)/ValidateUpdateListItem()



Test: enter image description here

More reference:


This is expected behaviour. The author field can be set to any user but the created and modified fields are system fields which are always set to the user who created or edited the item when using the UI. The created or modified values can however be set programmatically.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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