---
title: "Get a hash code of the contents of the original application file"
method: PATCH
path: "/sites/{siteCode}/hash"
tags: ["Site"]
---

# Get a hash code of the contents of the original application file

`PATCH /sites/{siteCode}/hash`

Get the hashCode generated from the content of the original application file

## Path parameters

- `siteCode` string, required

## Request body

- HashTypeInput
  - `hashType` 'SHA256' | 'MD5' | 'SHA1' — The type of hash function. Default value: 'SHA256'

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `423` — Locked
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/kameleoon/apis/openapi-definition-for-automation-api.md) · [All operations](https://skmtc.net/kameleoon/apis/openapi-definition-for-automation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kameleoon/openapi-definition-for-automation-api/versions/09f2abcea0b5/schema)
