---
title: "Move every record off a project"
method: POST
path: "/projects/{id}/reassign-records"
tags: ["Projects"]
---

# Move every record off a project

`POST /projects/{id}/reassign-records`

## Request

- Base URL: `https://app.buildworkpro.com/api/v1`
- URL: `https://app.buildworkpro.com/api/v1/projects/{id}/reassign-records`
- Auth: HTTP bearer

Sweeps all reassignable records from this project onto `targetProjectId` in one operation — the tool for a project deleted by mistake. `dropped` counts records the policy could not carry across (pay apps stay put: their certificates are a cumulative per-project chain). QuickBooks is never rewritten.

## Path parameters

- `id` integer, required

## Headers

- `Idempotency-Key` string, uuid

## Request body

- object
  - `targetProjectId` integer, required

## Response `200`

Swept

- object
  - `data` SweepResult, required
    - `moved` object, required
    - `dropped` object, required
  - `meta` ResponseMeta, required
    - `request_id` string: Server-generated request identifier
    - `pagination` PaginationMeta
      - `cursor` string, nullable, required: Opaque cursor for the next page; null when no more results
      - `has_more` boolean, required: Whether more pages are available after this one
      - `count` integer, required: Items in this page

## Other responses

- `404`: Error
- `409`: Error
- `422`: Error

---

[API](https://skmtc.dev/buildworkpro/apis/buildworkpro-api.md) · [All operations](https://skmtc.dev/buildworkpro/apis/buildworkpro-api/llms.txt) · [OpenAPI document](https://skmtc.dev/buildworkpro/apis/buildworkpro-api/revisions/441cf40012f7?raw)
