Create Access Schedule Event

Adds a weekly window to the given Access Level, during which the Access Level
grants its Access Groups entry to its Doors.

The new window must not overlap or touch a window already on the Access Level
for the same weekday -- it must start strictly after the other window ends;
a violation returns 422. An Access Level whose Sites fall outside the API
key's scope returns 404.

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

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

Field set and validation are identical to the inline event supplied when
creating an Access Level, so the model is inherited rather than restated.
It is subclassed rather than aliased purely so that the generated OpenAPI
document names this request after the endpoint that accepts it.

string
enum
Defaults to access_granted

The status applied to the doors while the event is active. Only access_granted is supported; the field may be omitted.

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

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

recurrence_rule
object
required

RFC 5545-style recurrence rule. Access Schedule Events recur every week on exactly one full weekday name.

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

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

Responses
200

ok

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