Deletes a migration task.


  • Deleted migration tasks cannot be restored.
  • After a migration task is deleted, the associated resources such as the intermediate instance are automatically released.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteReplicationJob

The operation that you want to perform. Set this parameter to DeleteReplicationJob.

JobId String Yes j-bp17m1vi6x21qhqk****

The ID of the migration task.

Response parameters

Parameter Type Example Description
RequestId String 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

The ID of the request.


Sample requests

http(s):// Action=DeleteReplicationJob
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

HttpCode Error code Error message Description
400 ReplicationJob.InvalidStatus The specified replication job status is invalid. The error message returned because the operation is not supported while the migration task is in the current status.
500 InternalError An error occurred while processing your request. Please try again. If the problem still exists, please submit a ticket. The error message returned because an internal error has occurred. Try again later. If the error persists, submit a ticket.

For a list of error codes, visit the API Error Center.