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

# Remove a customer's agent billing policy

> Removes one billing scope — the default policy, or one agent's own when `agent` is passed. Refuses with a 409 while the scope still owes unsettled consumption, or while agent overrides still fall back to the default being removed. The ledger is never touched.



## OpenAPI

````yaml delete /v1/agents/customers/{customer_id}/policy
openapi: 3.1.0
info:
  title: Hyperline API
  version: 0.0.0
servers:
  - url: https://api.hyperline.co
  - url: https://sandbox.api.hyperline.co
security: []
paths:
  /v1/agents/customers/{customer_id}/policy:
    delete:
      tags:
        - Agents
      summary: Remove a customer's agent billing policy
      description: >-
        Removes one billing scope — the default policy, or one agent's own when
        `agent` is passed. Refuses with a 409 while the scope still owes
        unsettled consumption, or while agent overrides still fall back to the
        default being removed. The ledger is never touched.
      operationId: deleteAgentCustomerPolicy
      parameters:
        - schema:
            type: string
          required: true
          name: customer_id
          in: path
        - schema:
            type: string
            minLength: 1
            maxLength: 128
          required: false
          name: agent
          in: query
      responses:
        '204':
          description: ''
        '404':
          description: Policy not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                required:
                  - message
      security:
        - bearer: []
components:
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT

````