Skip to content

Commit dc49e76

Browse files
authored
Add example of adding an application to an authentication event listener conditions
1 parent b98f313 commit dc49e76

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

api-reference/v1.0/api/authenticationeventlistener-update.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,3 +132,40 @@ The following example shows the response.
132132
HTTP/1.1 204 No Content
133133
```
134134

135+
### Request
136+
The following example shows a request to add an application to an authentication event listener's trigger conditions:
137+
138+
# [HTTP](#tab/http)
139+
<!-- {
140+
"blockType": "request",
141+
"name": "update_authenticationeventlistener"
142+
}
143+
-->
144+
``` http
145+
POST https://graph.microsoft.com/v1.0/identity/authenticationEventListeners/0313cc37-d421-421d-857b-87804d61e33e/conditions/applications/includeApplications
146+
Content-Type: application/json
147+
{
148+
"@odata.type": "#microsoft.graph.authenticationConditionApplication",
149+
"appId": "63856651-13d9-4784-9abf-20758d509e19"
150+
}
151+
```
152+
153+
---
154+
155+
### Response
156+
The following example shows the response to a request to add an application to an authentication event listener's trigger conditions:
157+
158+
<!-- {
159+
"blockType": "response",
160+
"@odata.type": "microsoft.graph.authenticationConditionApplication",
161+
"truncated": true,
162+
}
163+
-->
164+
``` http
165+
HTTP/1.1 201 Created
166+
Content-Type: application/json
167+
{
168+
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#identity/authenticationEventListeners('0313cc37-d421-421d-857b-87804d61e33e')/conditions/applications/includeApplications/$entity",
169+
"appId": "63856651-13d9-4784-9abf-20758d509e19"
170+
}
171+
```

0 commit comments

Comments
 (0)