Update Event
Update event with specified id.
Update Event
PATCH
https://environment.monterosa.cloud/api/v2/events/:event_id
Path Parameters
event_id
string
Event ID.
Headers
Authorization
string
Bearer JmsmU5gZb6xNVUgQGoKcQLvQjRhKAUSb
Content-Type
string
application/vnd.api+json
Request Body
name
string
Event name.
duration
integer
Event duration in seconds.
start_at
integer
Planned event start time (timestamp).
start_mode
string
Start mode. Possible values: "manual", "clock".
repeat
boolean
Repeat mode.
repeat_in
integer
When to start repeat event after previous event end, in minutes.
settings
array
List of fields of event settings. Each field is updated separately and if present its content is rewritten completely.
action
string
Set to perform action on event. Possible actions: start
- start manual event; stop
- stop event.
end_mode
string
Event end mode. One of "duration", "scheduled".
Example
Actions on an event
An example how to start a manual event.
Validation error message that can't stop already finished event
Last updated
Was this helpful?