Updated on 2025-12-10 GMT+08:00

Updating a Scheduled Event

Function

This API is used to update the execution start time of a scheduled event.

Debugging

You can debug this API in API Explorer.

Authorization

Each account has all of the permissions required to call all APIs, but IAM users must have the required permissions specifically assigned.
  • If you are using role/policy-based authorization, see the required permissions in Permissions and Supported Actions.
  • If you are using identity policy-based authorization, the permissions listed below are required.

Action

Access Level

Resource Type (*: required)

Condition Key

Alias

Dependencies

ecs:instanceScheduledEvents:update

write

-

-

-

-

URI

PUT /v3/{project_id}/instance-scheduled-events/{id}

Table 1 describes the parameters in the URI.

Table 1 Path parameters

Parameter

Mandatory

Description

project_id

Yes

Specifies the project ID.

For details about how to obtain the ID, see Obtaining a Project ID.

id

Yes

Specifies the event ID.

Request

Table 2 Query parameters

Parameter

Mandatory

Type

Description

not_before

Yes

String

Specifies when the event is scheduled to start.

The new start time must be earlier than the deadline of the scheduled event start time (not_before_deadline).

Response parameters

None.

Example Request

Update the execution time of a scheduled event.

PUT https://{endpoint}/v3/{project_id}/instance-scheduled-events/0ead944a-72e8-494f-89ba-5846fb7ac5c0

{
 "not_before": "2025-07-09T10:40:00Z"
}

Example Response

None.

Error Codes

See Error Codes.