cURL
Deployment
取消暂停 Deployment
恢复部署为 active 状态
cURL
复制
curl --request POST \
--url 'https://dashscope.aliyuncs.com/api/v1/agentstudio/deployments/{deployment_id}/unpause' \
--header 'Authorization: Bearer <YOUR_API_KEY>'复制
{
"id": "depl_xxx",
"type": "deployment",
"name": "Daily Report Generator",
"description": "Generates daily sales reports",
"agent": {
"id": "agent_xxx",
"version": 13
},
"environment_id": "env_xxx",
"schedule": {
"cron": "0 9 * * *"
},
"initial_events": [],
"resources": [],
"vault_ids": [],
"metadata": {},
"status": "active",
"paused_reason": null,
"archived_at": null,
"created_at": "2026-07-20T10:00:00Z",
"updated_at": "2026-07-28T02:00:00Z",
"request_id": "req_xxx"
}