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.
Option | Description | Possible Values | Default | |
---|---|---|---|---|
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.
|
| disabled | |
From Time (UTC) | Indicates the time of day (UTC) to begin allowing access. | a datetime value | 08:00 | |
To Time (UTC) | Indicates the time of day (UTC) to stop allowing access. | a datetime value | 17:00 | |
From Day | Indicates the day of week (1= Monday, 2=Tuesday etc.) to begin allowing access. |
| Mon | |
To Day | Indicates the day of week (1= Monday, 2=Tuesday etc.) to stop allowing access. |
| Fri | |