Update Device Shard ID

post

/api/device/DeviceManagement/updateShard

Update the shard ID of devices.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • The ID of the device group containing the devices whose shard IDs are to be updated. Either Devices or DeviceGroupID parameter is required.
  • The comma-separated list of device IDs whose shard IDs are to be updated. Either Devices or DeviceGroupID parameter is required.
  • Whether the shard IDs of all the descending devices from the device group specified by DeviceGroupID are being updated (true) or not (false.
  • The shard ID to update.
    Example: 1
Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : SuccessfulUpdateOperation
Type: object
Show Source

Default Response

Failed operation
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : errors
Type: array
The list of errors reported. Validation errors will be keyed by record field.
Show Source
Nested Schema : items
Type: object
Back to Top