Skip to content

Delete a file from its hash

DELETE
/version_file/{hash}

Authorizations

Parameters

Path Parameters

hash
required
string
619e250c133106bacc3e3b560839bd4b324dfda8

The hash of the file, considering its byte content, and encoded in hexadecimal

Query Parameters

algorithm
required
string
default: sha1
Allowed values: sha1 sha512
sha512

The algorithm of the hash

version_id
string
[
"IIJJKKLL"
]

Version ID to delete the version from, if multiple files of the same hash exist

Responses

204

Expected response to a valid request

401

Incorrect token scopes or no authorization to access the requested item(s)

object
error
required

The name of the error

string
unauthorized
description
required

The contents of the error

string
Authentication Error: Invalid Authentication Credentials

404

The requested item(s) were not found or no authorization to access the requested item(s)