Volumes

Change a volume's size (counted against the plan's volume storage; never below its measured usage)

patch/projects/{projectId}/volumes/{volumeId}

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/projects/{projectId}/volumes/{volumeId}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

projectIdstring uuid required
volumeIdstring uuid required

Request body

sizeGbinteger required

Size in GB; the sum over the organization counts against the plan's storage

Response

Resized

idstring uuid required
projectIdstring uuid required
namestring required
mountPathstring required
sizeGbinteger required
status'pending' | 'active' | 'error' required
statusDetailstring nullable required
usedBytesinteger nullable required
usageMeasuredAtstring nullable required

ISO-8601 timestamp

overQuotaboolean required
createdAtstring required

ISO-8601 timestamp

updatedAtstring required

ISO-8601 timestamp

Changes

No recorded changes to this operation across all 1 revision of this API.