---
title: "Changes to Patch a Namespaced Persistent Volume Claim"
method: PATCH
path: "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}"
---

# Changes to Patch a Namespaced Persistent Volume Claim

`PATCH /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 64 revisions.

- **2025-03-06** `272d90638842`: 1 warning
- **2025-02-10** `5958f71d4dc7`: 6 breaking, 2 warning, 12 info
- **2024-07-30** `211079655b9a`: 1 warning, 6 info

## Changes

- **2025-03-06** `272d90638842`: 1 warning
  - added the new `FromStorageProfile` enum value to the `spec/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimSpec]/volumeMode` response property for the response status `200`
- **2025-02-10** `5958f71d4dc7`: 6 breaking, 2 warning, 12 info
  - added `subschema #1, subschema #2` to the `spec/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimSpec]/resources/allOf[#/components/schemas/k8s.io.v1.VolumeResourceRequirements]/limits/additionalProperties/` response property `oneOf` list for the response status `200`
  - added `subschema #1, subschema #2` to the `spec/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimSpec]/resources/allOf[#/components/schemas/k8s.io.v1.VolumeResourceRequirements]/requests/additionalProperties/` response property `oneOf` list for the response status `200`
  - added `subschema #1, subschema #2` to the `status/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimStatus]/allocatedResources/additionalProperties/` response property `oneOf` list for the response status `200`
  - added `subschema #1, subschema #2` to the `status/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimStatus]/capacity/additionalProperties/` response property `oneOf` list for the response status `200`
  - the `status/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimStatus]/conditions/items/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimCondition]/lastProbeTime` response's property type changed from no type to `string` for status `200`
  - the `status/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimStatus]/conditions/items/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimCondition]/lastTransitionTime` response's property type changed from no type to `string` for status `200`
  - added the new `Block` enum value to the `spec/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimSpec]/volumeMode` response property for the response status `200`
  - added the new `Filesystem` enum value to the `spec/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimSpec]/volumeMode` response property for the response status `200`
  - removed `#/components/schemas/k8s.io.apimachinery.pkg.api.resource.Quantity` from the `spec/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimSpec]/resources/allOf[#/components/schemas/k8s.io.v1.VolumeResourceRequirements]/limits/additionalProperties/` response property `allOf` list for the response status `200`
  - removed `#/components/schemas/k8s.io.apimachinery.pkg.api.resource.Quantity` from the `spec/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimSpec]/resources/allOf[#/components/schemas/k8s.io.v1.VolumeResourceRequirements]/requests/additionalProperties/` response property `allOf` list for the response status `200`
  - removed `#/components/schemas/k8s.io.apimachinery.pkg.api.resource.Quantity` from the `status/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimStatus]/allocatedResources/additionalProperties/` response property `allOf` list for the response status `200`
  - removed `#/components/schemas/k8s.io.apimachinery.pkg.api.resource.Quantity` from the `status/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimStatus]/capacity/additionalProperties/` response property `allOf` list for the response status `200`
  - removed `#/components/schemas/k8s.io.v1.Time` from the `status/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimStatus]/conditions/items/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimCondition]/lastProbeTime` response property `allOf` list for the response status `200`
  - removed `#/components/schemas/k8s.io.v1.Time` from the `status/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimStatus]/conditions/items/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimCondition]/lastTransitionTime` response property `allOf` list for the response status `200`
  - the `lastProbeTime` response's property default value changed from `{}` to `` for the status `200`
  - the `lastTransitionTime` response's property default value changed from `{}` to `` for the status `200`
  - the `` response's property default value `{}` was removed for the status `200`
  - the `` response's property default value `{}` was removed for the status `200`
  - the `` response's property default value `{}` was removed for the status `200`
  - the `` response's property default value `{}` was removed for the status `200`
- **2024-07-30** `211079655b9a`: 1 warning, 6 info
  - removed the optional property `status/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimStatus]/resizeStatus` from the response with the `200` status
  - added the optional property `spec/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimSpec]/volumeAttributesClassName` to the response with the `200` status
  - added the optional property `status/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimStatus]/allocatedResourceStatuses` to the response with the `200` status
  - added the optional property `status/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimStatus]/currentVolumeAttributesClassName` to the response with the `200` status
  - added the optional property `status/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimStatus]/modifyVolumeStatus` to the response with the `200` status
  - added `#/components/schemas/k8s.io.v1.VolumeResourceRequirements` to the `spec/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimSpec]/resources` response property `allOf` list for the response status `200`
  - removed `#/components/schemas/k8s.io.v1.ResourceRequirements` from the `spec/allOf[#/components/schemas/k8s.io.v1.PersistentVolumeClaimSpec]/resources` response property `allOf` list for the response status `200`

---

[Operation](https://skmtc.dev/harvester/apis/harvester-apis/docs/api/v1/namespaces/:namespace/persistentvolumeclaims/:name/patch.md) - [API](https://skmtc.dev/harvester/apis/harvester-apis.md) - [Page](https://skmtc.dev/harvester/apis/harvester-apis/changes/api/v1/namespaces/:namespace/persistentvolumeclaims/:name/patch)
