Cancel resource pending plan
开发环境
http://127.0.0.1
开发环境
http://127.0.0.1
DELETE
/deployments/{deployment_id}/{resource_kind}/{ref_id}/plan/pending
Deployments
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'http://127.0.0.1/deployments////plan/pending' \
--header 'Authorization: ApiKey {{EC_API_KEY}}'
响应示例响应示例
200 - 示例 1
{
"kind": "string",
"id": "string",
"ref_id": "string"
}
请求参数
Path 参数
deployment_id
必需
resource_kind
必需
ref_id
必需
Query 参数
force_delete
可选
true
, deletes the pending plan instead of attempting a graceful cancellation. The default is false
.ignore_missing
可选
true
, returns successfully, even when plans are missing. The default is false
.Header 参数
Authorization
string
可选
默认值:
ApiKey {{EC_API_KEY}}