---
title: "Backfill Sector"
method: POST
path: "/api/v1/admin/migrations/backfill-sector"
tags: ["Admin APIs", "migrations"]
---

# Backfill Sector

`POST /api/v1/admin/migrations/backfill-sector`

One-off backfill to split "Internal & Partners" into "Internal" / "Partners".

Body example::

    {
        "sector_assignments": {
            "Internal": ["<client-id-1>", "<client-id-2>"],
            "Partners": ["<client-id-3>"]
        },
        "apply": true
    }

Set ``apply: false`` (the default) for a dry-run.

## Request body

- BackfillSectorRequest — Map each new sector value to the client IDs that should receive it.
  - `sector_assignments` object, required
  - `apply` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/carbonarc/apis/carbon-arc-client-admin-api.md) · [All operations](https://skmtc.net/carbonarc/apis/carbon-arc-client-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/carbonarc/carbon-arc-client-admin-api/revisions/a8ca30023371/schema)
