POST devices/{deviceId}/variables
Sets a Device variable.
Remarks
C4M Error Code returned:
- DeviceNotFound - The requested device does not exist on this environment. 
Request Information
Parameters
| Name | Description | Additional information | 
|---|---|---|
| deviceId | The Device identifier. | Define this parameter in the request URI. | 
| variable | The Device variable. | Define this parameter in the request body. | 
Request body formats
application/json, text/json
					Sample:
							
    {
  "name": "sample string 1",
  "value": "sample string 2"
}
					Response Information
The operation result.
Response body formats
application/json, text/json
					Sample:
							
    Sample not available.