Set the value of multiple options

POST /options

Sets the value of multiple options

Query parameters

  • filter_keys string

    Comman-separated options keys to filter in the response

  • filter_fields string

    Comman-separated options fields to filter in the response

Body

Option item to update

  • options array[object]
    Hide options attributes Show options attributes array[object]
    • key string Required

      Format should match the following pattern: ^[a-z_]$.

    • value string | null | integer | array Required

      One of:

      the value of the option. Use 'null' to reset to default

      the value of the option. Use 'null' to reset to default

      the value of the option. Use 'null' to reset to default

    • module string

      Format should match the following pattern: ^[a-z_]$.

Responses

  • 201

    options updated

  • 400

    invalid input, object invalid

POST /options
curl \
 -X POST https://virtserver.swaggerhub.com/Fernleaf-Systems/ShieldSecurity/1.0.0/options \
 -H "Content-Type: application/json" \
 -d '{"options":[{"key":"enable_tracking","value":"Y","module":"hack_guard"}]}'
Request example
{
  "options": [
    {
      "key": "enable_tracking",
      "value": "Y",
      "module": "hack_guard"
    }
  ]
}
Request examples
{
  "options": [
    {
      "key": "enable_tracking",
      "value": "Y",
      "module": "hack_guard"
    }
  ]
}