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

# Remove Destination

> Remove a third-party host from your PCI Proxy allowlist. Takes effect immediately.

Removes a host from your account's destination allowlist by its `id` (from [List Destinations](/reference/pci-proxy/list-destinations)). Removal takes effect immediately: the next [forward proxy](/reference/pci-proxy/invoke-forward-proxy) request to that host is rejected with `403 DESTINATION_NOT_ALLOWED`. See the [Destination Allowlist guide](/docs/security-and-compliance/pci-proxy/allowlist).


## OpenAPI

````yaml openapi/pci-proxy/manage-destinations.json DELETE /pci-proxy/destinations/{id}
openapi: 3.1.0
info:
  title: pci-proxy-manage-destinations
  version: 1.0.0
servers:
  - url: https://api-sandbox.y.uno/v1
security:
  - sec0: []
    sec1: []
paths:
  /pci-proxy/destinations/{id}:
    delete:
      summary: Remove Destination
      description: >-
        Removes a host from your account's allowlist. This takes effect
        immediately: the next proxy request to that host is rejected with `403
        DESTINATION_NOT_ALLOWED`.
      operationId: removePciProxyDestination
      parameters:
        - name: id
          in: path
          required: true
          description: >-
            The numeric `id` of the destination to remove, as returned by [List
            Destinations](/reference/pci-proxy/list-destinations).
          schema:
            type: integer
            format: int64
            example: 4218
      responses:
        '204':
          description: The destination was removed. No response body.
        '400':
          description: The `id` path parameter is not a valid integer.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DestinationError'
              examples:
                Invalid id:
                  value:
                    code: INVALID_REQUEST
                    messages:
                      - invalid id
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: No destination with that `id` is registered for your account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DestinationError'
              examples:
                Not found:
                  value:
                    code: NOT_FOUND
                    messages:
                      - destination not found
components:
  schemas:
    DestinationError:
      type: object
      properties:
        code:
          type: string
          description: Machine-readable error code.
          enum:
            - NOT_AUTHENTICATED
            - AuthenticationFail
            - INVALID_REQUEST
            - INVALID_HOSTNAME
            - DESTINATION_EXISTS
            - NOT_FOUND
            - INTERNAL_ERROR
        messages:
          type: array
          items:
            type: string
  responses:
    Unauthorized:
      description: Authentication failed. Missing or invalid API credentials.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/DestinationError'
          examples:
            Not authenticated:
              value:
                code: NOT_AUTHENTICATED
                messages:
                  - not authenticated
  securitySchemes:
    sec0:
      type: apiKey
      in: header
      name: public-api-key
      x-default: <Your public-api-key>
    sec1:
      type: apiKey
      in: header
      name: private-secret-key
      x-default: <Your private-secret-key>

````