Skip to content

Upserts the per-tenant trust root. Admin-tier, audited.

PUT
/v1/m/models/admission-policy
curl --request PUT \
--url https://example.com/v1/m/models/admission-policy \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '"example"'

Upserts the per-tenant trust root. Admin-tier, audited.

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
allowed_identities
Array<string>
allowed_issuers
Array<string>
attested_at

Accepted by the reused DTO; the server timestamp is authoritative.

string
attested_by

Accepted by the reused DTO; the authenticated actor is authoritative.

string
note
string
require_artifact_digests
boolean
require_signed
boolean
trusted_keys
Array<string>
trusted_roots
Array<string>
Example generated
example

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