---
title: "Authorize a SHA"
method: POST
path: "/api/v1alpha/authorize_sha"
tags: ["Builds"]
---

# Authorize a SHA

`POST /api/v1alpha/authorize_sha`

Adds a SHA to the authorized_shas table.

## Request body

- object
  - `sha` string, required

## Response `201`

SHA authorized

## Other responses

- `400` — Missing sha field
- `401` — Unauthorized
- `403` — Forbidden - requires MANAGE_CI

---

[API](https://skmtc.net/hail-is/apis/hail-ci-service.md) · [All operations](https://skmtc.net/hail-is/apis/hail-ci-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hail-is/hail-ci-service/versions/37d6dddb7b5a/schema)
