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
- application/json
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
- 200
- 400
Success" {"ok":<count_of_updated_records>}
- application/json
- Schema
- Example (from schema)
Schema
{}
Bad Request" {"ok":0,"error":{"code":400,"message":"<error_message>"}}
- application/json
- Schema
- Example (from schema)
Schema
{}
Loading...