Swap heroes

Is there any hero swap function in API? http://imgur.com/DmMB3gt