put
https://{yourinstance}.makaira.io/field/
Update a field by ID
Updates the search configuration for an existing field.
Requires authentication.
Request
PUT /field/{id}
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | The ID of the field configuration to update. |
Headers
| Header | Value |
|---|---|
Authorization | Bearer <token> |
Content-Type | application/json |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
active | boolean | No | Enable or disable this field for searching. |
boostFactor | number | No | Updated relevance boost (1–10). |
Example Request
{
"active": true,
"boostFactor": 5
}Response
Returns the updated field configuration.
200OK

