Skip to content

Update an existing device model

PUT
/device-models/{id}
curl --request PUT \
--url https://api.waku-robotics.com/v1/device-models/example \
--header 'Authorization: <Authorization>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example" }'

Update an existing device model

id
required
string

Device Model ID

Device-model

Media typeapplication/json
object
name

Name of the device model

string

Example generated

{
"name": "example"
}

OK

Media typeapplication/json
object
created_at
required
string
id
required
string
manufacturer
required
string
manufacturer_id
required
string
name
required
string
slug
required
string
updated_at
required
string

Example generated

{
"created_at": "example",
"id": "example",
"manufacturer": "example",
"manufacturer_id": "example",
"name": "example",
"slug": "example",
"updated_at": "example"
}
Media typeapplication/json
object
code
integer
message
string

Example generated

{
"code": 1,
"message": "example"
}