---
title: "Reindex a selection of contentlets"
method: POST
path: "/api/v1/content/_bulkrefresh"
tags: ["Content"]
---

# Reindex a selection of contentlets

`POST /api/v1/content/_bulkrefresh`

## Request

- Base URL: `https://docs.anzworldline-solutions.com.au`
- URL: `https://docs.anzworldline-solutions.com.au/api/v1/content/_bulkrefresh`
- Auth: none declared
- TypeScript: <https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api/docs/api/v1/content/_bulkrefresh/post.ts> (a function with typed inputs; its response is checked against the schema)

Clears the contentlet cache and reindexes every selected contentlet, all versions of each. Returns a job id. This is accepted work, not finished work: completion is pushed to the submitting user over the websocket. Not a full index rebuild.

## Request body

- BulkRefreshForm
  - `contentletIds` string[], required
  - `includeDependencies` boolean
  - `includeItemResults` boolean

## Response `202`

Accepted - reindex job enqueued

- ResponseEntityBulkRefreshSubmitView
  - `errors` ErrorEntity[]
    - `errorCode` string
    - `message` string
    - `fieldName` string
  - `entity` BulkRefreshSubmitResponse
    - `jobId` string
    - `submitted` integer
  - `messages` MessageEntity[]
    - `message` string
  - `i18nMessagesMap` object
  - `permissions` string[]
  - `pagination` Pagination
    - `currentPage` integer
    - `perPage` integer
    - `totalEntries` integer

## Other responses

- `400`: Bad request - empty selection or over the configured item cap
- `401`: Unauthorized - no backend user session
- `403`: Forbidden - not a CMS Power User or CMS Administrator
- `415`: Unsupported Media Type
- `500`: Internal Server Error - the job could not be created

## Changes

- **2026-10-30** `4fd8e917d458`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api/changes/api/v1/content/_bulkrefresh/post.md)

---

[API](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api.md) - [All operations](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api/revisions/4fd8e917d458?raw)
