mutation · Module: IoT · Requires iot:write
Arguments
Returns
DeletedObject!
Errors
Errors are returned inerrors[], with the REST error object in extensions (type, code, param, request_id), using the codes in Conventions §9.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
mutation DeleteDevice($id: ID!) {
deleteDevice(id: $id)
}
{
"id": "obj_1a2B3c"
}
{
"data": {
"deleteDevice": {
"id": "obj_1a2B3c",
"object": "deleted",
"deleted": true
}
}
}
Delete a Device
mutation DeleteDevice($id: ID!) {
deleteDevice(id: $id)
}
{
"id": "obj_1a2B3c"
}
{
"data": {
"deleteDevice": {
"id": "obj_1a2B3c",
"object": "deleted",
"deleted": true
}
}
}
mutation · Module: IoT · Requires iot:write
| Argument | Type | Description |
|---|---|---|
id | ID! | The object’s ID. |
DeletedObject!
errors[], with the REST error object in extensions (type, code, param, request_id), using the codes in Conventions §9.
mutation DeleteDevice($id: ID!) {
deleteDevice(id: $id)
}
{
"id": "obj_1a2B3c"
}
{
"data": {
"deleteDevice": {
"id": "obj_1a2B3c",
"object": "deleted",
"deleted": true
}
}
}