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

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

# Remove Network Resource

`DELETE` `/tenants/resources/{id}`

Operation ID: `ResourceController_delete`

Permanently removes a network resource from the tenant. The resource must not be linked to any active policies before deletion. This operation will also disconnect all associated gateway connections.

## Path parameters

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

## Responses

- `204` - Successfully deleted the resource
- `400` - Bad Request - Resource is linked to policies and cannot be deleted
- `401` - Unauthorized - Invalid or missing authentication token
- `403` - Forbidden - Insufficient permissions to perform this operation.
- `404` - Resource 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/resources/{id}:
    delete:
      operationId: ResourceController_delete
      summary: Remove Network Resource
      description: Permanently removes a network resource from the tenant. The
        resource must not be linked to any active policies before deletion. This
        operation will also disconnect all associated gateway connections.
      parameters:
        - name: id
          required: true
          in: path
          description: The unique identifier (UUID) of the resource to delete
          schema:
            type: string
            format: uuid
      responses:
        "204":
          description: Successfully deleted the resource
        "400":
          description: Bad Request - Resource is linked to policies and cannot be deleted
        "401":
          description: Unauthorized - Invalid or missing authentication token
        "403":
          description: Forbidden - Insufficient permissions to perform this operation.
        "404":
          description: Resource not found with the provided ID
      tags:
        - Resources
      security:
        - ApiKeyAuth: []
security:
  - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: apikey
```
