Update Access Schedule Event

Applies a partial update to a single weekly window on the given Access Level.
Only the fields present in the request body are changed; omitted fields keep
their current value, so changing the end time alone does not require resending
the recurrence rule and start time. Provide at least one field.

This differs from the v1 endpoint, where the weekday, start time, and end time
all had to be resent on every update.

The updated window must not overlap or touch another window on the Access
Level for the same weekday, and its end time must fall strictly after its
start time; a violation returns 422.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required
uuid
required
Body Params

Request body for PATCH /v2/access/access_levels/<access_level_id>/access_schedule_events/<event_id>.

Every field is optional. Only the fields present in the request body are
changed; omitted fields keep their current value. This differs from the v1
PUT endpoint, which replaced the whole event and therefore required
recurrence_rule, start_time, and end_time on every request.

string
enum

The status applied to the doors while the event is active. Only access_granted is supported. Omit to leave the status unchanged.

Allowed:
string
^([01][0-9]|2[0-3]):[0-5][0-9]$

The new local time at which the event ends, in 24-hour HH:MM format with leading zeros (00:00 through 23:59). Omit to leave the end time unchanged.

recurrence_rule
object

The new RFC 5545-style weekly recurrence rule. Omit to leave the recurrence unchanged.

string
^([01][0-9]|2[0-3]):[0-5][0-9]$

The new local time at which the event starts, in 24-hour HH:MM format with leading zeros (00:00 through 23:59). Omit to leave the start time unchanged.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json