Updates the settings of a scheduled task.
Operation description
Before you call this operation, make sure that you understand the billing method and pricing of exclusive resource groups and elastic reserved computing resources for Data Transmission Service.
Try it now
Test
RAM authorization
Request syntax
PUT /api/v1/mms/datasources/{sourceId}/timers/{timerId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| sourceId |
integer |
Yes |
The ID of the data source. |
2000014 |
| timerId |
integer |
Yes |
The ID of the scheduled task. |
1 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| value |
string |
No |
The execution time of the scheduled task. If |
2025-09-20 |
| stopped |
boolean |
No |
Specifies whether the scheduled task is stopped. |
|
| scheduleType |
string |
No |
The scheduling type of the task. Valid values: |
Daily |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| requestId |
string |
The unique identifier for the request. |
EA1320AB-7766-5EC7-B0F6-8B20E2298567 |
| data |
integer |
The result of the operation. |
success |
Examples
Success response
JSON format
{
"requestId": "EA1320AB-7766-5EC7-B0F6-8B20E2298567",
"data": 0
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.