# Update Volume (/volumes/Volumes_update)

Update a volume's configuration using the details provided in the request body.


`PUT /apps/{app_name}/volumes/{volume_id}`

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `app_name` | path | `string` | Yes | Fly App Name |
| `volume_id` | path | `string` | Yes | Volume ID |

## Request Body

Type: `UpdateVolumeRequest`

| Property | Type | Required | Description |
| --- | --- | --- | --- |
| `auto_backup_enabled` | `boolean` | No |  |
| `snapshot_retention` | `integer` | No |  |

## Responses

| Status | Description | Schema |
| --- | --- | --- |
| `200` | OK | `Volume` |
| `400` | Bad Request | `ErrorResponse` |

The full machine-readable OpenAPI spec is available at /openapi.json.