1. Home
  2. ...
  3. Traffic Interceptors
  4. Restrict Access

Restrict Access

Blocking or allowing resources and operations within predetermined environments.

With this interceptor, you can block or give access to resources or operations in a given environment.

When calls are blocked, the response will contain a status code 403 ("forbidden") and a message "Access denied for this environment" in the body.

To configure restrictions, you must select a type and the environments to which the restriction applies. You may select none, one, or multiple environments.

Part of the configuration screen of the Restrict Access interceptor of the Block_list type with the prod environment selected

Examples:

  • The image above restricts access to the API for a BLOCK_LIST and the "prod" environment. This means that, when the API is called, only requests coming from the environment "prod" will be blocked.
  • If the same environment "prod" is selected alongside the type ALLOW_LIST, only the calls coming from this environment will be allowed.
  • If the type BLOCK_LIST is selected and no environment is chosen, calls coming from all environments will be allowed.
  • If the type ALLOW_LIST is selected and no environment is chosen, calls coming from all environments will be blocked.

Part of the request and response flow configured with the Restrict Access Allow interceptor

How happy are you with this page?

We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more