---
title: "Clear a stale discovery lock"
method: POST
path: "/ag-manager/clearDiscoveryLock"
tags: ["AG Manager"]
---

# Clear a stale discovery lock

`POST /ag-manager/clearDiscoveryLock`

## Request

- Base URL: `https://example.itential.io`
- URL: `https://example.itential.io/ag-manager/clearDiscoveryLock`
- Auth: none declared

Clears a stale discovery lock. This should only be used if you are certain no discovery is currently running. A stale lock may result from Itential Platform or this app crashing while a discovery-related call was in progress.

## Request body

- object
  - `id` string

## Response `200`

Result message indicating success or failure.

- string

## Other responses

- `500`: Error response from API

## Changes

- **2026-10-31** `2095cc90e583`: 2 info
  - api tag `AG Manager` added
  - api tag `agManager` removed

[Operation history](https://skmtc.dev/itential/apis/itential-2/changes/ag-manager/clearDiscoveryLock/post.md)

---

[API](https://skmtc.dev/itential/apis/itential-2.md) - [All operations](https://skmtc.dev/itential/apis/itential-2/llms.txt) - [OpenAPI document](https://skmtc.dev/itential/apis/itential-2/revisions/2095cc90e583?raw)
