---
title: "Reindex system_domain"
method: POST
path: "/v1/system_domains/{system_domain_id}/reindex/"
---

# Reindex system_domain

`POST /v1/system_domains/{system_domain_id}/reindex/`

## Request

- Base URL: `https://app.iconik.io/API/auth`
- URL: `https://app.iconik.io/API/auth/v1/system_domains/{system_domain_id}/reindex/`
- Auth: none declared. Required headers: `App-ID`, `Auth-Token`
- TypeScript: <https://skmtc.dev/iconik/apis/iconik-auth/docs/v1/system_domains/:system_domain_id/reindex/post.ts> (a function with typed inputs; its response is checked against the schema)

Required roles:
 - can_read_system_domains

## Path parameters

- `system_domain_id` string, required

## Headers

- `App-ID` string, required
- `Auth-Token` string, required

## Request body

- ReindexSystemDomainSchema
  - `sync_to_another_dc` boolean

## Response `202`

OK

## Other responses

- `400`: Bad request
- `401`: Token is invalid
- `403`: You can only reindex your own domain
- `404`: System domain does not exist
- `default`: Error response

---

[API](https://skmtc.dev/iconik/apis/iconik-auth.md) - [All operations](https://skmtc.dev/iconik/apis/iconik-auth/llms.txt) - [OpenAPI document](https://skmtc.dev/iconik/apis/iconik-auth/revisions/5dde985bb742?raw)
