custom_page_html
property while it is active. If null, the event will inherit it.disable_session_renewal
property while it is active. If null, the event will inherit it.event_end_time
.new_users_per_minute
property while it is active. If null, the event will inherit it. This can only be set if the event's total_active_users
property is also set.event_start_time
.queueing_method
property while it is active. If null, the event will inherit it.session_duration
property while it is active. If null, the event will inherit it.event_start_time
. Requires that prequeue_start_time
is not null. This is useful for situations when many users will join the event prequeue at the same time and you want to shuffle them to ensure fairness. Naturally, it makes the most sense to enable this feature when the queueing_method
during the event respects ordering such as fifo, or else the shuffling may be unnecessary.true
, the event is ignored and traffic will be handled based on the waiting room configuration.total_active_users
property while it is active. If null, the event will inherit it. This can only be set if the event's new_users_per_minute
property is also set.{
"custom_page_html": "{{#waitTimeKnown}} {{waitTime}} mins {{/waitTimeKnown}} {{^waitTimeKnown}} Event is prequeueing / Queue all enabled {{/waitTimeKnown}}",
"description": "Production event - DO NOT MODIFY",
"disable_session_renewal": true,
"event_end_time": "2021-09-28T17:00:00.000Z",
"event_start_time": "2021-09-28T15:30:00.000Z",
"name": "production_webinar_event",
"new_users_per_minute": 200,
"prequeue_start_time": "2021-09-28T15:00:00.000Z",
"queueing_method": "random",
"session_duration": 1,
"shuffle_at_event_start": false,
"suspended": false,
"total_active_users": 200
}
curl --location --request PATCH 'https://api.cloudflare.com/client/v4/zones//waiting_rooms//events/' \
--header 'Content-Type: application/json' \
--data-raw '{
"custom_page_html": "{{#waitTimeKnown}} {{waitTime}} mins {{/waitTimeKnown}} {{^waitTimeKnown}} Event is prequeueing / Queue all enabled {{/waitTimeKnown}}",
"description": "Production event - DO NOT MODIFY",
"disable_session_renewal": true,
"event_end_time": "2021-09-28T17:00:00.000Z",
"event_start_time": "2021-09-28T15:30:00.000Z",
"name": "production_webinar_event",
"new_users_per_minute": 200,
"prequeue_start_time": "2021-09-28T15:00:00.000Z",
"queueing_method": "random",
"session_duration": 1,
"shuffle_at_event_start": false,
"suspended": false,
"total_active_users": 200
}'
{
"errors": [],
"messages": [],
"result": {
"created_on": "2014-01-01T05:20:00.12345Z",
"custom_page_html": "{{#waitTimeKnown}} {{waitTime}} mins {{/waitTimeKnown}} {{^waitTimeKnown}} Event is prequeueing / Queue all enabled {{/waitTimeKnown}}",
"description": "Production event - DO NOT MODIFY",
"disable_session_renewal": true,
"event_end_time": "2021-09-28T17:00:00.000Z",
"event_start_time": "2021-09-28T15:30:00.000Z",
"id": "25756b2dfe6e378a06b033b670413757",
"modified_on": "2014-01-01T05:20:00.12345Z",
"name": "production_webinar_event",
"new_users_per_minute": 200,
"prequeue_start_time": "2021-09-28T15:00:00.000Z",
"queueing_method": "random",
"session_duration": 1,
"shuffle_at_event_start": false,
"suspended": false,
"total_active_users": 200
},
"success": true
}