Skip to content

Replaces the tenant's recording policy (admin; self-audited).

PUT
/v1/m/recording/config
curl --request PUT \
--url https://example.com/v1/m/recording/config \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "ai_summaries": true, "consent": "notice", "idle_seconds": 1, "namespaces": [ "example" ], "retention_days": 1 }'

Replaces the tenant’s recording policy (admin; self-audited).

X-Olivares-Tenant
string format: uuid

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

The handler decodes one strict JSON document, bounded at 1 MiB.

Media type application/json
object
ai_summaries
Any of:
boolean
consent
required
string
Allowed values: notice required
idle_seconds
required
integer
>= 60 <= 86400
namespaces
Any of:
Array<string>
<= 64 items
retention_days
required
integer
>= 1 <= 3650

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
{}