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

# Delete entity by rule set id

> Removes an entity binding from a rule set.



## OpenAPI

````yaml json-files/standard-spend-control-v1.openapi.json delete /v1/rule-sets/{rule-set-id}/entity-bindings/{entity-id}/{entity-type}
openapi: 3.0.3
info:
  title: Standard Spend Control API
  description: API for managing standard spend control rules
  version: 1.0.0
servers:
  - url: https://api.{{tenant}}.ext-uat1-sandbox.mycore.enfuce.com/processor
    description: UAT Sandbox
  - url: https://api.{{tenant}}.eu.live.prod.mycore.enfuce.com/processor
    description: Production
security: []
tags:
  - name: RuleSets
    description: Rule Sets are collections of rules bound the entities.
  - name: Rules
    description: >
      Rules define the actual spend control rule that is applied to request.
      Rules can have filter that determine if  the rule should be processed.
  - name: Parameters
paths:
  /v1/rule-sets/{rule-set-id}/entity-bindings/{entity-id}/{entity-type}:
    delete:
      tags:
        - RuleSets
      description: Removes an entity binding from a rule set.
      operationId: deleteEntityBinding
      parameters:
        - name: rule-set-id
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/Id'
        - name: entity-id
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/EntityId'
        - name: entity-type
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/EntityType'
      responses:
        '204':
          description: Successful operation
components:
  schemas:
    Id:
      type: integer
      format: int64
    EntityId:
      type: string
      description: >-
        Either the card id or a concatenation of the program id with the card
        configuration code in the form of "{programId}:{cardConfigurationCode}".
      example: a8d8374f-0fd2-444d-a331-c345bf4948da:DEBIT
    EntityType:
      type: string
      format: enum
      enum:
        - card
        - program_application
      x-enum-varnames:
        - card
        - program_application

````