You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This API is used to update a webhook subscription [More Info](https://www.loginradius.com/docs/api/v2/integrations/webhooks/update-webhook-subscription/)
3922
3923
3923
-
```
3924
+
```py
3924
3925
3925
3926
hook_id ="<hook_id>"#Required
3926
3927
web_hook_subscription_update_model = {
@@ -3946,9 +3947,10 @@ result = loginradius.web_hook.update_webhook_subscription(hook_id, web_hook_subs
This API is used to create a new webhook subscription on your LoginRadius site. [More Info](https://www.loginradius.com/docs/api/v2/integrations/webhooks/create-webhook-subscription/)
3950
3952
3951
-
```
3953
+
```py
3952
3954
3953
3955
web_hook_subscribe_model = {
3954
3956
"event" : "<event>",
@@ -3976,9 +3978,10 @@ result = loginradius.web_hook.create_webhook_subscription(web_hook_subscribe_mod
3976
3978
3977
3979
3978
3980
<h6id="GetWebhookSubscriptionDetail-get-"> Get Webhook Subscription Detail (GET)</h6>
3981
+
3979
3982
This API is used to get details of a webhook subscription by Id [More Info](https://www.loginradius.com/docs/api/v2/integrations/webhooks/get-webhook-subscription-details/)
3980
3983
3981
-
```
3984
+
```py
3982
3985
3983
3986
hook_id ="<hook_id>"#Required
3984
3987
@@ -3989,10 +3992,10 @@ result = loginradius.web_hook.get_webhook_subscription_detail(hook_id)
3989
3992
3990
3993
3991
3994
<h6id="ListAllWebhooks-get-"> List All Webhooks (GET)</h6>
3995
+
3992
3996
This API is used to get the list of all the webhooks [More Info](https://www.loginradius.com/docs/api/v2/integrations/webhooks/list-all-webhooks/)
3993
3997
3994
-
```
3995
-
3998
+
```py
3996
3999
3997
4000
result = loginradius.web_hook.list_all_webhooks()
3998
4001
```
@@ -4001,9 +4004,10 @@ result = loginradius.web_hook.list_all_webhooks()
4001
4004
4002
4005
4003
4006
<h6id="GetWebhookEvents-get-"> Get Webhook Events (GET)</h6>
4007
+
4004
4008
This API is used to retrieve all the webhook events. [More Info](https://www.loginradius.com/docs/api/v2/integrations/webhooks/get-webhook-events/)
4005
4009
4006
-
```
4010
+
```py
4007
4011
4008
4012
4009
4013
result = loginradius.web_hook.get_webhook_events()
@@ -4013,9 +4017,10 @@ result = loginradius.web_hook.get_webhook_events()
This API is used to delete webhook subscription [More Info](https://www.loginradius.com/docs/api/v2/integrations/webhooks/delete-webhook-subscription/)
Copy file name to clipboardExpand all lines: lib/README.md
+34-2Lines changed: 34 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,18 +21,50 @@ From Package
21
21
Using pip
22
22
23
23
```
24
-
pip install loginradius-v2==11.6.0
24
+
pip install loginradius-v2==11.7.0
25
25
```
26
26
27
27
or with easy_install
28
28
29
29
```
30
-
easy_install loginradius-v2==11.6.0
30
+
easy_install loginradius-v2==11.7.0
31
31
```
32
32
33
33
Changelog
34
34
======
35
35
36
+
# Version 11.7.0
37
+
38
+
**Release Date:** March 28, 2025
39
+
40
+
## Enhancements
41
+
42
+
We've introduced a brand-new set of Webhook APIs, designed with enhanced functionality and flexibility. These new APIs support advanced features including:
43
+
44
+
- Custom header configuration
45
+
- Query parameter support
46
+
- Webhook authentication methods (Bearer Token and Basic Auth)
47
+
- Support for a custom `Name` parameter to label each webhook subscription
48
+
49
+
As part of this upgrade, the legacy Webhook APIs have been deprecated in favor of the new, more robust versions.
50
+
51
+
## Newly Added APIs
52
+
53
+
-`get_webhook_subscription_detail` – Retrieve detailed information about a specific webhook subscription
54
+
-`create_webhook_subscription` – Create a new webhook subscription with advanced configuration options
55
+
-`delete_webhook_subscription` – Remove an existing webhook subscription
56
+
-`update_webhook_subscription` – Modify an existing webhook subscription
57
+
-`list_all_webhooks` – Retrieve a list of all configured webhook subscriptions
58
+
-`get_webhook_events` – Fetch available webhook events supported by the system
0 commit comments