Storage

Delete a bucket and every file in it (confirm with its name). Its keys stop working at once

delete/storage/buckets/{bucketId}

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/storage/buckets/{bucketId}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

bucketIdstring uuid required

Request body

confirmstring required

the bucket name, exactly

Response

Deleted, or deleting in the background

deletedtrue required
status'deleted' | 'deleting' required

deleting: its objects are still being removed in the background

Changes

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