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

# Rimuovi un indirizzo bloccato o consentito da Cloud Defender

> Sblocca un indirizzo o toglilo dalla Whitelist. Cloud Defender smette di applicarlo entro circa due minuti; la voce resta registrata, chiusa. È anche il modo per togliere un blocco impostato da un rilevamento. Proprietari e security officer con licenza attiva. Entro 10 minuti puoi rimetterlo con «Annulla rimozione IP».



## OpenAPI

````yaml delete /api/v1/cloud-defender/{id}/ip-rules/{rule_id}
openapi: 3.1.0
info:
  title: Aegister API
  version: 2.10.0
servers: []
security: []
paths:
  /api/v1/cloud-defender/{id}/ip-rules/{rule_id}:
    delete:
      tags:
        - cloud-defender
      summary: Unban or remove an address from a Cloud Defender domain's list
      description: >-
        The proxy stops applying it within about two minutes. The entry is kept,
        closed, for the record.
      operationId: cloud_defender_ip_rules_destroy
      parameters:
        - in: path
          name: id
          schema:
            type: integer
          required: true
        - in: path
          name: rule_id
          schema:
            type: integer
          required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: integer
                    description: |-
                      Any value different from 0 indicates an error.  
                      More details can be found in `messages`.
                    minimum: 0
                    maximum: 0
                    examples:
                      - 0
                  messages:
                    type: array
                    description: >-
                      If `error` is `1`, contains zero or more details on the
                      error.
                    examples:
                      - []
                  data:
                    type: object
                    properties:
                      id:
                        type: integer
                      net:
                        type: string
                        description: One address, a v4 /24 or a v6 /64.
                      action:
                        type: string
                        enum:
                          - block
                          - allow
                        description: >-
                          `block`: banned on this domain. `allow`: on its
                          whitelist.
                      source:
                        type: string
                        enum:
                          - manual
                          - auto_ban
                        description: >-
                          `manual`: added by a person (this API, the console's
                          Protection tab or a Ban button). `auto_ban`: banned
                          automatically by Cloud Defender for 24 hours, after a
                          burst of requests it blocked as attacks on this
                          domain.
                      reason:
                        type: string
                      expires_at:
                        type:
                          - string
                          - 'null'
                        format: date-time
                        description: When a ban ends. Null = until removed.
                      created_at:
                        type: string
                        format: date-time
                      created_by:
                        type:
                          - string
                          - 'null'
                        description: The user who added it.
                      event_id:
                        type:
                          - integer
                          - 'null'
                        description: The detection a ban came from, while it still exists.
              examples:
                Unbanned:
                  value:
                    error: 0
                    messages: []
                    data:
                      id: 41
                      net: 203.0.113.7
                      action: block
                      source: manual
                      reason: Scanning our login page
                      expires_at: '2026-11-27T09:30:00Z'
                      created_at: '2026-10-28T09:30:00Z'
                      created_by: 00000000-0000-4000-8000-000000000000
                      event_id: 1520
          description: ''
        '404':
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: integer
                    description: |-
                      Any value different from 0 indicates an error.  
                      More details can be found in `messages`.
                    minimum: 0
                    maximum: 0
                    examples:
                      - 1
                  messages:
                    type: array
                    description: >-
                      If `error` is `1`, contains zero or more details on the
                      error.
                    examples:
                      - []
          description: ''
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Aegister-Token

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.