You need to enable JavaScript to run this app.
文档中心
服务器迁移中心

服务器迁移中心

复制全文
下载 pdf
迁移源
DeleteMigrationSource - 删除迁移源
复制全文
下载 pdf
DeleteMigrationSource - 删除迁移源
调用 DeleteMigrationSource 接口,删除一个迁移源。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action string 必选 示例值:DeleteMigrationSource​
要执行的操作,取值:DeleteMigrationSource。​
​
Version string 必选 示例值:2020-04-01​
API的版本,取值:2020-04-01。​
​
SourceId string 必选 示例值:s-3tiegs1y963vj0******​
迁移源ID。您可以调用DescribeMigrationSources接口查询获取。​
​
​
​
返回参数​
本接口无特有的返回参数。更多信息请见返回结构。​
请求示例​
​
GET /?Action=DeleteMigrationSource&Version=2020-04-01&SourceId=s-3tiegs1y963vj0**** HTTP/1.1​
Host: smc.volcengineapi.com​
Region: cn-beijing​
Service: smc​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "2021062415303301022514515207C4****",​
"Action": "DeleteMigrationSource",​
"Version": "2020-04-01",​
"Service": "smc",​
"Region": "cn-beijing"​
},​
"Result": {}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
InvalidSourceStateForDelete.Unsupported​
The specified migration source state does not support delete.​
迁移源状态不支持删除。​
400​
MissingParameter.SourceId​
The required parameter SourceId is not supplied.​
参数SourceId不能为空。​
400​
InvalidJobStateForDelete.Unsupported​
The specified migration job state does not support delete.​
指定的迁移任务状态不支持删除。​
404​
InvalidMigrationSource.NotFound​
The specified migration source does not exist.​
指定的迁移源不存在。​
412​
InvalidMigrationSource.InUse​
The specified migration source is in use.​
指定的迁移源有迁移任务在执行。​
​
​
最近更新时间:2025.08.28 15:30:30
这个页面对您有帮助吗?
有用
有用
无用
无用