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

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

# Update Network Resource

`PATCH` `/tenants/resources/{id}`

Operation ID: `ResourceController_update`

Modifies the configuration of an existing network resource including its name, description, and other properties. Changes may affect access policies and user permissions.

## Path parameters

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

## Request body (required)

Content types: `application/json`

## Responses

- `200` - Successfully updated the resource
- `400` - Bad Request - Invalid resource data provided
- `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}:
    patch:
      operationId: ResourceController_update
      summary: Update Network Resource
      description: Modifies the configuration of an existing network resource
        including its name, description, and other properties. Changes may
        affect access policies and user permissions.
      parameters:
        - name: id
          required: true
          in: path
          description: The unique identifier (UUID) of the resource to update
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/UpdateResourceDto"
      responses:
        "200":
          description: Successfully updated the resource
        "400":
          description: Bad Request - Invalid resource data provided
        "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:
  schemas:
    UpdateResourceDto:
      type: object
      properties:
        name:
          type: string
        description:
          type: string
      required:
        - name
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: apikey
```
