WEB应用防火墙 WAF-按企业项目迁移防护域名:请求示例

时间:2024-01-26 15:43:53

请求示例

将项目id为project_id的项目下的 域名 id为“6cc26af071de46479840b41c143bb79b”的域名和防护策略id为“b97ce5d4e38d4eaf94d65be7372974a8”的防护策略从企业id为0的企业,迁移到企业id为“c341b6bd-0935-462b-abb5-28a63bd68021”的企业。

POST https://{Endpoint}/v1/{project_id}/composite-waf/hosts/migration?enterprise_project_id=0&target_enterprise_project_id=c341b6bd-0935-462b-abb5-28a63bd68021

{
  "host_ids" : [ "6cc26af071de46479840b41c143bb79b" ],
  "policy_id" : "b97ce5d4e38d4eaf94d65be7372974a8"
}
support.huaweicloud.com/api-waf/MigrateCompositeHosts.html