---
title: "Reindex the project"
method: POST
path: "/v1/projects/{project_id}/reindex/"
---

# Reindex the project

`POST /v1/projects/{project_id}/reindex/`

## Request

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

Required roles:
 - can_reindex_projects

## Path parameters

- `project_id` string, required

## Query parameters

- `index_immediately` boolean

## Headers

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

## Request body

- ReindexProjectSchema
  - `sync_to_another_dc` boolean

## Response `201`

Without body

## Other responses

- `400`: Bad request
- `401`: Token is invalid
- `403`: You are not a member of this project
- `404`: Project does not exist
- `default`: Error response

---

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