Skip to main content

Rename a device

PATCH 

/api/v1/devices/{deviceId}

Update device by given deviceId. Applies to WEDA Node and Custom Device. A SubNode returns 404.

deviceId, hwModel, and orgId are immutable and cannot be included in the request body; any of them present returns 400. deviceName must contain only letters, digits, hyphens, and underscores, and must not exceed 128 characters.

For a Custom Device (deviceId is a UUID), the device must already have been created or read at least once through the organization-scoped API, because this route carries no orgId.

Request​

Responses​

OK