Update Schedule Action
PUT
/api/v1/nodes/{node_id}/scheduled_actions/{action_id}/Path parameters
node_idPathstringrequiredPath parameter
node_id.action_idPathstringrequiredPath parameter
action_id.
Query parameters
project_idQuerystringoptionalIdentifier of the project to scope the request to. Optional; if omitted, the account's default project is used.
- optional
- if omitted, the request is applied to the default project
example{{project_id}}apikeyQuerystringoptionalAPI key used to authenticate the request
- required
- must be a valid API key
example{{api_key}}locationQuerystringoptionalLocation identifier for the schedule update
- must be a non-empty string
- should be a valid location code
example{{location}}
Request body
application/json
IANA time zone identifier for the schedule
example
Asia/Calcutta- must be a valid IANA time zone name
- non-empty string
Identifier of the schedule action to update
example
pow-off- must be a non-empty string
- may contain only lowercase letters, numbers, and hyphens
Specifies the action to perform when updating the schedule
example
poweroff- must be a non-empty string
- must be a supported action keyword such as "poweroff"
Specifies the type of schedule being updated
example
one_time- must be a non-empty string
- allowed values: "one_time", "recurring"
Responses
200Successful response
HTTP status code indicating the result of the update schedule action
example
200- must be a valid HTTP status code (100-599)
- 200 indicates success
Integer identifier returned after updating a schedule
example
12345- must be a non-negative integer
- typically fits within 32-bit signed range
Message indicating the result of the update schedule action.
example
successfully updated scheduled action- must be a non-empty string
- maximum length 255 characters