mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-18 00:07:23 +00:00
Applied types to code blocks
This commit is contained in:
parent
c0b96753cc
commit
bde3b5e61b
@ -50,7 +50,7 @@ Delegated (work or school account) | Machine.ReadWrite | 'Read and write machine
|
|||||||
|
|
||||||
## HTTP request
|
## HTTP request
|
||||||
|
|
||||||
```
|
```console
|
||||||
POST https://api.securitycenter.windows.com/api/machines/{id}/tags
|
POST https://api.securitycenter.windows.com/api/machines/{id}/tags
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -83,7 +83,7 @@ Here is an example of a request that adds machine tag.
|
|||||||
|
|
||||||
[!include[Improve request performance](../../includes/improve-request-performance.md)]
|
[!include[Improve request performance](../../includes/improve-request-performance.md)]
|
||||||
|
|
||||||
```
|
```console
|
||||||
POST https://api.securitycenter.windows.com/api/machines/1e5bc9d7e413ddd7902c2932e418702b84d0cc07/tags
|
POST https://api.securitycenter.windows.com/api/machines/1e5bc9d7e413ddd7902c2932e418702b84d0cc07/tags
|
||||||
Content-type: application/json
|
Content-type: application/json
|
||||||
{
|
{
|
||||||
@ -92,4 +92,4 @@ Content-type: application/json
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
- To remove machine tag, set the Action to 'Remove' instead of 'Add' in the request body.
|
- To remove machine tag, set the Action to 'Remove' instead of 'Add' in the request body.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user