Skip to content

Commit 80a81f6

Browse files
[Waiting Room] mention sessionsRevoked metrics (#17280)
* [Waiting Room] mention sessionsRevoked metrics PCX-13893 * Update src/content/docs/waiting-room/how-to/control-user-session.mdx --------- Co-authored-by: angelampcosta <[email protected]>
1 parent 5607261 commit 80a81f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/content/docs/waiting-room/how-to/control-user-session.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ To enable this feature in the Cloudflare Dashboard, check the box next to Allow
2525
To enable this feature through the [Cloudflare API](/api/operations/waiting-room-update-waiting-room), update the `enabled_origin_commands` property to include the value `”revoke”` in the list of enabled origin commands.
2626

2727
Then, to return a revocation origin command and revoke the user's session associated with the current request, add the `Cf-Waiting-Room-Command: revoke` HTTP header to the response from your origin.
28+
29+
To get the number of sessions revoked, you can query `sessionsRevoked` metrics from your [Waiting Room analytics](/waiting-room/waiting-room-analytics/#graphql-analytics) data via GraphQL API.

0 commit comments

Comments
 (0)