# Transfer Search Index

> Transfers ownership of a search index to another team.

## Endpoint

`POST https://api.upstash.com/v2/search/{id}/transfer`

Transfers ownership of a search index to another team.
Transferring to a personal account is not supported.
However, transferring from a personal account to a team is allowed.


## Parameters

- `id` (path, string, required): The ID of the search index

## Request body

- `target_account` (string, required): The ID of the target team account.

## Responses

### 200 - Search index transferred successfully


## cURL

```bash
curl --request POST \
  --url https://api.upstash.com/v2/search/{id}/transfer \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "target_account": "99a4c327-31f0-490f-a594-043ade84085a"
  }'
```
