Skip to main content
PATCH
Change the model on an entry

Authorizations

Authorization
string
header
required

Send a dashboard session token, an account API key (agt_t), or a command-line credential (afc_) as a Bearer token. Each endpoint lists accepted credential types.

Path Parameters

id
string
required

Resource identifier (version 7 universally unique identifier, or UUID).

Body

application/json

PATCH /v1/tenants/me/models/{id} — point an entry at another model.

model_id
string
required

The model to point at.

Response

OK

What a create and a model change both answer with.

One shape for both verbs because both say the same thing — which entry now stands — and the status code is what distinguishes them.

created_at
string<date-time>
required

When it was first stored.

id
string
required

The entry's identity.

model_id
string
required

The model it configures.

secret_ref
string
required

The vault key name backing it.