Modifying the Scheduled Time of an Event
Function
This API is used to update the execution start time of an event.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions. For details about the required permissions, see Permissions Policies and Supported Actions.
URI
PUT /v1/{project_id}/cloud-phone/scheduled-events/{event_id}
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | Specifies the project ID. |
| event_id | Yes | String | Specifies the event ID. |
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| X-Auth-Token | Yes | String | Specifies the user token. It can be obtained by calling an Identity and Access Management (IAM) API. The value of X-Subject-Token in the response header is the user token. |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| not_before | Yes | String | Specifies the scheduled time for executing an event. The scheduled time must be at least 5 minutes later than the current time. An empty string indicates that the event will be executed immediately. |
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| request_id | String | Specifies the unique request ID. |
Example Requests
Modifying the scheduled time of an event
PUT https://{CPH Endpoint}/v1/{project_id}/cloud-phone/scheduled-events/{event_id}
{
"not_before" : "2026-08-08T10:43:00Z"
} Example Responses
Status code: 200
{
"request_id" : "95f25ae6120643ac9e0effd633b37b98"
} Status Codes
| Status Code | Description |
|---|---|
| 200 | ok |
Error Codes
See Error Codes.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot