# API: Owners

| Method | Path | What it does | Scope |
|---|---|---|---|
| POST | `/v1/owners/reassign` | Reassign records in bulk, e.g. every open deal owned by someone who left (from_owner_id: "none" for unowned). Won/lost deals and completed tasks stay unless include_closed. Up to 1000 per call: repeat while has_more. | `records:write` |

## Examples

### POST /v1/owners/reassign

Reassign records in bulk, e.g. every open deal owned by someone who left (from_owner_id: "none" for unowned). Won/lost deals and completed tasks stay unless include_closed. Up to 1000 per call: repeat while has_more.

```bash
curl -s -X POST "https://api.closefinch.com/v1/owners/reassign" \
  -H "Authorization: Bearer $RA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.closefinch.com/v1/owners/reassign`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.RA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

Request and response schemas: [https://www.closefinch.com/openapi.json](https://www.closefinch.com/openapi.json). All resources: [API reference](https://www.closefinch.com/docs/api).
