Skip to content

Commit 48bffae

Browse files
committed
Add an example of adding an application to an authentication event listener's trigger conditions
1 parent dc49e76 commit 48bffae

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

api-reference/beta/api/authenticationeventlistener-update.md

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

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

0 commit comments

Comments
 (0)