---
title: "Remove Gateway"
url: "https://public-api-docs.cipherscale.com/apis/cipherscale-api-1/versions/fef69080-6094-4620-8bf0-16fd2de7b598/operations/GatewaysController_delete"
---

> Full API specification: https://public-api-docs.cipherscale.com/apis/cipherscale-api-1/versions/fef69080-6094-4620-8bf0-16fd2de7b598.md

# Remove Gateway

`DELETE` `/tenants/gateways/{id}`

Operation ID: `GatewaysController_delete`

Permanently removes a gateway from the tenant. This operation will disconnect all associated resources and may impact network connectivity. Ensure all resources are reassigned to other gateways before deletion.

## Path parameters

- `id` (string, uuid, required) - The unique identifier (UUID) of the gateway to delete

## Responses

- `204` - Successfully deleted the gateway
- `401` - Unauthorized - Invalid or missing authentication token
- `403` - Forbidden - Insufficient permissions to perform this operation.
- `404` - Gateway not found with the provided ID

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Cipherscale API
  version: "1.0"
servers:
  - url: https://public-api.cipherscale.com/qa
    description: Cipherscale Public API Server
paths:
  /tenants/gateways/{id}:
    delete:
      operationId: GatewaysController_delete
      summary: Remove Gateway
      description: Permanently removes a gateway from the tenant. This operation will
        disconnect all associated resources and may impact network connectivity.
        Ensure all resources are reassigned to other gateways before deletion.
      parameters:
        - name: id
          required: true
          in: path
          description: The unique identifier (UUID) of the gateway to delete
          schema:
            format: uuid
            type: string
      responses:
        "204":
          description: Successfully deleted the gateway
        "401":
          description: Unauthorized - Invalid or missing authentication token
        "403":
          description: Forbidden - Insufficient permissions to perform this operation.
        "404":
          description: Gateway not found with the provided ID
      tags:
        - Gateways
      security:
        - ApiKeyAuth: []
security:
  - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: apikey
```
