All Products
Search
Document Center

Data Online Migration:DeleteJob

Last Updated:Aug 28, 2026

Deletes a migration task.

Operation description

  • Deleting a migration task requires the mgw:DeleteImportJob permission.

  • Deletion is asynchronous. The task remains in the Deleting state until it is fully removed.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

DELETE /job/{jobName} HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

jobName

string

Yes

The task name.

test_job_name

Request parameters

Parameter

Type

Required

Description

Example

forceDelete

boolean

No

Whether to forcibly delete subtasks. If the task has subtasks and this parameter is set to true, the task and all its subtasks are deleted. If set to false, the task and its subtasks fail to be deleted.

true

Response elements

Element

Type

Description

Example

None defined.

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.