How to rename the Item document using rest api?

Hi team,

I looking for the way to rename Item name using rest api. Example my Item has code is SKU01, now I want to change to SKU01abc using rest api. How can I do that? I tried the PUT method but it’s not working.

Thank you so much.


You can rename any doctype using this whitelist function.

Here is the API call


1 Like

I am utilizing token-based authentication to follow this REST API: REST API (

This is the REST API used on the web. The /api/method/frappe.rename_doc API also functions with the same token.

Thank you so much.