Skip to main content

Update a rule

PATCH /api/v1/projects/:project_id/fleets/:fleet_id/rules/:rule_id

Updates an existing rule in the fleet of the project.

Path Parameters
  • project_id string required

    Project ID

  • fleet_id string required

    Fleet ID

  • rule_id string required

    Rule ID

Request Body required

Rule Update Body

  • _keys string[]

    Keys to consider for the update

  • active boolean
  • dispatch_definition string
  • fleetId string
  • orgId string
  • projectId string
  • rule_definition string
  • rule_description string
  • rule_name string
  • ruleId string
Responses

Success" {"ok":<count_of_updated_records>}

Schema
    Loading...