Skip to main content
PATCH
Update an index

Authorizations

Authorization
string
header
required

Basic authentication using an API key, e.g. {Authorization: Bearer aff_0bb4fbdf97b7e4111ff6c0015471094155f91}. You can find your API key within the Settings page of the Affinda web app. You can obtain an API key by signing up for a free trial.

Path Parameters

name
string
required

Index name Unique index name

Example:

"my-index"

Body

application/json

Index data to update

name
string

Unique index name

Example:

"my-index"

Response

Successfully updated index data.

name
string
required

Unique index name

Example:

"my-index"

docType
enum<string>
required
Available options:
resumes,
job_descriptions
user
object
required
read-only

The user who created this index