---
title: "Service: /members/{member}/groups/{group}/repairpublications [POST]"
source: https://dev.pageseeder.com/api/services/repair-group-publications_post.html
description: "This POST service repairs out-of-sync searches and document activity in group publications caused by server crashes or database issues. It optionally starts an asynchronous repair process and requires group manager permissions."
last_updated: 2026-09-08T14:00:05+10:00
document_type: api_endpoint
operation_id: publication-POST
resource_id: publication
path_template: /members/{member}/groups/{group}/repairpublications
http_method: POST
api_category: publication
implementation_version: 6.2004
api_since: 5.9800
deprecated_since: null
obsolete_since: null
api_support: supported
cache_control: N/A
generated_at: 2026-09-02
tokens: ~315
---

# /members/\{member\}/groups/\{group\}/repairpublications \[POST\]

## Description

This action fixes searches and document activity which are out of sync with the actual publications.  

After repair, the group is automatically re-indexed.

If the server crashes, or there is a database problem while publication information is being saved, information can become out of sync with the actual publications. In this case, searches or document activity results might return documents that are not in the publication or be missing some that are. Performing repair publications fixes this.

If the thread is not started (if parameter `start-thread` is set to `false` ), then only the number of publications is returned. Otherwise this service starts an [Asynchronous process](../usage/asynchronous_process.md).

## Parameters

| Name | Description | Required | Type | Default |
| --- | --- | --- | --- | --- |
| start-thread | Whether the repair publications thread should be started | no | boolean | `true` |

## Permission

Requires group  manager permissions.

## Response

```xml

<publication-repair>
  [Thread XML]
</publication-repair>

OR

<total-publications>125</total-publications>
```

## Error Handling

No specific errors expected for this service.

