All Products
Search
Document Center

Data Online Migration:UpdateJob

Last Updated:Jun 16, 2025

Updates the status or throttling of a task.

Operation description

  • To update a migration task, you must have the permission on mgw:UpdateImportJob.
  • You can update only the status or throttling settings of a task in a single request.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

PUT /UpdateJob/{jobName} HTTP/1.1 Host: userid.cn-hangzhou.mgw.aliyuncs.com <?xml version="1.0" encoding="UTF-8"?> <ImportJob> <Status>string</Status> <ImportQos> <MaxBandWidth>integer</MaxBandWidth> <MaxImportTaskQps>integer</MaxImportTaskQps> </ImportQos> </ImportJob>

Request parameters

ParameterTypeRequiredDescriptionExample
bodyobjectNo

The request body for updating the task.

ImportJobUpdateJobInfoNo

The details for updating the task.

jobNamestringYes

The task name.

test_job_name

Response parameters

ParameterTypeDescriptionExample
The current API has no return parameters

Examples

Sample success responses

JSONformat

{}

XMLformat

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<root/>

Error codes

For a list of error codes, visit the Service error codes.