Volumes

Remove a volume and delete its files (confirm with its exact name). A running app is restarted to unmount it unless restart is false

delete/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

confirmstring required
restartboolean

Response

Removed

deletedtrue required
applies'restarting' | 'next_restart' | 'next_start' | 'next_deploy' | 'restart_failed' required

Changes

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