Grow a volume to sizeGi GB (never shrink it). Owners and admins.
Only on a storage class that can grow volumes (allowVolumeExpansion). A local-path volume has no size limit of its own, so there's nothing to grow. The volume shows resizeTo until its cluster reports the new size. Some storage classes finish when its service next starts.
API key access: full.
apiKeyAuthorizationBearer <pyo_…>An API key from the dashboard's API keys page: Authorization: Bearer pyo_…. Keys can expire, and an expired one gets a 401.
application/jsonGrow a volume to sizeGi GB (never shrink it). Owners and admins.
Only on a storage class that can grow volumes (allowVolumeExpansion). A local-path volume has no size limit of its own, so there's nothing to grow. The volume shows resizeTo until its cluster reports the new size. Some storage classes finish when its service next starts.
API key access: full.
op*"resizeVolume""resizeVolume"id*stringsizeGi*integerint64Done. Always ok: true, and some operations add more, such as a new API key or a join command. A warning comes with a change that went through but won't fully take effect yet, such as more replicas than the servers have room for.
application/jsoncurl -X POST 'https://your-pyo.example.com/api/v1/ops' \
-H 'Content-Type: application/json' \
-d '{
"id": "vol_8kq2x7ad",
"op": "resizeVolume",
"sizeGi": 10
}'{}