XML is no longer supported, below json solved my problem
“CORSConfiguration”: {
"CORSRule": [
{
"AllowedHeaders": [
"*"
],
"AllowedMethods": [
"GET",
"PUT",
"POST",
"DELETE"
],
"AllowedOrigins": [
"https://*.uipath.com"
],
"MaxAgeSeconds": 3000
}
]