> ## Documentation Index
> Fetch the complete documentation index at: https://developers.everflow.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Rule

> Delete a Customer Value rule. Deletion is permanent and removes the rule regardless of its state. To stop a rule while keeping it, set its `status` to `inactive` instead.


Delete a Customer Value rule by its ID. Deletion is permanent and applies whatever the rule's `state`.

To stop a rule from applying while keeping it, set its `status` to `inactive` instead.


## OpenAPI

````yaml openapi/customer-value.yaml delete /networks/customervalue/rules/{ruleId}
openapi: 3.0.3
info:
  title: Everflow Network API - Customer Value
  description: >
    Endpoints for managing Customer Value data points and rules. Customer Value
    tracks the lifetime activity of an individual customer (identified by the
    `user_id` passed on conversions) and adjusts payout and revenue based on
    what that customer has done so far. Data points are the custom attributes
    you send with conversions; rules define the goals a customer must reach and
    the payout or revenue outcome applied once they do.
  version: 1.0.0
servers:
  - url: https://api.eflow.team/v1
security: []
tags:
  - name: Data Points
  - name: Rules
paths:
  /networks/customervalue/rules/{ruleId}:
    delete:
      tags:
        - Rules
      summary: Delete Rule
      description: >
        Delete a Customer Value rule. Deletion is permanent and removes the rule
        regardless of its state. To stop a rule while keeping it, set its
        `status` to `inactive` instead.
      parameters:
        - in: path
          name: ruleId
          required: true
          schema:
            type: integer
          description: The rule identifier.
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
      security:
        - API Key: []
components:
  securitySchemes:
    API Key:
      description: The Everflow API key generated from the Control Center > Security.
      in: header
      name: X-Eflow-Api-Key
      type: apiKey

````