PATCH
/
databases
/
{indexName}
curl --request PATCH \
     --url https://controller.us-east1-gcp.pinecone.io/databases/indexName \
     --header 'accept: text/plain' \
     --header 'content-type: application/json'
"<string>"
curl --request PATCH \
     --url https://controller.us-east1-gcp.pinecone.io/databases/indexName \
     --header 'accept: text/plain' \
     --header 'content-type: application/json'

Authorizations

Api-Key
string
header
required

An API Key is required to call Pinecone APIs. Get yours at https://app.pinecone.io/.

Path Parameters

indexName
string
required

The name of the index

Body

application/json
The desired pod type and replica configuration for the index.
replicas
integer

The desired number of replicas for the index.

Example:

3

pod_type
string

The new pod type for the index. One of s1, p1, or p2 appended with . and one of x1, x2, x4, or x8.

Example:

"s1.x2"

Response

202
text/plain
The index has been successfully updated

The response is of type string.