Skip to content

knowledge module route (requires knowledge:data_product:write)

PUT
/v1/m/knowledge/data-products/{id}
curl --request PUT \
--url https://example.com/v1/m/knowledge/data-products/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "availability_target": "example", "description": "example", "enforcement_mode": "", "freshness_sla_seconds": 1, "kb_id": "example", "kb_ref": "example", "name": "example", "owner_ref": "example", "quality_score": 1, "tags": {} }'

Replaces one data product with the posted document.

id
required
string

Path parameter id.

X-Olivares-Tenant
string format: uuid

Target tenant id; required when the principal can act in more than one tenant.

Media type application/json
object
availability_target
Any of:

Values containing a recognized secret are rejected.

string
<= 200 characters
description
Any of:

Descriptions containing a recognized secret are rejected.

string
<= 65536 characters
enforcement_mode
Any of:
string
default: enforce
Allowed values: "" enforce warn observe
freshness_sla_seconds
Any of:
integer format: int64
kb_id
Any of:

Alias of kb_ref; when both are non-null their trimmed values must match.

string
kb_ref
Any of:

Empty clears the binding; non-empty values must parse as a non-zero model id.

string
name
Any of:
string
>= 1 characters <= 200 characters /\S/
owner_ref
Any of:
string
>= 1 characters <= 1024 characters /\S/
quality_score
Any of:
integer format: int64
<= 100
tags
Any of:
object
key
additional properties
any

OK

Media type application/json
object
Example generated
{}

Bad request

Media type application/json
object
Example generated
{}

Unauthenticated

Media type application/json
object
Example generated
{}

Forbidden

Media type application/json
object
Example generated
{}

Not found

Media type application/json
object
Example generated
{}

Conflict / setup required

Media type application/json
object
Example generated
{}

Rate limited

Media type application/json
object
Example generated
{}