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

# Reset Firewall

> Reset the server's firewall configuration. This whitelists the server
and re-applies its base network configuration on the hypervisor. Use
this when the firewall is in a bad state and the regular toggle is not
enough to restore connectivity.




## OpenAPI

````yaml post /servers/{server}/firewall/reset
openapi: 3.1.0
info:
  title: APIFiddle Sample Definition
  version: 0.0.0
  description: Example workspace
servers:
  - url: https://rdp.sh/api/v1
    description: Default production endpoint.
security: []
paths:
  /servers/{server}/firewall/reset:
    post:
      summary: Reset firewall
      description: |
        Reset the server's firewall configuration. This whitelists the server
        and re-applies its base network configuration on the hypervisor. Use
        this when the firewall is in a bad state and the regular toggle is not
        enough to restore connectivity.
      operationId: resetFirewall
      parameters:
        - $ref: '#/components/parameters/server'
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                title: ResetFirewallOk
                properties:
                  status:
                    type: boolean
                    examples:
                      - true
                  message:
                    type: string
                    examples:
                      - Server firewall has been reset.
          description: Firewall reset successfully.
        '403':
          description: Unauthorized access.
        '500':
          content:
            application/json:
              schema:
                type: object
                title: ResetFirewallFailed
                properties:
                  status:
                    type: boolean
                    examples:
                      - false
                  error:
                    type: string
                    examples:
                      - >-
                        Failed to reset network. Please contact support if the
                        issue remains.
          description: Firewall reset failed.
      security:
        - Authorization: []
components:
  parameters:
    server:
      in: path
      name: server
      schema:
        type: string
      required: true
  securitySchemes:
    Authorization:
      in: header
      name: Authorization
      type: apiKey

````