Updates model info
PUT/iot/models/:modelId
Updates model's name, description, and metadata.
Authorization Action:
core:models:update
Request
Path Parameters
modelId uuidrequired
Unique model identifier.
- application/json
Body
required
JSON-formatted document describing model updates.
name string
description string
metadata object
image string
Responses
- 200
- 400
- 401
- 404
- 415
- 500
Model details retrieved successfully.
- application/json
- Schema
- Example (from schema)
Schema
id uuid
Unique model identifier.
name string
Free-form model name.
description string
Free-form model description.
metadata object
Arbitrary, object-encoded model data.
tags string[]
List of tags associated with the model.
tenants string[]
List of tenants that can access this model.
image string
URL to model image.
created_at date-time
Time when the model was created.
updated_at date-time
Time when the model was last updated.
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"description": "string",
"metadata": {},
"tags": [
"string"
],
"tenants": [
"string"
],
"image": "string",
"created_at": "2025-01-14T09:16:36.676Z",
"updated_at": "2025-01-14T09:16:36.676Z"
}
Failed due to malformed JSON.
Missing or invalid access token provided.
Model does not exist.
Missing or invalid content type.
Unexpected server error.
- application/json
- Schema
Schema
- string byte
Loading...