The name of the proxy and port will change after swapping. The server IP may change as well. You have the option to
use 
copy_settings to transfer configurations like: auto_change, auto_change_time, auth_method, username,
password and whitelist.Authorizations
The Authorization header is used to authenticate with the API using your Master API key. Value is of the format Bearer YOUR_KEY_HERE.
Path Parameters
Replace {proxyName} in the url path with YOUR_PROXY.
Body
application/json
Swap proxy details