---
title: "Update a volume"
method: PATCH
path: "/compute/{connection_id}/volume/{id}"
tags: ["compute", "volume"]
---

# Update a volume

`PATCH /compute/{connection_id}/volume/{id}`

## Request

- Base URL: `https://api.unified.to`
- URL: `https://api.unified.to/compute/{connection_id}/volume/{id}`
- Auth: API key in header `authorization`

## Path parameters

- `connection_id` string, required
- `id` string, required

## Query parameters

- `fields` string[]
- `raw` string

## Request body

- ComputeVolume
  - `id` string: Unique identifier for the volume
  - `created_at` string, date-time: When the volume was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: When the volume was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `name` string: Display name of the volume
  - `type` 'STANDARD' | 'HIGH_PERFORMANCE' | 'SHARED' | 'LOCAL' | 'OTHER': The kind of volume
  - `status` 'CREATING' | 'AVAILABLE' | 'IN_USE' | 'DELETING' | 'ERROR' | 'OTHER': Normalized volume status
  - `size_mb` number: Provisioned size in MiB
  - `used_mb` number: Used space in MiB
  - `region_id` string: The region the volume lives in
  - `availability_zone` string: The availability zone within the region, where the vendor places volumes per zone
  - `instance_ids` string[]: Instances the volume is mounted on
  - `metadata` ComputeMetadata[]: Vendor labels, tags and metadata
    - `id` string: The label, tag or metadata identifier
    - `slug` string: The label, tag or metadata key
    - `value` union: The label, tag or metadata value
      - object
      - string
      - number
      - boolean
      - union[]
        - union
          - object
          - string
          - number
          - boolean
    - `namespace` string: The origin of the value (eg. labels, tags, metadata)
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'ARRAY' | 'OBJECT': The data type of the value
    - `extra_data` union: Additional data about the value
      - object
      - string
      - number
      - boolean
      - union[]
        - union
          - object
          - string
          - number
          - boolean
  - `raw` object: Raw data from integration

## Response `200`

Successful

- ComputeVolume
  - `id` string: Unique identifier for the volume
  - `created_at` string, date-time: When the volume was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: When the volume was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `name` string: Display name of the volume
  - `type` 'STANDARD' | 'HIGH_PERFORMANCE' | 'SHARED' | 'LOCAL' | 'OTHER': The kind of volume
  - `status` 'CREATING' | 'AVAILABLE' | 'IN_USE' | 'DELETING' | 'ERROR' | 'OTHER': Normalized volume status
  - `size_mb` number: Provisioned size in MiB
  - `used_mb` number: Used space in MiB
  - `region_id` string: The region the volume lives in
  - `availability_zone` string: The availability zone within the region, where the vendor places volumes per zone
  - `instance_ids` string[]: Instances the volume is mounted on
  - `metadata` ComputeMetadata[]: Vendor labels, tags and metadata
    - `id` string: The label, tag or metadata identifier
    - `slug` string: The label, tag or metadata key
    - `value` union: The label, tag or metadata value
      - object
      - string
      - number
      - boolean
      - union[]
        - union
          - object
          - string
          - number
          - boolean
    - `namespace` string: The origin of the value (eg. labels, tags, metadata)
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'ARRAY' | 'OBJECT': The data type of the value
    - `extra_data` union: Additional data about the value
      - object
      - string
      - number
      - boolean
      - union[]
        - union
          - object
          - string
          - number
          - boolean
  - `raw` object: Raw data from integration

## Changes

- **2026-10-12** `32f1e856a6c9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/unified/apis/unified-to-api/changes/compute/:connection_id/volume/:id/patch.md)

---

[API](https://skmtc.dev/unified/apis/unified-to-api.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api/llms.txt) · [OpenAPI document](https://skmtc.dev/unified/apis/unified-to-api/revisions/88a1fc7820d6?raw)
