Authorization: Bearer ********************
curl --location -g --request DELETE 'https://open.pingcode.com/v1/relations/{relation_id}'
{
"id": "fa1125cb06305edca524cad2",
"url": "https://rest_api_root/v1/relations/fa1125cb06305edca524cad2",
"principal_type": "test_plan",
"principal": {
"id": "5eb6a70571487623fea47000",
"url": "https://rest_api_root/v1/testhub/libraries/5eb623f6a70571487ea47000/plans/5eb6a70571487623fea47000",
"name": "测试计划",
"status": "in_progress",
"start_at": 1589791860,
"end_at": 1589791870
},
"target_type": "work_item",
"target": {
"id": "5edca524cad2fa1125cb0630",
"url": "https://rest_api_root/v1/project/work_items/5edca524cad2fa1125cb0630",
"identifier": "SCR-5",
"title": "这是一个缺陷",
"type": "bug",
"start_at": 1583290309,
"end_at": 1583290347,
"parent_id": "5edca524cad2fa112b06105c"
}
}