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
  • URL: https://api.volcano.dev/storage/{bucketName}/{path}
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer
    • HTTP bearer

Path parameters

bucketNamestring required

Storage bucket name

pathstring required

Object path within bucket

Headers

X-Upload-Sessionstring

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

Response

Object deleted or session aborted

Changes

    • ▲

      added the new path request parameter bucketName

    • ▲

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

    • ○

      added the optional property to the response with the status

    • ○

      added the required property to the response with the status

    • ○

      the endpoint scheme security AnonKey was added to the API