Deletes a migration source.
Operation description
Usage notes
- If a migration job is created for the migration source and the migration job is in the Running state, the migration source cannot be deleted.
- If a migration job is created for the migration source but the migration job is not in the Running state, you can set the
Force
parameter to true to delete the migration source.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
SourceId | string | Yes | The migration source ID. | s-bp17m1vi6x20c6g6**** |
Force | boolean | No | Specifies whether to forcibly delete the migration source. Valid values:
| true |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | SourceServerState.Invalid | The specified source server status is invalid. | The specified source server status is invalid. |
400 | SourceServer.WithRunningReplicationJob | The specified source server has related replication jobs that are running. | The specified source server has related replication jobs that are running. |
400 | ReplicationJob.Related | The specified source server has related replication jobs. | The specified source server has related replication jobs. |
500 | InternalError | An error occurred while processing your request. Please try again. If the problem still exists, please submit a ticket. | An error occurred while processing your request. Please try again. If the problem still exists, please submit a ticket. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history