PATCH Desired Properties
PATCH/workspaces/:workspaceId/devices/:deviceId/desired-properties
Patch device desired properties providing properties to change or delete.
Request
Path Parameters
workspaceId uuidrequired
deviceId stringrequired
Responses
- 200
- 400
- 404
- 423
Desired properties successfully updated.
- application/json
- Schema
- Example (from schema)
- example-1
Schema
object
{}
{
"property1": "value1",
"property2": {
"nestedProperty1": "value2"
}
}
The request body is not a valid JSON Object.
- 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...