I can enable CORS in OVH Object Storage (that uses OpenStack Swift) using this command
curl -i -XPUT -H "X-Auth-Token: xxxxxxxxxxx" -H "X-Container-Meta-Access-Control-Allow-Origin: *" https://storage.sbg1.cloud.ovh.net/v1/AUTH_yyyyyyy/repository
and everything works well. But after a period of time (that is completely random) this option is reset. Do you know why and how to solve that?