Skip to main content
PATCH
/
sites
/
{siteCode}
/
hash
Retrieve file hash code
curl --request PATCH \
  --url https://api.kameleoon.com/sites/{siteCode}/hash \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "hashType": "SHA256"
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.kameleoon.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

siteCode
string
required

Body

application/json
hashType
enum<string>

The type of hash function. Default value: 'SHA256'

Available options:
SHA256,
MD5,
SHA1

Response

OK

The response is of type object.