Storage Objects

Delete a file or abort upload session

Changed on

Delete a file, or abort a resumable upload session.

File Delete (default): Deletes the file at the specified path.

Abort Session (with X-Upload-Session header): Aborts a resumable upload session and cleans up any uploaded parts. Anonymous sessions must reuse the exact anon key that created the session.

delete/storage/{bucketName}/{path}

Request

  • Base URL
    https://api.volcano.dev
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

bucketName, string required

Storage bucket name

path, string required

Object path within bucket

Headers

X-Upload-Session, string

Upload session ID (to abort session instead of deleting file)

Response

Object deleted or session aborted

Changes

    • breaking

      added the new path request parameter bucketName

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the optional property code to the response with the status

    1 more change in this revision