Time Restricted Access
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
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. Regular expressions must be written in Java syntax. | a string | - |
Configure in local time (MESZ) | Enable to configure the rules in local time. The configured rules are saved and executed in UTC. |
| 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 |
Click Add to create more rows in the table. Click Delete to remove selected rows. |
Related Pages: