# Transfer Index

> This endpoint is used to transfer an index to another team. 

## Endpoint

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

This endpoint is used to transfer an index to another team. 
Transferring to a personal account is not supported. However, transferring an index from a personal account to a team is allowed.


## Parameters

- `id` (path, string, required): The unique ID of the index to be transferred

## Request body

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

## Responses

### 200 - Index transferred successfully


## cURL

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