---
type: api
title: Resynchronize allocators
description: Asynchronously synchronizes all allocator information in the back-end search index.
url: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/cloud-enterprise/operation/operation-resync-allocators
resource: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/cloud-enterprise/operation/operation-resync-allocators
products:
  - Elastic Cloud Enterprise
---

# Resynchronize allocators

## Paths

- `POST` `/platform/infrastructure/allocators/_resync`

## Description

Asynchronously synchronizes all allocator information in the back-end search index.

## Authentication

- Basic: `Authorization: Basic <credentials>`
- Api key: `Authorization: <value>`

## Query string parameters

- `skip_matching_version` (boolean · default: true) — optional
  When true, skips the document indexing when the version matches the in-memory copy.

## Response

The ids of documents, organized by model version, that will be synchronized.

`application/json`

- `results` (map string to object)
  The results of synchronizing indices organized by model version
  Map values (object)
  - `created` (string[])
    The ids of documents created in the index by index version
  - `updated` (string[])
    The ids of documents updated in the index by index version
  - `deleted` (string[])
    The ids of documents deleted from the index by index version
  - `errors` (string[])
    The regions where document synchronization may have failed
## Code examples

#### curl

```curl
curl -X POST "${API_URL}/platform/infrastructure/allocators/_resync" \
  -u "${USERNAME}:${PASSWORD}"
```

