You can use this rule when you want to restrict access to specific endpoints for certain time periods, such as during the work day from 8:00 a.m. to 5:00 p.m.

  1. Click Access and then go to Rules > Rules.
  2. Click + Add Rule.
  3. In the Name field, enter a unique name up to 64 characters long.

    Special characters and spaces are allowed.

  4. From the Type list, select Time Range.
  5. In the Start Time field, enter the beginning time for the time frame, such as 8:00 a.m.
  6. In the End Time field, enter the ending time for the time frame, such as 5:00 p.m.
    Info:

    If you are using Internet Explorer or Firefox, you must enter the time in 24-hour format. For example, 5:00 p.m. is 17:00.

  7. If, when a match is found, access is not allowed, select Negate.

    Additional advanced fields for handling error responses can also be defined here. For more information, see Advanced Fields.

  8. Click Save.

    For more information about error handling, see Advanced Fields.