REPLACE Desired Properties
PUT/workspaces/:workspaceId/devices/:deviceId/desired-properties
Replace device desired properties providing the full content.
Request
Path Parameters
workspaceId uuidrequired
deviceId stringrequired
Responses
- 200
- 400
- 404
- 423
Desired properties of the particular device.
- application/json
- Schema
- Example (from schema)
- example-1
Schema
object
{}
{
"prop3": 42,
"prop4": "A towel, it says, is about the most massively useful thing an interstellar hitchhiker can have."
}
Request has invalid format or contains invalid data.
- application/problem+json
- Schema
- Example (from schema)
Schema
type stringnullable
title stringnullable
status int32nullable
detail stringnullable
instance stringnullable
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Device or workspace not found.
- application/problem+json
- Schema
- Example (from schema)
Schema
type stringnullable
title stringnullable
status int32nullable
detail stringnullable
instance stringnullable
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Workspace disabled.
- application/problem+json
- Schema
- Example (from schema)
Schema
type stringnullable
title stringnullable
status int32nullable
detail stringnullable
instance stringnullable
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Loading...