mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-21 05:13:40 +00:00
d
This commit is contained in:
@ -38,7 +38,7 @@ ms.date: 30/07/2018
|
|||||||
|
|
||||||
> To use a specific version, use this format: https://api.securitycenter.windows.com/api/{Version}. For example: https://api.securitycenter.windows.com/api/v1.0/alerts
|
> To use a specific version, use this format: https://api.securitycenter.windows.com/api/{Version}. For example: https://api.securitycenter.windows.com/api/v1.0/alerts
|
||||||
|
|
||||||
> If you don't specify any version ( without /v1.0/ ) you will get to the latest version.
|
> If you don't specify any version (e.g., https://api.securitycenter.windows.com/api/alerts ) you will get to the latest version.
|
||||||
|
|
||||||
|
|
||||||
Learn more about the individual supported entities where you can run API calls to and details such as HTTP request values, request headers and expected responses.
|
Learn more about the individual supported entities where you can run API calls to and details such as HTTP request values, request headers and expected responses.
|
||||||
|
@ -41,7 +41,7 @@ Delegated (work or school account) | Alert.ReadWrite | 'Read and write alerts'
|
|||||||
GET /api/users/{id}/alerts
|
GET /api/users/{id}/alerts
|
||||||
```
|
```
|
||||||
|
|
||||||
**Note that the id is not the Full UPN, its only the user name. For example, for user1@contoso.com you will need to send /api/users/user1/alerts**
|
**Note that the id is not the full UPN, but only the user name. (e.g., to retrieve alerts for user1@contoso.com use /api/users/user1/alerts) **
|
||||||
|
|
||||||
## Request headers
|
## Request headers
|
||||||
|
|
||||||
@ -54,7 +54,7 @@ Authorization | String | Bearer {token}. **Required**.
|
|||||||
Empty
|
Empty
|
||||||
|
|
||||||
## Response
|
## Response
|
||||||
If successful and user and alert exists - 200 OK. If user or alerts does not exist - 404 Not Found.
|
If successful and user and alert exist - 200 OK. If user or alerts do not exist - 404 Not Found.
|
||||||
|
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
@ -41,7 +41,7 @@ Delegated (work or school account) | Machine.ReadWrite | 'Read and write machine
|
|||||||
GET /api/users/{id}/machines
|
GET /api/users/{id}/machines
|
||||||
```
|
```
|
||||||
|
|
||||||
**Note that the id is not the Full UPN, its only the user name. For example, for user1@contoso.com you will need to send /api/users/user1/machines**
|
**Note that the id is not the full UPN, but only the user name. (e.g., to retrieve machines for user1@contoso.com use /api/users/user1/machines) **
|
||||||
|
|
||||||
|
|
||||||
## Request headers
|
## Request headers
|
||||||
|
Reference in New Issue
Block a user