# Unlink Knowledge Gap Article

POST /api/v2/projects/{projectId}/knowledge/gaps/{id}/unlink

Clears the article linked to a knowledge gap. The article itself is not deleted. An answered gap becomes unanswered. A dismissed gap stays dismissed. A gap that already has no article returns previousArticleId null. Returns 404 with message "Knowledge gap not found" when the id is not a gap on this project.

## Request

- projectId: string, path, required — ID of the project that owns the gap.
- id: string, path, required — ID of the knowledge gap.

## Response

- 200: Successful response
  - previousArticleId: string, required — The article that was linked, or null when the gap had none.
  - status: unanswered | answered | dismissed, required — unanswered, unless the gap is dismissed, which stays dismissed.
- 400: Invalid input data
- 401: Authorization not provided
- 403: Insufficient access
- 404: "Knowledge gap not found" The id is not a gap on this project.
- 500: Internal server error
