# transfer_ownership

**Transfer ownership**

Owners · destructive

Makes someone else the primary owner of an organization, for its primary owner only. to is that person’s user ID, like one [`group_access`](https://withopenbook.com/docs/tools/group_access) gives; they become an owner if they aren’t one, and the user stays an owner, which [`manage_owners`](https://withopenbook.com/docs/tools/manage_owners) can change later. The primary owner is the one owner who can transfer ownership and who [`manage_owners`](https://withopenbook.com/docs/tools/manage_owners) can’t remove. Confirm with the user first.

## Parameters

| Parameter | Type | Required | Limits |
|---|---|---|---|
| `organization` | `string` | required |  |
| `to` | `string` | required |  |

## Who can use it

Owners of an organization have it, and each call is checked against which organizations they own. A person’s tool list only includes it when they can use it, and clients like ChatGPT see the same list.

Annotated **destructive**, so clients like ChatGPT ask the person before calling it.

## Errors

Errors carry a stable code and a message written for people. See [errors and their status codes](https://withopenbook.com/docs/api#errors).

HTTP:

```bash
curl https://api.withopenbook.com/v1/actions/transfer_ownership \
  -H "Authorization: Bearer $OPENBOOK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "organization": "9c4a1e7b-3d5f-4b2a-8e6c-1f7d3a9b5c20",
  "to": "c9f2a6d1-4e7b-4a3c-8f5e-1d6b9c2a7e40"
}'
```

MCP:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "transfer_ownership",
    "arguments": {
      "organization": "9c4a1e7b-3d5f-4b2a-8e6c-1f7d3a9b5c20",
      "to": "c9f2a6d1-4e7b-4a3c-8f5e-1d6b9c2a7e40"
    }
  }
}
```

> IDs are made up. Get real ones from `my_access` and `search_contacts`, and send the person’s own OAuth token.
