api delete/rename