TelefonAIv1
Extraction fields

Update a field

Update a field. key can NOT be changed: it is what your past extractions are stored under, and a new key would split the history from everything that follows. If the key must change, create a new field.

PATCH/v1/extraction-fields/{id}

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

idstringpathrequired

The id of the resource.

Request

curl --request PATCH \
  --url "https://api.telefonai.dk/v1/extraction-fields/<id>" \
  --header "Authorization: Bearer $API_NOEGLE" \
  --header "Content-Type: application/json" \
  --data '{}'

Response

application/json

Success.

object

401Missing key
{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid API key."
  }
}