The Time Restricted Access Policy is used to allow access to an API only during certain times. The policy can be configured to apply different time restrictions to different API resources.

Configuration Options

Basic Configuration

OptionDescriptionPossible ValuesDefault
Path

A regular expression used to match the request’s resource path/destination. The time restriction will be applied only when the request’s resource matches this pattern.

a string-
Configure in local time (MESZ)

Enable to configure the rules in local time.

The configured rules are saved and executed in UTC.

  • enabled
  • disabled
disabled
From Time (UTC)
Indicates the time of day (UTC) to begin allowing access.a datetime value08:00
To Time (UTC)
Indicates the time of day (UTC) to stop allowing access.a datetime value17:00
From DayIndicates the day of week (1= Monday, 2=Tuesday etc.) to begin allowing access.
  • Mon
  • Tue
  • Wed
  • Thu
  • Fri
  • Sat
  • Sun
Mon
To Day
Indicates the day of week (1= Monday, 2=Tuesday etc.) to stop allowing access.
  • Mon
  • Tue
  • Wed
  • Thu
  • Fri
  • Sat
  • Sun
Fri