删除同步任务
DELETE /storage/ads/data/v1/subscriptions/{subscription_name}/resourceGroups/{resource_group_name}/zones/{zone}/dataSync/{data_sync_name}/task/{task_id}
请求头(Request Header)
请求参数(Request Parameters
名称 | 类型 | 必须 | 位置 | 默认值 | 取值范围 | 描述 |
---|---|---|---|---|---|---|
subscription_name | string | 是 | path | - | - | 订阅名称. |
resource_group_name | string | 是 | path | - | - | 资源组. |
zone | string | 是 | path | - | - | 可用区. |
data_sync_name | string | 是 | path | - | - | 数据同步工具资源名称,需符合正则:^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$ . |
task_id | string | 是 | path | - | - | 数据同步任务id. |
请求示例(Request Example)
curl 'https://ads.cn-sh-01.sensecoreapi.dev/storage/ads/data/v1/subscriptions/e995c396-83f6-4a1b-a055-2acb8bc7cf1f/resourceGroups/default/zones/cn-sh-01z/dataSync/ads/task/b23e47ce-89c6-4a62-a033-5af5598ea11b' \
-X 'DELETE' \
-H 'authority: ads.cn-sh-01.sensecoreapi.dev' \
-H 'accept: */*' \
-H 'accept-language: zh-CN' \
-H 'authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzpoeWRyYS5qd3QuYWNjZXNzLXRva2VuIiwidHlwIjoiSldUIn0.eyJhdWQiOltdLCJjbGllbnRfaWQiOiI0ZTQxNDg1NC03MjAwLTUwOWYtYjk2MC1mOGIwZGJiYmYzMzEiLCJleHAiOjE2OTU4MDYxMjUsImV4dCI6eyJpc19kZWRpY2F0ZWRfdGVuYW50IjpmYWxzZSwicHJwX2xpc3QiOlsiY24tc2gtMDFhLXBycDAxIiwiY24tc2gtMDFiLXBycDAxIl0sInRlbmFudF9jZXJ0aWZ5X3N0YXR1cyI6dHJ1ZSwidGVuYW50X2NlcnRpZnlfdHlwZSI6ImVudGVycHJpc2UiLCJ0ZW5hbnRfY29kZSI6ImFvc3MwOTI4IiwidGVuYW50X2lkIjoiZTk5NWMzOTYtODNmNi00YTFiLWEwNTUtMmFjYjhiYzdjZj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2ZPFVzUWyNew2_k8PUbyxt-weKHowI9Udr0odYJZO-ImQW6RF1Njb4S0NitzHLQIGv-iPalZNTgaZHI' \
-H 'dnt: 1' \
-H 'origin: https://console.sensecore.dev' \
-H 'referer: https://console.sensecore.dev/' \
-H 'sec-ch-ua: "Chromium";v="116", "Not)A;Brand";v="24", "Google Chrome";v="116"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
-H 'sec-fetch-dest: empty' \
-H 'sec-fetch-mode: cors' \
-H 'sec-fetch-site: cross-site' \
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36' \
--compressed
响应(Response)
响应示例(Response Example)
{}