mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-14 14:27:22 +00:00
Update set-device-value.md
This commit is contained in:
parent
4610892157
commit
435ab1d746
@ -27,7 +27,8 @@ ms.topic: article
|
|||||||
|
|
||||||
## API description
|
## API description
|
||||||
|
|
||||||
Adds or remove tag to a specific [Machine](machine.md).
|
Set the device value of a specific [Machine](machine.md).<br>
|
||||||
|
See [threat and vulnerability management scenarios](threat-and-vuln-mgt-scenarios.md) for more information.
|
||||||
|
|
||||||
## Limitations
|
## Limitations
|
||||||
|
|
||||||
@ -54,7 +55,7 @@ Delegated (work or school account) | Machine.ReadWrite | 'Read and write machine
|
|||||||
## HTTP request
|
## HTTP request
|
||||||
|
|
||||||
```http
|
```http
|
||||||
POST https://api.securitycenter.windows.com/api/machines/{machineId}/setDeviceValue
|
POST https://api.securitycenter.microsoft.com/api/machines/{machineId}/setDeviceValue
|
||||||
```
|
```
|
||||||
|
|
||||||
## Request headers
|
## Request headers
|
||||||
@ -66,8 +67,10 @@ Content-Type | string | application/json. **Required**.
|
|||||||
|
|
||||||
## Request body
|
## Request body
|
||||||
|
|
||||||
```http
|
```json
|
||||||
|
{
|
||||||
"DeviceValue": "{device value}"
|
"DeviceValue": "{device value}"
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## Response
|
## Response
|
||||||
|
Loading…
x
Reference in New Issue
Block a user