v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1472221377.0 KB

Updates a Model.

patch/v2/apis/{apiId}/models/{modelId}

Path parameters

apiIdstring required

The API identifier.

modelIdstring required

The model ID.

Request body

contentTypestring

A string with a length between [1-256].

descriptionstring

A string with a length between [0-1024].

namestring

A string with a length between [1-128].

schemastring

A string with a length between [0-32768].

Response

Success

ContentTypestring

The content-type for the model, for example, "application/json".

Descriptionstring

The description of the model.

ModelIdstring

The model identifier.

Namestring

The name of the model. Must be alphanumeric.

Schemastring

The schema for the model. For application/json models, this should be JSON schema draft 4 model.