Access hours to API Proxy can be determined by defining access days or a time interval with the Time Restriction policy.

Apinizer ensures that access to the Backend API is made only within the given time interval(s), it prevents access outside of this interval.

The picture below shows the policy settings:


The policy fields are shown in the table below.

Field

Description

DescriptionA description can be written to facilitate the use and management of the policy.
NameThe name to be given to the rule, for example New Year's Eve, Eid Holiday..etc.
Zone IDTimezone information of when the rule will executed. For example +03:00.
Week DaysThe day(s) on which the start and end times will be applied are selected.
Custom DayIf the rule to be applied will be executed only for a special day, the relevant day information
Whole DayIf selected, it specifies that the rule is valid for all day on the selected day, otherwise the specific time period must be entered.
FromThe start time to be applied on the selected days is entered in the hour, minute and second fields.
ToThe end time to be applied on the selected days is entered in the hour, minute and second fields.
Action TypeRule information to apply to the request during the selected time period. If this value is "Allow", the request can continue its path only if it complies with these time rules. If this value is "Restrict", the request can only continue its path outside this time period.

  

You can visit the Policies page for the details of the Conditions and Error Message Customization panels.