Restores a shutdown resource belonging to a given Deployment.
请求示例请求示例
Shell
JavaScript
Java
Swift
curl--location--request POST 'http://127.0.0.1/deployments////_restore' \
--header'Authorization: ApiKey {{EC_API_KEY}}'
响应示例响应示例
200 - 示例 1
{"kind":"string","id":"string","ref_id":"string"}
请求参数
Path 参数
Query 参数
Header 参数
返回响应
🟢200Standard Deployment Resource Crud Response
application/json
Body
🟠400* The Resource does not have a pending plan. (code: `deployments.resource_does_not_have_a_pending_plan`)
* The resource is not shut down. (code: `deployments.resource_not_shutdown`)
🟠404The Deployment specified by {deployment_id} cannot be found. (code: `deployments.deployment_not_found`)
🟠449Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)