---
title: "Release Sync Lock"
method: POST
path: "/admin/sync/release-lock"
tags: ["internal", "Admin - Sync"]
---

# Release Sync Lock

`POST /admin/sync/release-lock`

## Request

- Base URL: `https://api.companydata.dk` (the document declares no server; this is the origin it was published from)
- URL: `https://api.companydata.dk/admin/sync/release-lock`
- Auth: none declared

Force release a stuck sync lock.

Use this if a sync job crashed and left a lock behind.
Warning: Only use this if you're sure no sync is actually running.

## Response `200`

Successful Response

- TriggerSyncResponse
  - `message` string, required
  - `job_id` string, nullable, required

---

[API](https://skmtc.dev/companydata/apis/companydata-dk-api.md) · [All operations](https://skmtc.dev/companydata/apis/companydata-dk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/companydata/apis/companydata-dk-api/revisions/1cc6c361ae64?raw)
