TelefonAIv1
Knowledge

Update an entry

Update an entry. Only the fields you send change. status must be «active», «draft» or «archived».

PATCH/v1/knowledge/{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/knowledge/<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."
  }
}