---
title: "Reindex the portal"
method: POST
path: "/v1/portals/{portal_id}/reindex/"
---

# Reindex the portal

`POST /v1/portals/{portal_id}/reindex/`

## Request

- Base URL: `https://app.iconik.io/API/assets`
- URL: `https://app.iconik.io/API/assets/v1/portals/{portal_id}/reindex/`
- Auth: none declared. Required headers: `App-ID`, `Auth-Token`

Required roles:
 - can_reindex_portals

## Path parameters

- `portal_id` string, required

## Query parameters

- `index_immediately` boolean

## Headers

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

## Request body

- ReindexPortalSchema
  - `sync_to_another_dc` boolean

## Response `201`

Without body

## Other responses

- `400`: Bad request
- `401`: Token is invalid
- `404`: Portal does not exist
- `default`: Error response

## Changes

- **2026-11-06** `62580d9e640e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/iconik/apis/iconik-assets/changes/v1/portals/:portal_id/reindex/post.md)

---

[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)
