Skip to main content

Parameters

See plugin common configurations for configuration options available to all plugins.

  • abort

    object


    Abort action configurations.

    • http_status

      integer


      required


      vaild vaule:

      greater than or equal to 200


      Response HTTP status code to return to client.

    • body

      string


      Body of the response returned to the client. Support the use of built-in variables in the body.

    • headers

      object


      Headers of the response returned to the client. Support the use of built-in variables in headers.

    • percentage

      integer


      vaild vaule:

      between 0 and 100 inclusive


      Percentage of requests to be aborted.

    • vars

      array[array]


      An array of one or more matching conditions in the form of APISIX expressions to conditionally execute the plugin.

  • delay

    object


    Delay action configurations.

    • duration

      number


      required


      Delay duration in seconds.

    • percentage

      integer


      vaild vaule:

      between 0 and 100 inclusive


      Percentage of requests to be delayed.

    • vars

      array[array]


      An array of one or more matching conditions in the form of APISIX expressions to conditionally execute the plugin.


API7.ai Logo

API Management for Modern Architectures with Edge, API Gateway, Kubernetes, and Service Mesh.

Product

API7 Cloud

SOC2 Type IIISO 27001HIPAAGDPRRed Herring

Copyright © APISEVEN PTE. LTD 2019 – 2025. Apache, Apache APISIX, APISIX, and associated open source project names are trademarks of the

Apache Software Foundation