/environments/recycle-bin/batch-restore

从回收站批量恢复环境。

概览

字段
方法POST
路径/environments/recycle-bin/batch-restore

请求体

{ "uuids": ["ENV_UUID_1", "ENV_UUID_2"] }

cURL 示例

curl -X POST http://127.0.0.1:{port}/api/local/environments/recycle-bin/batch-restore -H "Content-Type: application/json" -H "sp-api-key: YOUR_LOCAL_API_KEY" -d '{ "uuids": ["ENV_UUID_1", "ENV_UUID_2"] }'