---
title: "Force an index update"
method: POST
path: "/updatez"
tags: ["System information"]
---

# Force an index update

`POST /updatez`

Force the index to be re-generated. Works only if the update token is provided
(serves as an API key, and can be set in the container environment).

## Query parameters

- `token` string
- `sync` boolean

## Response `200`

Successful Response

- StatusResponse
  - `status` string

## Other responses

- `403` — Authorization error.
- `422` — Validation Error

---

[API](https://skmtc.net/opensanctions/apis/opensanctions-api.md) · [All operations](https://skmtc.net/opensanctions/apis/opensanctions-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opensanctions/opensanctions-api/versions/cd514470b363/schema)
