Debian Codegraph @

reference.md

raw symbols SCIP
1 # Reference
2 ## Actions
3 <details><summary><code>client.actions.<a href="src/auth0.management/actions/client.py">list</a>(...) -> ListActionsPaginatedResponseContent</code></summary>
4 <dl>
5 <dd>
6
7 #### 📝 Description
8
9 <dl>
10 <dd>
11
12 <dl>
13 <dd>
14
15 Retrieve all actions.
16 </dd>
17 </dl>
18 </dd>
19 </dl>
20
21 #### 🔌 Usage
22
23 <dl>
24 <dd>
25
26 <dl>
27 <dd>
28
29 ```python
30 from auth0.management import Auth0
31 from auth0.management.environment import Auth0Environment
32
33 client = Auth0(
34 token="<token>",
35 environment=Auth0Environment.DEFAULT,
36 )
37
38 client.actions.list(
39 trigger_id="post-login",
40 action_name="actionName",
41 deployed=True,
42 page=1,
43 per_page=1,
44 installed=True,
45 )
46
47 ```
48 </dd>
49 </dl>
50 </dd>
51 </dl>
52
53 #### ⚙️ Parameters
54
55 <dl>
56 <dd>
57
58 <dl>
59 <dd>
60
61 **trigger_id:** `typing.Optional[ActionTriggerTypeEnum]` — An actions extensibility point.
62
63 </dd>
64 </dl>
65
66 <dl>
67 <dd>
68
69 **action_name:** `typing.Optional[str]` — The name of the action to retrieve.
70
71 </dd>
72 </dl>
73
74 <dl>
75 <dd>
76
77 **deployed:** `typing.Optional[bool]` — Optional filter to only retrieve actions that are deployed.
78
79 </dd>
80 </dl>
81
82 <dl>
83 <dd>
84
85 **page:** `typing.Optional[int]` — Use this field to request a specific page of the list results.
86
87 </dd>
88 </dl>
89
90 <dl>
91 <dd>
92
93 **per_page:** `typing.Optional[int]` — The maximum number of results to be returned by the server in single response. 20 by default
94
95 </dd>
96 </dl>
97
98 <dl>
99 <dd>
100
101 **installed:** `typing.Optional[bool]` — Optional. When true, return only installed actions. When false, return only custom actions. Returns all actions by default.
102
103 </dd>
104 </dl>
105
106 <dl>
107 <dd>
108
109 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
110
111 </dd>
112 </dl>
113 </dd>
114 </dl>
115
116
117 </dd>
118 </dl>
119 </details>
120
121 <details><summary><code>client.actions.<a href="src/auth0.management/actions/client.py">create</a>(...) -> CreateActionResponseContent</code></summary>
122 <dl>
123 <dd>
124
125 #### 📝 Description
126
127 <dl>
128 <dd>
129
130 <dl>
131 <dd>
132
133 Create an action. Once an action is created, it must be deployed, and then bound to a trigger before it will be executed as part of a flow.
134 </dd>
135 </dl>
136 </dd>
137 </dl>
138
139 #### 🔌 Usage
140
141 <dl>
142 <dd>
143
144 <dl>
145 <dd>
146
147 ```python
148 from auth0.management import Auth0, ActionTrigger
149 from auth0.management.environment import Auth0Environment
150
151 client = Auth0(
152 token="<token>",
153 environment=Auth0Environment.DEFAULT,
154 )
155
156 client.actions.create(
157 name="name",
158 supported_triggers=[
159 ActionTrigger(
160 id="post-login",
161 )
162 ],
163 )
164
165 ```
166 </dd>
167 </dl>
168 </dd>
169 </dl>
170
171 #### ⚙️ Parameters
172
173 <dl>
174 <dd>
175
176 <dl>
177 <dd>
178
179 **name:** `str` — The name of an action.
180
181 </dd>
182 </dl>
183
184 <dl>
185 <dd>
186
187 **supported_triggers:** `typing.List[ActionTrigger]` — The list of triggers that this action supports. At this time, an action can only target a single trigger at a time.
188
189 </dd>
190 </dl>
191
192 <dl>
193 <dd>
194
195 **code:** `typing.Optional[str]` — The source code of the action.
196
197 </dd>
198 </dl>
199
200 <dl>
201 <dd>
202
203 **dependencies:** `typing.Optional[typing.List[ActionVersionDependency]]` — The list of third party npm modules, and their versions, that this action depends on.
204
205 </dd>
206 </dl>
207
208 <dl>
209 <dd>
210
211 **runtime:** `typing.Optional[str]` — The Node runtime. For example: `node22`, defaults to `node22`
212
213 </dd>
214 </dl>
215
216 <dl>
217 <dd>
218
219 **secrets:** `typing.Optional[typing.List[ActionSecretRequest]]` — The list of secrets that are included in an action or a version of an action.
220
221 </dd>
222 </dl>
223
224 <dl>
225 <dd>
226
227 **modules:** `typing.Optional[typing.List[ActionModuleReference]]` — The list of action modules and their versions used by this action.
228
229 </dd>
230 </dl>
231
232 <dl>
233 <dd>
234
235 **deploy:** `typing.Optional[bool]` — True if the action should be deployed after creation.
236
237 </dd>
238 </dl>
239
240 <dl>
241 <dd>
242
243 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
244
245 </dd>
246 </dl>
247 </dd>
248 </dl>
249
250
251 </dd>
252 </dl>
253 </details>
254
255 <details><summary><code>client.actions.<a href="src/auth0.management/actions/client.py">get</a>(...) -> GetActionResponseContent</code></summary>
256 <dl>
257 <dd>
258
259 #### 📝 Description
260
261 <dl>
262 <dd>
263
264 <dl>
265 <dd>
266
267 Retrieve an action by its ID.
268 </dd>
269 </dl>
270 </dd>
271 </dl>
272
273 #### 🔌 Usage
274
275 <dl>
276 <dd>
277
278 <dl>
279 <dd>
280
281 ```python
282 from auth0.management import Auth0
283 from auth0.management.environment import Auth0Environment
284
285 client = Auth0(
286 token="<token>",
287 environment=Auth0Environment.DEFAULT,
288 )
289
290 client.actions.get(
291 id="id",
292 )
293
294 ```
295 </dd>
296 </dl>
297 </dd>
298 </dl>
299
300 #### ⚙️ Parameters
301
302 <dl>
303 <dd>
304
305 <dl>
306 <dd>
307
308 **id:** `str` — The ID of the action to retrieve.
309
310 </dd>
311 </dl>
312
313 <dl>
314 <dd>
315
316 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
317
318 </dd>
319 </dl>
320 </dd>
321 </dl>
322
323
324 </dd>
325 </dl>
326 </details>
327
328 <details><summary><code>client.actions.<a href="src/auth0.management/actions/client.py">delete</a>(...)</code></summary>
329 <dl>
330 <dd>
331
332 #### 📝 Description
333
334 <dl>
335 <dd>
336
337 <dl>
338 <dd>
339
340 Deletes an action and all of its associated versions. An action must be unbound from all triggers before it can be deleted.
341 </dd>
342 </dl>
343 </dd>
344 </dl>
345
346 #### 🔌 Usage
347
348 <dl>
349 <dd>
350
351 <dl>
352 <dd>
353
354 ```python
355 from auth0.management import Auth0
356 from auth0.management.environment import Auth0Environment
357
358 client = Auth0(
359 token="<token>",
360 environment=Auth0Environment.DEFAULT,
361 )
362
363 client.actions.delete(
364 id="id",
365 force=True,
366 )
367
368 ```
369 </dd>
370 </dl>
371 </dd>
372 </dl>
373
374 #### ⚙️ Parameters
375
376 <dl>
377 <dd>
378
379 <dl>
380 <dd>
381
382 **id:** `str` — The ID of the action to delete.
383
384 </dd>
385 </dl>
386
387 <dl>
388 <dd>
389
390 **force:** `typing.Optional[bool]` — Force action deletion detaching bindings
391
392 </dd>
393 </dl>
394
395 <dl>
396 <dd>
397
398 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
399
400 </dd>
401 </dl>
402 </dd>
403 </dl>
404
405
406 </dd>
407 </dl>
408 </details>
409
410 <details><summary><code>client.actions.<a href="src/auth0.management/actions/client.py">update</a>(...) -> UpdateActionResponseContent</code></summary>
411 <dl>
412 <dd>
413
414 #### 📝 Description
415
416 <dl>
417 <dd>
418
419 <dl>
420 <dd>
421
422 Update an existing action. If this action is currently bound to a trigger, updating it will **not** affect any user flows until the action is deployed.
423 </dd>
424 </dl>
425 </dd>
426 </dl>
427
428 #### 🔌 Usage
429
430 <dl>
431 <dd>
432
433 <dl>
434 <dd>
435
436 ```python
437 from auth0.management import Auth0
438 from auth0.management.environment import Auth0Environment
439
440 client = Auth0(
441 token="<token>",
442 environment=Auth0Environment.DEFAULT,
443 )
444
445 client.actions.update(
446 id="id",
447 )
448
449 ```
450 </dd>
451 </dl>
452 </dd>
453 </dl>
454
455 #### ⚙️ Parameters
456
457 <dl>
458 <dd>
459
460 <dl>
461 <dd>
462
463 **id:** `str` — The id of the action to update.
464
465 </dd>
466 </dl>
467
468 <dl>
469 <dd>
470
471 **name:** `typing.Optional[str]` — The name of an action.
472
473 </dd>
474 </dl>
475
476 <dl>
477 <dd>
478
479 **supported_triggers:** `typing.Optional[typing.List[ActionTrigger]]` — The list of triggers that this action supports. At this time, an action can only target a single trigger at a time.
480
481 </dd>
482 </dl>
483
484 <dl>
485 <dd>
486
487 **code:** `typing.Optional[str]` — The source code of the action.
488
489 </dd>
490 </dl>
491
492 <dl>
493 <dd>
494
495 **dependencies:** `typing.Optional[typing.List[ActionVersionDependency]]` — The list of third party npm modules, and their versions, that this action depends on.
496
497 </dd>
498 </dl>
499
500 <dl>
501 <dd>
502
503 **runtime:** `typing.Optional[str]` — The Node runtime. For example: `node22`, defaults to `node22`
504
505 </dd>
506 </dl>
507
508 <dl>
509 <dd>
510
511 **secrets:** `typing.Optional[typing.List[ActionSecretRequest]]` — The list of secrets that are included in an action or a version of an action.
512
513 </dd>
514 </dl>
515
516 <dl>
517 <dd>
518
519 **modules:** `typing.Optional[typing.List[ActionModuleReference]]` — The list of action modules and their versions used by this action.
520
521 </dd>
522 </dl>
523
524 <dl>
525 <dd>
526
527 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
528
529 </dd>
530 </dl>
531 </dd>
532 </dl>
533
534
535 </dd>
536 </dl>
537 </details>
538
539 <details><summary><code>client.actions.<a href="src/auth0.management/actions/client.py">deploy</a>(...) -> DeployActionResponseContent</code></summary>
540 <dl>
541 <dd>
542
543 #### 📝 Description
544
545 <dl>
546 <dd>
547
548 <dl>
549 <dd>
550
551 Deploy an action. Deploying an action will create a new immutable version of the action. If the action is currently bound to a trigger, then the system will begin executing the newly deployed version of the action immediately. Otherwise, the action will only be executed as a part of a flow once it is bound to that flow.
552 </dd>
553 </dl>
554 </dd>
555 </dl>
556
557 #### 🔌 Usage
558
559 <dl>
560 <dd>
561
562 <dl>
563 <dd>
564
565 ```python
566 from auth0.management import Auth0
567 from auth0.management.environment import Auth0Environment
568
569 client = Auth0(
570 token="<token>",
571 environment=Auth0Environment.DEFAULT,
572 )
573
574 client.actions.deploy(
575 id="id",
576 )
577
578 ```
579 </dd>
580 </dl>
581 </dd>
582 </dl>
583
584 #### ⚙️ Parameters
585
586 <dl>
587 <dd>
588
589 <dl>
590 <dd>
591
592 **id:** `str` — The ID of an action.
593
594 </dd>
595 </dl>
596
597 <dl>
598 <dd>
599
600 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
601
602 </dd>
603 </dl>
604 </dd>
605 </dl>
606
607
608 </dd>
609 </dl>
610 </details>
611
612 <details><summary><code>client.actions.<a href="src/auth0.management/actions/client.py">test</a>(...) -> TestActionResponseContent</code></summary>
613 <dl>
614 <dd>
615
616 #### 📝 Description
617
618 <dl>
619 <dd>
620
621 <dl>
622 <dd>
623
624 Test an action. After updating an action, it can be tested prior to being deployed to ensure it behaves as expected.
625 </dd>
626 </dl>
627 </dd>
628 </dl>
629
630 #### 🔌 Usage
631
632 <dl>
633 <dd>
634
635 <dl>
636 <dd>
637
638 ```python
639 from auth0.management import Auth0
640 from auth0.management.environment import Auth0Environment
641
642 client = Auth0(
643 token="<token>",
644 environment=Auth0Environment.DEFAULT,
645 )
646
647 client.actions.test(
648 id="id",
649 payload={
650 "key": "value"
651 },
652 )
653
654 ```
655 </dd>
656 </dl>
657 </dd>
658 </dl>
659
660 #### ⚙️ Parameters
661
662 <dl>
663 <dd>
664
665 <dl>
666 <dd>
667
668 **id:** `str` — The id of the action to test.
669
670 </dd>
671 </dl>
672
673 <dl>
674 <dd>
675
676 **payload:** `TestActionPayload`
677
678 </dd>
679 </dl>
680
681 <dl>
682 <dd>
683
684 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
685
686 </dd>
687 </dl>
688 </dd>
689 </dl>
690
691
692 </dd>
693 </dl>
694 </details>
695
696 ## Branding
697 <details><summary><code>client.branding.<a href="src/auth0.management/branding/client.py">get</a>() -> GetBrandingResponseContent</code></summary>
698 <dl>
699 <dd>
700
701 #### 📝 Description
702
703 <dl>
704 <dd>
705
706 <dl>
707 <dd>
708
709 Retrieve branding settings.
710 </dd>
711 </dl>
712 </dd>
713 </dl>
714
715 #### 🔌 Usage
716
717 <dl>
718 <dd>
719
720 <dl>
721 <dd>
722
723 ```python
724 from auth0.management import Auth0
725 from auth0.management.environment import Auth0Environment
726
727 client = Auth0(
728 token="<token>",
729 environment=Auth0Environment.DEFAULT,
730 )
731
732 client.branding.get()
733
734 ```
735 </dd>
736 </dl>
737 </dd>
738 </dl>
739
740 #### ⚙️ Parameters
741
742 <dl>
743 <dd>
744
745 <dl>
746 <dd>
747
748 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
749
750 </dd>
751 </dl>
752 </dd>
753 </dl>
754
755
756 </dd>
757 </dl>
758 </details>
759
760 <details><summary><code>client.branding.<a href="src/auth0.management/branding/client.py">update</a>(...) -> UpdateBrandingResponseContent</code></summary>
761 <dl>
762 <dd>
763
764 #### 📝 Description
765
766 <dl>
767 <dd>
768
769 <dl>
770 <dd>
771
772 Update branding settings.
773 </dd>
774 </dl>
775 </dd>
776 </dl>
777
778 #### 🔌 Usage
779
780 <dl>
781 <dd>
782
783 <dl>
784 <dd>
785
786 ```python
787 from auth0.management import Auth0
788 from auth0.management.environment import Auth0Environment
789
790 client = Auth0(
791 token="<token>",
792 environment=Auth0Environment.DEFAULT,
793 )
794
795 client.branding.update()
796
797 ```
798 </dd>
799 </dl>
800 </dd>
801 </dl>
802
803 #### ⚙️ Parameters
804
805 <dl>
806 <dd>
807
808 <dl>
809 <dd>
810
811 **colors:** `typing.Optional[UpdateBrandingColors]`
812
813 </dd>
814 </dl>
815
816 <dl>
817 <dd>
818
819 **favicon_url:** `typing.Optional[str]` — URL for the favicon. Must use HTTPS.
820
821 </dd>
822 </dl>
823
824 <dl>
825 <dd>
826
827 **logo_url:** `typing.Optional[str]` — URL for the logo. Must use HTTPS.
828
829 </dd>
830 </dl>
831
832 <dl>
833 <dd>
834
835 **font:** `typing.Optional[UpdateBrandingFont]`
836
837 </dd>
838 </dl>
839
840 <dl>
841 <dd>
842
843 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
844
845 </dd>
846 </dl>
847 </dd>
848 </dl>
849
850
851 </dd>
852 </dl>
853 </details>
854
855 ## ClientGrants
856 <details><summary><code>client.client_grants.<a href="src/auth0.management/client_grants/client.py">list</a>(...) -> ListClientGrantPaginatedResponseContent</code></summary>
857 <dl>
858 <dd>
859
860 #### 📝 Description
861
862 <dl>
863 <dd>
864
865 <dl>
866 <dd>
867
868 Retrieve a list of [client grants](https://auth0.com/docs/get-started/applications/application-access-to-apis-client-grants), including the scopes associated with the application/API pair.
869 </dd>
870 </dl>
871 </dd>
872 </dl>
873
874 #### 🔌 Usage
875
876 <dl>
877 <dd>
878
879 <dl>
880 <dd>
881
882 ```python
883 from auth0.management import Auth0
884 from auth0.management.environment import Auth0Environment
885
886 client = Auth0(
887 token="<token>",
888 environment=Auth0Environment.DEFAULT,
889 )
890
891 client.client_grants.list(
892 from_="from",
893 take=1,
894 audience="audience",
895 client_id="client_id",
896 allow_any_organization=True,
897 subject_type="client",
898 default_for="third_party_clients",
899 )
900
901 ```
902 </dd>
903 </dl>
904 </dd>
905 </dl>
906
907 #### ⚙️ Parameters
908
909 <dl>
910 <dd>
911
912 <dl>
913 <dd>
914
915 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
916
917 </dd>
918 </dl>
919
920 <dl>
921 <dd>
922
923 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
924
925 </dd>
926 </dl>
927
928 <dl>
929 <dd>
930
931 **audience:** `typing.Optional[str]` — Optional filter on audience.
932
933 </dd>
934 </dl>
935
936 <dl>
937 <dd>
938
939 **client_id:** `typing.Optional[str]` — Optional filter on client_id.
940
941 </dd>
942 </dl>
943
944 <dl>
945 <dd>
946
947 **allow_any_organization:** `typing.Optional[ClientGrantAllowAnyOrganizationEnum]` — Optional filter on allow_any_organization.
948
949 </dd>
950 </dl>
951
952 <dl>
953 <dd>
954
955 **subject_type:** `typing.Optional[ClientGrantSubjectTypeEnum]` — The type of application access the client grant allows.
956
957 </dd>
958 </dl>
959
960 <dl>
961 <dd>
962
963 **default_for:** `typing.Optional[ClientGrantDefaultForEnum]` — Applies this client grant as the default for all clients in the specified group. The only accepted value is <a href="https://auth0.com/docs/get-started/applications/application-access-to-apis-client-grants#default-permissions-for-third-party-applications">`third_party_clients`</a>, which applies the grant to all third-party clients. Per-client grants for the same audience take precedence. Mutually exclusive with `client_id`.
964
965 </dd>
966 </dl>
967
968 <dl>
969 <dd>
970
971 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
972
973 </dd>
974 </dl>
975 </dd>
976 </dl>
977
978
979 </dd>
980 </dl>
981 </details>
982
983 <details><summary><code>client.client_grants.<a href="src/auth0.management/client_grants/client.py">create</a>(...) -> CreateClientGrantResponseContent</code></summary>
984 <dl>
985 <dd>
986
987 #### 📝 Description
988
989 <dl>
990 <dd>
991
992 <dl>
993 <dd>
994
995 Create a client grant for a machine-to-machine login flow. To learn more, read [Client Credential Flow](https://www.auth0.com/docs/get-started/authentication-and-authorization-flow/client-credentials-flow).
996 </dd>
997 </dl>
998 </dd>
999 </dl>
1000
1001 #### 🔌 Usage
1002
1003 <dl>
1004 <dd>
1005
1006 <dl>
1007 <dd>
1008
1009 ```python
1010 from auth0.management import Auth0
1011 from auth0.management.environment import Auth0Environment
1012
1013 client = Auth0(
1014 token="<token>",
1015 environment=Auth0Environment.DEFAULT,
1016 )
1017
1018 client.client_grants.create(
1019 audience="audience",
1020 )
1021
1022 ```
1023 </dd>
1024 </dl>
1025 </dd>
1026 </dl>
1027
1028 #### ⚙️ Parameters
1029
1030 <dl>
1031 <dd>
1032
1033 <dl>
1034 <dd>
1035
1036 **audience:** `str` — The audience (API identifier) of this client grant
1037
1038 </dd>
1039 </dl>
1040
1041 <dl>
1042 <dd>
1043
1044 **client_id:** `typing.Optional[str]` — ID of the client.
1045
1046 </dd>
1047 </dl>
1048
1049 <dl>
1050 <dd>
1051
1052 **default_for:** `typing.Optional[ClientGrantDefaultForEnum]`
1053
1054 </dd>
1055 </dl>
1056
1057 <dl>
1058 <dd>
1059
1060 **organization_usage:** `typing.Optional[ClientGrantOrganizationUsageEnum]`
1061
1062 </dd>
1063 </dl>
1064
1065 <dl>
1066 <dd>
1067
1068 **allow_any_organization:** `typing.Optional[bool]` — If enabled, any organization can be used with this grant. If disabled (default), the grant must be explicitly assigned to the desired organizations.
1069
1070 </dd>
1071 </dl>
1072
1073 <dl>
1074 <dd>
1075
1076 **scope:** `typing.Optional[typing.List[str]]` — Scopes allowed for this client grant.
1077
1078 </dd>
1079 </dl>
1080
1081 <dl>
1082 <dd>
1083
1084 **subject_type:** `typing.Optional[ClientGrantSubjectTypeEnum]`
1085
1086 </dd>
1087 </dl>
1088
1089 <dl>
1090 <dd>
1091
1092 **authorization_details_types:** `typing.Optional[typing.List[str]]` — Types of authorization_details allowed for this client grant.
1093
1094 </dd>
1095 </dl>
1096
1097 <dl>
1098 <dd>
1099
1100 **allow_all_scopes:** `typing.Optional[bool]` — If enabled, all scopes configured on the resource server are allowed for this grant.
1101
1102 </dd>
1103 </dl>
1104
1105 <dl>
1106 <dd>
1107
1108 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1109
1110 </dd>
1111 </dl>
1112 </dd>
1113 </dl>
1114
1115
1116 </dd>
1117 </dl>
1118 </details>
1119
1120 <details><summary><code>client.client_grants.<a href="src/auth0.management/client_grants/client.py">get</a>(...) -> GetClientGrantResponseContent</code></summary>
1121 <dl>
1122 <dd>
1123
1124 #### 📝 Description
1125
1126 <dl>
1127 <dd>
1128
1129 <dl>
1130 <dd>
1131
1132 Retrieve a single [client grant](https://auth0.com/docs/get-started/applications/application-access-to-apis-client-grants), including the
1133 scopes associated with the application/API pair.
1134 </dd>
1135 </dl>
1136 </dd>
1137 </dl>
1138
1139 #### 🔌 Usage
1140
1141 <dl>
1142 <dd>
1143
1144 <dl>
1145 <dd>
1146
1147 ```python
1148 from auth0.management import Auth0
1149 from auth0.management.environment import Auth0Environment
1150
1151 client = Auth0(
1152 token="<token>",
1153 environment=Auth0Environment.DEFAULT,
1154 )
1155
1156 client.client_grants.get(
1157 id="id",
1158 )
1159
1160 ```
1161 </dd>
1162 </dl>
1163 </dd>
1164 </dl>
1165
1166 #### ⚙️ Parameters
1167
1168 <dl>
1169 <dd>
1170
1171 <dl>
1172 <dd>
1173
1174 **id:** `str` — The ID of the client grant to retrieve.
1175
1176 </dd>
1177 </dl>
1178
1179 <dl>
1180 <dd>
1181
1182 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1183
1184 </dd>
1185 </dl>
1186 </dd>
1187 </dl>
1188
1189
1190 </dd>
1191 </dl>
1192 </details>
1193
1194 <details><summary><code>client.client_grants.<a href="src/auth0.management/client_grants/client.py">delete</a>(...)</code></summary>
1195 <dl>
1196 <dd>
1197
1198 #### 📝 Description
1199
1200 <dl>
1201 <dd>
1202
1203 <dl>
1204 <dd>
1205
1206 Delete the [Client Credential Flow](https://www.auth0.com/docs/get-started/authentication-and-authorization-flow/client-credentials-flow) from your machine-to-machine application.
1207 </dd>
1208 </dl>
1209 </dd>
1210 </dl>
1211
1212 #### 🔌 Usage
1213
1214 <dl>
1215 <dd>
1216
1217 <dl>
1218 <dd>
1219
1220 ```python
1221 from auth0.management import Auth0
1222 from auth0.management.environment import Auth0Environment
1223
1224 client = Auth0(
1225 token="<token>",
1226 environment=Auth0Environment.DEFAULT,
1227 )
1228
1229 client.client_grants.delete(
1230 id="id",
1231 )
1232
1233 ```
1234 </dd>
1235 </dl>
1236 </dd>
1237 </dl>
1238
1239 #### ⚙️ Parameters
1240
1241 <dl>
1242 <dd>
1243
1244 <dl>
1245 <dd>
1246
1247 **id:** `str` — ID of the client grant to delete.
1248
1249 </dd>
1250 </dl>
1251
1252 <dl>
1253 <dd>
1254
1255 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1256
1257 </dd>
1258 </dl>
1259 </dd>
1260 </dl>
1261
1262
1263 </dd>
1264 </dl>
1265 </details>
1266
1267 <details><summary><code>client.client_grants.<a href="src/auth0.management/client_grants/client.py">update</a>(...) -> UpdateClientGrantResponseContent</code></summary>
1268 <dl>
1269 <dd>
1270
1271 #### 📝 Description
1272
1273 <dl>
1274 <dd>
1275
1276 <dl>
1277 <dd>
1278
1279 Update a client grant.
1280 </dd>
1281 </dl>
1282 </dd>
1283 </dl>
1284
1285 #### 🔌 Usage
1286
1287 <dl>
1288 <dd>
1289
1290 <dl>
1291 <dd>
1292
1293 ```python
1294 from auth0.management import Auth0
1295 from auth0.management.environment import Auth0Environment
1296
1297 client = Auth0(
1298 token="<token>",
1299 environment=Auth0Environment.DEFAULT,
1300 )
1301
1302 client.client_grants.update(
1303 id="id",
1304 )
1305
1306 ```
1307 </dd>
1308 </dl>
1309 </dd>
1310 </dl>
1311
1312 #### ⚙️ Parameters
1313
1314 <dl>
1315 <dd>
1316
1317 <dl>
1318 <dd>
1319
1320 **id:** `str` — ID of the client grant to update.
1321
1322 </dd>
1323 </dl>
1324
1325 <dl>
1326 <dd>
1327
1328 **scope:** `typing.Optional[typing.List[str]]` — Scopes allowed for this client grant.
1329
1330 </dd>
1331 </dl>
1332
1333 <dl>
1334 <dd>
1335
1336 **organization_usage:** `typing.Optional[ClientGrantOrganizationNullableUsageEnum]`
1337
1338 </dd>
1339 </dl>
1340
1341 <dl>
1342 <dd>
1343
1344 **allow_any_organization:** `typing.Optional[bool]` — Controls allowing any organization to be used with this grant
1345
1346 </dd>
1347 </dl>
1348
1349 <dl>
1350 <dd>
1351
1352 **authorization_details_types:** `typing.Optional[typing.List[str]]` — Types of authorization_details allowed for this client grant.
1353
1354 </dd>
1355 </dl>
1356
1357 <dl>
1358 <dd>
1359
1360 **allow_all_scopes:** `typing.Optional[bool]` — If enabled, all scopes configured on the resource server are allowed for this grant.
1361
1362 </dd>
1363 </dl>
1364
1365 <dl>
1366 <dd>
1367
1368 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1369
1370 </dd>
1371 </dl>
1372 </dd>
1373 </dl>
1374
1375
1376 </dd>
1377 </dl>
1378 </details>
1379
1380 ## Clients
1381 <details><summary><code>client.clients.<a href="src/auth0.management/clients/client.py">list</a>(...) -> ListClientsOffsetPaginatedResponseContent</code></summary>
1382 <dl>
1383 <dd>
1384
1385 #### 📝 Description
1386
1387 <dl>
1388 <dd>
1389
1390 <dl>
1391 <dd>
1392
1393 Retrieve clients (applications and SSO integrations) matching provided filters. A list of fields to include or exclude may also be specified.
1394 For more information, read [Applications in Auth0](https://www.auth0.com/docs/get-started/applications) and [Single Sign-On](https://www.auth0.com/docs/authenticate/single-sign-on).
1395
1396 - The following can be retrieved with any scope:
1397 `client_id`, `app_type`, `name`, and `description`.
1398 - The following properties can only be retrieved with the `read:clients` or
1399 `read:client_keys` scope:
1400 `callbacks`, `oidc_logout`, `allowed_origins`,
1401 `web_origins`, `tenant`, `global`, `config_route`,
1402 `callback_url_template`, `jwt_configuration`,
1403 `jwt_configuration.lifetime_in_seconds`, `jwt_configuration.secret_encoded`,
1404 `jwt_configuration.scopes`, `jwt_configuration.alg`, `api_type`,
1405 `logo_uri`, `allowed_clients`, `owners`, `custom_login_page`,
1406 `custom_login_page_off`, `sso`, `addons`, `form_template`,
1407 `custom_login_page_codeview`, `resource_servers`, `client_metadata`,
1408 `mobile`, `mobile.android`, `mobile.ios`, `allowed_logout_urls`,
1409 `token_endpoint_auth_method`, `is_first_party`, `oidc_conformant`,
1410 `is_token_endpoint_ip_header_trusted`, `initiate_login_uri`, `grant_types`,
1411 `refresh_token`, `refresh_token.rotation_type`, `refresh_token.expiration_type`,
1412 `refresh_token.leeway`, `refresh_token.token_lifetime`, `refresh_token.policies`, `organization_usage`,
1413 `organization_require_behavior`.
1414 - The following properties can only be retrieved with the
1415 `read:client_keys` or `read:client_credentials` scope:
1416 `encryption_key`, `encryption_key.pub`, `encryption_key.cert`,
1417 `client_secret`, `client_authentication_methods` and `signing_key`.
1418 </dd>
1419 </dl>
1420 </dd>
1421 </dl>
1422
1423 #### 🔌 Usage
1424
1425 <dl>
1426 <dd>
1427
1428 <dl>
1429 <dd>
1430
1431 ```python
1432 from auth0.management import Auth0
1433 from auth0.management.environment import Auth0Environment
1434
1435 client = Auth0(
1436 token="<token>",
1437 environment=Auth0Environment.DEFAULT,
1438 )
1439
1440 client.clients.list(
1441 fields="fields",
1442 include_fields=True,
1443 page=1,
1444 per_page=1,
1445 include_totals=True,
1446 is_global=True,
1447 is_first_party=True,
1448 app_type="app_type",
1449 external_client_id="external_client_id",
1450 q="q",
1451 )
1452
1453 ```
1454 </dd>
1455 </dl>
1456 </dd>
1457 </dl>
1458
1459 #### ⚙️ Parameters
1460
1461 <dl>
1462 <dd>
1463
1464 <dl>
1465 <dd>
1466
1467 **fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.
1468
1469 </dd>
1470 </dl>
1471
1472 <dl>
1473 <dd>
1474
1475 **include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
1476
1477 </dd>
1478 </dl>
1479
1480 <dl>
1481 <dd>
1482
1483 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
1484
1485 </dd>
1486 </dl>
1487
1488 <dl>
1489 <dd>
1490
1491 **per_page:** `typing.Optional[int]` — Number of results per page. Default value is 50, maximum value is 100
1492
1493 </dd>
1494 </dl>
1495
1496 <dl>
1497 <dd>
1498
1499 **include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
1500
1501 </dd>
1502 </dl>
1503
1504 <dl>
1505 <dd>
1506
1507 **is_global:** `typing.Optional[bool]` — Optional filter on the global client parameter.
1508
1509 </dd>
1510 </dl>
1511
1512 <dl>
1513 <dd>
1514
1515 **is_first_party:** `typing.Optional[bool]` — Optional filter on whether or not a client is a first-party client.
1516
1517 </dd>
1518 </dl>
1519
1520 <dl>
1521 <dd>
1522
1523 **app_type:** `typing.Optional[str]` — Optional filter by a comma-separated list of application types.
1524
1525 </dd>
1526 </dl>
1527
1528 <dl>
1529 <dd>
1530
1531 **external_client_id:** `typing.Optional[str]` — Optional filter by the <a href="https://drafts.oauth.net/draft-ietf-oauth-client-id-metadata-document/draft-ietf-oauth-client-id-metadata-document.html">Client ID Metadata Document</a> URI for CIMD-registered clients.
1532
1533 </dd>
1534 </dl>
1535
1536 <dl>
1537 <dd>
1538
1539 **q:** `typing.Optional[str]` — Advanced Query in <a href="https://lucene.apache.org/core/2_9_4/queryparsersyntax.html">Lucene</a> syntax.<br /><b>Permitted Queries</b>:<br /><ul><li><i>client_grant.organization_id:{organization_id}</i></li><li><i>client_grant.allow_any_organization:true</i></li></ul><b>Additional Restrictions</b>:<br /><ul><li>Cannot be used in combination with other filters</li><li>Requires use of the <i>from</i> and <i>take</i> paging parameters (checkpoint paginatinon)</li><li>Reduced rate limits apply. See <a href="https://auth0.com/docs/troubleshoot/customer-support/operational-policies/rate-limit-policy/rate-limit-configurations/enterprise-public">Rate Limit Configurations</a></li></ul><i><b>Note</b>: Recent updates may not be immediately reflected in query results</i>
1540
1541 </dd>
1542 </dl>
1543
1544 <dl>
1545 <dd>
1546
1547 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1548
1549 </dd>
1550 </dl>
1551 </dd>
1552 </dl>
1553
1554
1555 </dd>
1556 </dl>
1557 </details>
1558
1559 <details><summary><code>client.clients.<a href="src/auth0.management/clients/client.py">create</a>(...) -> CreateClientResponseContent</code></summary>
1560 <dl>
1561 <dd>
1562
1563 #### 📝 Description
1564
1565 <dl>
1566 <dd>
1567
1568 <dl>
1569 <dd>
1570
1571 Create a new client (application or SSO integration). For more information, read [Create Applications](https://www.auth0.com/docs/get-started/auth0-overview/create-applications)
1572 [API Endpoints for Single Sign-On](https://www.auth0.com/docs/authenticate/single-sign-on/api-endpoints-for-single-sign-on).
1573
1574 Notes:
1575 - We recommend leaving the `client_secret` parameter unspecified to allow the generation of a safe secret.
1576 - The `client_authentication_methods` and `token_endpoint_auth_method` properties are mutually exclusive. Use
1577 `client_authentication_methods` to configure the client with Private Key JWT authentication method. Otherwise, use `token_endpoint_auth_method`
1578 to configure the client with client secret (basic or post) or with no authentication method (none).
1579 - When using `client_authentication_methods` to configure the client with Private Key JWT authentication method, specify fully defined credentials.
1580 These credentials will be automatically enabled for Private Key JWT authentication on the client.
1581 - To configure `client_authentication_methods`, the `create:client_credentials` scope is required.
1582 - To configure `client_authentication_methods`, the property `jwt_configuration.alg` must be set to RS256.
1583
1584 SSO Integrations created via this endpoint will accept login requests and share user profile information.
1585 </dd>
1586 </dl>
1587 </dd>
1588 </dl>
1589
1590 #### 🔌 Usage
1591
1592 <dl>
1593 <dd>
1594
1595 <dl>
1596 <dd>
1597
1598 ```python
1599 from auth0.management import Auth0
1600 from auth0.management.environment import Auth0Environment
1601
1602 client = Auth0(
1603 token="<token>",
1604 environment=Auth0Environment.DEFAULT,
1605 )
1606
1607 client.clients.create(
1608 name="name",
1609 )
1610
1611 ```
1612 </dd>
1613 </dl>
1614 </dd>
1615 </dl>
1616
1617 #### ⚙️ Parameters
1618
1619 <dl>
1620 <dd>
1621
1622 <dl>
1623 <dd>
1624
1625 **name:** `str` — Name of this client (min length: 1 character, does not allow `<` or `>`).
1626
1627 </dd>
1628 </dl>
1629
1630 <dl>
1631 <dd>
1632
1633 **description:** `typing.Optional[str]` — Free text description of this client (max length: 140 characters).
1634
1635 </dd>
1636 </dl>
1637
1638 <dl>
1639 <dd>
1640
1641 **logo_uri:** `typing.Optional[str]` — URL of the logo to display for this client. Recommended size is 150x150 pixels.
1642
1643 </dd>
1644 </dl>
1645
1646 <dl>
1647 <dd>
1648
1649 **callbacks:** `typing.Optional[typing.List[str]]` — Comma-separated list of URLs whitelisted for Auth0 to use as a callback to the client after authentication.
1650
1651 </dd>
1652 </dl>
1653
1654 <dl>
1655 <dd>
1656
1657 **oidc_logout:** `typing.Optional[ClientOidcBackchannelLogoutSettings]`
1658
1659 </dd>
1660 </dl>
1661
1662 <dl>
1663 <dd>
1664
1665 **oidc_backchannel_logout:** `typing.Optional[ClientOidcBackchannelLogoutSettings]` — Configuration for OIDC backchannel logout (deprecated, in favor of oidc_logout)
1666
1667 </dd>
1668 </dl>
1669
1670 <dl>
1671 <dd>
1672
1673 **session_transfer:** `typing.Optional[ClientSessionTransferConfiguration]`
1674
1675 </dd>
1676 </dl>
1677
1678 <dl>
1679 <dd>
1680
1681 **allowed_origins:** `typing.Optional[typing.List[str]]` — Comma-separated list of URLs allowed to make requests from JavaScript to Auth0 API (typically used with CORS). By default, all your callback URLs will be allowed. This field allows you to enter other origins if necessary. You can also use wildcards at the subdomain level (e.g., https://*.contoso.com). Query strings and hash information are not taken into account when validating these URLs.
1682
1683 </dd>
1684 </dl>
1685
1686 <dl>
1687 <dd>
1688
1689 **web_origins:** `typing.Optional[typing.List[str]]` — Comma-separated list of allowed origins for use with <a href='https://auth0.com/docs/cross-origin-authentication'>Cross-Origin Authentication</a>, <a href='https://auth0.com/docs/flows/concepts/device-auth'>Device Flow</a>, and <a href='https://auth0.com/docs/protocols/oauth2#how-response-mode-works'>web message response mode</a>.
1690
1691 </dd>
1692 </dl>
1693
1694 <dl>
1695 <dd>
1696
1697 **client_aliases:** `typing.Optional[typing.List[str]]` — List of audiences/realms for SAML protocol. Used by the wsfed addon.
1698
1699 </dd>
1700 </dl>
1701
1702 <dl>
1703 <dd>
1704
1705 **allowed_clients:** `typing.Optional[typing.List[str]]` — List of allow clients and API ids that are allowed to make delegation requests. Empty means all all your clients are allowed.
1706
1707 </dd>
1708 </dl>
1709
1710 <dl>
1711 <dd>
1712
1713 **allowed_logout_urls:** `typing.Optional[typing.List[str]]` — Comma-separated list of URLs that are valid to redirect to after logout from Auth0. Wildcards are allowed for subdomains.
1714
1715 </dd>
1716 </dl>
1717
1718 <dl>
1719 <dd>
1720
1721 **grant_types:** `typing.Optional[typing.List[str]]` — List of grant types supported for this application. Can include `authorization_code`, `implicit`, `refresh_token`, `client_credentials`, `password`, `http://auth0.com/oauth/grant-type/password-realm`, `http://auth0.com/oauth/grant-type/mfa-oob`, `http://auth0.com/oauth/grant-type/mfa-otp`, `http://auth0.com/oauth/grant-type/mfa-recovery-code`, `urn:openid:params:grant-type:ciba`, `urn:ietf:params:oauth:grant-type:device_code`, and `urn:auth0:params:oauth:grant-type:token-exchange:federated-connection-access-token`.
1722
1723 </dd>
1724 </dl>
1725
1726 <dl>
1727 <dd>
1728
1729 **token_endpoint_auth_method:** `typing.Optional[ClientTokenEndpointAuthMethodEnum]`
1730
1731 </dd>
1732 </dl>
1733
1734 <dl>
1735 <dd>
1736
1737 **is_token_endpoint_ip_header_trusted:** `typing.Optional[bool]` — If true, trust that the IP specified in the `auth0-forwarded-for` header is the end-user's IP for brute-force-protection on token endpoint.
1738
1739 </dd>
1740 </dl>
1741
1742 <dl>
1743 <dd>
1744
1745 **app_type:** `typing.Optional[ClientAppTypeEnum]`
1746
1747 </dd>
1748 </dl>
1749
1750 <dl>
1751 <dd>
1752
1753 **is_first_party:** `typing.Optional[bool]` — Whether this client a first party client or not
1754
1755 </dd>
1756 </dl>
1757
1758 <dl>
1759 <dd>
1760
1761 **oidc_conformant:** `typing.Optional[bool]` — Whether this client conforms to <a href='https://auth0.com/docs/api-auth/tutorials/adoption'>strict OIDC specifications</a> (true) or uses legacy features (false).
1762
1763 </dd>
1764 </dl>
1765
1766 <dl>
1767 <dd>
1768
1769 **jwt_configuration:** `typing.Optional[ClientJwtConfiguration]`
1770
1771 </dd>
1772 </dl>
1773
1774 <dl>
1775 <dd>
1776
1777 **encryption_key:** `typing.Optional[ClientEncryptionKey]`
1778
1779 </dd>
1780 </dl>
1781
1782 <dl>
1783 <dd>
1784
1785 **sso:** `typing.Optional[bool]` — Applies only to SSO clients and determines whether Auth0 will handle Single Sign On (true) or whether the Identity Provider will (false).
1786
1787 </dd>
1788 </dl>
1789
1790 <dl>
1791 <dd>
1792
1793 **cross_origin_authentication:** `typing.Optional[bool]` — Whether this client can be used to make cross-origin authentication requests (true) or it is not allowed to make such requests (false).
1794
1795 </dd>
1796 </dl>
1797
1798 <dl>
1799 <dd>
1800
1801 **cross_origin_loc:** `typing.Optional[str]` — URL of the location in your site where the cross origin verification takes place for the cross-origin auth flow when performing Auth in your own domain instead of Auth0 hosted login page.
1802
1803 </dd>
1804 </dl>
1805
1806 <dl>
1807 <dd>
1808
1809 **sso_disabled:** `typing.Optional[bool]` — <code>true</code> to disable Single Sign On, <code>false</code> otherwise (default: <code>false</code>)
1810
1811 </dd>
1812 </dl>
1813
1814 <dl>
1815 <dd>
1816
1817 **custom_login_page_on:** `typing.Optional[bool]` — <code>true</code> if the custom login page is to be used, <code>false</code> otherwise. Defaults to <code>true</code>
1818
1819 </dd>
1820 </dl>
1821
1822 <dl>
1823 <dd>
1824
1825 **custom_login_page:** `typing.Optional[str]` — The content (HTML, CSS, JS) of the custom login page.
1826
1827 </dd>
1828 </dl>
1829
1830 <dl>
1831 <dd>
1832
1833 **custom_login_page_preview:** `typing.Optional[str]` — The content (HTML, CSS, JS) of the custom login page. (Used on Previews)
1834
1835 </dd>
1836 </dl>
1837
1838 <dl>
1839 <dd>
1840
1841 **form_template:** `typing.Optional[str]` — HTML form template to be used for WS-Federation.
1842
1843 </dd>
1844 </dl>
1845
1846 <dl>
1847 <dd>
1848
1849 **addons:** `typing.Optional[ClientAddons]`
1850
1851 </dd>
1852 </dl>
1853
1854 <dl>
1855 <dd>
1856
1857 **client_metadata:** `typing.Optional[ClientMetadata]`
1858
1859 </dd>
1860 </dl>
1861
1862 <dl>
1863 <dd>
1864
1865 **mobile:** `typing.Optional[ClientMobile]`
1866
1867 </dd>
1868 </dl>
1869
1870 <dl>
1871 <dd>
1872
1873 **initiate_login_uri:** `typing.Optional[str]` — Initiate login uri, must be https
1874
1875 </dd>
1876 </dl>
1877
1878 <dl>
1879 <dd>
1880
1881 **native_social_login:** `typing.Optional[NativeSocialLogin]`
1882
1883 </dd>
1884 </dl>
1885
1886 <dl>
1887 <dd>
1888
1889 **fedcm_login:** `typing.Optional[FedCmLogin]`
1890
1891 </dd>
1892 </dl>
1893
1894 <dl>
1895 <dd>
1896
1897 **refresh_token:** `typing.Optional[ClientRefreshTokenConfiguration]`
1898
1899 </dd>
1900 </dl>
1901
1902 <dl>
1903 <dd>
1904
1905 **default_organization:** `typing.Optional[ClientDefaultOrganization]`
1906
1907 </dd>
1908 </dl>
1909
1910 <dl>
1911 <dd>
1912
1913 **organization_usage:** `typing.Optional[ClientOrganizationUsageEnum]`
1914
1915 </dd>
1916 </dl>
1917
1918 <dl>
1919 <dd>
1920
1921 **organization_require_behavior:** `typing.Optional[ClientOrganizationRequireBehaviorEnum]`
1922
1923 </dd>
1924 </dl>
1925
1926 <dl>
1927 <dd>
1928
1929 **organization_discovery_methods:** `typing.Optional[typing.List[ClientOrganizationDiscoveryEnum]]` — Defines the available methods for organization discovery during the `pre_login_prompt`. Users can discover their organization either by `email`, `organization_name` or both.
1930
1931 </dd>
1932 </dl>
1933
1934 <dl>
1935 <dd>
1936
1937 **client_authentication_methods:** `typing.Optional[ClientCreateAuthenticationMethod]`
1938
1939 </dd>
1940 </dl>
1941
1942 <dl>
1943 <dd>
1944
1945 **require_pushed_authorization_requests:** `typing.Optional[bool]` — Makes the use of Pushed Authorization Requests mandatory for this client
1946
1947 </dd>
1948 </dl>
1949
1950 <dl>
1951 <dd>
1952
1953 **require_proof_of_possession:** `typing.Optional[bool]` — Makes the use of Proof-of-Possession mandatory for this client
1954
1955 </dd>
1956 </dl>
1957
1958 <dl>
1959 <dd>
1960
1961 **signed_request_object:** `typing.Optional[ClientSignedRequestObjectWithPublicKey]`
1962
1963 </dd>
1964 </dl>
1965
1966 <dl>
1967 <dd>
1968
1969 **token_vault_privileged_access:** `typing.Optional[ClientTokenVaultPrivilegedAccessWithPublicKey]`
1970
1971 </dd>
1972 </dl>
1973
1974 <dl>
1975 <dd>
1976
1977 **compliance_level:** `typing.Optional[ClientComplianceLevelEnum]`
1978
1979 </dd>
1980 </dl>
1981
1982 <dl>
1983 <dd>
1984
1985 **skip_non_verifiable_callback_uri_confirmation_prompt:** `typing.Optional[bool]`
1986
1987 Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`).
1988 If set to true, a confirmation prompt will not be shown. We recommend that this is set to false for improved protection from malicious apps.
1989 See https://auth0.com/docs/secure/security-guidance/measures-against-app-impersonation for more information.
1990
1991 </dd>
1992 </dl>
1993
1994 <dl>
1995 <dd>
1996
1997 **token_exchange:** `typing.Optional[ClientTokenExchangeConfiguration]`
1998
1999 </dd>
2000 </dl>
2001
2002 <dl>
2003 <dd>
2004
2005 **par_request_expiry:** `typing.Optional[int]` — Specifies how long, in seconds, a Pushed Authorization Request URI remains valid
2006
2007 </dd>
2008 </dl>
2009
2010 <dl>
2011 <dd>
2012
2013 **token_quota:** `typing.Optional[CreateTokenQuota]`
2014
2015 </dd>
2016 </dl>
2017
2018 <dl>
2019 <dd>
2020
2021 **resource_server_identifier:** `typing.Optional[str]` — The identifier of the resource server that this client is linked to.
2022
2023 </dd>
2024 </dl>
2025
2026 <dl>
2027 <dd>
2028
2029 **identity_assertion_authorization_grant:** `typing.Optional[CreateIdentityAssertionAuthorizationGrant]`
2030
2031 </dd>
2032 </dl>
2033
2034 <dl>
2035 <dd>
2036
2037 **third_party_security_mode:** `typing.Optional[ClientThirdPartySecurityModeEnum]`
2038
2039 </dd>
2040 </dl>
2041
2042 <dl>
2043 <dd>
2044
2045 **redirection_policy:** `typing.Optional[ClientRedirectionPolicyEnum]`
2046
2047 </dd>
2048 </dl>
2049
2050 <dl>
2051 <dd>
2052
2053 **express_configuration:** `typing.Optional[ExpressConfiguration]`
2054
2055 </dd>
2056 </dl>
2057
2058 <dl>
2059 <dd>
2060
2061 **my_organization_configuration:** `typing.Optional[ClientMyOrganizationPostConfiguration]`
2062
2063 </dd>
2064 </dl>
2065
2066 <dl>
2067 <dd>
2068
2069 **async_approval_notification_channels:** `typing.Optional[ClientAsyncApprovalNotificationsChannelsApiPostConfiguration]`
2070
2071 </dd>
2072 </dl>
2073
2074 <dl>
2075 <dd>
2076
2077 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2078
2079 </dd>
2080 </dl>
2081 </dd>
2082 </dl>
2083
2084
2085 </dd>
2086 </dl>
2087 </details>
2088
2089 <details><summary><code>client.clients.<a href="src/auth0.management/clients/client.py">preview_cimd_metadata</a>(...) -> PreviewCimdMetadataResponseContent</code></summary>
2090 <dl>
2091 <dd>
2092
2093 #### 📝 Description
2094
2095 <dl>
2096 <dd>
2097
2098 <dl>
2099 <dd>
2100
2101
2102 Fetches and validates a Client ID Metadata Document without creating a client.
2103 Returns the raw metadata and how it would be mapped to Auth0 client fields.
2104 This endpoint is useful for testing metadata URIs before creating CIMD clients.
2105
2106 </dd>
2107 </dl>
2108 </dd>
2109 </dl>
2110
2111 #### 🔌 Usage
2112
2113 <dl>
2114 <dd>
2115
2116 <dl>
2117 <dd>
2118
2119 ```python
2120 from auth0.management import Auth0
2121 from auth0.management.environment import Auth0Environment
2122
2123 client = Auth0(
2124 token="<token>",
2125 environment=Auth0Environment.DEFAULT,
2126 )
2127
2128 client.clients.preview_cimd_metadata(
2129 external_client_id="external_client_id",
2130 )
2131
2132 ```
2133 </dd>
2134 </dl>
2135 </dd>
2136 </dl>
2137
2138 #### ⚙️ Parameters
2139
2140 <dl>
2141 <dd>
2142
2143 <dl>
2144 <dd>
2145
2146 **external_client_id:** `str` — URL to the Client ID Metadata Document
2147
2148 </dd>
2149 </dl>
2150
2151 <dl>
2152 <dd>
2153
2154 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2155
2156 </dd>
2157 </dl>
2158 </dd>
2159 </dl>
2160
2161
2162 </dd>
2163 </dl>
2164 </details>
2165
2166 <details><summary><code>client.clients.<a href="src/auth0.management/clients/client.py">register_cimd_client</a>(...) -> RegisterCimdClientResponseContent</code></summary>
2167 <dl>
2168 <dd>
2169
2170 #### 📝 Description
2171
2172 <dl>
2173 <dd>
2174
2175 <dl>
2176 <dd>
2177
2178 Idempotent registration for Client ID Metadata Document (CIMD) clients.
2179 Uses external_client_id as the unique identifier for upsert operations.
2180
2181 **Create:** Returns 201 when a new client is created (requires `create:clients` scope).
2182 **Update:** Returns 200 when an existing client is updated (requires `update:clients` scope).
2183
2184 This endpoint automatically:
2185 - Fetches and validates the metadata document
2186 - Maps CIMD fields to Auth0 client configuration
2187 - Creates/rotates credentials from the JWKS
2188 - Enforces CIMD security policies (HTTPS-only, no shared secrets)
2189 </dd>
2190 </dl>
2191 </dd>
2192 </dl>
2193
2194 #### 🔌 Usage
2195
2196 <dl>
2197 <dd>
2198
2199 <dl>
2200 <dd>
2201
2202 ```python
2203 from auth0.management import Auth0
2204 from auth0.management.environment import Auth0Environment
2205
2206 client = Auth0(
2207 token="<token>",
2208 environment=Auth0Environment.DEFAULT,
2209 )
2210
2211 client.clients.register_cimd_client(
2212 external_client_id="external_client_id",
2213 )
2214
2215 ```
2216 </dd>
2217 </dl>
2218 </dd>
2219 </dl>
2220
2221 #### ⚙️ Parameters
2222
2223 <dl>
2224 <dd>
2225
2226 <dl>
2227 <dd>
2228
2229 **external_client_id:** `str` — URL to the Client ID Metadata Document. Acts as the unique identifier for upsert operations.
2230
2231 </dd>
2232 </dl>
2233
2234 <dl>
2235 <dd>
2236
2237 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2238
2239 </dd>
2240 </dl>
2241 </dd>
2242 </dl>
2243
2244
2245 </dd>
2246 </dl>
2247 </details>
2248
2249 <details><summary><code>client.clients.<a href="src/auth0.management/clients/client.py">get</a>(...) -> GetClientResponseContent</code></summary>
2250 <dl>
2251 <dd>
2252
2253 #### 📝 Description
2254
2255 <dl>
2256 <dd>
2257
2258 <dl>
2259 <dd>
2260
2261 Retrieve client details by ID. Clients are SSO connections or Applications linked with your Auth0 tenant. A list of fields to include or exclude may also be specified.
2262 For more information, read [Applications in Auth0](https://www.auth0.com/docs/get-started/applications) and [Single Sign-On](https://www.auth0.com/docs/authenticate/single-sign-on).
2263
2264 - The following properties can be retrieved with any of the scopes:
2265 `client_id`, `app_type`, `name`, and `description`.
2266 - The following properties can only be retrieved with the `read:clients` or
2267 `read:client_keys` scopes:
2268 `callbacks`, `oidc_logout`, `allowed_origins`,
2269 `web_origins`, `tenant`, `global`, `config_route`,
2270 `callback_url_template`, `jwt_configuration`,
2271 `jwt_configuration.lifetime_in_seconds`, `jwt_configuration.secret_encoded`,
2272 `jwt_configuration.scopes`, `jwt_configuration.alg`, `api_type`,
2273 `logo_uri`, `allowed_clients`, `owners`, `custom_login_page`,
2274 `custom_login_page_off`, `sso`, `addons`, `form_template`,
2275 `custom_login_page_codeview`, `resource_servers`, `client_metadata`,
2276 `mobile`, `mobile.android`, `mobile.ios`, `allowed_logout_urls`,
2277 `token_endpoint_auth_method`, `is_first_party`, `oidc_conformant`,
2278 `is_token_endpoint_ip_header_trusted`, `initiate_login_uri`, `grant_types`,
2279 `refresh_token`, `refresh_token.rotation_type`, `refresh_token.expiration_type`,
2280 `refresh_token.leeway`, `refresh_token.token_lifetime`, `refresh_token.policies`, `organization_usage`,
2281 `organization_require_behavior`.
2282 - The following properties can only be retrieved with the `read:client_keys` or `read:client_credentials` scopes:
2283 `encryption_key`, `encryption_key.pub`, `encryption_key.cert`,
2284 `client_secret`, `client_authentication_methods` and `signing_key`.
2285 </dd>
2286 </dl>
2287 </dd>
2288 </dl>
2289
2290 #### 🔌 Usage
2291
2292 <dl>
2293 <dd>
2294
2295 <dl>
2296 <dd>
2297
2298 ```python
2299 from auth0.management import Auth0
2300 from auth0.management.environment import Auth0Environment
2301
2302 client = Auth0(
2303 token="<token>",
2304 environment=Auth0Environment.DEFAULT,
2305 )
2306
2307 client.clients.get(
2308 id="id",
2309 fields="fields",
2310 include_fields=True,
2311 )
2312
2313 ```
2314 </dd>
2315 </dl>
2316 </dd>
2317 </dl>
2318
2319 #### ⚙️ Parameters
2320
2321 <dl>
2322 <dd>
2323
2324 <dl>
2325 <dd>
2326
2327 **id:** `str` — ID of the client to retrieve.
2328
2329 </dd>
2330 </dl>
2331
2332 <dl>
2333 <dd>
2334
2335 **fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.
2336
2337 </dd>
2338 </dl>
2339
2340 <dl>
2341 <dd>
2342
2343 **include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
2344
2345 </dd>
2346 </dl>
2347
2348 <dl>
2349 <dd>
2350
2351 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2352
2353 </dd>
2354 </dl>
2355 </dd>
2356 </dl>
2357
2358
2359 </dd>
2360 </dl>
2361 </details>
2362
2363 <details><summary><code>client.clients.<a href="src/auth0.management/clients/client.py">delete</a>(...)</code></summary>
2364 <dl>
2365 <dd>
2366
2367 #### 📝 Description
2368
2369 <dl>
2370 <dd>
2371
2372 <dl>
2373 <dd>
2374
2375 Delete a client and related configuration (rules, connections, etc).
2376 </dd>
2377 </dl>
2378 </dd>
2379 </dl>
2380
2381 #### 🔌 Usage
2382
2383 <dl>
2384 <dd>
2385
2386 <dl>
2387 <dd>
2388
2389 ```python
2390 from auth0.management import Auth0
2391 from auth0.management.environment import Auth0Environment
2392
2393 client = Auth0(
2394 token="<token>",
2395 environment=Auth0Environment.DEFAULT,
2396 )
2397
2398 client.clients.delete(
2399 id="id",
2400 )
2401
2402 ```
2403 </dd>
2404 </dl>
2405 </dd>
2406 </dl>
2407
2408 #### ⚙️ Parameters
2409
2410 <dl>
2411 <dd>
2412
2413 <dl>
2414 <dd>
2415
2416 **id:** `str` — ID of the client to delete.
2417
2418 </dd>
2419 </dl>
2420
2421 <dl>
2422 <dd>
2423
2424 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2425
2426 </dd>
2427 </dl>
2428 </dd>
2429 </dl>
2430
2431
2432 </dd>
2433 </dl>
2434 </details>
2435
2436 <details><summary><code>client.clients.<a href="src/auth0.management/clients/client.py">update</a>(...) -> UpdateClientResponseContent</code></summary>
2437 <dl>
2438 <dd>
2439
2440 #### 📝 Description
2441
2442 <dl>
2443 <dd>
2444
2445 <dl>
2446 <dd>
2447
2448 Updates a client's settings. For more information, read [Applications in Auth0](https://www.auth0.com/docs/get-started/applications) and [Single Sign-On](https://www.auth0.com/docs/authenticate/single-sign-on).
2449
2450 Notes:
2451 - The `client_secret` and `signing_key` attributes can only be updated with the `update:client_keys` scope.
2452 - The `client_authentication_methods` and `token_endpoint_auth_method` properties are mutually exclusive. Use `client_authentication_methods` to configure the client with Private Key JWT authentication method. Otherwise, use `token_endpoint_auth_method` to configure the client with client secret (basic or post) or with no authentication method (none).
2453 - When using `client_authentication_methods` to configure the client with Private Key JWT authentication method, only specify the credential IDs that were generated when creating the credentials on the client.
2454 - To configure `client_authentication_methods`, the `update:client_credentials` scope is required.
2455 - To configure `client_authentication_methods`, the property `jwt_configuration.alg` must be set to RS256.
2456 - To change a client's `is_first_party` property to `false`, the `organization_usage` and `organization_require_behavior` properties must be unset.
2457 </dd>
2458 </dl>
2459 </dd>
2460 </dl>
2461
2462 #### 🔌 Usage
2463
2464 <dl>
2465 <dd>
2466
2467 <dl>
2468 <dd>
2469
2470 ```python
2471 from auth0.management import Auth0
2472 from auth0.management.environment import Auth0Environment
2473
2474 client = Auth0(
2475 token="<token>",
2476 environment=Auth0Environment.DEFAULT,
2477 )
2478
2479 client.clients.update(
2480 id="id",
2481 )
2482
2483 ```
2484 </dd>
2485 </dl>
2486 </dd>
2487 </dl>
2488
2489 #### ⚙️ Parameters
2490
2491 <dl>
2492 <dd>
2493
2494 <dl>
2495 <dd>
2496
2497 **id:** `str` — ID of the client to update.
2498
2499 </dd>
2500 </dl>
2501
2502 <dl>
2503 <dd>
2504
2505 **name:** `typing.Optional[str]` — The name of the client. Must contain at least one character. Does not allow '<' or '>'.
2506
2507 </dd>
2508 </dl>
2509
2510 <dl>
2511 <dd>
2512
2513 **description:** `typing.Optional[str]` — Free text description of the purpose of the Client. (Max character length: <code>140</code>)
2514
2515 </dd>
2516 </dl>
2517
2518 <dl>
2519 <dd>
2520
2521 **client_secret:** `typing.Optional[str]` — The secret used to sign tokens for the client
2522
2523 </dd>
2524 </dl>
2525
2526 <dl>
2527 <dd>
2528
2529 **logo_uri:** `typing.Optional[str]` — The URL of the client logo (recommended size: 150x150)
2530
2531 </dd>
2532 </dl>
2533
2534 <dl>
2535 <dd>
2536
2537 **callbacks:** `typing.Optional[typing.List[str]]` — A set of URLs that are valid to call back from Auth0 when authenticating users
2538
2539 </dd>
2540 </dl>
2541
2542 <dl>
2543 <dd>
2544
2545 **oidc_logout:** `typing.Optional[ClientOidcBackchannelLogoutSettings]`
2546
2547 </dd>
2548 </dl>
2549
2550 <dl>
2551 <dd>
2552
2553 **oidc_backchannel_logout:** `typing.Optional[ClientOidcBackchannelLogoutSettings]` — Configuration for OIDC backchannel logout (deprecated, in favor of oidc_logout)
2554
2555 </dd>
2556 </dl>
2557
2558 <dl>
2559 <dd>
2560
2561 **session_transfer:** `typing.Optional[ClientSessionTransferConfiguration]`
2562
2563 </dd>
2564 </dl>
2565
2566 <dl>
2567 <dd>
2568
2569 **allowed_origins:** `typing.Optional[typing.List[str]]` — A set of URLs that represents valid origins for CORS
2570
2571 </dd>
2572 </dl>
2573
2574 <dl>
2575 <dd>
2576
2577 **web_origins:** `typing.Optional[typing.List[str]]` — A set of URLs that represents valid web origins for use with web message response mode
2578
2579 </dd>
2580 </dl>
2581
2582 <dl>
2583 <dd>
2584
2585 **grant_types:** `typing.Optional[typing.List[str]]` — A set of grant types that the client is authorized to use. Can include `authorization_code`, `implicit`, `refresh_token`, `client_credentials`, `password`, `http://auth0.com/oauth/grant-type/password-realm`, `http://auth0.com/oauth/grant-type/mfa-oob`, `http://auth0.com/oauth/grant-type/mfa-otp`, `http://auth0.com/oauth/grant-type/mfa-recovery-code`, `urn:openid:params:grant-type:ciba`, `urn:ietf:params:oauth:grant-type:device_code`, and `urn:auth0:params:oauth:grant-type:token-exchange:federated-connection-access-token`.
2586
2587 </dd>
2588 </dl>
2589
2590 <dl>
2591 <dd>
2592
2593 **client_aliases:** `typing.Optional[typing.List[str]]` — List of audiences for SAML protocol
2594
2595 </dd>
2596 </dl>
2597
2598 <dl>
2599 <dd>
2600
2601 **allowed_clients:** `typing.Optional[typing.List[str]]` — Ids of clients that will be allowed to perform delegation requests. Clients that will be allowed to make delegation request. By default, all your clients will be allowed. This field allows you to specify specific clients
2602
2603 </dd>
2604 </dl>
2605
2606 <dl>
2607 <dd>
2608
2609 **allowed_logout_urls:** `typing.Optional[typing.List[str]]` — URLs that are valid to redirect to after logout from Auth0
2610
2611 </dd>
2612 </dl>
2613
2614 <dl>
2615 <dd>
2616
2617 **jwt_configuration:** `typing.Optional[ClientJwtConfiguration]` — An object that holds settings related to how JWTs are created
2618
2619 </dd>
2620 </dl>
2621
2622 <dl>
2623 <dd>
2624
2625 **encryption_key:** `typing.Optional[ClientEncryptionKey]` — The client's encryption key
2626
2627 </dd>
2628 </dl>
2629
2630 <dl>
2631 <dd>
2632
2633 **sso:** `typing.Optional[bool]` — <code>true</code> to use Auth0 instead of the IdP to do Single Sign On, <code>false</code> otherwise (default: <code>false</code>)
2634
2635 </dd>
2636 </dl>
2637
2638 <dl>
2639 <dd>
2640
2641 **cross_origin_authentication:** `typing.Optional[bool]` — <code>true</code> if this client can be used to make cross-origin authentication requests, <code>false</code> otherwise if cross origin is disabled
2642
2643 </dd>
2644 </dl>
2645
2646 <dl>
2647 <dd>
2648
2649 **cross_origin_loc:** `typing.Optional[str]` — URL for the location in your site where the cross origin verification takes place for the cross-origin auth flow when performing Auth in your own domain instead of Auth0 hosted login page.
2650
2651 </dd>
2652 </dl>
2653
2654 <dl>
2655 <dd>
2656
2657 **sso_disabled:** `typing.Optional[bool]` — <code>true</code> to disable Single Sign On, <code>false</code> otherwise (default: <code>false</code>)
2658
2659 </dd>
2660 </dl>
2661
2662 <dl>
2663 <dd>
2664
2665 **custom_login_page_on:** `typing.Optional[bool]` — <code>true</code> if the custom login page is to be used, <code>false</code> otherwise.
2666
2667 </dd>
2668 </dl>
2669
2670 <dl>
2671 <dd>
2672
2673 **token_endpoint_auth_method:** `typing.Optional[ClientTokenEndpointAuthMethodOrNullEnum]`
2674
2675 </dd>
2676 </dl>
2677
2678 <dl>
2679 <dd>
2680
2681 **is_token_endpoint_ip_header_trusted:** `typing.Optional[bool]` — If true, trust that the IP specified in the `auth0-forwarded-for` header is the end-user's IP for brute-force-protection on token endpoint.
2682
2683 </dd>
2684 </dl>
2685
2686 <dl>
2687 <dd>
2688
2689 **app_type:** `typing.Optional[ClientAppTypeEnum]`
2690
2691 </dd>
2692 </dl>
2693
2694 <dl>
2695 <dd>
2696
2697 **is_first_party:** `typing.Optional[bool]` — Whether this client a first party client or not
2698
2699 </dd>
2700 </dl>
2701
2702 <dl>
2703 <dd>
2704
2705 **oidc_conformant:** `typing.Optional[bool]` — Whether this client will conform to strict OIDC specifications
2706
2707 </dd>
2708 </dl>
2709
2710 <dl>
2711 <dd>
2712
2713 **custom_login_page:** `typing.Optional[str]` — The content (HTML, CSS, JS) of the custom login page
2714
2715 </dd>
2716 </dl>
2717
2718 <dl>
2719 <dd>
2720
2721 **custom_login_page_preview:** `typing.Optional[str]`
2722
2723 </dd>
2724 </dl>
2725
2726 <dl>
2727 <dd>
2728
2729 **token_quota:** `typing.Optional[UpdateTokenQuota]`
2730
2731 </dd>
2732 </dl>
2733
2734 <dl>
2735 <dd>
2736
2737 **identity_assertion_authorization_grant:** `typing.Optional[UpdateIdentityAssertionAuthorizationGrant]`
2738
2739 </dd>
2740 </dl>
2741
2742 <dl>
2743 <dd>
2744
2745 **form_template:** `typing.Optional[str]` — Form template for WS-Federation protocol
2746
2747 </dd>
2748 </dl>
2749
2750 <dl>
2751 <dd>
2752
2753 **addons:** `typing.Optional[ClientAddons]`
2754
2755 </dd>
2756 </dl>
2757
2758 <dl>
2759 <dd>
2760
2761 **client_metadata:** `typing.Optional[ClientMetadata]`
2762
2763 </dd>
2764 </dl>
2765
2766 <dl>
2767 <dd>
2768
2769 **mobile:** `typing.Optional[ClientMobile]` — Configuration related to native mobile apps
2770
2771 </dd>
2772 </dl>
2773
2774 <dl>
2775 <dd>
2776
2777 **initiate_login_uri:** `typing.Optional[str]` — Initiate login uri, must be https
2778
2779 </dd>
2780 </dl>
2781
2782 <dl>
2783 <dd>
2784
2785 **native_social_login:** `typing.Optional[NativeSocialLoginPatch]`
2786
2787 </dd>
2788 </dl>
2789
2790 <dl>
2791 <dd>
2792
2793 **fedcm_login:** `typing.Optional[FedCmLoginPatch]`
2794
2795 </dd>
2796 </dl>
2797
2798 <dl>
2799 <dd>
2800
2801 **refresh_token:** `typing.Optional[ClientRefreshTokenConfiguration]`
2802
2803 </dd>
2804 </dl>
2805
2806 <dl>
2807 <dd>
2808
2809 **default_organization:** `typing.Optional[ClientDefaultOrganization]`
2810
2811 </dd>
2812 </dl>
2813
2814 <dl>
2815 <dd>
2816
2817 **organization_usage:** `typing.Optional[ClientOrganizationUsagePatchEnum]`
2818
2819 </dd>
2820 </dl>
2821
2822 <dl>
2823 <dd>
2824
2825 **organization_require_behavior:** `typing.Optional[ClientOrganizationRequireBehaviorPatchEnum]`
2826
2827 </dd>
2828 </dl>
2829
2830 <dl>
2831 <dd>
2832
2833 **organization_discovery_methods:** `typing.Optional[typing.List[ClientOrganizationDiscoveryEnum]]` — Defines the available methods for organization discovery during the `pre_login_prompt`. Users can discover their organization either by `email`, `organization_name` or both.
2834
2835 </dd>
2836 </dl>
2837
2838 <dl>
2839 <dd>
2840
2841 **client_authentication_methods:** `typing.Optional[ClientAuthenticationMethod]`
2842
2843 </dd>
2844 </dl>
2845
2846 <dl>
2847 <dd>
2848
2849 **require_pushed_authorization_requests:** `typing.Optional[bool]` — Makes the use of Pushed Authorization Requests mandatory for this client
2850
2851 </dd>
2852 </dl>
2853
2854 <dl>
2855 <dd>
2856
2857 **require_proof_of_possession:** `typing.Optional[bool]` — Makes the use of Proof-of-Possession mandatory for this client
2858
2859 </dd>
2860 </dl>
2861
2862 <dl>
2863 <dd>
2864
2865 **signed_request_object:** `typing.Optional[ClientSignedRequestObjectWithCredentialId]`
2866
2867 </dd>
2868 </dl>
2869
2870 <dl>
2871 <dd>
2872
2873 **token_vault_privileged_access:** `typing.Optional[ClientTokenVaultPrivilegedAccessWithCredentialId]`
2874
2875 </dd>
2876 </dl>
2877
2878 <dl>
2879 <dd>
2880
2881 **compliance_level:** `typing.Optional[ClientComplianceLevelEnum]`
2882
2883 </dd>
2884 </dl>
2885
2886 <dl>
2887 <dd>
2888
2889 **skip_non_verifiable_callback_uri_confirmation_prompt:** `typing.Optional[bool]`
2890
2891 Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`).
2892 If set to true, a confirmation prompt will not be shown. We recommend that this is set to false for improved protection from malicious apps.
2893 See https://auth0.com/docs/secure/security-guidance/measures-against-app-impersonation for more information.
2894
2895 </dd>
2896 </dl>
2897
2898 <dl>
2899 <dd>
2900
2901 **token_exchange:** `typing.Optional[ClientTokenExchangeConfigurationOrNull]`
2902
2903 </dd>
2904 </dl>
2905
2906 <dl>
2907 <dd>
2908
2909 **par_request_expiry:** `typing.Optional[int]` — Specifies how long, in seconds, a Pushed Authorization Request URI remains valid
2910
2911 </dd>
2912 </dl>
2913
2914 <dl>
2915 <dd>
2916
2917 **express_configuration:** `typing.Optional[ExpressConfigurationOrNull]`
2918
2919 </dd>
2920 </dl>
2921
2922 <dl>
2923 <dd>
2924
2925 **my_organization_configuration:** `typing.Optional[ClientMyOrganizationPatchConfiguration]`
2926
2927 </dd>
2928 </dl>
2929
2930 <dl>
2931 <dd>
2932
2933 **async_approval_notification_channels:** `typing.Optional[ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration]`
2934
2935 </dd>
2936 </dl>
2937
2938 <dl>
2939 <dd>
2940
2941 **third_party_security_mode:** `typing.Optional[ClientThirdPartySecurityModeEnum]`
2942
2943 </dd>
2944 </dl>
2945
2946 <dl>
2947 <dd>
2948
2949 **redirection_policy:** `typing.Optional[ClientRedirectionPolicyEnum]`
2950
2951 </dd>
2952 </dl>
2953
2954 <dl>
2955 <dd>
2956
2957 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2958
2959 </dd>
2960 </dl>
2961 </dd>
2962 </dl>
2963
2964
2965 </dd>
2966 </dl>
2967 </details>
2968
2969 <details><summary><code>client.clients.<a href="src/auth0.management/clients/client.py">rotate_secret</a>(...) -> RotateClientSecretResponseContent</code></summary>
2970 <dl>
2971 <dd>
2972
2973 #### 📝 Description
2974
2975 <dl>
2976 <dd>
2977
2978 <dl>
2979 <dd>
2980
2981 Rotate a client secret.
2982
2983 This endpoint cannot be used with clients configured with Private Key JWT authentication method (client_authentication_methods configured with private_key_jwt). The generated secret is NOT base64 encoded.
2984
2985 For more information, read [Rotate Client Secrets](https://www.auth0.com/docs/get-started/applications/rotate-client-secret).
2986 </dd>
2987 </dl>
2988 </dd>
2989 </dl>
2990
2991 #### 🔌 Usage
2992
2993 <dl>
2994 <dd>
2995
2996 <dl>
2997 <dd>
2998
2999 ```python
3000 from auth0.management import Auth0
3001 from auth0.management.environment import Auth0Environment
3002
3003 client = Auth0(
3004 token="<token>",
3005 environment=Auth0Environment.DEFAULT,
3006 )
3007
3008 client.clients.rotate_secret(
3009 id="id",
3010 )
3011
3012 ```
3013 </dd>
3014 </dl>
3015 </dd>
3016 </dl>
3017
3018 #### ⚙️ Parameters
3019
3020 <dl>
3021 <dd>
3022
3023 <dl>
3024 <dd>
3025
3026 **id:** `str` — ID of the client that will rotate secrets.
3027
3028 </dd>
3029 </dl>
3030
3031 <dl>
3032 <dd>
3033
3034 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3035
3036 </dd>
3037 </dl>
3038 </dd>
3039 </dl>
3040
3041
3042 </dd>
3043 </dl>
3044 </details>
3045
3046 ## ConnectionProfiles
3047 <details><summary><code>client.connection_profiles.<a href="src/auth0.management/connection_profiles/client.py">list</a>(...) -> ListConnectionProfilesPaginatedResponseContent</code></summary>
3048 <dl>
3049 <dd>
3050
3051 #### 📝 Description
3052
3053 <dl>
3054 <dd>
3055
3056 <dl>
3057 <dd>
3058
3059 Retrieve a list of Connection Profiles. This endpoint supports Checkpoint pagination.
3060 </dd>
3061 </dl>
3062 </dd>
3063 </dl>
3064
3065 #### 🔌 Usage
3066
3067 <dl>
3068 <dd>
3069
3070 <dl>
3071 <dd>
3072
3073 ```python
3074 from auth0.management import Auth0
3075 from auth0.management.environment import Auth0Environment
3076
3077 client = Auth0(
3078 token="<token>",
3079 environment=Auth0Environment.DEFAULT,
3080 )
3081
3082 client.connection_profiles.list(
3083 from_="from",
3084 take=1,
3085 )
3086
3087 ```
3088 </dd>
3089 </dl>
3090 </dd>
3091 </dl>
3092
3093 #### ⚙️ Parameters
3094
3095 <dl>
3096 <dd>
3097
3098 <dl>
3099 <dd>
3100
3101 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
3102
3103 </dd>
3104 </dl>
3105
3106 <dl>
3107 <dd>
3108
3109 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 5.
3110
3111 </dd>
3112 </dl>
3113
3114 <dl>
3115 <dd>
3116
3117 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3118
3119 </dd>
3120 </dl>
3121 </dd>
3122 </dl>
3123
3124
3125 </dd>
3126 </dl>
3127 </details>
3128
3129 <details><summary><code>client.connection_profiles.<a href="src/auth0.management/connection_profiles/client.py">create</a>(...) -> CreateConnectionProfileResponseContent</code></summary>
3130 <dl>
3131 <dd>
3132
3133 #### 📝 Description
3134
3135 <dl>
3136 <dd>
3137
3138 <dl>
3139 <dd>
3140
3141 Create a Connection Profile.
3142 </dd>
3143 </dl>
3144 </dd>
3145 </dl>
3146
3147 #### 🔌 Usage
3148
3149 <dl>
3150 <dd>
3151
3152 <dl>
3153 <dd>
3154
3155 ```python
3156 from auth0.management import Auth0
3157 from auth0.management.environment import Auth0Environment
3158
3159 client = Auth0(
3160 token="<token>",
3161 environment=Auth0Environment.DEFAULT,
3162 )
3163
3164 client.connection_profiles.create(
3165 name="name",
3166 )
3167
3168 ```
3169 </dd>
3170 </dl>
3171 </dd>
3172 </dl>
3173
3174 #### ⚙️ Parameters
3175
3176 <dl>
3177 <dd>
3178
3179 <dl>
3180 <dd>
3181
3182 **name:** `ConnectionProfileName`
3183
3184 </dd>
3185 </dl>
3186
3187 <dl>
3188 <dd>
3189
3190 **organization:** `typing.Optional[ConnectionProfileOrganization]`
3191
3192 </dd>
3193 </dl>
3194
3195 <dl>
3196 <dd>
3197
3198 **connection_name_prefix_template:** `typing.Optional[ConnectionNamePrefixTemplate]`
3199
3200 </dd>
3201 </dl>
3202
3203 <dl>
3204 <dd>
3205
3206 **enabled_features:** `typing.Optional[ConnectionProfileEnabledFeatures]`
3207
3208 </dd>
3209 </dl>
3210
3211 <dl>
3212 <dd>
3213
3214 **connection_config:** `typing.Optional[ConnectionProfileConfig]`
3215
3216 </dd>
3217 </dl>
3218
3219 <dl>
3220 <dd>
3221
3222 **strategy_overrides:** `typing.Optional[ConnectionProfileStrategyOverrides]`
3223
3224 </dd>
3225 </dl>
3226
3227 <dl>
3228 <dd>
3229
3230 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3231
3232 </dd>
3233 </dl>
3234 </dd>
3235 </dl>
3236
3237
3238 </dd>
3239 </dl>
3240 </details>
3241
3242 <details><summary><code>client.connection_profiles.<a href="src/auth0.management/connection_profiles/client.py">list_templates</a>() -> ListConnectionProfileTemplateResponseContent</code></summary>
3243 <dl>
3244 <dd>
3245
3246 #### 📝 Description
3247
3248 <dl>
3249 <dd>
3250
3251 <dl>
3252 <dd>
3253
3254 Retrieve a list of Connection Profile Templates.
3255 </dd>
3256 </dl>
3257 </dd>
3258 </dl>
3259
3260 #### 🔌 Usage
3261
3262 <dl>
3263 <dd>
3264
3265 <dl>
3266 <dd>
3267
3268 ```python
3269 from auth0.management import Auth0
3270 from auth0.management.environment import Auth0Environment
3271
3272 client = Auth0(
3273 token="<token>",
3274 environment=Auth0Environment.DEFAULT,
3275 )
3276
3277 client.connection_profiles.list_templates()
3278
3279 ```
3280 </dd>
3281 </dl>
3282 </dd>
3283 </dl>
3284
3285 #### ⚙️ Parameters
3286
3287 <dl>
3288 <dd>
3289
3290 <dl>
3291 <dd>
3292
3293 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3294
3295 </dd>
3296 </dl>
3297 </dd>
3298 </dl>
3299
3300
3301 </dd>
3302 </dl>
3303 </details>
3304
3305 <details><summary><code>client.connection_profiles.<a href="src/auth0.management/connection_profiles/client.py">get_template</a>(...) -> GetConnectionProfileTemplateResponseContent</code></summary>
3306 <dl>
3307 <dd>
3308
3309 #### 📝 Description
3310
3311 <dl>
3312 <dd>
3313
3314 <dl>
3315 <dd>
3316
3317 Retrieve a Connection Profile Template.
3318 </dd>
3319 </dl>
3320 </dd>
3321 </dl>
3322
3323 #### 🔌 Usage
3324
3325 <dl>
3326 <dd>
3327
3328 <dl>
3329 <dd>
3330
3331 ```python
3332 from auth0.management import Auth0
3333 from auth0.management.environment import Auth0Environment
3334
3335 client = Auth0(
3336 token="<token>",
3337 environment=Auth0Environment.DEFAULT,
3338 )
3339
3340 client.connection_profiles.get_template(
3341 id="id",
3342 )
3343
3344 ```
3345 </dd>
3346 </dl>
3347 </dd>
3348 </dl>
3349
3350 #### ⚙️ Parameters
3351
3352 <dl>
3353 <dd>
3354
3355 <dl>
3356 <dd>
3357
3358 **id:** `str` — ID of the connection-profile-template to retrieve.
3359
3360 </dd>
3361 </dl>
3362
3363 <dl>
3364 <dd>
3365
3366 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3367
3368 </dd>
3369 </dl>
3370 </dd>
3371 </dl>
3372
3373
3374 </dd>
3375 </dl>
3376 </details>
3377
3378 <details><summary><code>client.connection_profiles.<a href="src/auth0.management/connection_profiles/client.py">get</a>(...) -> GetConnectionProfileResponseContent</code></summary>
3379 <dl>
3380 <dd>
3381
3382 #### 📝 Description
3383
3384 <dl>
3385 <dd>
3386
3387 <dl>
3388 <dd>
3389
3390 Retrieve details about a single Connection Profile specified by ID.
3391 </dd>
3392 </dl>
3393 </dd>
3394 </dl>
3395
3396 #### 🔌 Usage
3397
3398 <dl>
3399 <dd>
3400
3401 <dl>
3402 <dd>
3403
3404 ```python
3405 from auth0.management import Auth0
3406 from auth0.management.environment import Auth0Environment
3407
3408 client = Auth0(
3409 token="<token>",
3410 environment=Auth0Environment.DEFAULT,
3411 )
3412
3413 client.connection_profiles.get(
3414 id="id",
3415 )
3416
3417 ```
3418 </dd>
3419 </dl>
3420 </dd>
3421 </dl>
3422
3423 #### ⚙️ Parameters
3424
3425 <dl>
3426 <dd>
3427
3428 <dl>
3429 <dd>
3430
3431 **id:** `str` — ID of the connection-profile to retrieve.
3432
3433 </dd>
3434 </dl>
3435
3436 <dl>
3437 <dd>
3438
3439 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3440
3441 </dd>
3442 </dl>
3443 </dd>
3444 </dl>
3445
3446
3447 </dd>
3448 </dl>
3449 </details>
3450
3451 <details><summary><code>client.connection_profiles.<a href="src/auth0.management/connection_profiles/client.py">delete</a>(...)</code></summary>
3452 <dl>
3453 <dd>
3454
3455 #### 📝 Description
3456
3457 <dl>
3458 <dd>
3459
3460 <dl>
3461 <dd>
3462
3463 Delete a single Connection Profile specified by ID.
3464 </dd>
3465 </dl>
3466 </dd>
3467 </dl>
3468
3469 #### 🔌 Usage
3470
3471 <dl>
3472 <dd>
3473
3474 <dl>
3475 <dd>
3476
3477 ```python
3478 from auth0.management import Auth0
3479 from auth0.management.environment import Auth0Environment
3480
3481 client = Auth0(
3482 token="<token>",
3483 environment=Auth0Environment.DEFAULT,
3484 )
3485
3486 client.connection_profiles.delete(
3487 id="id",
3488 )
3489
3490 ```
3491 </dd>
3492 </dl>
3493 </dd>
3494 </dl>
3495
3496 #### ⚙️ Parameters
3497
3498 <dl>
3499 <dd>
3500
3501 <dl>
3502 <dd>
3503
3504 **id:** `str` — ID of the connection-profile to delete.
3505
3506 </dd>
3507 </dl>
3508
3509 <dl>
3510 <dd>
3511
3512 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3513
3514 </dd>
3515 </dl>
3516 </dd>
3517 </dl>
3518
3519
3520 </dd>
3521 </dl>
3522 </details>
3523
3524 <details><summary><code>client.connection_profiles.<a href="src/auth0.management/connection_profiles/client.py">update</a>(...) -> UpdateConnectionProfileResponseContent</code></summary>
3525 <dl>
3526 <dd>
3527
3528 #### 📝 Description
3529
3530 <dl>
3531 <dd>
3532
3533 <dl>
3534 <dd>
3535
3536 Update the details of a specific Connection Profile.
3537 </dd>
3538 </dl>
3539 </dd>
3540 </dl>
3541
3542 #### 🔌 Usage
3543
3544 <dl>
3545 <dd>
3546
3547 <dl>
3548 <dd>
3549
3550 ```python
3551 from auth0.management import Auth0
3552 from auth0.management.environment import Auth0Environment
3553
3554 client = Auth0(
3555 token="<token>",
3556 environment=Auth0Environment.DEFAULT,
3557 )
3558
3559 client.connection_profiles.update(
3560 id="id",
3561 )
3562
3563 ```
3564 </dd>
3565 </dl>
3566 </dd>
3567 </dl>
3568
3569 #### ⚙️ Parameters
3570
3571 <dl>
3572 <dd>
3573
3574 <dl>
3575 <dd>
3576
3577 **id:** `str` — ID of the connection profile to update.
3578
3579 </dd>
3580 </dl>
3581
3582 <dl>
3583 <dd>
3584
3585 **name:** `typing.Optional[ConnectionProfileName]`
3586
3587 </dd>
3588 </dl>
3589
3590 <dl>
3591 <dd>
3592
3593 **organization:** `typing.Optional[ConnectionProfileOrganization]`
3594
3595 </dd>
3596 </dl>
3597
3598 <dl>
3599 <dd>
3600
3601 **connection_name_prefix_template:** `typing.Optional[ConnectionNamePrefixTemplate]`
3602
3603 </dd>
3604 </dl>
3605
3606 <dl>
3607 <dd>
3608
3609 **enabled_features:** `typing.Optional[ConnectionProfileEnabledFeatures]`
3610
3611 </dd>
3612 </dl>
3613
3614 <dl>
3615 <dd>
3616
3617 **connection_config:** `typing.Optional[ConnectionProfileConfig]`
3618
3619 </dd>
3620 </dl>
3621
3622 <dl>
3623 <dd>
3624
3625 **strategy_overrides:** `typing.Optional[ConnectionProfileStrategyOverrides]`
3626
3627 </dd>
3628 </dl>
3629
3630 <dl>
3631 <dd>
3632
3633 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3634
3635 </dd>
3636 </dl>
3637 </dd>
3638 </dl>
3639
3640
3641 </dd>
3642 </dl>
3643 </details>
3644
3645 ## Connections
3646 <details><summary><code>client.connections.<a href="src/auth0.management/connections/client.py">list</a>(...) -> ListConnectionsCheckpointPaginatedResponseContent</code></summary>
3647 <dl>
3648 <dd>
3649
3650 #### 📝 Description
3651
3652 <dl>
3653 <dd>
3654
3655 <dl>
3656 <dd>
3657
3658 Retrieves detailed list of all [connections](https://auth0.com/docs/authenticate/identity-providers) that match the specified strategy. If no strategy is provided, all connections within your tenant are retrieved. This action can accept a list of fields to include or exclude from the resulting list of connections.
3659
3660 This endpoint supports two types of pagination:
3661
3662 - Offset pagination
3663 - Checkpoint pagination
3664
3665 Checkpoint pagination must be used if you need to retrieve more than 1000 connections.
3666
3667 **Checkpoint Pagination**
3668
3669 To search by checkpoint, use the following parameters:
3670
3671 - `from`: Optional id from which to start selection.
3672 - `take`: The total amount of entries to retrieve when using the from parameter. Defaults to 50.
3673
3674 **Note**: The first time you call this endpoint using checkpoint pagination, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no pages are remaining.
3675 </dd>
3676 </dl>
3677 </dd>
3678 </dl>
3679
3680 #### 🔌 Usage
3681
3682 <dl>
3683 <dd>
3684
3685 <dl>
3686 <dd>
3687
3688 ```python
3689 from auth0.management import Auth0
3690 from auth0.management.environment import Auth0Environment
3691
3692 client = Auth0(
3693 token="<token>",
3694 environment=Auth0Environment.DEFAULT,
3695 )
3696
3697 client.connections.list(
3698 from_="from",
3699 take=1,
3700 strategy=[
3701 "ad"
3702 ],
3703 name="name",
3704 fields="fields",
3705 include_fields=True,
3706 )
3707
3708 ```
3709 </dd>
3710 </dl>
3711 </dd>
3712 </dl>
3713
3714 #### ⚙️ Parameters
3715
3716 <dl>
3717 <dd>
3718
3719 <dl>
3720 <dd>
3721
3722 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
3723
3724 </dd>
3725 </dl>
3726
3727 <dl>
3728 <dd>
3729
3730 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
3731
3732 </dd>
3733 </dl>
3734
3735 <dl>
3736 <dd>
3737
3738 **strategy:** `typing.Optional[typing.Union[typing.Optional[ConnectionStrategyEnum], typing.Sequence[typing.Optional[ConnectionStrategyEnum]]]]` — Provide strategies to only retrieve connections with such strategies
3739
3740 </dd>
3741 </dl>
3742
3743 <dl>
3744 <dd>
3745
3746 **name:** `typing.Optional[str]` — Provide the name of the connection to retrieve
3747
3748 </dd>
3749 </dl>
3750
3751 <dl>
3752 <dd>
3753
3754 **fields:** `typing.Optional[str]` — A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields
3755
3756 </dd>
3757 </dl>
3758
3759 <dl>
3760 <dd>
3761
3762 **include_fields:** `typing.Optional[bool]` — <code>true</code> if the fields specified are to be included in the result, <code>false</code> otherwise (defaults to <code>true</code>)
3763
3764 </dd>
3765 </dl>
3766
3767 <dl>
3768 <dd>
3769
3770 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3771
3772 </dd>
3773 </dl>
3774 </dd>
3775 </dl>
3776
3777
3778 </dd>
3779 </dl>
3780 </details>
3781
3782 <details><summary><code>client.connections.<a href="src/auth0.management/connections/client.py">create</a>(...) -> CreateConnectionResponseContent</code></summary>
3783 <dl>
3784 <dd>
3785
3786 #### 📝 Description
3787
3788 <dl>
3789 <dd>
3790
3791 <dl>
3792 <dd>
3793
3794 Creates a new connection according to the JSON object received in `body`.
3795
3796 **Note:** If a connection with the same name was recently deleted and had a large number of associated users, the deletion may still be processing. Creating a new connection with that name before the deletion completes may fail or produce unexpected results.
3797 </dd>
3798 </dl>
3799 </dd>
3800 </dl>
3801
3802 #### 🔌 Usage
3803
3804 <dl>
3805 <dd>
3806
3807 <dl>
3808 <dd>
3809
3810 ```python
3811 from auth0.management import Auth0
3812 from auth0.management.environment import Auth0Environment
3813
3814 client = Auth0(
3815 token="<token>",
3816 environment=Auth0Environment.DEFAULT,
3817 )
3818
3819 client.connections.create(
3820 name="name",
3821 strategy="ad",
3822 )
3823
3824 ```
3825 </dd>
3826 </dl>
3827 </dd>
3828 </dl>
3829
3830 #### ⚙️ Parameters
3831
3832 <dl>
3833 <dd>
3834
3835 <dl>
3836 <dd>
3837
3838 **name:** `str` — The name of the connection. Must start and end with an alphanumeric character and can only contain alphanumeric characters and '-'. Max length 128
3839
3840 </dd>
3841 </dl>
3842
3843 <dl>
3844 <dd>
3845
3846 **strategy:** `ConnectionIdentityProviderEnum`
3847
3848 </dd>
3849 </dl>
3850
3851 <dl>
3852 <dd>
3853
3854 **display_name:** `typing.Optional[str]` — Connection name used in the new universal login experience
3855
3856 </dd>
3857 </dl>
3858
3859 <dl>
3860 <dd>
3861
3862 **options:** `typing.Optional[ConnectionPropertiesOptions]`
3863
3864 </dd>
3865 </dl>
3866
3867 <dl>
3868 <dd>
3869
3870 **enabled_clients:** `typing.Optional[typing.List[str]]` — Use of this property is NOT RECOMMENDED. Use the PATCH /v2/connections/{id}/clients endpoint to enable the connection for a set of clients.
3871
3872 </dd>
3873 </dl>
3874
3875 <dl>
3876 <dd>
3877
3878 **is_domain_connection:** `typing.Optional[bool]` — <code>true</code> promotes to a domain-level connection so that third-party applications can use it. <code>false</code> does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to <code>false</code>.)
3879
3880 </dd>
3881 </dl>
3882
3883 <dl>
3884 <dd>
3885
3886 **show_as_button:** `typing.Optional[bool]` — Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. (Defaults to <code>false</code>.)
3887
3888 </dd>
3889 </dl>
3890
3891 <dl>
3892 <dd>
3893
3894 **realms:** `typing.Optional[typing.List[str]]` — Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm.
3895
3896 </dd>
3897 </dl>
3898
3899 <dl>
3900 <dd>
3901
3902 **metadata:** `typing.Optional[ConnectionsMetadata]`
3903
3904 </dd>
3905 </dl>
3906
3907 <dl>
3908 <dd>
3909
3910 **authentication:** `typing.Optional[ConnectionAuthenticationPurpose]`
3911
3912 </dd>
3913 </dl>
3914
3915 <dl>
3916 <dd>
3917
3918 **connected_accounts:** `typing.Optional[ConnectionConnectedAccountsPurpose]`
3919
3920 </dd>
3921 </dl>
3922
3923 <dl>
3924 <dd>
3925
3926 **cross_app_access_requesting_app:** `typing.Optional[CrossAppAccessRequestingApp]`
3927
3928 </dd>
3929 </dl>
3930
3931 <dl>
3932 <dd>
3933
3934 **cross_app_access_resource_app:** `typing.Optional[CreateCrossAppAccessResourceApp]`
3935
3936 </dd>
3937 </dl>
3938
3939 <dl>
3940 <dd>
3941
3942 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3943
3944 </dd>
3945 </dl>
3946 </dd>
3947 </dl>
3948
3949
3950 </dd>
3951 </dl>
3952 </details>
3953
3954 <details><summary><code>client.connections.<a href="src/auth0.management/connections/client.py">get</a>(...) -> GetConnectionResponseContent</code></summary>
3955 <dl>
3956 <dd>
3957
3958 #### 📝 Description
3959
3960 <dl>
3961 <dd>
3962
3963 <dl>
3964 <dd>
3965
3966 Retrieve details for a specified [connection](https://auth0.com/docs/authenticate/identity-providers) along with options that can be used for identity provider configuration.
3967 </dd>
3968 </dl>
3969 </dd>
3970 </dl>
3971
3972 #### 🔌 Usage
3973
3974 <dl>
3975 <dd>
3976
3977 <dl>
3978 <dd>
3979
3980 ```python
3981 from auth0.management import Auth0
3982 from auth0.management.environment import Auth0Environment
3983
3984 client = Auth0(
3985 token="<token>",
3986 environment=Auth0Environment.DEFAULT,
3987 )
3988
3989 client.connections.get(
3990 id="id",
3991 fields="fields",
3992 include_fields=True,
3993 )
3994
3995 ```
3996 </dd>
3997 </dl>
3998 </dd>
3999 </dl>
4000
4001 #### ⚙️ Parameters
4002
4003 <dl>
4004 <dd>
4005
4006 <dl>
4007 <dd>
4008
4009 **id:** `str` — The id of the connection to retrieve
4010
4011 </dd>
4012 </dl>
4013
4014 <dl>
4015 <dd>
4016
4017 **fields:** `typing.Optional[str]` — A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields
4018
4019 </dd>
4020 </dl>
4021
4022 <dl>
4023 <dd>
4024
4025 **include_fields:** `typing.Optional[bool]` — <code>true</code> if the fields specified are to be included in the result, <code>false</code> otherwise (defaults to <code>true</code>)
4026
4027 </dd>
4028 </dl>
4029
4030 <dl>
4031 <dd>
4032
4033 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4034
4035 </dd>
4036 </dl>
4037 </dd>
4038 </dl>
4039
4040
4041 </dd>
4042 </dl>
4043 </details>
4044
4045 <details><summary><code>client.connections.<a href="src/auth0.management/connections/client.py">delete</a>(...)</code></summary>
4046 <dl>
4047 <dd>
4048
4049 #### 📝 Description
4050
4051 <dl>
4052 <dd>
4053
4054 <dl>
4055 <dd>
4056
4057 Removes a specific [connection](https://auth0.com/docs/authenticate/identity-providers) from your tenant. This action cannot be undone. Once removed, users can no longer use this connection to authenticate.
4058
4059 **Note:** If your connection has a large amount of users associated with it, please be aware that this operation can be long running after the response is returned and may impact concurrent [create connection](https://auth0.com/docs/api/management/v2/connections/post-connections) requests, if they use an identical connection name.
4060 </dd>
4061 </dl>
4062 </dd>
4063 </dl>
4064
4065 #### 🔌 Usage
4066
4067 <dl>
4068 <dd>
4069
4070 <dl>
4071 <dd>
4072
4073 ```python
4074 from auth0.management import Auth0
4075 from auth0.management.environment import Auth0Environment
4076
4077 client = Auth0(
4078 token="<token>",
4079 environment=Auth0Environment.DEFAULT,
4080 )
4081
4082 client.connections.delete(
4083 id="id",
4084 )
4085
4086 ```
4087 </dd>
4088 </dl>
4089 </dd>
4090 </dl>
4091
4092 #### ⚙️ Parameters
4093
4094 <dl>
4095 <dd>
4096
4097 <dl>
4098 <dd>
4099
4100 **id:** `str` — The id of the connection to delete
4101
4102 </dd>
4103 </dl>
4104
4105 <dl>
4106 <dd>
4107
4108 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4109
4110 </dd>
4111 </dl>
4112 </dd>
4113 </dl>
4114
4115
4116 </dd>
4117 </dl>
4118 </details>
4119
4120 <details><summary><code>client.connections.<a href="src/auth0.management/connections/client.py">update</a>(...) -> UpdateConnectionResponseContent</code></summary>
4121 <dl>
4122 <dd>
4123
4124 #### 📝 Description
4125
4126 <dl>
4127 <dd>
4128
4129 <dl>
4130 <dd>
4131
4132 Update details for a specific [connection](https://auth0.com/docs/authenticate/identity-providers), including option properties for identity provider configuration.
4133
4134 **Note**: If you use the `options` parameter, the entire `options` object is overridden. To avoid partial data or other issues, ensure all parameters are present when using this option.
4135 </dd>
4136 </dl>
4137 </dd>
4138 </dl>
4139
4140 #### 🔌 Usage
4141
4142 <dl>
4143 <dd>
4144
4145 <dl>
4146 <dd>
4147
4148 ```python
4149 from auth0.management import Auth0
4150 from auth0.management.environment import Auth0Environment
4151
4152 client = Auth0(
4153 token="<token>",
4154 environment=Auth0Environment.DEFAULT,
4155 )
4156
4157 client.connections.update(
4158 id="id",
4159 )
4160
4161 ```
4162 </dd>
4163 </dl>
4164 </dd>
4165 </dl>
4166
4167 #### ⚙️ Parameters
4168
4169 <dl>
4170 <dd>
4171
4172 <dl>
4173 <dd>
4174
4175 **id:** `str` — The id of the connection to update
4176
4177 </dd>
4178 </dl>
4179
4180 <dl>
4181 <dd>
4182
4183 **display_name:** `typing.Optional[str]` — The connection name used in the new universal login experience. If display_name is not included in the request, the field will be overwritten with the name value.
4184
4185 </dd>
4186 </dl>
4187
4188 <dl>
4189 <dd>
4190
4191 **options:** `typing.Optional[UpdateConnectionOptions]`
4192
4193 </dd>
4194 </dl>
4195
4196 <dl>
4197 <dd>
4198
4199 **enabled_clients:** `typing.Optional[typing.List[str]]` — DEPRECATED property. Use the PATCH /v2/connections/{id}/clients endpoint to enable or disable the connection for any clients.
4200
4201 </dd>
4202 </dl>
4203
4204 <dl>
4205 <dd>
4206
4207 **is_domain_connection:** `typing.Optional[bool]` — <code>true</code> promotes to a domain-level connection so that third-party applications can use it. <code>false</code> does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to <code>false</code>.)
4208
4209 </dd>
4210 </dl>
4211
4212 <dl>
4213 <dd>
4214
4215 **show_as_button:** `typing.Optional[bool]` — Enables showing a button for the connection in the login page (new experience only). If false, it will be usable only by HRD. (Defaults to <code>false</code>.)
4216
4217 </dd>
4218 </dl>
4219
4220 <dl>
4221 <dd>
4222
4223 **realms:** `typing.Optional[typing.List[str]]` — Defines the realms for which the connection will be used (ie: email domains). If the array is empty or the property is not specified, the connection name will be added as realm.
4224
4225 </dd>
4226 </dl>
4227
4228 <dl>
4229 <dd>
4230
4231 **metadata:** `typing.Optional[ConnectionsMetadata]`
4232
4233 </dd>
4234 </dl>
4235
4236 <dl>
4237 <dd>
4238
4239 **authentication:** `typing.Optional[ConnectionAuthenticationPurpose]`
4240
4241 </dd>
4242 </dl>
4243
4244 <dl>
4245 <dd>
4246
4247 **connected_accounts:** `typing.Optional[ConnectionConnectedAccountsPurpose]`
4248
4249 </dd>
4250 </dl>
4251
4252 <dl>
4253 <dd>
4254
4255 **cross_app_access_requesting_app:** `typing.Optional[CrossAppAccessRequestingApp]`
4256
4257 </dd>
4258 </dl>
4259
4260 <dl>
4261 <dd>
4262
4263 **cross_app_access_resource_app:** `typing.Optional[UpdateCrossAppAccessResourceApp]`
4264
4265 </dd>
4266 </dl>
4267
4268 <dl>
4269 <dd>
4270
4271 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4272
4273 </dd>
4274 </dl>
4275 </dd>
4276 </dl>
4277
4278
4279 </dd>
4280 </dl>
4281 </details>
4282
4283 <details><summary><code>client.connections.<a href="src/auth0.management/connections/client.py">check_status</a>(...)</code></summary>
4284 <dl>
4285 <dd>
4286
4287 #### 📝 Description
4288
4289 <dl>
4290 <dd>
4291
4292 <dl>
4293 <dd>
4294
4295 Retrieves the status of an ad/ldap connection referenced by its `ID`. `200 OK` http status code response is returned when the connection is online, otherwise a `404` status code is returned along with an error message
4296 </dd>
4297 </dl>
4298 </dd>
4299 </dl>
4300
4301 #### 🔌 Usage
4302
4303 <dl>
4304 <dd>
4305
4306 <dl>
4307 <dd>
4308
4309 ```python
4310 from auth0.management import Auth0
4311 from auth0.management.environment import Auth0Environment
4312
4313 client = Auth0(
4314 token="<token>",
4315 environment=Auth0Environment.DEFAULT,
4316 )
4317
4318 client.connections.check_status(
4319 id="id",
4320 )
4321
4322 ```
4323 </dd>
4324 </dl>
4325 </dd>
4326 </dl>
4327
4328 #### ⚙️ Parameters
4329
4330 <dl>
4331 <dd>
4332
4333 <dl>
4334 <dd>
4335
4336 **id:** `str` — ID of the connection to check
4337
4338 </dd>
4339 </dl>
4340
4341 <dl>
4342 <dd>
4343
4344 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4345
4346 </dd>
4347 </dl>
4348 </dd>
4349 </dl>
4350
4351
4352 </dd>
4353 </dl>
4354 </details>
4355
4356 ## CustomDomains
4357 <details><summary><code>client.custom_domains.<a href="src/auth0.management/custom_domains/client.py">list</a>(...) -> ListCustomDomainsResponseContent</code></summary>
4358 <dl>
4359 <dd>
4360
4361 #### 📝 Description
4362
4363 <dl>
4364 <dd>
4365
4366 <dl>
4367 <dd>
4368
4369 Retrieve details on [custom domains](https://auth0.com/docs/custom-domains).
4370 </dd>
4371 </dl>
4372 </dd>
4373 </dl>
4374
4375 #### 🔌 Usage
4376
4377 <dl>
4378 <dd>
4379
4380 <dl>
4381 <dd>
4382
4383 ```python
4384 from auth0.management import Auth0
4385 from auth0.management.environment import Auth0Environment
4386
4387 client = Auth0(
4388 token="<token>",
4389 environment=Auth0Environment.DEFAULT,
4390 )
4391
4392 client.custom_domains.list(
4393 q="q",
4394 fields="fields",
4395 include_fields=True,
4396 sort="sort",
4397 )
4398
4399 ```
4400 </dd>
4401 </dl>
4402 </dd>
4403 </dl>
4404
4405 #### ⚙️ Parameters
4406
4407 <dl>
4408 <dd>
4409
4410 <dl>
4411 <dd>
4412
4413 **q:** `typing.Optional[str]` — Query in <a href ="https://lucene.apache.org/core/2_9_4/queryparsersyntax.html">Lucene query string syntax</a>.
4414
4415 </dd>
4416 </dl>
4417
4418 <dl>
4419 <dd>
4420
4421 **fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.
4422
4423 </dd>
4424 </dl>
4425
4426 <dl>
4427 <dd>
4428
4429 **include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
4430
4431 </dd>
4432 </dl>
4433
4434 <dl>
4435 <dd>
4436
4437 **sort:** `typing.Optional[str]` — Field to sort by. Only <code>domain:1</code> (ascending order by domain) is supported at this time.
4438
4439 </dd>
4440 </dl>
4441
4442 <dl>
4443 <dd>
4444
4445 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4446
4447 </dd>
4448 </dl>
4449 </dd>
4450 </dl>
4451
4452
4453 </dd>
4454 </dl>
4455 </details>
4456
4457 <details><summary><code>client.custom_domains.<a href="src/auth0.management/custom_domains/client.py">create</a>(...) -> CreateCustomDomainResponseContent</code></summary>
4458 <dl>
4459 <dd>
4460
4461 #### 📝 Description
4462
4463 <dl>
4464 <dd>
4465
4466 <dl>
4467 <dd>
4468
4469 Create a new custom domain.
4470
4471 Note: The custom domain will need to be verified before it will accept
4472 requests.
4473
4474 Optional attributes that can be updated:
4475
4476 - custom_client_ip_header
4477 - tls_policy
4478
4479 TLS Policies:
4480
4481 - recommended - for modern usage this includes TLS 1.2 only
4482 </dd>
4483 </dl>
4484 </dd>
4485 </dl>
4486
4487 #### 🔌 Usage
4488
4489 <dl>
4490 <dd>
4491
4492 <dl>
4493 <dd>
4494
4495 ```python
4496 from auth0.management import Auth0
4497 from auth0.management.environment import Auth0Environment
4498
4499 client = Auth0(
4500 token="<token>",
4501 environment=Auth0Environment.DEFAULT,
4502 )
4503
4504 client.custom_domains.create(
4505 domain="domain",
4506 type="auth0_managed_certs",
4507 )
4508
4509 ```
4510 </dd>
4511 </dl>
4512 </dd>
4513 </dl>
4514
4515 #### ⚙️ Parameters
4516
4517 <dl>
4518 <dd>
4519
4520 <dl>
4521 <dd>
4522
4523 **domain:** `str` — Domain name.
4524
4525 </dd>
4526 </dl>
4527
4528 <dl>
4529 <dd>
4530
4531 **type:** `CustomDomainProvisioningTypeEnum`
4532
4533 </dd>
4534 </dl>
4535
4536 <dl>
4537 <dd>
4538
4539 **verification_method:** `typing.Optional[CustomDomainVerificationMethodEnum]`
4540
4541 </dd>
4542 </dl>
4543
4544 <dl>
4545 <dd>
4546
4547 **tls_policy:** `typing.Optional[CustomDomainTlsPolicyEnum]`
4548
4549 </dd>
4550 </dl>
4551
4552 <dl>
4553 <dd>
4554
4555 **custom_client_ip_header:** `typing.Optional[CustomDomainCustomClientIpHeader]`
4556
4557 </dd>
4558 </dl>
4559
4560 <dl>
4561 <dd>
4562
4563 **domain_metadata:** `typing.Optional[DomainMetadata]`
4564
4565 </dd>
4566 </dl>
4567
4568 <dl>
4569 <dd>
4570
4571 **relying_party_identifier:** `typing.Optional[str]` — Relying Party ID (rpId) to be used for Passkeys on this custom domain. If not provided, the full domain will be used.
4572
4573 </dd>
4574 </dl>
4575
4576 <dl>
4577 <dd>
4578
4579 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4580
4581 </dd>
4582 </dl>
4583 </dd>
4584 </dl>
4585
4586
4587 </dd>
4588 </dl>
4589 </details>
4590
4591 <details><summary><code>client.custom_domains.<a href="src/auth0.management/custom_domains/client.py">get_default</a>() -> GetDefaultDomainResponseContent</code></summary>
4592 <dl>
4593 <dd>
4594
4595 #### 📝 Description
4596
4597 <dl>
4598 <dd>
4599
4600 <dl>
4601 <dd>
4602
4603 Retrieve the tenant's default domain.
4604 </dd>
4605 </dl>
4606 </dd>
4607 </dl>
4608
4609 #### 🔌 Usage
4610
4611 <dl>
4612 <dd>
4613
4614 <dl>
4615 <dd>
4616
4617 ```python
4618 from auth0.management import Auth0
4619 from auth0.management.environment import Auth0Environment
4620
4621 client = Auth0(
4622 token="<token>",
4623 environment=Auth0Environment.DEFAULT,
4624 )
4625
4626 client.custom_domains.get_default()
4627
4628 ```
4629 </dd>
4630 </dl>
4631 </dd>
4632 </dl>
4633
4634 #### ⚙️ Parameters
4635
4636 <dl>
4637 <dd>
4638
4639 <dl>
4640 <dd>
4641
4642 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4643
4644 </dd>
4645 </dl>
4646 </dd>
4647 </dl>
4648
4649
4650 </dd>
4651 </dl>
4652 </details>
4653
4654 <details><summary><code>client.custom_domains.<a href="src/auth0.management/custom_domains/client.py">set_default</a>(...) -> UpdateDefaultDomainResponseContent</code></summary>
4655 <dl>
4656 <dd>
4657
4658 #### 📝 Description
4659
4660 <dl>
4661 <dd>
4662
4663 <dl>
4664 <dd>
4665
4666 Set the default custom domain for the tenant.
4667 </dd>
4668 </dl>
4669 </dd>
4670 </dl>
4671
4672 #### 🔌 Usage
4673
4674 <dl>
4675 <dd>
4676
4677 <dl>
4678 <dd>
4679
4680 ```python
4681 from auth0.management import Auth0
4682 from auth0.management.environment import Auth0Environment
4683
4684 client = Auth0(
4685 token="<token>",
4686 environment=Auth0Environment.DEFAULT,
4687 )
4688
4689 client.custom_domains.set_default(
4690 domain="domain",
4691 )
4692
4693 ```
4694 </dd>
4695 </dl>
4696 </dd>
4697 </dl>
4698
4699 #### ⚙️ Parameters
4700
4701 <dl>
4702 <dd>
4703
4704 <dl>
4705 <dd>
4706
4707 **domain:** `str` — The domain to set as the default custom domain. Must be a verified custom domain or the canonical domain.
4708
4709 </dd>
4710 </dl>
4711
4712 <dl>
4713 <dd>
4714
4715 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4716
4717 </dd>
4718 </dl>
4719 </dd>
4720 </dl>
4721
4722
4723 </dd>
4724 </dl>
4725 </details>
4726
4727 <details><summary><code>client.custom_domains.<a href="src/auth0.management/custom_domains/client.py">get</a>(...) -> GetCustomDomainResponseContent</code></summary>
4728 <dl>
4729 <dd>
4730
4731 #### 📝 Description
4732
4733 <dl>
4734 <dd>
4735
4736 <dl>
4737 <dd>
4738
4739 Retrieve a custom domain configuration and status.
4740 </dd>
4741 </dl>
4742 </dd>
4743 </dl>
4744
4745 #### 🔌 Usage
4746
4747 <dl>
4748 <dd>
4749
4750 <dl>
4751 <dd>
4752
4753 ```python
4754 from auth0.management import Auth0
4755 from auth0.management.environment import Auth0Environment
4756
4757 client = Auth0(
4758 token="<token>",
4759 environment=Auth0Environment.DEFAULT,
4760 )
4761
4762 client.custom_domains.get(
4763 id="id",
4764 )
4765
4766 ```
4767 </dd>
4768 </dl>
4769 </dd>
4770 </dl>
4771
4772 #### ⚙️ Parameters
4773
4774 <dl>
4775 <dd>
4776
4777 <dl>
4778 <dd>
4779
4780 **id:** `str` — ID of the custom domain to retrieve.
4781
4782 </dd>
4783 </dl>
4784
4785 <dl>
4786 <dd>
4787
4788 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4789
4790 </dd>
4791 </dl>
4792 </dd>
4793 </dl>
4794
4795
4796 </dd>
4797 </dl>
4798 </details>
4799
4800 <details><summary><code>client.custom_domains.<a href="src/auth0.management/custom_domains/client.py">delete</a>(...)</code></summary>
4801 <dl>
4802 <dd>
4803
4804 #### 📝 Description
4805
4806 <dl>
4807 <dd>
4808
4809 <dl>
4810 <dd>
4811
4812 Delete a custom domain and stop serving requests for it.
4813 </dd>
4814 </dl>
4815 </dd>
4816 </dl>
4817
4818 #### 🔌 Usage
4819
4820 <dl>
4821 <dd>
4822
4823 <dl>
4824 <dd>
4825
4826 ```python
4827 from auth0.management import Auth0
4828 from auth0.management.environment import Auth0Environment
4829
4830 client = Auth0(
4831 token="<token>",
4832 environment=Auth0Environment.DEFAULT,
4833 )
4834
4835 client.custom_domains.delete(
4836 id="id",
4837 )
4838
4839 ```
4840 </dd>
4841 </dl>
4842 </dd>
4843 </dl>
4844
4845 #### ⚙️ Parameters
4846
4847 <dl>
4848 <dd>
4849
4850 <dl>
4851 <dd>
4852
4853 **id:** `str` — ID of the custom domain to delete.
4854
4855 </dd>
4856 </dl>
4857
4858 <dl>
4859 <dd>
4860
4861 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4862
4863 </dd>
4864 </dl>
4865 </dd>
4866 </dl>
4867
4868
4869 </dd>
4870 </dl>
4871 </details>
4872
4873 <details><summary><code>client.custom_domains.<a href="src/auth0.management/custom_domains/client.py">update</a>(...) -> UpdateCustomDomainResponseContent</code></summary>
4874 <dl>
4875 <dd>
4876
4877 #### 📝 Description
4878
4879 <dl>
4880 <dd>
4881
4882 <dl>
4883 <dd>
4884
4885 Update a custom domain.
4886
4887 These are the attributes that can be updated:
4888
4889 - custom_client_ip_header
4890 - tls_policy
4891
4892 **Updating CUSTOM_CLIENT_IP_HEADER for a custom domain**
4893
4894 To update the `custom_client_ip_header` for a domain, the body to
4895 send should be:
4896
4897 ```json
4898 { "custom_client_ip_header": "cf-connecting-ip" }
4899 ```
4900
4901 **Updating TLS_POLICY for a custom domain**
4902
4903 To update the `tls_policy` for a domain, the body to send should be:
4904
4905 ```json
4906 { "tls_policy": "recommended" }
4907 ```
4908
4909 TLS Policies:
4910
4911 - recommended - for modern usage this includes TLS 1.2 only
4912
4913 Some considerations:
4914
4915 - The TLS ciphers and protocols available in each TLS policy follow industry recommendations, and may be updated occasionally.
4916 - The `compatible` TLS policy is no longer supported.
4917 </dd>
4918 </dl>
4919 </dd>
4920 </dl>
4921
4922 #### 🔌 Usage
4923
4924 <dl>
4925 <dd>
4926
4927 <dl>
4928 <dd>
4929
4930 ```python
4931 from auth0.management import Auth0
4932 from auth0.management.environment import Auth0Environment
4933
4934 client = Auth0(
4935 token="<token>",
4936 environment=Auth0Environment.DEFAULT,
4937 )
4938
4939 client.custom_domains.update(
4940 id="id",
4941 )
4942
4943 ```
4944 </dd>
4945 </dl>
4946 </dd>
4947 </dl>
4948
4949 #### ⚙️ Parameters
4950
4951 <dl>
4952 <dd>
4953
4954 <dl>
4955 <dd>
4956
4957 **id:** `str` — The id of the custom domain to update
4958
4959 </dd>
4960 </dl>
4961
4962 <dl>
4963 <dd>
4964
4965 **tls_policy:** `typing.Optional[CustomDomainTlsPolicyEnum]` — recommended includes TLS 1.2
4966
4967 </dd>
4968 </dl>
4969
4970 <dl>
4971 <dd>
4972
4973 **custom_client_ip_header:** `typing.Optional[CustomDomainCustomClientIpHeader]`
4974
4975 </dd>
4976 </dl>
4977
4978 <dl>
4979 <dd>
4980
4981 **domain_metadata:** `typing.Optional[DomainMetadata]`
4982
4983 </dd>
4984 </dl>
4985
4986 <dl>
4987 <dd>
4988
4989 **relying_party_identifier:** `typing.Optional[str]` — Relying Party ID (rpId) to be used for Passkeys on this custom domain. Set to null to remove the rpId and fall back to using the full domain.
4990
4991 </dd>
4992 </dl>
4993
4994 <dl>
4995 <dd>
4996
4997 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4998
4999 </dd>
5000 </dl>
5001 </dd>
5002 </dl>
5003
5004
5005 </dd>
5006 </dl>
5007 </details>
5008
5009 <details><summary><code>client.custom_domains.<a href="src/auth0.management/custom_domains/client.py">test</a>(...) -> TestCustomDomainResponseContent</code></summary>
5010 <dl>
5011 <dd>
5012
5013 #### 📝 Description
5014
5015 <dl>
5016 <dd>
5017
5018 <dl>
5019 <dd>
5020
5021 Run the test process on a custom domain.
5022 </dd>
5023 </dl>
5024 </dd>
5025 </dl>
5026
5027 #### 🔌 Usage
5028
5029 <dl>
5030 <dd>
5031
5032 <dl>
5033 <dd>
5034
5035 ```python
5036 from auth0.management import Auth0
5037 from auth0.management.environment import Auth0Environment
5038
5039 client = Auth0(
5040 token="<token>",
5041 environment=Auth0Environment.DEFAULT,
5042 )
5043
5044 client.custom_domains.test(
5045 id="id",
5046 )
5047
5048 ```
5049 </dd>
5050 </dl>
5051 </dd>
5052 </dl>
5053
5054 #### ⚙️ Parameters
5055
5056 <dl>
5057 <dd>
5058
5059 <dl>
5060 <dd>
5061
5062 **id:** `str` — ID of the custom domain to test.
5063
5064 </dd>
5065 </dl>
5066
5067 <dl>
5068 <dd>
5069
5070 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
5071
5072 </dd>
5073 </dl>
5074 </dd>
5075 </dl>
5076
5077
5078 </dd>
5079 </dl>
5080 </details>
5081
5082 <details><summary><code>client.custom_domains.<a href="src/auth0.management/custom_domains/client.py">verify</a>(...) -> VerifyCustomDomainResponseContent</code></summary>
5083 <dl>
5084 <dd>
5085
5086 #### 📝 Description
5087
5088 <dl>
5089 <dd>
5090
5091 <dl>
5092 <dd>
5093
5094 Run the verification process on a custom domain.
5095
5096 Note: Check the `status` field to see its verification status. Once verification is complete, it may take up to 10 minutes before the custom domain can start accepting requests.
5097
5098 For `self_managed_certs`, when the custom domain is verified for the first time, the response will also include the `cname_api_key` which you will need to configure your proxy. This key must be kept secret, and is used to validate the proxy requests.
5099
5100 [Learn more](https://auth0.com/docs/custom-domains#step-2-verify-ownership) about verifying custom domains that use Auth0 Managed certificates.
5101 [Learn more](https://auth0.com/docs/custom-domains/self-managed-certificates#step-2-verify-ownership) about verifying custom domains that use Self Managed certificates.
5102 </dd>
5103 </dl>
5104 </dd>
5105 </dl>
5106
5107 #### 🔌 Usage
5108
5109 <dl>
5110 <dd>
5111
5112 <dl>
5113 <dd>
5114
5115 ```python
5116 from auth0.management import Auth0
5117 from auth0.management.environment import Auth0Environment
5118
5119 client = Auth0(
5120 token="<token>",
5121 environment=Auth0Environment.DEFAULT,
5122 )
5123
5124 client.custom_domains.verify(
5125 id="id",
5126 )
5127
5128 ```
5129 </dd>
5130 </dl>
5131 </dd>
5132 </dl>
5133
5134 #### ⚙️ Parameters
5135
5136 <dl>
5137 <dd>
5138
5139 <dl>
5140 <dd>
5141
5142 **id:** `str` — ID of the custom domain to verify.
5143
5144 </dd>
5145 </dl>
5146
5147 <dl>
5148 <dd>
5149
5150 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
5151
5152 </dd>
5153 </dl>
5154 </dd>
5155 </dl>
5156
5157
5158 </dd>
5159 </dl>
5160 </details>
5161
5162 ## DeviceCredentials
5163 <details><summary><code>client.device_credentials.<a href="src/auth0.management/device_credentials/client.py">list</a>(...) -> ListDeviceCredentialsOffsetPaginatedResponseContent</code></summary>
5164 <dl>
5165 <dd>
5166
5167 #### 📝 Description
5168
5169 <dl>
5170 <dd>
5171
5172 <dl>
5173 <dd>
5174
5175 Retrieve device credential information (`public_key`, `refresh_token`, or `rotating_refresh_token`) associated with a specific user.
5176 </dd>
5177 </dl>
5178 </dd>
5179 </dl>
5180
5181 #### 🔌 Usage
5182
5183 <dl>
5184 <dd>
5185
5186 <dl>
5187 <dd>
5188
5189 ```python
5190 from auth0.management import Auth0
5191 from auth0.management.environment import Auth0Environment
5192
5193 client = Auth0(
5194 token="<token>",
5195 environment=Auth0Environment.DEFAULT,
5196 )
5197
5198 client.device_credentials.list(
5199 page=1,
5200 per_page=1,
5201 include_totals=True,
5202 fields="fields",
5203 include_fields=True,
5204 user_id="user_id",
5205 client_id="client_id",
5206 type="public_key",
5207 )
5208
5209 ```
5210 </dd>
5211 </dl>
5212 </dd>
5213 </dl>
5214
5215 #### ⚙️ Parameters
5216
5217 <dl>
5218 <dd>
5219
5220 <dl>
5221 <dd>
5222
5223 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
5224
5225 </dd>
5226 </dl>
5227
5228 <dl>
5229 <dd>
5230
5231 **per_page:** `typing.Optional[int]` — Number of results per page. There is a maximum of 1000 results allowed from this endpoint.
5232
5233 </dd>
5234 </dl>
5235
5236 <dl>
5237 <dd>
5238
5239 **include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
5240
5241 </dd>
5242 </dl>
5243
5244 <dl>
5245 <dd>
5246
5247 **fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.
5248
5249 </dd>
5250 </dl>
5251
5252 <dl>
5253 <dd>
5254
5255 **include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
5256
5257 </dd>
5258 </dl>
5259
5260 <dl>
5261 <dd>
5262
5263 **user_id:** `typing.Optional[str]` — user_id of the devices to retrieve.
5264
5265 </dd>
5266 </dl>
5267
5268 <dl>
5269 <dd>
5270
5271 **client_id:** `typing.Optional[str]` — client_id of the devices to retrieve.
5272
5273 </dd>
5274 </dl>
5275
5276 <dl>
5277 <dd>
5278
5279 **type:** `typing.Optional[DeviceCredentialTypeEnum]` — Type of credentials to retrieve. Must be `public_key`, `refresh_token` or `rotating_refresh_token`. The property will default to `refresh_token` when paging is requested
5280
5281 </dd>
5282 </dl>
5283
5284 <dl>
5285 <dd>
5286
5287 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
5288
5289 </dd>
5290 </dl>
5291 </dd>
5292 </dl>
5293
5294
5295 </dd>
5296 </dl>
5297 </details>
5298
5299 <details><summary><code>client.device_credentials.<a href="src/auth0.management/device_credentials/client.py">create_public_key</a>(...) -> CreatePublicKeyDeviceCredentialResponseContent</code></summary>
5300 <dl>
5301 <dd>
5302
5303 #### 📝 Description
5304
5305 <dl>
5306 <dd>
5307
5308 <dl>
5309 <dd>
5310
5311 Create a device credential public key to manage refresh token rotation for a given `user_id`. Device Credentials APIs are designed for ad-hoc administrative use only and paging is by default enabled for GET requests.
5312
5313 When refresh token rotation is enabled, the endpoint becomes consistent. For more information, read [Signing Keys](https://auth0.com/docs/get-started/tenant-settings/signing-keys).
5314 </dd>
5315 </dl>
5316 </dd>
5317 </dl>
5318
5319 #### 🔌 Usage
5320
5321 <dl>
5322 <dd>
5323
5324 <dl>
5325 <dd>
5326
5327 ```python
5328 from auth0.management import Auth0
5329 from auth0.management.environment import Auth0Environment
5330
5331 client = Auth0(
5332 token="<token>",
5333 environment=Auth0Environment.DEFAULT,
5334 )
5335
5336 client.device_credentials.create_public_key(
5337 device_name="device_name",
5338 type="public_key",
5339 value="value",
5340 device_id="device_id",
5341 )
5342
5343 ```
5344 </dd>
5345 </dl>
5346 </dd>
5347 </dl>
5348
5349 #### ⚙️ Parameters
5350
5351 <dl>
5352 <dd>
5353
5354 <dl>
5355 <dd>
5356
5357 **device_name:** `str` — Name for this device easily recognized by owner.
5358
5359 </dd>
5360 </dl>
5361
5362 <dl>
5363 <dd>
5364
5365 **type:** `DeviceCredentialPublicKeyTypeEnum`
5366
5367 </dd>
5368 </dl>
5369
5370 <dl>
5371 <dd>
5372
5373 **value:** `str` — Base64 encoded string containing the credential.
5374
5375 </dd>
5376 </dl>
5377
5378 <dl>
5379 <dd>
5380
5381 **device_id:** `str` — Unique identifier for the device. Recommend using <a href="http://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID">Android_ID</a> on Android and <a href="https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIDevice_Class/index.html#//apple_ref/occ/instp/UIDevice/identifierForVendor">identifierForVendor</a>.
5382
5383 </dd>
5384 </dl>
5385
5386 <dl>
5387 <dd>
5388
5389 **client_id:** `typing.Optional[str]` — client_id of the client (application) this credential is for.
5390
5391 </dd>
5392 </dl>
5393
5394 <dl>
5395 <dd>
5396
5397 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
5398
5399 </dd>
5400 </dl>
5401 </dd>
5402 </dl>
5403
5404
5405 </dd>
5406 </dl>
5407 </details>
5408
5409 <details><summary><code>client.device_credentials.<a href="src/auth0.management/device_credentials/client.py">delete</a>(...)</code></summary>
5410 <dl>
5411 <dd>
5412
5413 #### 📝 Description
5414
5415 <dl>
5416 <dd>
5417
5418 <dl>
5419 <dd>
5420
5421 Permanently delete a device credential (such as a refresh token or public key) with the given ID.
5422 </dd>
5423 </dl>
5424 </dd>
5425 </dl>
5426
5427 #### 🔌 Usage
5428
5429 <dl>
5430 <dd>
5431
5432 <dl>
5433 <dd>
5434
5435 ```python
5436 from auth0.management import Auth0
5437 from auth0.management.environment import Auth0Environment
5438
5439 client = Auth0(
5440 token="<token>",
5441 environment=Auth0Environment.DEFAULT,
5442 )
5443
5444 client.device_credentials.delete(
5445 id="id",
5446 )
5447
5448 ```
5449 </dd>
5450 </dl>
5451 </dd>
5452 </dl>
5453
5454 #### ⚙️ Parameters
5455
5456 <dl>
5457 <dd>
5458
5459 <dl>
5460 <dd>
5461
5462 **id:** `str` — ID of the credential to delete.
5463
5464 </dd>
5465 </dl>
5466
5467 <dl>
5468 <dd>
5469
5470 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
5471
5472 </dd>
5473 </dl>
5474 </dd>
5475 </dl>
5476
5477
5478 </dd>
5479 </dl>
5480 </details>
5481
5482 ## EmailTemplates
5483 <details><summary><code>client.email_templates.<a href="src/auth0.management/email_templates/client.py">create</a>(...) -> CreateEmailTemplateResponseContent</code></summary>
5484 <dl>
5485 <dd>
5486
5487 #### 📝 Description
5488
5489 <dl>
5490 <dd>
5491
5492 <dl>
5493 <dd>
5494
5495 Create an email template.
5496 </dd>
5497 </dl>
5498 </dd>
5499 </dl>
5500
5501 #### 🔌 Usage
5502
5503 <dl>
5504 <dd>
5505
5506 <dl>
5507 <dd>
5508
5509 ```python
5510 from auth0.management import Auth0
5511 from auth0.management.environment import Auth0Environment
5512
5513 client = Auth0(
5514 token="<token>",
5515 environment=Auth0Environment.DEFAULT,
5516 )
5517
5518 client.email_templates.create(
5519 template="verify_email",
5520 )
5521
5522 ```
5523 </dd>
5524 </dl>
5525 </dd>
5526 </dl>
5527
5528 #### ⚙️ Parameters
5529
5530 <dl>
5531 <dd>
5532
5533 <dl>
5534 <dd>
5535
5536 **template:** `EmailTemplateNameEnum`
5537
5538 </dd>
5539 </dl>
5540
5541 <dl>
5542 <dd>
5543
5544 **body:** `typing.Optional[str]` — Body of the email template.
5545
5546 </dd>
5547 </dl>
5548
5549 <dl>
5550 <dd>
5551
5552 **from:** `typing.Optional[str]` — Senders `from` email address.
5553
5554 </dd>
5555 </dl>
5556
5557 <dl>
5558 <dd>
5559
5560 **result_url:** `typing.Optional[str]` — URL to redirect the user to after a successful action.
5561
5562 </dd>
5563 </dl>
5564
5565 <dl>
5566 <dd>
5567
5568 **subject:** `typing.Optional[str]` — Subject line of the email.
5569
5570 </dd>
5571 </dl>
5572
5573 <dl>
5574 <dd>
5575
5576 **syntax:** `typing.Optional[str]` — Syntax of the template body.
5577
5578 </dd>
5579 </dl>
5580
5581 <dl>
5582 <dd>
5583
5584 **url_lifetime_in_seconds:** `typing.Optional[float]` — Lifetime in seconds that the link within the email will be valid for.
5585
5586 </dd>
5587 </dl>
5588
5589 <dl>
5590 <dd>
5591
5592 **include_email_in_redirect:** `typing.Optional[bool]` — Whether the `reset_email` and `verify_email` templates should include the user's email address as the `email` parameter in the returnUrl (true) or whether no email address should be included in the redirect (false). Defaults to true.
5593
5594 </dd>
5595 </dl>
5596
5597 <dl>
5598 <dd>
5599
5600 **enabled:** `typing.Optional[bool]` — Whether the template is enabled (true) or disabled (false).
5601
5602 </dd>
5603 </dl>
5604
5605 <dl>
5606 <dd>
5607
5608 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
5609
5610 </dd>
5611 </dl>
5612 </dd>
5613 </dl>
5614
5615
5616 </dd>
5617 </dl>
5618 </details>
5619
5620 <details><summary><code>client.email_templates.<a href="src/auth0.management/email_templates/client.py">get</a>(...) -> GetEmailTemplateResponseContent</code></summary>
5621 <dl>
5622 <dd>
5623
5624 #### 📝 Description
5625
5626 <dl>
5627 <dd>
5628
5629 <dl>
5630 <dd>
5631
5632 Retrieve an email template by pre-defined name. These names are `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, and `async_approval`. The names `change_password`, and `password_reset` are also supported for legacy scenarios.
5633 </dd>
5634 </dl>
5635 </dd>
5636 </dl>
5637
5638 #### 🔌 Usage
5639
5640 <dl>
5641 <dd>
5642
5643 <dl>
5644 <dd>
5645
5646 ```python
5647 from auth0.management import Auth0
5648 from auth0.management.environment import Auth0Environment
5649
5650 client = Auth0(
5651 token="<token>",
5652 environment=Auth0Environment.DEFAULT,
5653 )
5654
5655 client.email_templates.get(
5656 template_name="verify_email",
5657 )
5658
5659 ```
5660 </dd>
5661 </dl>
5662 </dd>
5663 </dl>
5664
5665 #### ⚙️ Parameters
5666
5667 <dl>
5668 <dd>
5669
5670 <dl>
5671 <dd>
5672
5673 **template_name:** `EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
5674
5675 </dd>
5676 </dl>
5677
5678 <dl>
5679 <dd>
5680
5681 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
5682
5683 </dd>
5684 </dl>
5685 </dd>
5686 </dl>
5687
5688
5689 </dd>
5690 </dl>
5691 </details>
5692
5693 <details><summary><code>client.email_templates.<a href="src/auth0.management/email_templates/client.py">set</a>(...) -> SetEmailTemplateResponseContent</code></summary>
5694 <dl>
5695 <dd>
5696
5697 #### 📝 Description
5698
5699 <dl>
5700 <dd>
5701
5702 <dl>
5703 <dd>
5704
5705 Update an email template.
5706 </dd>
5707 </dl>
5708 </dd>
5709 </dl>
5710
5711 #### 🔌 Usage
5712
5713 <dl>
5714 <dd>
5715
5716 <dl>
5717 <dd>
5718
5719 ```python
5720 from auth0.management import Auth0
5721 from auth0.management.environment import Auth0Environment
5722
5723 client = Auth0(
5724 token="<token>",
5725 environment=Auth0Environment.DEFAULT,
5726 )
5727
5728 client.email_templates.set(
5729 template_name="verify_email",
5730 template="verify_email",
5731 )
5732
5733 ```
5734 </dd>
5735 </dl>
5736 </dd>
5737 </dl>
5738
5739 #### ⚙️ Parameters
5740
5741 <dl>
5742 <dd>
5743
5744 <dl>
5745 <dd>
5746
5747 **template_name:** `EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
5748
5749 </dd>
5750 </dl>
5751
5752 <dl>
5753 <dd>
5754
5755 **template:** `EmailTemplateNameEnum`
5756
5757 </dd>
5758 </dl>
5759
5760 <dl>
5761 <dd>
5762
5763 **body:** `typing.Optional[str]` — Body of the email template.
5764
5765 </dd>
5766 </dl>
5767
5768 <dl>
5769 <dd>
5770
5771 **from:** `typing.Optional[str]` — Senders `from` email address.
5772
5773 </dd>
5774 </dl>
5775
5776 <dl>
5777 <dd>
5778
5779 **result_url:** `typing.Optional[str]` — URL to redirect the user to after a successful action.
5780
5781 </dd>
5782 </dl>
5783
5784 <dl>
5785 <dd>
5786
5787 **subject:** `typing.Optional[str]` — Subject line of the email.
5788
5789 </dd>
5790 </dl>
5791
5792 <dl>
5793 <dd>
5794
5795 **syntax:** `typing.Optional[str]` — Syntax of the template body.
5796
5797 </dd>
5798 </dl>
5799
5800 <dl>
5801 <dd>
5802
5803 **url_lifetime_in_seconds:** `typing.Optional[float]` — Lifetime in seconds that the link within the email will be valid for.
5804
5805 </dd>
5806 </dl>
5807
5808 <dl>
5809 <dd>
5810
5811 **include_email_in_redirect:** `typing.Optional[bool]` — Whether the `reset_email` and `verify_email` templates should include the user's email address as the `email` parameter in the returnUrl (true) or whether no email address should be included in the redirect (false). Defaults to true.
5812
5813 </dd>
5814 </dl>
5815
5816 <dl>
5817 <dd>
5818
5819 **enabled:** `typing.Optional[bool]` — Whether the template is enabled (true) or disabled (false).
5820
5821 </dd>
5822 </dl>
5823
5824 <dl>
5825 <dd>
5826
5827 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
5828
5829 </dd>
5830 </dl>
5831 </dd>
5832 </dl>
5833
5834
5835 </dd>
5836 </dl>
5837 </details>
5838
5839 <details><summary><code>client.email_templates.<a href="src/auth0.management/email_templates/client.py">update</a>(...) -> UpdateEmailTemplateResponseContent</code></summary>
5840 <dl>
5841 <dd>
5842
5843 #### 📝 Description
5844
5845 <dl>
5846 <dd>
5847
5848 <dl>
5849 <dd>
5850
5851 Modify an email template.
5852 </dd>
5853 </dl>
5854 </dd>
5855 </dl>
5856
5857 #### 🔌 Usage
5858
5859 <dl>
5860 <dd>
5861
5862 <dl>
5863 <dd>
5864
5865 ```python
5866 from auth0.management import Auth0
5867 from auth0.management.environment import Auth0Environment
5868
5869 client = Auth0(
5870 token="<token>",
5871 environment=Auth0Environment.DEFAULT,
5872 )
5873
5874 client.email_templates.update(
5875 template_name="verify_email",
5876 )
5877
5878 ```
5879 </dd>
5880 </dl>
5881 </dd>
5882 </dl>
5883
5884 #### ⚙️ Parameters
5885
5886 <dl>
5887 <dd>
5888
5889 <dl>
5890 <dd>
5891
5892 **template_name:** `EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
5893
5894 </dd>
5895 </dl>
5896
5897 <dl>
5898 <dd>
5899
5900 **template:** `typing.Optional[EmailTemplateNameEnum]`
5901
5902 </dd>
5903 </dl>
5904
5905 <dl>
5906 <dd>
5907
5908 **body:** `typing.Optional[str]` — Body of the email template.
5909
5910 </dd>
5911 </dl>
5912
5913 <dl>
5914 <dd>
5915
5916 **from:** `typing.Optional[str]` — Senders `from` email address.
5917
5918 </dd>
5919 </dl>
5920
5921 <dl>
5922 <dd>
5923
5924 **result_url:** `typing.Optional[str]` — URL to redirect the user to after a successful action.
5925
5926 </dd>
5927 </dl>
5928
5929 <dl>
5930 <dd>
5931
5932 **subject:** `typing.Optional[str]` — Subject line of the email.
5933
5934 </dd>
5935 </dl>
5936
5937 <dl>
5938 <dd>
5939
5940 **syntax:** `typing.Optional[str]` — Syntax of the template body.
5941
5942 </dd>
5943 </dl>
5944
5945 <dl>
5946 <dd>
5947
5948 **url_lifetime_in_seconds:** `typing.Optional[float]` — Lifetime in seconds that the link within the email will be valid for.
5949
5950 </dd>
5951 </dl>
5952
5953 <dl>
5954 <dd>
5955
5956 **include_email_in_redirect:** `typing.Optional[bool]` — Whether the `reset_email` and `verify_email` templates should include the user's email address as the `email` parameter in the returnUrl (true) or whether no email address should be included in the redirect (false). Defaults to true.
5957
5958 </dd>
5959 </dl>
5960
5961 <dl>
5962 <dd>
5963
5964 **enabled:** `typing.Optional[bool]` — Whether the template is enabled (true) or disabled (false).
5965
5966 </dd>
5967 </dl>
5968
5969 <dl>
5970 <dd>
5971
5972 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
5973
5974 </dd>
5975 </dl>
5976 </dd>
5977 </dl>
5978
5979
5980 </dd>
5981 </dl>
5982 </details>
5983
5984 ## EventStreams
5985 <details><summary><code>client.event_streams.<a href="src/auth0.management/event_streams/client.py">list</a>(...) -> ListEventStreamsResponseContent</code></summary>
5986 <dl>
5987 <dd>
5988
5989 #### 🔌 Usage
5990
5991 <dl>
5992 <dd>
5993
5994 <dl>
5995 <dd>
5996
5997 ```python
5998 from auth0.management import Auth0
5999 from auth0.management.environment import Auth0Environment
6000
6001 client = Auth0(
6002 token="<token>",
6003 environment=Auth0Environment.DEFAULT,
6004 )
6005
6006 client.event_streams.list(
6007 from_="from",
6008 take=1,
6009 )
6010
6011 ```
6012 </dd>
6013 </dl>
6014 </dd>
6015 </dl>
6016
6017 #### ⚙️ Parameters
6018
6019 <dl>
6020 <dd>
6021
6022 <dl>
6023 <dd>
6024
6025 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
6026
6027 </dd>
6028 </dl>
6029
6030 <dl>
6031 <dd>
6032
6033 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
6034
6035 </dd>
6036 </dl>
6037
6038 <dl>
6039 <dd>
6040
6041 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
6042
6043 </dd>
6044 </dl>
6045 </dd>
6046 </dl>
6047
6048
6049 </dd>
6050 </dl>
6051 </details>
6052
6053 <details><summary><code>client.event_streams.<a href="src/auth0.management/event_streams/client.py">create</a>(...) -> CreateEventStreamResponseContent</code></summary>
6054 <dl>
6055 <dd>
6056
6057 #### 🔌 Usage
6058
6059 <dl>
6060 <dd>
6061
6062 <dl>
6063 <dd>
6064
6065 ```python
6066 from auth0.management import Auth0, CreateEventStreamWebHookRequestContent, EventStreamWebhookDestination, EventStreamWebhookConfiguration, EventStreamWebhookBasicAuth
6067 from auth0.management.environment import Auth0Environment
6068
6069 client = Auth0(
6070 token="<token>",
6071 environment=Auth0Environment.DEFAULT,
6072 )
6073
6074 client.event_streams.create(
6075 request=CreateEventStreamWebHookRequestContent(
6076 destination=EventStreamWebhookDestination(
6077 type="webhook",
6078 configuration=EventStreamWebhookConfiguration(
6079 webhook_endpoint="webhook_endpoint",
6080 webhook_authorization=EventStreamWebhookBasicAuth(
6081 method="basic",
6082 username="username",
6083 ),
6084 ),
6085 ),
6086 ),
6087 )
6088
6089 ```
6090 </dd>
6091 </dl>
6092 </dd>
6093 </dl>
6094
6095 #### ⚙️ Parameters
6096
6097 <dl>
6098 <dd>
6099
6100 <dl>
6101 <dd>
6102
6103 **request:** `EventStreamsCreateRequest`
6104
6105 </dd>
6106 </dl>
6107
6108 <dl>
6109 <dd>
6110
6111 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
6112
6113 </dd>
6114 </dl>
6115 </dd>
6116 </dl>
6117
6118
6119 </dd>
6120 </dl>
6121 </details>
6122
6123 <details><summary><code>client.event_streams.<a href="src/auth0.management/event_streams/client.py">get</a>(...) -> GetEventStreamResponseContent</code></summary>
6124 <dl>
6125 <dd>
6126
6127 #### 🔌 Usage
6128
6129 <dl>
6130 <dd>
6131
6132 <dl>
6133 <dd>
6134
6135 ```python
6136 from auth0.management import Auth0
6137 from auth0.management.environment import Auth0Environment
6138
6139 client = Auth0(
6140 token="<token>",
6141 environment=Auth0Environment.DEFAULT,
6142 )
6143
6144 client.event_streams.get(
6145 id="id",
6146 )
6147
6148 ```
6149 </dd>
6150 </dl>
6151 </dd>
6152 </dl>
6153
6154 #### ⚙️ Parameters
6155
6156 <dl>
6157 <dd>
6158
6159 <dl>
6160 <dd>
6161
6162 **id:** `str` — Unique identifier for the event stream.
6163
6164 </dd>
6165 </dl>
6166
6167 <dl>
6168 <dd>
6169
6170 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
6171
6172 </dd>
6173 </dl>
6174 </dd>
6175 </dl>
6176
6177
6178 </dd>
6179 </dl>
6180 </details>
6181
6182 <details><summary><code>client.event_streams.<a href="src/auth0.management/event_streams/client.py">delete</a>(...)</code></summary>
6183 <dl>
6184 <dd>
6185
6186 #### 🔌 Usage
6187
6188 <dl>
6189 <dd>
6190
6191 <dl>
6192 <dd>
6193
6194 ```python
6195 from auth0.management import Auth0
6196 from auth0.management.environment import Auth0Environment
6197
6198 client = Auth0(
6199 token="<token>",
6200 environment=Auth0Environment.DEFAULT,
6201 )
6202
6203 client.event_streams.delete(
6204 id="id",
6205 )
6206
6207 ```
6208 </dd>
6209 </dl>
6210 </dd>
6211 </dl>
6212
6213 #### ⚙️ Parameters
6214
6215 <dl>
6216 <dd>
6217
6218 <dl>
6219 <dd>
6220
6221 **id:** `str` — Unique identifier for the event stream.
6222
6223 </dd>
6224 </dl>
6225
6226 <dl>
6227 <dd>
6228
6229 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
6230
6231 </dd>
6232 </dl>
6233 </dd>
6234 </dl>
6235
6236
6237 </dd>
6238 </dl>
6239 </details>
6240
6241 <details><summary><code>client.event_streams.<a href="src/auth0.management/event_streams/client.py">update</a>(...) -> UpdateEventStreamResponseContent</code></summary>
6242 <dl>
6243 <dd>
6244
6245 #### 🔌 Usage
6246
6247 <dl>
6248 <dd>
6249
6250 <dl>
6251 <dd>
6252
6253 ```python
6254 from auth0.management import Auth0
6255 from auth0.management.environment import Auth0Environment
6256
6257 client = Auth0(
6258 token="<token>",
6259 environment=Auth0Environment.DEFAULT,
6260 )
6261
6262 client.event_streams.update(
6263 id="id",
6264 )
6265
6266 ```
6267 </dd>
6268 </dl>
6269 </dd>
6270 </dl>
6271
6272 #### ⚙️ Parameters
6273
6274 <dl>
6275 <dd>
6276
6277 <dl>
6278 <dd>
6279
6280 **id:** `str` — Unique identifier for the event stream.
6281
6282 </dd>
6283 </dl>
6284
6285 <dl>
6286 <dd>
6287
6288 **name:** `typing.Optional[str]` — Name of the event stream.
6289
6290 </dd>
6291 </dl>
6292
6293 <dl>
6294 <dd>
6295
6296 **subscriptions:** `typing.Optional[typing.List[EventStreamSubscription]]` — List of event types subscribed to in this stream.
6297
6298 </dd>
6299 </dl>
6300
6301 <dl>
6302 <dd>
6303
6304 **destination:** `typing.Optional[EventStreamDestinationPatch]`
6305
6306 </dd>
6307 </dl>
6308
6309 <dl>
6310 <dd>
6311
6312 **status:** `typing.Optional[EventStreamStatusEnum]`
6313
6314 </dd>
6315 </dl>
6316
6317 <dl>
6318 <dd>
6319
6320 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
6321
6322 </dd>
6323 </dl>
6324 </dd>
6325 </dl>
6326
6327
6328 </dd>
6329 </dl>
6330 </details>
6331
6332 <details><summary><code>client.event_streams.<a href="src/auth0.management/event_streams/client.py">test</a>(...) -> CreateEventStreamTestEventResponseContent</code></summary>
6333 <dl>
6334 <dd>
6335
6336 #### 🔌 Usage
6337
6338 <dl>
6339 <dd>
6340
6341 <dl>
6342 <dd>
6343
6344 ```python
6345 from auth0.management import Auth0
6346 from auth0.management.environment import Auth0Environment
6347
6348 client = Auth0(
6349 token="<token>",
6350 environment=Auth0Environment.DEFAULT,
6351 )
6352
6353 client.event_streams.test(
6354 id="id",
6355 event_type="connection.created",
6356 )
6357
6358 ```
6359 </dd>
6360 </dl>
6361 </dd>
6362 </dl>
6363
6364 #### ⚙️ Parameters
6365
6366 <dl>
6367 <dd>
6368
6369 <dl>
6370 <dd>
6371
6372 **id:** `str` — Unique identifier for the event stream.
6373
6374 </dd>
6375 </dl>
6376
6377 <dl>
6378 <dd>
6379
6380 **event_type:** `EventStreamTestEventTypeEnum`
6381
6382 </dd>
6383 </dl>
6384
6385 <dl>
6386 <dd>
6387
6388 **data:** `typing.Optional[TestEventDataContent]`
6389
6390 </dd>
6391 </dl>
6392
6393 <dl>
6394 <dd>
6395
6396 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
6397
6398 </dd>
6399 </dl>
6400 </dd>
6401 </dl>
6402
6403
6404 </dd>
6405 </dl>
6406 </details>
6407
6408 ## Events
6409 <details><summary><code>client.events.<a href="src/auth0.management/events/client.py">subscribe</a>(...) -> typing.Iterator[bytes]</code></summary>
6410 <dl>
6411 <dd>
6412
6413 #### 📝 Description
6414
6415 <dl>
6416 <dd>
6417
6418 <dl>
6419 <dd>
6420
6421 Subscribe to events via Server-Sent Events (SSE)
6422 </dd>
6423 </dl>
6424 </dd>
6425 </dl>
6426
6427 #### 🔌 Usage
6428
6429 <dl>
6430 <dd>
6431
6432 <dl>
6433 <dd>
6434
6435 ```python
6436 from auth0.management import Auth0
6437 from auth0.management.environment import Auth0Environment
6438
6439 client = Auth0(
6440 token="<token>",
6441 environment=Auth0Environment.DEFAULT,
6442 )
6443
6444 client.events.subscribe(
6445 from_="from",
6446 from_timestamp="from_timestamp",
6447 event_type=[
6448 "connection.created"
6449 ],
6450 )
6451
6452 ```
6453 </dd>
6454 </dl>
6455 </dd>
6456 </dl>
6457
6458 #### ⚙️ Parameters
6459
6460 <dl>
6461 <dd>
6462
6463 <dl>
6464 <dd>
6465
6466 **from:** `typing.Optional[str]` — Opaque token representing position in the stream. If not provided, stream will start from the latest events.
6467
6468 </dd>
6469 </dl>
6470
6471 <dl>
6472 <dd>
6473
6474 **from_timestamp:** `typing.Optional[str]` — RFC-3339 timestamp indicating where to start streaming events from. This should only be used on the initial query when a cursor may not be available. Subsequent requests should use the cursor (from) as it will be more accurate.
6475
6476 </dd>
6477 </dl>
6478
6479 <dl>
6480 <dd>
6481
6482 **event_type:** `typing.Optional[typing.Union[typing.Optional[EventStreamSubscribeEventsEventTypeEnum], typing.Sequence[typing.Optional[EventStreamSubscribeEventsEventTypeEnum]]]]` — Event type(s) to listen for. Specify multiple times for multiple types (e.g., ?event_type=user.created&event_type=user.updated). If not provided, all event types will be streamed.
6483
6484 </dd>
6485 </dl>
6486
6487 <dl>
6488 <dd>
6489
6490 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
6491
6492 </dd>
6493 </dl>
6494 </dd>
6495 </dl>
6496
6497
6498 </dd>
6499 </dl>
6500 </details>
6501
6502 ## Flows
6503 <details><summary><code>client.flows.<a href="src/auth0.management/flows/client.py">list</a>(...) -> ListFlowsOffsetPaginatedResponseContent</code></summary>
6504 <dl>
6505 <dd>
6506
6507 #### 🔌 Usage
6508
6509 <dl>
6510 <dd>
6511
6512 <dl>
6513 <dd>
6514
6515 ```python
6516 from auth0.management import Auth0
6517 from auth0.management.environment import Auth0Environment
6518
6519 client = Auth0(
6520 token="<token>",
6521 environment=Auth0Environment.DEFAULT,
6522 )
6523
6524 client.flows.list(
6525 page=1,
6526 per_page=1,
6527 include_totals=True,
6528 hydrate=[
6529 "form_count"
6530 ],
6531 synchronous=True,
6532 )
6533
6534 ```
6535 </dd>
6536 </dl>
6537 </dd>
6538 </dl>
6539
6540 #### ⚙️ Parameters
6541
6542 <dl>
6543 <dd>
6544
6545 <dl>
6546 <dd>
6547
6548 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
6549
6550 </dd>
6551 </dl>
6552
6553 <dl>
6554 <dd>
6555
6556 **per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
6557
6558 </dd>
6559 </dl>
6560
6561 <dl>
6562 <dd>
6563
6564 **include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
6565
6566 </dd>
6567 </dl>
6568
6569 <dl>
6570 <dd>
6571
6572 **hydrate:** `typing.Optional[typing.Union[typing.Optional[ListFlowsRequestParametersHydrateEnum], typing.Sequence[typing.Optional[ListFlowsRequestParametersHydrateEnum]]]]` — hydration param
6573
6574 </dd>
6575 </dl>
6576
6577 <dl>
6578 <dd>
6579
6580 **synchronous:** `typing.Optional[bool]` — flag to filter by sync/async flows
6581
6582 </dd>
6583 </dl>
6584
6585 <dl>
6586 <dd>
6587
6588 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
6589
6590 </dd>
6591 </dl>
6592 </dd>
6593 </dl>
6594
6595
6596 </dd>
6597 </dl>
6598 </details>
6599
6600 <details><summary><code>client.flows.<a href="src/auth0.management/flows/client.py">create</a>(...) -> CreateFlowResponseContent</code></summary>
6601 <dl>
6602 <dd>
6603
6604 #### 🔌 Usage
6605
6606 <dl>
6607 <dd>
6608
6609 <dl>
6610 <dd>
6611
6612 ```python
6613 from auth0.management import Auth0
6614 from auth0.management.environment import Auth0Environment
6615
6616 client = Auth0(
6617 token="<token>",
6618 environment=Auth0Environment.DEFAULT,
6619 )
6620
6621 client.flows.create(
6622 name="name",
6623 )
6624
6625 ```
6626 </dd>
6627 </dl>
6628 </dd>
6629 </dl>
6630
6631 #### ⚙️ Parameters
6632
6633 <dl>
6634 <dd>
6635
6636 <dl>
6637 <dd>
6638
6639 **name:** `str`
6640
6641 </dd>
6642 </dl>
6643
6644 <dl>
6645 <dd>
6646
6647 **actions:** `typing.Optional[typing.List[FlowAction]]`
6648
6649 </dd>
6650 </dl>
6651
6652 <dl>
6653 <dd>
6654
6655 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
6656
6657 </dd>
6658 </dl>
6659 </dd>
6660 </dl>
6661
6662
6663 </dd>
6664 </dl>
6665 </details>
6666
6667 <details><summary><code>client.flows.<a href="src/auth0.management/flows/client.py">get</a>(...) -> GetFlowResponseContent</code></summary>
6668 <dl>
6669 <dd>
6670
6671 #### 🔌 Usage
6672
6673 <dl>
6674 <dd>
6675
6676 <dl>
6677 <dd>
6678
6679 ```python
6680 from auth0.management import Auth0
6681 from auth0.management.environment import Auth0Environment
6682
6683 client = Auth0(
6684 token="<token>",
6685 environment=Auth0Environment.DEFAULT,
6686 )
6687
6688 client.flows.get(
6689 id="id",
6690 hydrate=[
6691 "form_count"
6692 ],
6693 )
6694
6695 ```
6696 </dd>
6697 </dl>
6698 </dd>
6699 </dl>
6700
6701 #### ⚙️ Parameters
6702
6703 <dl>
6704 <dd>
6705
6706 <dl>
6707 <dd>
6708
6709 **id:** `str` — Flow identifier
6710
6711 </dd>
6712 </dl>
6713
6714 <dl>
6715 <dd>
6716
6717 **hydrate:** `typing.Optional[typing.Union[typing.Optional[GetFlowRequestParametersHydrateEnum], typing.Sequence[typing.Optional[GetFlowRequestParametersHydrateEnum]]]]` — hydration param
6718
6719 </dd>
6720 </dl>
6721
6722 <dl>
6723 <dd>
6724
6725 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
6726
6727 </dd>
6728 </dl>
6729 </dd>
6730 </dl>
6731
6732
6733 </dd>
6734 </dl>
6735 </details>
6736
6737 <details><summary><code>client.flows.<a href="src/auth0.management/flows/client.py">delete</a>(...)</code></summary>
6738 <dl>
6739 <dd>
6740
6741 #### 🔌 Usage
6742
6743 <dl>
6744 <dd>
6745
6746 <dl>
6747 <dd>
6748
6749 ```python
6750 from auth0.management import Auth0
6751 from auth0.management.environment import Auth0Environment
6752
6753 client = Auth0(
6754 token="<token>",
6755 environment=Auth0Environment.DEFAULT,
6756 )
6757
6758 client.flows.delete(
6759 id="id",
6760 )
6761
6762 ```
6763 </dd>
6764 </dl>
6765 </dd>
6766 </dl>
6767
6768 #### ⚙️ Parameters
6769
6770 <dl>
6771 <dd>
6772
6773 <dl>
6774 <dd>
6775
6776 **id:** `str` — Flow id
6777
6778 </dd>
6779 </dl>
6780
6781 <dl>
6782 <dd>
6783
6784 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
6785
6786 </dd>
6787 </dl>
6788 </dd>
6789 </dl>
6790
6791
6792 </dd>
6793 </dl>
6794 </details>
6795
6796 <details><summary><code>client.flows.<a href="src/auth0.management/flows/client.py">update</a>(...) -> UpdateFlowResponseContent</code></summary>
6797 <dl>
6798 <dd>
6799
6800 #### 🔌 Usage
6801
6802 <dl>
6803 <dd>
6804
6805 <dl>
6806 <dd>
6807
6808 ```python
6809 from auth0.management import Auth0
6810 from auth0.management.environment import Auth0Environment
6811
6812 client = Auth0(
6813 token="<token>",
6814 environment=Auth0Environment.DEFAULT,
6815 )
6816
6817 client.flows.update(
6818 id="id",
6819 )
6820
6821 ```
6822 </dd>
6823 </dl>
6824 </dd>
6825 </dl>
6826
6827 #### ⚙️ Parameters
6828
6829 <dl>
6830 <dd>
6831
6832 <dl>
6833 <dd>
6834
6835 **id:** `str` — Flow identifier
6836
6837 </dd>
6838 </dl>
6839
6840 <dl>
6841 <dd>
6842
6843 **name:** `typing.Optional[str]`
6844
6845 </dd>
6846 </dl>
6847
6848 <dl>
6849 <dd>
6850
6851 **actions:** `typing.Optional[typing.List[FlowAction]]`
6852
6853 </dd>
6854 </dl>
6855
6856 <dl>
6857 <dd>
6858
6859 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
6860
6861 </dd>
6862 </dl>
6863 </dd>
6864 </dl>
6865
6866
6867 </dd>
6868 </dl>
6869 </details>
6870
6871 ## Forms
6872 <details><summary><code>client.forms.<a href="src/auth0.management/forms/client.py">list</a>(...) -> ListFormsOffsetPaginatedResponseContent</code></summary>
6873 <dl>
6874 <dd>
6875
6876 #### 🔌 Usage
6877
6878 <dl>
6879 <dd>
6880
6881 <dl>
6882 <dd>
6883
6884 ```python
6885 from auth0.management import Auth0
6886 from auth0.management.environment import Auth0Environment
6887
6888 client = Auth0(
6889 token="<token>",
6890 environment=Auth0Environment.DEFAULT,
6891 )
6892
6893 client.forms.list(
6894 page=1,
6895 per_page=1,
6896 include_totals=True,
6897 hydrate=[
6898 "flow_count"
6899 ],
6900 )
6901
6902 ```
6903 </dd>
6904 </dl>
6905 </dd>
6906 </dl>
6907
6908 #### ⚙️ Parameters
6909
6910 <dl>
6911 <dd>
6912
6913 <dl>
6914 <dd>
6915
6916 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
6917
6918 </dd>
6919 </dl>
6920
6921 <dl>
6922 <dd>
6923
6924 **per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
6925
6926 </dd>
6927 </dl>
6928
6929 <dl>
6930 <dd>
6931
6932 **include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
6933
6934 </dd>
6935 </dl>
6936
6937 <dl>
6938 <dd>
6939
6940 **hydrate:** `typing.Optional[typing.Union[typing.Optional[FormsRequestParametersHydrateEnum], typing.Sequence[typing.Optional[FormsRequestParametersHydrateEnum]]]]` — Query parameter to hydrate the response with additional data
6941
6942 </dd>
6943 </dl>
6944
6945 <dl>
6946 <dd>
6947
6948 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
6949
6950 </dd>
6951 </dl>
6952 </dd>
6953 </dl>
6954
6955
6956 </dd>
6957 </dl>
6958 </details>
6959
6960 <details><summary><code>client.forms.<a href="src/auth0.management/forms/client.py">create</a>(...) -> CreateFormResponseContent</code></summary>
6961 <dl>
6962 <dd>
6963
6964 #### 🔌 Usage
6965
6966 <dl>
6967 <dd>
6968
6969 <dl>
6970 <dd>
6971
6972 ```python
6973 from auth0.management import Auth0
6974 from auth0.management.environment import Auth0Environment
6975
6976 client = Auth0(
6977 token="<token>",
6978 environment=Auth0Environment.DEFAULT,
6979 )
6980
6981 client.forms.create(
6982 name="name",
6983 )
6984
6985 ```
6986 </dd>
6987 </dl>
6988 </dd>
6989 </dl>
6990
6991 #### ⚙️ Parameters
6992
6993 <dl>
6994 <dd>
6995
6996 <dl>
6997 <dd>
6998
6999 **name:** `str`
7000
7001 </dd>
7002 </dl>
7003
7004 <dl>
7005 <dd>
7006
7007 **messages:** `typing.Optional[FormMessages]`
7008
7009 </dd>
7010 </dl>
7011
7012 <dl>
7013 <dd>
7014
7015 **languages:** `typing.Optional[FormLanguages]`
7016
7017 </dd>
7018 </dl>
7019
7020 <dl>
7021 <dd>
7022
7023 **translations:** `typing.Optional[FormTranslations]`
7024
7025 </dd>
7026 </dl>
7027
7028 <dl>
7029 <dd>
7030
7031 **nodes:** `typing.Optional[FormNodeList]`
7032
7033 </dd>
7034 </dl>
7035
7036 <dl>
7037 <dd>
7038
7039 **start:** `typing.Optional[FormStartNode]`
7040
7041 </dd>
7042 </dl>
7043
7044 <dl>
7045 <dd>
7046
7047 **ending:** `typing.Optional[FormEndingNode]`
7048
7049 </dd>
7050 </dl>
7051
7052 <dl>
7053 <dd>
7054
7055 **style:** `typing.Optional[FormStyle]`
7056
7057 </dd>
7058 </dl>
7059
7060 <dl>
7061 <dd>
7062
7063 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
7064
7065 </dd>
7066 </dl>
7067 </dd>
7068 </dl>
7069
7070
7071 </dd>
7072 </dl>
7073 </details>
7074
7075 <details><summary><code>client.forms.<a href="src/auth0.management/forms/client.py">get</a>(...) -> GetFormResponseContent</code></summary>
7076 <dl>
7077 <dd>
7078
7079 #### 🔌 Usage
7080
7081 <dl>
7082 <dd>
7083
7084 <dl>
7085 <dd>
7086
7087 ```python
7088 from auth0.management import Auth0
7089 from auth0.management.environment import Auth0Environment
7090
7091 client = Auth0(
7092 token="<token>",
7093 environment=Auth0Environment.DEFAULT,
7094 )
7095
7096 client.forms.get(
7097 id="id",
7098 hydrate=[
7099 "flow_count"
7100 ],
7101 )
7102
7103 ```
7104 </dd>
7105 </dl>
7106 </dd>
7107 </dl>
7108
7109 #### ⚙️ Parameters
7110
7111 <dl>
7112 <dd>
7113
7114 <dl>
7115 <dd>
7116
7117 **id:** `str` — The ID of the form to retrieve.
7118
7119 </dd>
7120 </dl>
7121
7122 <dl>
7123 <dd>
7124
7125 **hydrate:** `typing.Optional[typing.Union[typing.Optional[FormsRequestParametersHydrateEnum], typing.Sequence[typing.Optional[FormsRequestParametersHydrateEnum]]]]` — Query parameter to hydrate the response with additional data
7126
7127 </dd>
7128 </dl>
7129
7130 <dl>
7131 <dd>
7132
7133 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
7134
7135 </dd>
7136 </dl>
7137 </dd>
7138 </dl>
7139
7140
7141 </dd>
7142 </dl>
7143 </details>
7144
7145 <details><summary><code>client.forms.<a href="src/auth0.management/forms/client.py">delete</a>(...)</code></summary>
7146 <dl>
7147 <dd>
7148
7149 #### 🔌 Usage
7150
7151 <dl>
7152 <dd>
7153
7154 <dl>
7155 <dd>
7156
7157 ```python
7158 from auth0.management import Auth0
7159 from auth0.management.environment import Auth0Environment
7160
7161 client = Auth0(
7162 token="<token>",
7163 environment=Auth0Environment.DEFAULT,
7164 )
7165
7166 client.forms.delete(
7167 id="id",
7168 )
7169
7170 ```
7171 </dd>
7172 </dl>
7173 </dd>
7174 </dl>
7175
7176 #### ⚙️ Parameters
7177
7178 <dl>
7179 <dd>
7180
7181 <dl>
7182 <dd>
7183
7184 **id:** `str` — The ID of the form to delete.
7185
7186 </dd>
7187 </dl>
7188
7189 <dl>
7190 <dd>
7191
7192 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
7193
7194 </dd>
7195 </dl>
7196 </dd>
7197 </dl>
7198
7199
7200 </dd>
7201 </dl>
7202 </details>
7203
7204 <details><summary><code>client.forms.<a href="src/auth0.management/forms/client.py">update</a>(...) -> UpdateFormResponseContent</code></summary>
7205 <dl>
7206 <dd>
7207
7208 #### 🔌 Usage
7209
7210 <dl>
7211 <dd>
7212
7213 <dl>
7214 <dd>
7215
7216 ```python
7217 from auth0.management import Auth0
7218 from auth0.management.environment import Auth0Environment
7219
7220 client = Auth0(
7221 token="<token>",
7222 environment=Auth0Environment.DEFAULT,
7223 )
7224
7225 client.forms.update(
7226 id="id",
7227 )
7228
7229 ```
7230 </dd>
7231 </dl>
7232 </dd>
7233 </dl>
7234
7235 #### ⚙️ Parameters
7236
7237 <dl>
7238 <dd>
7239
7240 <dl>
7241 <dd>
7242
7243 **id:** `str` — The ID of the form to update.
7244
7245 </dd>
7246 </dl>
7247
7248 <dl>
7249 <dd>
7250
7251 **name:** `typing.Optional[str]`
7252
7253 </dd>
7254 </dl>
7255
7256 <dl>
7257 <dd>
7258
7259 **messages:** `typing.Optional[FormMessagesNullable]`
7260
7261 </dd>
7262 </dl>
7263
7264 <dl>
7265 <dd>
7266
7267 **languages:** `typing.Optional[FormLanguagesNullable]`
7268
7269 </dd>
7270 </dl>
7271
7272 <dl>
7273 <dd>
7274
7275 **translations:** `typing.Optional[FormTranslationsNullable]`
7276
7277 </dd>
7278 </dl>
7279
7280 <dl>
7281 <dd>
7282
7283 **nodes:** `typing.Optional[FormNodeListNullable]`
7284
7285 </dd>
7286 </dl>
7287
7288 <dl>
7289 <dd>
7290
7291 **start:** `typing.Optional[FormStartNodeNullable]`
7292
7293 </dd>
7294 </dl>
7295
7296 <dl>
7297 <dd>
7298
7299 **ending:** `typing.Optional[FormEndingNodeNullable]`
7300
7301 </dd>
7302 </dl>
7303
7304 <dl>
7305 <dd>
7306
7307 **style:** `typing.Optional[FormStyleNullable]`
7308
7309 </dd>
7310 </dl>
7311
7312 <dl>
7313 <dd>
7314
7315 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
7316
7317 </dd>
7318 </dl>
7319 </dd>
7320 </dl>
7321
7322
7323 </dd>
7324 </dl>
7325 </details>
7326
7327 ## UserGrants
7328 <details><summary><code>client.user_grants.<a href="src/auth0.management/user_grants/client.py">list</a>(...) -> ListUserGrantsOffsetPaginatedResponseContent</code></summary>
7329 <dl>
7330 <dd>
7331
7332 #### 📝 Description
7333
7334 <dl>
7335 <dd>
7336
7337 <dl>
7338 <dd>
7339
7340 Retrieve the [grants](https://auth0.com/docs/api-auth/which-oauth-flow-to-use) associated with your account.
7341 </dd>
7342 </dl>
7343 </dd>
7344 </dl>
7345
7346 #### 🔌 Usage
7347
7348 <dl>
7349 <dd>
7350
7351 <dl>
7352 <dd>
7353
7354 ```python
7355 from auth0.management import Auth0
7356 from auth0.management.environment import Auth0Environment
7357
7358 client = Auth0(
7359 token="<token>",
7360 environment=Auth0Environment.DEFAULT,
7361 )
7362
7363 client.user_grants.list(
7364 per_page=1,
7365 page=1,
7366 include_totals=True,
7367 user_id="user_id",
7368 client_id="client_id",
7369 audience="audience",
7370 )
7371
7372 ```
7373 </dd>
7374 </dl>
7375 </dd>
7376 </dl>
7377
7378 #### ⚙️ Parameters
7379
7380 <dl>
7381 <dd>
7382
7383 <dl>
7384 <dd>
7385
7386 **per_page:** `typing.Optional[int]` — Number of results per page.
7387
7388 </dd>
7389 </dl>
7390
7391 <dl>
7392 <dd>
7393
7394 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
7395
7396 </dd>
7397 </dl>
7398
7399 <dl>
7400 <dd>
7401
7402 **include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
7403
7404 </dd>
7405 </dl>
7406
7407 <dl>
7408 <dd>
7409
7410 **user_id:** `typing.Optional[str]` — user_id of the grants to retrieve.
7411
7412 </dd>
7413 </dl>
7414
7415 <dl>
7416 <dd>
7417
7418 **client_id:** `typing.Optional[str]` — client_id of the grants to retrieve.
7419
7420 </dd>
7421 </dl>
7422
7423 <dl>
7424 <dd>
7425
7426 **audience:** `typing.Optional[str]` — audience of the grants to retrieve.
7427
7428 </dd>
7429 </dl>
7430
7431 <dl>
7432 <dd>
7433
7434 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
7435
7436 </dd>
7437 </dl>
7438 </dd>
7439 </dl>
7440
7441
7442 </dd>
7443 </dl>
7444 </details>
7445
7446 <details><summary><code>client.user_grants.<a href="src/auth0.management/user_grants/client.py">delete_by_user_id</a>(...)</code></summary>
7447 <dl>
7448 <dd>
7449
7450 #### 📝 Description
7451
7452 <dl>
7453 <dd>
7454
7455 <dl>
7456 <dd>
7457
7458 Delete a grant associated with your account.
7459 </dd>
7460 </dl>
7461 </dd>
7462 </dl>
7463
7464 #### 🔌 Usage
7465
7466 <dl>
7467 <dd>
7468
7469 <dl>
7470 <dd>
7471
7472 ```python
7473 from auth0.management import Auth0
7474 from auth0.management.environment import Auth0Environment
7475
7476 client = Auth0(
7477 token="<token>",
7478 environment=Auth0Environment.DEFAULT,
7479 )
7480
7481 client.user_grants.delete_by_user_id(
7482 user_id="user_id",
7483 )
7484
7485 ```
7486 </dd>
7487 </dl>
7488 </dd>
7489 </dl>
7490
7491 #### ⚙️ Parameters
7492
7493 <dl>
7494 <dd>
7495
7496 <dl>
7497 <dd>
7498
7499 **user_id:** `str` — user_id of the grant to delete.
7500
7501 </dd>
7502 </dl>
7503
7504 <dl>
7505 <dd>
7506
7507 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
7508
7509 </dd>
7510 </dl>
7511 </dd>
7512 </dl>
7513
7514
7515 </dd>
7516 </dl>
7517 </details>
7518
7519 <details><summary><code>client.user_grants.<a href="src/auth0.management/user_grants/client.py">delete</a>(...)</code></summary>
7520 <dl>
7521 <dd>
7522
7523 #### 📝 Description
7524
7525 <dl>
7526 <dd>
7527
7528 <dl>
7529 <dd>
7530
7531 Delete a grant associated with your account.
7532 </dd>
7533 </dl>
7534 </dd>
7535 </dl>
7536
7537 #### 🔌 Usage
7538
7539 <dl>
7540 <dd>
7541
7542 <dl>
7543 <dd>
7544
7545 ```python
7546 from auth0.management import Auth0
7547 from auth0.management.environment import Auth0Environment
7548
7549 client = Auth0(
7550 token="<token>",
7551 environment=Auth0Environment.DEFAULT,
7552 )
7553
7554 client.user_grants.delete(
7555 id="id",
7556 )
7557
7558 ```
7559 </dd>
7560 </dl>
7561 </dd>
7562 </dl>
7563
7564 #### ⚙️ Parameters
7565
7566 <dl>
7567 <dd>
7568
7569 <dl>
7570 <dd>
7571
7572 **id:** `str` — ID of the grant to delete.
7573
7574 </dd>
7575 </dl>
7576
7577 <dl>
7578 <dd>
7579
7580 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
7581
7582 </dd>
7583 </dl>
7584 </dd>
7585 </dl>
7586
7587
7588 </dd>
7589 </dl>
7590 </details>
7591
7592 ## Groups
7593 <details><summary><code>client.groups.<a href="src/auth0.management/groups/client.py">list</a>(...) -> ListGroupsPaginatedResponseContent</code></summary>
7594 <dl>
7595 <dd>
7596
7597 #### 📝 Description
7598
7599 <dl>
7600 <dd>
7601
7602 <dl>
7603 <dd>
7604
7605 List all groups in your tenant.
7606 </dd>
7607 </dl>
7608 </dd>
7609 </dl>
7610
7611 #### 🔌 Usage
7612
7613 <dl>
7614 <dd>
7615
7616 <dl>
7617 <dd>
7618
7619 ```python
7620 from auth0.management import Auth0
7621 from auth0.management.environment import Auth0Environment
7622
7623 client = Auth0(
7624 token="<token>",
7625 environment=Auth0Environment.DEFAULT,
7626 )
7627
7628 client.groups.list(
7629 connection_id="connection_id",
7630 name="name",
7631 external_id="external_id",
7632 search="search",
7633 fields="fields",
7634 include_fields=True,
7635 from_="from",
7636 take=1,
7637 )
7638
7639 ```
7640 </dd>
7641 </dl>
7642 </dd>
7643 </dl>
7644
7645 #### ⚙️ Parameters
7646
7647 <dl>
7648 <dd>
7649
7650 <dl>
7651 <dd>
7652
7653 **connection_id:** `typing.Optional[str]` — Filter groups by connection ID.
7654
7655 </dd>
7656 </dl>
7657
7658 <dl>
7659 <dd>
7660
7661 **name:** `typing.Optional[str]` — Filter groups by name.
7662
7663 </dd>
7664 </dl>
7665
7666 <dl>
7667 <dd>
7668
7669 **external_id:** `typing.Optional[str]` — Filter groups by external ID.
7670
7671 </dd>
7672 </dl>
7673
7674 <dl>
7675 <dd>
7676
7677 **search:** `typing.Optional[str]` — Search for groups by name or external ID.
7678
7679 </dd>
7680 </dl>
7681
7682 <dl>
7683 <dd>
7684
7685 **fields:** `typing.Optional[str]` — A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields
7686
7687 </dd>
7688 </dl>
7689
7690 <dl>
7691 <dd>
7692
7693 **include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
7694
7695 </dd>
7696 </dl>
7697
7698 <dl>
7699 <dd>
7700
7701 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
7702
7703 </dd>
7704 </dl>
7705
7706 <dl>
7707 <dd>
7708
7709 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
7710
7711 </dd>
7712 </dl>
7713
7714 <dl>
7715 <dd>
7716
7717 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
7718
7719 </dd>
7720 </dl>
7721 </dd>
7722 </dl>
7723
7724
7725 </dd>
7726 </dl>
7727 </details>
7728
7729 <details><summary><code>client.groups.<a href="src/auth0.management/groups/client.py">get</a>(...) -> GetGroupResponseContent</code></summary>
7730 <dl>
7731 <dd>
7732
7733 #### 📝 Description
7734
7735 <dl>
7736 <dd>
7737
7738 <dl>
7739 <dd>
7740
7741 Retrieve a group by its ID.
7742 </dd>
7743 </dl>
7744 </dd>
7745 </dl>
7746
7747 #### 🔌 Usage
7748
7749 <dl>
7750 <dd>
7751
7752 <dl>
7753 <dd>
7754
7755 ```python
7756 from auth0.management import Auth0
7757 from auth0.management.environment import Auth0Environment
7758
7759 client = Auth0(
7760 token="<token>",
7761 environment=Auth0Environment.DEFAULT,
7762 )
7763
7764 client.groups.get(
7765 id="id",
7766 )
7767
7768 ```
7769 </dd>
7770 </dl>
7771 </dd>
7772 </dl>
7773
7774 #### ⚙️ Parameters
7775
7776 <dl>
7777 <dd>
7778
7779 <dl>
7780 <dd>
7781
7782 **id:** `str` — Unique identifier for the group (service-generated).
7783
7784 </dd>
7785 </dl>
7786
7787 <dl>
7788 <dd>
7789
7790 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
7791
7792 </dd>
7793 </dl>
7794 </dd>
7795 </dl>
7796
7797
7798 </dd>
7799 </dl>
7800 </details>
7801
7802 <details><summary><code>client.groups.<a href="src/auth0.management/groups/client.py">delete</a>(...)</code></summary>
7803 <dl>
7804 <dd>
7805
7806 #### 📝 Description
7807
7808 <dl>
7809 <dd>
7810
7811 <dl>
7812 <dd>
7813
7814 Delete a group by its ID.
7815 </dd>
7816 </dl>
7817 </dd>
7818 </dl>
7819
7820 #### 🔌 Usage
7821
7822 <dl>
7823 <dd>
7824
7825 <dl>
7826 <dd>
7827
7828 ```python
7829 from auth0.management import Auth0
7830 from auth0.management.environment import Auth0Environment
7831
7832 client = Auth0(
7833 token="<token>",
7834 environment=Auth0Environment.DEFAULT,
7835 )
7836
7837 client.groups.delete(
7838 id="id",
7839 )
7840
7841 ```
7842 </dd>
7843 </dl>
7844 </dd>
7845 </dl>
7846
7847 #### ⚙️ Parameters
7848
7849 <dl>
7850 <dd>
7851
7852 <dl>
7853 <dd>
7854
7855 **id:** `str` — Unique identifier for the group (service-generated).
7856
7857 </dd>
7858 </dl>
7859
7860 <dl>
7861 <dd>
7862
7863 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
7864
7865 </dd>
7866 </dl>
7867 </dd>
7868 </dl>
7869
7870
7871 </dd>
7872 </dl>
7873 </details>
7874
7875 ## Hooks
7876 <details><summary><code>client.hooks.<a href="src/auth0.management/hooks/client.py">list</a>(...) -> ListHooksOffsetPaginatedResponseContent</code></summary>
7877 <dl>
7878 <dd>
7879
7880 #### 📝 Description
7881
7882 <dl>
7883 <dd>
7884
7885 <dl>
7886 <dd>
7887
7888 Retrieve all [hooks](https://auth0.com/docs/hooks). Accepts a list of fields to include or exclude in the result.
7889 </dd>
7890 </dl>
7891 </dd>
7892 </dl>
7893
7894 #### 🔌 Usage
7895
7896 <dl>
7897 <dd>
7898
7899 <dl>
7900 <dd>
7901
7902 ```python
7903 from auth0.management import Auth0
7904 from auth0.management.environment import Auth0Environment
7905
7906 client = Auth0(
7907 token="<token>",
7908 environment=Auth0Environment.DEFAULT,
7909 )
7910
7911 client.hooks.list(
7912 page=1,
7913 per_page=1,
7914 include_totals=True,
7915 enabled=True,
7916 fields="fields",
7917 trigger_id="credentials-exchange",
7918 )
7919
7920 ```
7921 </dd>
7922 </dl>
7923 </dd>
7924 </dl>
7925
7926 #### ⚙️ Parameters
7927
7928 <dl>
7929 <dd>
7930
7931 <dl>
7932 <dd>
7933
7934 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
7935
7936 </dd>
7937 </dl>
7938
7939 <dl>
7940 <dd>
7941
7942 **per_page:** `typing.Optional[int]` — Number of results per page.
7943
7944 </dd>
7945 </dl>
7946
7947 <dl>
7948 <dd>
7949
7950 **include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
7951
7952 </dd>
7953 </dl>
7954
7955 <dl>
7956 <dd>
7957
7958 **enabled:** `typing.Optional[bool]` — Optional filter on whether a hook is enabled (true) or disabled (false).
7959
7960 </dd>
7961 </dl>
7962
7963 <dl>
7964 <dd>
7965
7966 **fields:** `typing.Optional[str]` — Comma-separated list of fields to include in the result. Leave empty to retrieve all fields.
7967
7968 </dd>
7969 </dl>
7970
7971 <dl>
7972 <dd>
7973
7974 **trigger_id:** `typing.Optional[HookTriggerIdEnum]` — Retrieves hooks that match the trigger
7975
7976 </dd>
7977 </dl>
7978
7979 <dl>
7980 <dd>
7981
7982 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
7983
7984 </dd>
7985 </dl>
7986 </dd>
7987 </dl>
7988
7989
7990 </dd>
7991 </dl>
7992 </details>
7993
7994 <details><summary><code>client.hooks.<a href="src/auth0.management/hooks/client.py">create</a>(...) -> CreateHookResponseContent</code></summary>
7995 <dl>
7996 <dd>
7997
7998 #### 📝 Description
7999
8000 <dl>
8001 <dd>
8002
8003 <dl>
8004 <dd>
8005
8006 Create a new hook.
8007 </dd>
8008 </dl>
8009 </dd>
8010 </dl>
8011
8012 #### 🔌 Usage
8013
8014 <dl>
8015 <dd>
8016
8017 <dl>
8018 <dd>
8019
8020 ```python
8021 from auth0.management import Auth0
8022 from auth0.management.environment import Auth0Environment
8023
8024 client = Auth0(
8025 token="<token>",
8026 environment=Auth0Environment.DEFAULT,
8027 )
8028
8029 client.hooks.create(
8030 name="name",
8031 script="script",
8032 trigger_id="credentials-exchange",
8033 )
8034
8035 ```
8036 </dd>
8037 </dl>
8038 </dd>
8039 </dl>
8040
8041 #### ⚙️ Parameters
8042
8043 <dl>
8044 <dd>
8045
8046 <dl>
8047 <dd>
8048
8049 **name:** `str` — Name of this hook.
8050
8051 </dd>
8052 </dl>
8053
8054 <dl>
8055 <dd>
8056
8057 **script:** `str` — Code to be executed when this hook runs.
8058
8059 </dd>
8060 </dl>
8061
8062 <dl>
8063 <dd>
8064
8065 **trigger_id:** `HookTriggerIdEnum` — Execution stage of this rule. Can be `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, or `send-phone-message`.
8066
8067 </dd>
8068 </dl>
8069
8070 <dl>
8071 <dd>
8072
8073 **enabled:** `typing.Optional[bool]` — Whether this hook will be executed (true) or ignored (false).
8074
8075 </dd>
8076 </dl>
8077
8078 <dl>
8079 <dd>
8080
8081 **dependencies:** `typing.Optional[HookDependencies]`
8082
8083 </dd>
8084 </dl>
8085
8086 <dl>
8087 <dd>
8088
8089 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
8090
8091 </dd>
8092 </dl>
8093 </dd>
8094 </dl>
8095
8096
8097 </dd>
8098 </dl>
8099 </details>
8100
8101 <details><summary><code>client.hooks.<a href="src/auth0.management/hooks/client.py">get</a>(...) -> GetHookResponseContent</code></summary>
8102 <dl>
8103 <dd>
8104
8105 #### 📝 Description
8106
8107 <dl>
8108 <dd>
8109
8110 <dl>
8111 <dd>
8112
8113 Retrieve [a hook](https://auth0.com/docs/hooks) by its ID. Accepts a list of fields to include in the result.
8114 </dd>
8115 </dl>
8116 </dd>
8117 </dl>
8118
8119 #### 🔌 Usage
8120
8121 <dl>
8122 <dd>
8123
8124 <dl>
8125 <dd>
8126
8127 ```python
8128 from auth0.management import Auth0
8129 from auth0.management.environment import Auth0Environment
8130
8131 client = Auth0(
8132 token="<token>",
8133 environment=Auth0Environment.DEFAULT,
8134 )
8135
8136 client.hooks.get(
8137 id="id",
8138 fields="fields",
8139 )
8140
8141 ```
8142 </dd>
8143 </dl>
8144 </dd>
8145 </dl>
8146
8147 #### ⚙️ Parameters
8148
8149 <dl>
8150 <dd>
8151
8152 <dl>
8153 <dd>
8154
8155 **id:** `str` — ID of the hook to retrieve.
8156
8157 </dd>
8158 </dl>
8159
8160 <dl>
8161 <dd>
8162
8163 **fields:** `typing.Optional[str]` — Comma-separated list of fields to include in the result. Leave empty to retrieve all fields.
8164
8165 </dd>
8166 </dl>
8167
8168 <dl>
8169 <dd>
8170
8171 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
8172
8173 </dd>
8174 </dl>
8175 </dd>
8176 </dl>
8177
8178
8179 </dd>
8180 </dl>
8181 </details>
8182
8183 <details><summary><code>client.hooks.<a href="src/auth0.management/hooks/client.py">delete</a>(...)</code></summary>
8184 <dl>
8185 <dd>
8186
8187 #### 📝 Description
8188
8189 <dl>
8190 <dd>
8191
8192 <dl>
8193 <dd>
8194
8195 Delete a hook.
8196 </dd>
8197 </dl>
8198 </dd>
8199 </dl>
8200
8201 #### 🔌 Usage
8202
8203 <dl>
8204 <dd>
8205
8206 <dl>
8207 <dd>
8208
8209 ```python
8210 from auth0.management import Auth0
8211 from auth0.management.environment import Auth0Environment
8212
8213 client = Auth0(
8214 token="<token>",
8215 environment=Auth0Environment.DEFAULT,
8216 )
8217
8218 client.hooks.delete(
8219 id="id",
8220 )
8221
8222 ```
8223 </dd>
8224 </dl>
8225 </dd>
8226 </dl>
8227
8228 #### ⚙️ Parameters
8229
8230 <dl>
8231 <dd>
8232
8233 <dl>
8234 <dd>
8235
8236 **id:** `str` — ID of the hook to delete.
8237
8238 </dd>
8239 </dl>
8240
8241 <dl>
8242 <dd>
8243
8244 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
8245
8246 </dd>
8247 </dl>
8248 </dd>
8249 </dl>
8250
8251
8252 </dd>
8253 </dl>
8254 </details>
8255
8256 <details><summary><code>client.hooks.<a href="src/auth0.management/hooks/client.py">update</a>(...) -> UpdateHookResponseContent</code></summary>
8257 <dl>
8258 <dd>
8259
8260 #### 📝 Description
8261
8262 <dl>
8263 <dd>
8264
8265 <dl>
8266 <dd>
8267
8268 Update an existing hook.
8269 </dd>
8270 </dl>
8271 </dd>
8272 </dl>
8273
8274 #### 🔌 Usage
8275
8276 <dl>
8277 <dd>
8278
8279 <dl>
8280 <dd>
8281
8282 ```python
8283 from auth0.management import Auth0
8284 from auth0.management.environment import Auth0Environment
8285
8286 client = Auth0(
8287 token="<token>",
8288 environment=Auth0Environment.DEFAULT,
8289 )
8290
8291 client.hooks.update(
8292 id="id",
8293 )
8294
8295 ```
8296 </dd>
8297 </dl>
8298 </dd>
8299 </dl>
8300
8301 #### ⚙️ Parameters
8302
8303 <dl>
8304 <dd>
8305
8306 <dl>
8307 <dd>
8308
8309 **id:** `str` — ID of the hook to update.
8310
8311 </dd>
8312 </dl>
8313
8314 <dl>
8315 <dd>
8316
8317 **name:** `typing.Optional[str]` — Name of this hook.
8318
8319 </dd>
8320 </dl>
8321
8322 <dl>
8323 <dd>
8324
8325 **script:** `typing.Optional[str]` — Code to be executed when this hook runs.
8326
8327 </dd>
8328 </dl>
8329
8330 <dl>
8331 <dd>
8332
8333 **enabled:** `typing.Optional[bool]` — Whether this hook will be executed (true) or ignored (false).
8334
8335 </dd>
8336 </dl>
8337
8338 <dl>
8339 <dd>
8340
8341 **dependencies:** `typing.Optional[HookDependencies]`
8342
8343 </dd>
8344 </dl>
8345
8346 <dl>
8347 <dd>
8348
8349 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
8350
8351 </dd>
8352 </dl>
8353 </dd>
8354 </dl>
8355
8356
8357 </dd>
8358 </dl>
8359 </details>
8360
8361 ## Jobs
8362 <details><summary><code>client.jobs.<a href="src/auth0.management/jobs/client.py">get</a>(...) -> GetJobResponseContent</code></summary>
8363 <dl>
8364 <dd>
8365
8366 #### 📝 Description
8367
8368 <dl>
8369 <dd>
8370
8371 <dl>
8372 <dd>
8373
8374 Retrieves a job. Useful to check its status.
8375 </dd>
8376 </dl>
8377 </dd>
8378 </dl>
8379
8380 #### 🔌 Usage
8381
8382 <dl>
8383 <dd>
8384
8385 <dl>
8386 <dd>
8387
8388 ```python
8389 from auth0.management import Auth0
8390 from auth0.management.environment import Auth0Environment
8391
8392 client = Auth0(
8393 token="<token>",
8394 environment=Auth0Environment.DEFAULT,
8395 )
8396
8397 client.jobs.get(
8398 id="id",
8399 )
8400
8401 ```
8402 </dd>
8403 </dl>
8404 </dd>
8405 </dl>
8406
8407 #### ⚙️ Parameters
8408
8409 <dl>
8410 <dd>
8411
8412 <dl>
8413 <dd>
8414
8415 **id:** `str` — ID of the job.
8416
8417 </dd>
8418 </dl>
8419
8420 <dl>
8421 <dd>
8422
8423 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
8424
8425 </dd>
8426 </dl>
8427 </dd>
8428 </dl>
8429
8430
8431 </dd>
8432 </dl>
8433 </details>
8434
8435 ## LogStreams
8436 <details><summary><code>client.log_streams.<a href="src/auth0.management/log_streams/client.py">list</a>() -> typing.List[LogStreamResponseSchema]</code></summary>
8437 <dl>
8438 <dd>
8439
8440 #### 📝 Description
8441
8442 <dl>
8443 <dd>
8444
8445 <dl>
8446 <dd>
8447
8448 Retrieve details on [log streams](https://auth0.com/docs/logs/streams).
8449
8450 **Sample Response**
8451
8452 ```json
8453 [{
8454 "id": "string",
8455 "name": "string",
8456 "type": "eventbridge",
8457 "status": "active|paused|suspended",
8458 "sink": {
8459 "awsAccountId": "string",
8460 "awsRegion": "string",
8461 "awsPartnerEventSource": "string"
8462 }
8463 }, {
8464 "id": "string",
8465 "name": "string",
8466 "type": "http",
8467 "status": "active|paused|suspended",
8468 "sink": {
8469 "httpContentFormat": "JSONLINES|JSONARRAY",
8470 "httpContentType": "string",
8471 "httpEndpoint": "string",
8472 "httpAuthorization": "string"
8473 }
8474 },
8475 {
8476 "id": "string",
8477 "name": "string",
8478 "type": "eventgrid",
8479 "status": "active|paused|suspended",
8480 "sink": {
8481 "azureSubscriptionId": "string",
8482 "azureResourceGroup": "string",
8483 "azureRegion": "string",
8484 "azurePartnerTopic": "string"
8485 }
8486 },
8487 {
8488 "id": "string",
8489 "name": "string",
8490 "type": "splunk",
8491 "status": "active|paused|suspended",
8492 "sink": {
8493 "splunkDomain": "string",
8494 "splunkToken": "string",
8495 "splunkPort": "string",
8496 "splunkSecure": "boolean"
8497 }
8498 },
8499 {
8500 "id": "string",
8501 "name": "string",
8502 "type": "sumo",
8503 "status": "active|paused|suspended",
8504 "sink": {
8505 "sumoSourceAddress": "string"
8506 }
8507 },
8508 {
8509 "id": "string",
8510 "name": "string",
8511 "type": "datadog",
8512 "status": "active|paused|suspended",
8513 "sink": {
8514 "datadogRegion": "string",
8515 "datadogApiKey": "string"
8516 }
8517 }]
8518 ```
8519 </dd>
8520 </dl>
8521 </dd>
8522 </dl>
8523
8524 #### 🔌 Usage
8525
8526 <dl>
8527 <dd>
8528
8529 <dl>
8530 <dd>
8531
8532 ```python
8533 from auth0.management import Auth0
8534 from auth0.management.environment import Auth0Environment
8535
8536 client = Auth0(
8537 token="<token>",
8538 environment=Auth0Environment.DEFAULT,
8539 )
8540
8541 client.log_streams.list()
8542
8543 ```
8544 </dd>
8545 </dl>
8546 </dd>
8547 </dl>
8548
8549 #### ⚙️ Parameters
8550
8551 <dl>
8552 <dd>
8553
8554 <dl>
8555 <dd>
8556
8557 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
8558
8559 </dd>
8560 </dl>
8561 </dd>
8562 </dl>
8563
8564
8565 </dd>
8566 </dl>
8567 </details>
8568
8569 <details><summary><code>client.log_streams.<a href="src/auth0.management/log_streams/client.py">create</a>(...) -> CreateLogStreamResponseContent</code></summary>
8570 <dl>
8571 <dd>
8572
8573 #### 📝 Description
8574
8575 <dl>
8576 <dd>
8577
8578 <dl>
8579 <dd>
8580
8581 Create a log stream.
8582
8583 **Log Stream Types**
8584
8585 The `type` of log stream being created determines the properties required in the `sink` payload.
8586
8587 **HTTP Stream**
8588
8589 For an `http` Stream, the `sink` properties are listed in the payload below.
8590
8591 **Request:**
8592 ```json
8593 {
8594 "name": "string",
8595 "type": "http",
8596 "sink": {
8597 "httpEndpoint": "string",
8598 "httpContentType": "string",
8599 "httpContentFormat": "JSONLINES|JSONARRAY",
8600 "httpAuthorization": "string"
8601 }
8602 }
8603 ```
8604
8605 **Response:**
8606 ```json
8607 {
8608 "id": "string",
8609 "name": "string",
8610 "type": "http",
8611 "status": "active",
8612 "sink": {
8613 "httpEndpoint": "string",
8614 "httpContentType": "string",
8615 "httpContentFormat": "JSONLINES|JSONARRAY",
8616 "httpAuthorization": "string"
8617 }
8618 }
8619 ```
8620
8621 **Amazon EventBridge Stream**
8622
8623 For an `eventbridge` Stream, the `sink` properties are listed in the payload below.
8624
8625 **Request:**
8626 ```json
8627 {
8628 "name": "string",
8629 "type": "eventbridge",
8630 "sink": {
8631 "awsRegion": "string",
8632 "awsAccountId": "string"
8633 }
8634 }
8635 ```
8636
8637 The response will include an additional field `awsPartnerEventSource` in the `sink`:
8638
8639 **Response:**
8640 ```json
8641 {
8642 "id": "string",
8643 "name": "string",
8644 "type": "eventbridge",
8645 "status": "active",
8646 "sink": {
8647 "awsAccountId": "string",
8648 "awsRegion": "string",
8649 "awsPartnerEventSource": "string"
8650 }
8651 }
8652 ```
8653
8654 **Azure Event Grid Stream**
8655
8656 For an `Azure Event Grid` Stream, the `sink` properties are listed in the payload below.
8657
8658 **Request:**
8659 ```json
8660 {
8661 "name": "string",
8662 "type": "eventgrid",
8663 "sink": {
8664 "azureSubscriptionId": "string",
8665 "azureResourceGroup": "string",
8666 "azureRegion": "string"
8667 }
8668 }
8669 ```
8670
8671 **Response:**
8672 ```json
8673 {
8674 "id": "string",
8675 "name": "string",
8676 "type": "http",
8677 "status": "active",
8678 "sink": {
8679 "azureSubscriptionId": "string",
8680 "azureResourceGroup": "string",
8681 "azureRegion": "string",
8682 "azurePartnerTopic": "string"
8683 }
8684 }
8685 ```
8686
8687 **Datadog Stream**
8688
8689 For a `Datadog` Stream, the `sink` properties are listed in the payload below.
8690
8691 **Request:**
8692 ```json
8693 {
8694 "name": "string",
8695 "type": "datadog",
8696 "sink": {
8697 "datadogRegion": "string",
8698 "datadogApiKey": "string"
8699 }
8700 }
8701 ```
8702
8703 **Response:**
8704 ```json
8705 {
8706 "id": "string",
8707 "name": "string",
8708 "type": "datadog",
8709 "status": "active",
8710 "sink": {
8711 "datadogRegion": "string",
8712 "datadogApiKey": "string"
8713 }
8714 }
8715 ```
8716
8717 **Splunk Stream**
8718
8719 For a `Splunk` Stream, the `sink` properties are listed in the payload below.
8720
8721 **Request:**
8722 ```json
8723 {
8724 "name": "string",
8725 "type": "splunk",
8726 "sink": {
8727 "splunkDomain": "string",
8728 "splunkToken": "string",
8729 "splunkPort": "string",
8730 "splunkSecure": "boolean"
8731 }
8732 }
8733 ```
8734
8735 **Response:**
8736 ```json
8737 {
8738 "id": "string",
8739 "name": "string",
8740 "type": "splunk",
8741 "status": "active",
8742 "sink": {
8743 "splunkDomain": "string",
8744 "splunkToken": "string",
8745 "splunkPort": "string",
8746 "splunkSecure": "boolean"
8747 }
8748 }
8749 ```
8750
8751 **Sumo Logic Stream**
8752
8753 For a `Sumo Logic` Stream, the `sink` properties are listed in the payload below.
8754
8755 **Request:**
8756 ```json
8757 {
8758 "name": "string",
8759 "type": "sumo",
8760 "sink": {
8761 "sumoSourceAddress": "string"
8762 }
8763 }
8764 ```
8765
8766 **Response:**
8767 ```json
8768 {
8769 "id": "string",
8770 "name": "string",
8771 "type": "sumo",
8772 "status": "active",
8773 "sink": {
8774 "sumoSourceAddress": "string"
8775 }
8776 }
8777 ```
8778 </dd>
8779 </dl>
8780 </dd>
8781 </dl>
8782
8783 #### 🔌 Usage
8784
8785 <dl>
8786 <dd>
8787
8788 <dl>
8789 <dd>
8790
8791 ```python
8792 from auth0.management import Auth0, CreateLogStreamHttpRequestBody, LogStreamHttpSink
8793 from auth0.management.environment import Auth0Environment
8794
8795 client = Auth0(
8796 token="<token>",
8797 environment=Auth0Environment.DEFAULT,
8798 )
8799
8800 client.log_streams.create(
8801 request=CreateLogStreamHttpRequestBody(
8802 type="http",
8803 sink=LogStreamHttpSink(
8804 http_endpoint="httpEndpoint",
8805 ),
8806 ),
8807 )
8808
8809 ```
8810 </dd>
8811 </dl>
8812 </dd>
8813 </dl>
8814
8815 #### ⚙️ Parameters
8816
8817 <dl>
8818 <dd>
8819
8820 <dl>
8821 <dd>
8822
8823 **request:** `CreateLogStreamRequestContent`
8824
8825 </dd>
8826 </dl>
8827
8828 <dl>
8829 <dd>
8830
8831 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
8832
8833 </dd>
8834 </dl>
8835 </dd>
8836 </dl>
8837
8838
8839 </dd>
8840 </dl>
8841 </details>
8842
8843 <details><summary><code>client.log_streams.<a href="src/auth0.management/log_streams/client.py">get</a>(...) -> GetLogStreamResponseContent</code></summary>
8844 <dl>
8845 <dd>
8846
8847 #### 📝 Description
8848
8849 <dl>
8850 <dd>
8851
8852 <dl>
8853 <dd>
8854
8855 Retrieve a log stream configuration and status.
8856
8857 **Sample responses**
8858
8859 **Amazon EventBridge Log Stream**
8860
8861 ```json
8862 {
8863 "id": "string",
8864 "name": "string",
8865 "type": "eventbridge",
8866 "status": "active|paused|suspended",
8867 "sink": {
8868 "awsAccountId": "string",
8869 "awsRegion": "string",
8870 "awsPartnerEventSource": "string"
8871 }
8872 }
8873 ```
8874
8875 **HTTP Log Stream**
8876
8877 ```json
8878 {
8879 "id": "string",
8880 "name": "string",
8881 "type": "http",
8882 "status": "active|paused|suspended",
8883 "sink": {
8884 "httpContentFormat": "JSONLINES|JSONARRAY",
8885 "httpContentType": "string",
8886 "httpEndpoint": "string",
8887 "httpAuthorization": "string"
8888 }
8889 }
8890 ```
8891
8892 **Datadog Log Stream**
8893
8894 ```json
8895 {
8896 "id": "string",
8897 "name": "string",
8898 "type": "datadog",
8899 "status": "active|paused|suspended",
8900 "sink": {
8901 "datadogRegion": "string",
8902 "datadogApiKey": "string"
8903 }
8904 }
8905 ```
8906
8907 **Mixpanel**
8908
8909 **Request:**
8910
8911 ```json
8912 {
8913 "name": "string",
8914 "type": "mixpanel",
8915 "sink": {
8916 "mixpanelRegion": "string",
8917 "mixpanelProjectId": "string",
8918 "mixpanelServiceAccountUsername": "string",
8919 "mixpanelServiceAccountPassword": "string"
8920 }
8921 }
8922 ```
8923
8924 **Response:**
8925
8926 ```json
8927 {
8928 "id": "string",
8929 "name": "string",
8930 "type": "mixpanel",
8931 "status": "active",
8932 "sink": {
8933 "mixpanelRegion": "string",
8934 "mixpanelProjectId": "string",
8935 "mixpanelServiceAccountUsername": "string",
8936 "mixpanelServiceAccountPassword": "string"
8937 }
8938 }
8939 ```
8940
8941 **Segment**
8942
8943 **Request:**
8944
8945 ```json
8946 {
8947 "name": "string",
8948 "type": "segment",
8949 "sink": {
8950 "segmentWriteKey": "string"
8951 }
8952 }
8953 ```
8954
8955 **Response:**
8956
8957 ```json
8958 {
8959 "id": "string",
8960 "name": "string",
8961 "type": "segment",
8962 "status": "active",
8963 "sink": {
8964 "segmentWriteKey": "string"
8965 }
8966 }
8967 ```
8968
8969 **Splunk Log Stream**
8970
8971 ```json
8972 {
8973 "id": "string",
8974 "name": "string",
8975 "type": "splunk",
8976 "status": "active|paused|suspended",
8977 "sink": {
8978 "splunkDomain": "string",
8979 "splunkToken": "string",
8980 "splunkPort": "string",
8981 "splunkSecure": "boolean"
8982 }
8983 }
8984 ```
8985
8986 **Sumo Logic Log Stream**
8987
8988 ```json
8989 {
8990 "id": "string",
8991 "name": "string",
8992 "type": "sumo",
8993 "status": "active|paused|suspended",
8994 "sink": {
8995 "sumoSourceAddress": "string"
8996 }
8997 }
8998 ```
8999
9000 **Status**
9001
9002 The `status` of a log stream maybe any of the following:
9003
9004 1. `active` - Stream is currently enabled.
9005 2. `paused` - Stream is currently user disabled and will not attempt log delivery.
9006 3. `suspended` - Stream is currently disabled because of errors and will not attempt log delivery.
9007 </dd>
9008 </dl>
9009 </dd>
9010 </dl>
9011
9012 #### 🔌 Usage
9013
9014 <dl>
9015 <dd>
9016
9017 <dl>
9018 <dd>
9019
9020 ```python
9021 from auth0.management import Auth0
9022 from auth0.management.environment import Auth0Environment
9023
9024 client = Auth0(
9025 token="<token>",
9026 environment=Auth0Environment.DEFAULT,
9027 )
9028
9029 client.log_streams.get(
9030 id="id",
9031 )
9032
9033 ```
9034 </dd>
9035 </dl>
9036 </dd>
9037 </dl>
9038
9039 #### ⚙️ Parameters
9040
9041 <dl>
9042 <dd>
9043
9044 <dl>
9045 <dd>
9046
9047 **id:** `str` — The id of the log stream to get
9048
9049 </dd>
9050 </dl>
9051
9052 <dl>
9053 <dd>
9054
9055 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
9056
9057 </dd>
9058 </dl>
9059 </dd>
9060 </dl>
9061
9062
9063 </dd>
9064 </dl>
9065 </details>
9066
9067 <details><summary><code>client.log_streams.<a href="src/auth0.management/log_streams/client.py">delete</a>(...)</code></summary>
9068 <dl>
9069 <dd>
9070
9071 #### 📝 Description
9072
9073 <dl>
9074 <dd>
9075
9076 <dl>
9077 <dd>
9078
9079 Delete a log stream.
9080 </dd>
9081 </dl>
9082 </dd>
9083 </dl>
9084
9085 #### 🔌 Usage
9086
9087 <dl>
9088 <dd>
9089
9090 <dl>
9091 <dd>
9092
9093 ```python
9094 from auth0.management import Auth0
9095 from auth0.management.environment import Auth0Environment
9096
9097 client = Auth0(
9098 token="<token>",
9099 environment=Auth0Environment.DEFAULT,
9100 )
9101
9102 client.log_streams.delete(
9103 id="id",
9104 )
9105
9106 ```
9107 </dd>
9108 </dl>
9109 </dd>
9110 </dl>
9111
9112 #### ⚙️ Parameters
9113
9114 <dl>
9115 <dd>
9116
9117 <dl>
9118 <dd>
9119
9120 **id:** `str` — The id of the log stream to delete
9121
9122 </dd>
9123 </dl>
9124
9125 <dl>
9126 <dd>
9127
9128 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
9129
9130 </dd>
9131 </dl>
9132 </dd>
9133 </dl>
9134
9135
9136 </dd>
9137 </dl>
9138 </details>
9139
9140 <details><summary><code>client.log_streams.<a href="src/auth0.management/log_streams/client.py">update</a>(...) -> UpdateLogStreamResponseContent</code></summary>
9141 <dl>
9142 <dd>
9143
9144 #### 📝 Description
9145
9146 <dl>
9147 <dd>
9148
9149 <dl>
9150 <dd>
9151
9152 Update a log stream.
9153
9154 **Examples of how to use the PATCH endpoint.**
9155
9156 The following fields may be updated in a PATCH operation:
9157
9158 - name
9159 - status
9160 - sink
9161
9162 Note: For log streams of type `eventbridge` and `eventgrid`, updating the `sink` is not permitted.
9163
9164 **Update the status of a log stream**
9165
9166 ```json
9167 {
9168 "status": "active|paused"
9169 }
9170 ```
9171
9172 **Update the name of a log stream**
9173
9174 ```json
9175 {
9176 "name": "string"
9177 }
9178 ```
9179
9180 **Update the sink properties of a stream of type `http`**
9181
9182 ```json
9183 {
9184 "sink": {
9185 "httpEndpoint": "string",
9186 "httpContentType": "string",
9187 "httpContentFormat": "JSONARRAY|JSONLINES",
9188 "httpAuthorization": "string"
9189 }
9190 }
9191 ```
9192
9193 **Update the sink properties of a stream of type `datadog`**
9194
9195 ```json
9196 {
9197 "sink": {
9198 "datadogRegion": "string",
9199 "datadogApiKey": "string"
9200 }
9201 }
9202 ```
9203
9204 **Update the sink properties of a stream of type `splunk`**
9205
9206 ```json
9207 {
9208 "sink": {
9209 "splunkDomain": "string",
9210 "splunkToken": "string",
9211 "splunkPort": "string",
9212 "splunkSecure": "boolean"
9213 }
9214 }
9215 ```
9216
9217 **Update the sink properties of a stream of type `sumo`**
9218
9219 ```json
9220 {
9221 "sink": {
9222 "sumoSourceAddress": "string"
9223 }
9224 }
9225 ```
9226 </dd>
9227 </dl>
9228 </dd>
9229 </dl>
9230
9231 #### 🔌 Usage
9232
9233 <dl>
9234 <dd>
9235
9236 <dl>
9237 <dd>
9238
9239 ```python
9240 from auth0.management import Auth0
9241 from auth0.management.environment import Auth0Environment
9242
9243 client = Auth0(
9244 token="<token>",
9245 environment=Auth0Environment.DEFAULT,
9246 )
9247
9248 client.log_streams.update(
9249 id="id",
9250 )
9251
9252 ```
9253 </dd>
9254 </dl>
9255 </dd>
9256 </dl>
9257
9258 #### ⚙️ Parameters
9259
9260 <dl>
9261 <dd>
9262
9263 <dl>
9264 <dd>
9265
9266 **id:** `str` — The id of the log stream to get
9267
9268 </dd>
9269 </dl>
9270
9271 <dl>
9272 <dd>
9273
9274 **name:** `typing.Optional[str]` — log stream name
9275
9276 </dd>
9277 </dl>
9278
9279 <dl>
9280 <dd>
9281
9282 **status:** `typing.Optional[LogStreamStatusEnum]`
9283
9284 </dd>
9285 </dl>
9286
9287 <dl>
9288 <dd>
9289
9290 **is_priority:** `typing.Optional[bool]` — True for priority log streams, false for non-priority
9291
9292 </dd>
9293 </dl>
9294
9295 <dl>
9296 <dd>
9297
9298 **filters:** `typing.Optional[typing.List[LogStreamFilter]]` — Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered.
9299
9300 </dd>
9301 </dl>
9302
9303 <dl>
9304 <dd>
9305
9306 **pii_config:** `typing.Optional[LogStreamPiiConfig]`
9307
9308 </dd>
9309 </dl>
9310
9311 <dl>
9312 <dd>
9313
9314 **sink:** `typing.Optional[LogStreamSinkPatch]`
9315
9316 </dd>
9317 </dl>
9318
9319 <dl>
9320 <dd>
9321
9322 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
9323
9324 </dd>
9325 </dl>
9326 </dd>
9327 </dl>
9328
9329
9330 </dd>
9331 </dl>
9332 </details>
9333
9334 ## Logs
9335 <details><summary><code>client.logs.<a href="src/auth0.management/logs/client.py">list</a>(...) -> ListLogOffsetPaginatedResponseContent</code></summary>
9336 <dl>
9337 <dd>
9338
9339 #### 📝 Description
9340
9341 <dl>
9342 <dd>
9343
9344 <dl>
9345 <dd>
9346
9347 Retrieve log entries that match the specified search criteria (or all log entries if no criteria specified).
9348
9349 Set custom search criteria using the `q` parameter, or search from a specific log ID (_"search from checkpoint"_).
9350
9351 For more information on all possible event types, their respective acronyms, and descriptions, see [Log Event Type Codes](https://auth0.com/docs/logs/log-event-type-codes).
9352
9353 **To set custom search criteria, use the following parameters:**
9354
9355 - **q:** Search Criteria using [Query String Syntax](https://auth0.com/docs/logs/log-search-query-syntax)
9356 - **page:** Page index of the results to return. First page is 0.
9357 - **per_page:** Number of results per page.
9358 - **sort:** Field to use for sorting appended with `:1` for ascending and `:-1` for descending. e.g. `date:-1`
9359 - **fields:** Comma-separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields.
9360 - **include_fields:** Whether specified fields are to be included (true) or excluded (false).
9361 - **include_totals:** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). **Deprecated:** this field is deprecated and should be removed from use. See [Search Engine V3 Breaking Changes](https://auth0.com/docs/product-lifecycle/deprecations-and-migrations/migrate-to-tenant-log-search-v3#pagination)
9362
9363 For more information on the list of fields that can be used in `fields` and `sort`, see [Searchable Fields](https://auth0.com/docs/logs/log-search-query-syntax#searchable-fields).
9364
9365 Auth0 [limits the number of logs](https://auth0.com/docs/logs/retrieve-log-events-using-mgmt-api#limitations) you can return by search criteria to 100 logs per request. Furthermore, you may paginate only through 1,000 search results. If you exceed this threshold, please redefine your search or use the [get logs by checkpoint method](https://auth0.com/docs/logs/retrieve-log-events-using-mgmt-api#retrieve-logs-by-checkpoint).
9366
9367 **To search from a checkpoint log ID, use the following parameters:**
9368
9369 - **from:** Log Event ID from which to start retrieving logs. You can limit the number of logs returned using the `take` parameter. If you use `from` at the same time as `q`, `from` takes precedence and `q` is ignored.
9370 - **take:** Number of entries to retrieve when using the `from` parameter.
9371
9372 **Important:** When fetching logs from a checkpoint log ID, any parameter other than `from` and `take` will be ignored, and date ordering is not guaranteed.
9373 </dd>
9374 </dl>
9375 </dd>
9376 </dl>
9377
9378 #### 🔌 Usage
9379
9380 <dl>
9381 <dd>
9382
9383 <dl>
9384 <dd>
9385
9386 ```python
9387 from auth0.management import Auth0
9388 from auth0.management.environment import Auth0Environment
9389
9390 client = Auth0(
9391 token="<token>",
9392 environment=Auth0Environment.DEFAULT,
9393 )
9394
9395 client.logs.list(
9396 page=1,
9397 per_page=1,
9398 sort="sort",
9399 fields="fields",
9400 include_fields=True,
9401 include_totals=True,
9402 search="search",
9403 )
9404
9405 ```
9406 </dd>
9407 </dl>
9408 </dd>
9409 </dl>
9410
9411 #### ⚙️ Parameters
9412
9413 <dl>
9414 <dd>
9415
9416 <dl>
9417 <dd>
9418
9419 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
9420
9421 </dd>
9422 </dl>
9423
9424 <dl>
9425 <dd>
9426
9427 **per_page:** `typing.Optional[int]` — Number of results per page. Paging is disabled if parameter not sent. Default: <code>50</code>. Max value: <code>100</code>
9428
9429 </dd>
9430 </dl>
9431
9432 <dl>
9433 <dd>
9434
9435 **sort:** `typing.Optional[str]` — Field to use for sorting appended with <code>:1</code> for ascending and <code>:-1</code> for descending. e.g. <code>date:-1</code>
9436
9437 </dd>
9438 </dl>
9439
9440 <dl>
9441 <dd>
9442
9443 **fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for <code>include_fields</code>) in the result. Leave empty to retrieve all fields.
9444
9445 </dd>
9446 </dl>
9447
9448 <dl>
9449 <dd>
9450
9451 **include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (<code>true</code>) or excluded (<code>false</code>)
9452
9453 </dd>
9454 </dl>
9455
9456 <dl>
9457 <dd>
9458
9459 **include_totals:** `typing.Optional[bool]` — Return results as an array when false (default). Return results inside an object that also contains a total result count when true.
9460
9461 </dd>
9462 </dl>
9463
9464 <dl>
9465 <dd>
9466
9467 **search:** `typing.Optional[str]`
9468
9469 Retrieves logs that match the specified search criteria. This parameter can be combined with all the others in the /api/logs endpoint but is specified separately for clarity.
9470 If no fields are provided a case insensitive 'starts with' search is performed on all of the following fields: client_name, connection, user_name. Otherwise, you can specify multiple fields and specify the search using the %field%:%search%, for example: application:node user:"[email protected]".
9471 Values specified without quotes are matched using a case insensitive 'starts with' search. If quotes are used a case insensitve exact search is used. If multiple fields are used, the AND operator is used to join the clauses.
9472
9473 </dd>
9474 </dl>
9475
9476 <dl>
9477 <dd>
9478
9479 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
9480
9481 </dd>
9482 </dl>
9483 </dd>
9484 </dl>
9485
9486
9487 </dd>
9488 </dl>
9489 </details>
9490
9491 <details><summary><code>client.logs.<a href="src/auth0.management/logs/client.py">get</a>(...) -> GetLogResponseContent</code></summary>
9492 <dl>
9493 <dd>
9494
9495 #### 📝 Description
9496
9497 <dl>
9498 <dd>
9499
9500 <dl>
9501 <dd>
9502
9503 Retrieve an individual log event.
9504 </dd>
9505 </dl>
9506 </dd>
9507 </dl>
9508
9509 #### 🔌 Usage
9510
9511 <dl>
9512 <dd>
9513
9514 <dl>
9515 <dd>
9516
9517 ```python
9518 from auth0.management import Auth0
9519 from auth0.management.environment import Auth0Environment
9520
9521 client = Auth0(
9522 token="<token>",
9523 environment=Auth0Environment.DEFAULT,
9524 )
9525
9526 client.logs.get(
9527 id="id",
9528 )
9529
9530 ```
9531 </dd>
9532 </dl>
9533 </dd>
9534 </dl>
9535
9536 #### ⚙️ Parameters
9537
9538 <dl>
9539 <dd>
9540
9541 <dl>
9542 <dd>
9543
9544 **id:** `str` — log_id of the log to retrieve.
9545
9546 </dd>
9547 </dl>
9548
9549 <dl>
9550 <dd>
9551
9552 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
9553
9554 </dd>
9555 </dl>
9556 </dd>
9557 </dl>
9558
9559
9560 </dd>
9561 </dl>
9562 </details>
9563
9564 ## NetworkAcls
9565 <details><summary><code>client.network_acls.<a href="src/auth0.management/network_acls/client.py">list</a>(...) -> ListNetworkAclsOffsetPaginatedResponseContent</code></summary>
9566 <dl>
9567 <dd>
9568
9569 #### 📝 Description
9570
9571 <dl>
9572 <dd>
9573
9574 <dl>
9575 <dd>
9576
9577 Get all access control list entries for your client.
9578 </dd>
9579 </dl>
9580 </dd>
9581 </dl>
9582
9583 #### 🔌 Usage
9584
9585 <dl>
9586 <dd>
9587
9588 <dl>
9589 <dd>
9590
9591 ```python
9592 from auth0.management import Auth0
9593 from auth0.management.environment import Auth0Environment
9594
9595 client = Auth0(
9596 token="<token>",
9597 environment=Auth0Environment.DEFAULT,
9598 )
9599
9600 client.network_acls.list(
9601 page=1,
9602 per_page=1,
9603 include_totals=True,
9604 )
9605
9606 ```
9607 </dd>
9608 </dl>
9609 </dd>
9610 </dl>
9611
9612 #### ⚙️ Parameters
9613
9614 <dl>
9615 <dd>
9616
9617 <dl>
9618 <dd>
9619
9620 **page:** `typing.Optional[int]` — Use this field to request a specific page of the list results.
9621
9622 </dd>
9623 </dl>
9624
9625 <dl>
9626 <dd>
9627
9628 **per_page:** `typing.Optional[int]` — The amount of results per page.
9629
9630 </dd>
9631 </dl>
9632
9633 <dl>
9634 <dd>
9635
9636 **include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
9637
9638 </dd>
9639 </dl>
9640
9641 <dl>
9642 <dd>
9643
9644 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
9645
9646 </dd>
9647 </dl>
9648 </dd>
9649 </dl>
9650
9651
9652 </dd>
9653 </dl>
9654 </details>
9655
9656 <details><summary><code>client.network_acls.<a href="src/auth0.management/network_acls/client.py">create</a>(...)</code></summary>
9657 <dl>
9658 <dd>
9659
9660 #### 📝 Description
9661
9662 <dl>
9663 <dd>
9664
9665 <dl>
9666 <dd>
9667
9668 Create a new access control list for your client.
9669 </dd>
9670 </dl>
9671 </dd>
9672 </dl>
9673
9674 #### 🔌 Usage
9675
9676 <dl>
9677 <dd>
9678
9679 <dl>
9680 <dd>
9681
9682 ```python
9683 from auth0.management import Auth0, NetworkAclRule, NetworkAclAction
9684 from auth0.management.environment import Auth0Environment
9685
9686 client = Auth0(
9687 token="<token>",
9688 environment=Auth0Environment.DEFAULT,
9689 )
9690
9691 client.network_acls.create(
9692 description="description",
9693 active=True,
9694 rule=NetworkAclRule(
9695 action=NetworkAclAction(),
9696 scope="management",
9697 ),
9698 )
9699
9700 ```
9701 </dd>
9702 </dl>
9703 </dd>
9704 </dl>
9705
9706 #### ⚙️ Parameters
9707
9708 <dl>
9709 <dd>
9710
9711 <dl>
9712 <dd>
9713
9714 **description:** `str`
9715
9716 </dd>
9717 </dl>
9718
9719 <dl>
9720 <dd>
9721
9722 **active:** `bool` — Indicates whether or not this access control list is actively being used
9723
9724 </dd>
9725 </dl>
9726
9727 <dl>
9728 <dd>
9729
9730 **rule:** `NetworkAclRule`
9731
9732 </dd>
9733 </dl>
9734
9735 <dl>
9736 <dd>
9737
9738 **priority:** `typing.Optional[float]` — Indicates the order in which the ACL will be evaluated relative to other ACL rules.
9739
9740 </dd>
9741 </dl>
9742
9743 <dl>
9744 <dd>
9745
9746 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
9747
9748 </dd>
9749 </dl>
9750 </dd>
9751 </dl>
9752
9753
9754 </dd>
9755 </dl>
9756 </details>
9757
9758 <details><summary><code>client.network_acls.<a href="src/auth0.management/network_acls/client.py">get</a>(...) -> GetNetworkAclsResponseContent</code></summary>
9759 <dl>
9760 <dd>
9761
9762 #### 📝 Description
9763
9764 <dl>
9765 <dd>
9766
9767 <dl>
9768 <dd>
9769
9770 Get a specific access control list entry for your client.
9771 </dd>
9772 </dl>
9773 </dd>
9774 </dl>
9775
9776 #### 🔌 Usage
9777
9778 <dl>
9779 <dd>
9780
9781 <dl>
9782 <dd>
9783
9784 ```python
9785 from auth0.management import Auth0
9786 from auth0.management.environment import Auth0Environment
9787
9788 client = Auth0(
9789 token="<token>",
9790 environment=Auth0Environment.DEFAULT,
9791 )
9792
9793 client.network_acls.get(
9794 id="id",
9795 )
9796
9797 ```
9798 </dd>
9799 </dl>
9800 </dd>
9801 </dl>
9802
9803 #### ⚙️ Parameters
9804
9805 <dl>
9806 <dd>
9807
9808 <dl>
9809 <dd>
9810
9811 **id:** `str` — The id of the access control list to retrieve.
9812
9813 </dd>
9814 </dl>
9815
9816 <dl>
9817 <dd>
9818
9819 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
9820
9821 </dd>
9822 </dl>
9823 </dd>
9824 </dl>
9825
9826
9827 </dd>
9828 </dl>
9829 </details>
9830
9831 <details><summary><code>client.network_acls.<a href="src/auth0.management/network_acls/client.py">set</a>(...) -> SetNetworkAclsResponseContent</code></summary>
9832 <dl>
9833 <dd>
9834
9835 #### 📝 Description
9836
9837 <dl>
9838 <dd>
9839
9840 <dl>
9841 <dd>
9842
9843 Update existing access control list for your client.
9844 </dd>
9845 </dl>
9846 </dd>
9847 </dl>
9848
9849 #### 🔌 Usage
9850
9851 <dl>
9852 <dd>
9853
9854 <dl>
9855 <dd>
9856
9857 ```python
9858 from auth0.management import Auth0, NetworkAclRule, NetworkAclAction
9859 from auth0.management.environment import Auth0Environment
9860
9861 client = Auth0(
9862 token="<token>",
9863 environment=Auth0Environment.DEFAULT,
9864 )
9865
9866 client.network_acls.set(
9867 id="id",
9868 description="description",
9869 active=True,
9870 rule=NetworkAclRule(
9871 action=NetworkAclAction(),
9872 scope="management",
9873 ),
9874 )
9875
9876 ```
9877 </dd>
9878 </dl>
9879 </dd>
9880 </dl>
9881
9882 #### ⚙️ Parameters
9883
9884 <dl>
9885 <dd>
9886
9887 <dl>
9888 <dd>
9889
9890 **id:** `str` — The id of the ACL to update.
9891
9892 </dd>
9893 </dl>
9894
9895 <dl>
9896 <dd>
9897
9898 **description:** `str`
9899
9900 </dd>
9901 </dl>
9902
9903 <dl>
9904 <dd>
9905
9906 **active:** `bool` — Indicates whether or not this access control list is actively being used
9907
9908 </dd>
9909 </dl>
9910
9911 <dl>
9912 <dd>
9913
9914 **rule:** `NetworkAclRule`
9915
9916 </dd>
9917 </dl>
9918
9919 <dl>
9920 <dd>
9921
9922 **priority:** `typing.Optional[float]` — Indicates the order in which the ACL will be evaluated relative to other ACL rules.
9923
9924 </dd>
9925 </dl>
9926
9927 <dl>
9928 <dd>
9929
9930 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
9931
9932 </dd>
9933 </dl>
9934 </dd>
9935 </dl>
9936
9937
9938 </dd>
9939 </dl>
9940 </details>
9941
9942 <details><summary><code>client.network_acls.<a href="src/auth0.management/network_acls/client.py">delete</a>(...)</code></summary>
9943 <dl>
9944 <dd>
9945
9946 #### 📝 Description
9947
9948 <dl>
9949 <dd>
9950
9951 <dl>
9952 <dd>
9953
9954 Delete existing access control list for your client.
9955 </dd>
9956 </dl>
9957 </dd>
9958 </dl>
9959
9960 #### 🔌 Usage
9961
9962 <dl>
9963 <dd>
9964
9965 <dl>
9966 <dd>
9967
9968 ```python
9969 from auth0.management import Auth0
9970 from auth0.management.environment import Auth0Environment
9971
9972 client = Auth0(
9973 token="<token>",
9974 environment=Auth0Environment.DEFAULT,
9975 )
9976
9977 client.network_acls.delete(
9978 id="id",
9979 )
9980
9981 ```
9982 </dd>
9983 </dl>
9984 </dd>
9985 </dl>
9986
9987 #### ⚙️ Parameters
9988
9989 <dl>
9990 <dd>
9991
9992 <dl>
9993 <dd>
9994
9995 **id:** `str` — The id of the ACL to delete
9996
9997 </dd>
9998 </dl>
9999
10000 <dl>
10001 <dd>
10002
10003 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
10004
10005 </dd>
10006 </dl>
10007 </dd>
10008 </dl>
10009
10010
10011 </dd>
10012 </dl>
10013 </details>
10014
10015 <details><summary><code>client.network_acls.<a href="src/auth0.management/network_acls/client.py">update</a>(...) -> UpdateNetworkAclResponseContent</code></summary>
10016 <dl>
10017 <dd>
10018
10019 #### 📝 Description
10020
10021 <dl>
10022 <dd>
10023
10024 <dl>
10025 <dd>
10026
10027 Update existing access control list for your client.
10028 </dd>
10029 </dl>
10030 </dd>
10031 </dl>
10032
10033 #### 🔌 Usage
10034
10035 <dl>
10036 <dd>
10037
10038 <dl>
10039 <dd>
10040
10041 ```python
10042 from auth0.management import Auth0
10043 from auth0.management.environment import Auth0Environment
10044
10045 client = Auth0(
10046 token="<token>",
10047 environment=Auth0Environment.DEFAULT,
10048 )
10049
10050 client.network_acls.update(
10051 id="id",
10052 )
10053
10054 ```
10055 </dd>
10056 </dl>
10057 </dd>
10058 </dl>
10059
10060 #### ⚙️ Parameters
10061
10062 <dl>
10063 <dd>
10064
10065 <dl>
10066 <dd>
10067
10068 **id:** `str` — The id of the ACL to update.
10069
10070 </dd>
10071 </dl>
10072
10073 <dl>
10074 <dd>
10075
10076 **description:** `typing.Optional[str]`
10077
10078 </dd>
10079 </dl>
10080
10081 <dl>
10082 <dd>
10083
10084 **active:** `typing.Optional[bool]` — Indicates whether or not this access control list is actively being used
10085
10086 </dd>
10087 </dl>
10088
10089 <dl>
10090 <dd>
10091
10092 **priority:** `typing.Optional[float]` — Indicates the order in which the ACL will be evaluated relative to other ACL rules.
10093
10094 </dd>
10095 </dl>
10096
10097 <dl>
10098 <dd>
10099
10100 **rule:** `typing.Optional[NetworkAclRule]`
10101
10102 </dd>
10103 </dl>
10104
10105 <dl>
10106 <dd>
10107
10108 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
10109
10110 </dd>
10111 </dl>
10112 </dd>
10113 </dl>
10114
10115
10116 </dd>
10117 </dl>
10118 </details>
10119
10120 ## Organizations
10121 <details><summary><code>client.organizations.<a href="src/auth0.management/organizations/client.py">list</a>(...) -> ListOrganizationsPaginatedResponseContent</code></summary>
10122 <dl>
10123 <dd>
10124
10125 #### 📝 Description
10126
10127 <dl>
10128 <dd>
10129
10130 <dl>
10131 <dd>
10132
10133 Retrieve detailed list of all Organizations available in your tenant. For more information, see Auth0 Organizations.
10134
10135 This endpoint supports two types of pagination:
10136
10137 - Offset pagination
10138 - Checkpoint pagination
10139
10140 Checkpoint pagination must be used if you need to retrieve more than 1000 organizations.
10141
10142 **Checkpoint Pagination**
10143
10144 To search by checkpoint, use the following parameters:
10145
10146 - `from`: Optional id from which to start selection.
10147 - `take`: The total number of entries to retrieve when using the `from` parameter. Defaults to 50.
10148
10149 **Note**: The first time you call this endpoint using checkpoint pagination, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no pages are remaining.
10150 </dd>
10151 </dl>
10152 </dd>
10153 </dl>
10154
10155 #### 🔌 Usage
10156
10157 <dl>
10158 <dd>
10159
10160 <dl>
10161 <dd>
10162
10163 ```python
10164 from auth0.management import Auth0
10165 from auth0.management.environment import Auth0Environment
10166
10167 client = Auth0(
10168 token="<token>",
10169 environment=Auth0Environment.DEFAULT,
10170 )
10171
10172 client.organizations.list(
10173 from_="from",
10174 take=1,
10175 sort="sort",
10176 )
10177
10178 ```
10179 </dd>
10180 </dl>
10181 </dd>
10182 </dl>
10183
10184 #### ⚙️ Parameters
10185
10186 <dl>
10187 <dd>
10188
10189 <dl>
10190 <dd>
10191
10192 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
10193
10194 </dd>
10195 </dl>
10196
10197 <dl>
10198 <dd>
10199
10200 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
10201
10202 </dd>
10203 </dl>
10204
10205 <dl>
10206 <dd>
10207
10208 **sort:** `typing.Optional[str]` — Field to sort by. Use <code>field:order</code> where order is <code>1</code> for ascending and <code>-1</code> for descending. e.g. <code>created_at:1</code>. We currently support sorting by the following fields: <code>name</code>, <code>display_name</code> and <code>created_at</code>.
10209
10210 </dd>
10211 </dl>
10212
10213 <dl>
10214 <dd>
10215
10216 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
10217
10218 </dd>
10219 </dl>
10220 </dd>
10221 </dl>
10222
10223
10224 </dd>
10225 </dl>
10226 </details>
10227
10228 <details><summary><code>client.organizations.<a href="src/auth0.management/organizations/client.py">create</a>(...) -> CreateOrganizationResponseContent</code></summary>
10229 <dl>
10230 <dd>
10231
10232 #### 📝 Description
10233
10234 <dl>
10235 <dd>
10236
10237 <dl>
10238 <dd>
10239
10240 Create a new Organization within your tenant. To learn more about Organization settings, behavior, and configuration options, review [Create Your First Organization](https://auth0.com/docs/manage-users/organizations/create-first-organization).
10241 </dd>
10242 </dl>
10243 </dd>
10244 </dl>
10245
10246 #### 🔌 Usage
10247
10248 <dl>
10249 <dd>
10250
10251 <dl>
10252 <dd>
10253
10254 ```python
10255 from auth0.management import Auth0
10256 from auth0.management.environment import Auth0Environment
10257
10258 client = Auth0(
10259 token="<token>",
10260 environment=Auth0Environment.DEFAULT,
10261 )
10262
10263 client.organizations.create(
10264 name="name",
10265 )
10266
10267 ```
10268 </dd>
10269 </dl>
10270 </dd>
10271 </dl>
10272
10273 #### ⚙️ Parameters
10274
10275 <dl>
10276 <dd>
10277
10278 <dl>
10279 <dd>
10280
10281 **name:** `str` — The name of this organization.
10282
10283 </dd>
10284 </dl>
10285
10286 <dl>
10287 <dd>
10288
10289 **display_name:** `typing.Optional[str]` — Friendly name of this organization.
10290
10291 </dd>
10292 </dl>
10293
10294 <dl>
10295 <dd>
10296
10297 **branding:** `typing.Optional[OrganizationBranding]`
10298
10299 </dd>
10300 </dl>
10301
10302 <dl>
10303 <dd>
10304
10305 **metadata:** `typing.Optional[OrganizationMetadata]`
10306
10307 </dd>
10308 </dl>
10309
10310 <dl>
10311 <dd>
10312
10313 **enabled_connections:** `typing.Optional[typing.List[ConnectionForOrganization]]` — Connections that will be enabled for this organization. See POST enabled_connections endpoint for the object format. (Max of 10 connections allowed)
10314
10315 </dd>
10316 </dl>
10317
10318 <dl>
10319 <dd>
10320
10321 **token_quota:** `typing.Optional[CreateTokenQuota]`
10322
10323 </dd>
10324 </dl>
10325
10326 <dl>
10327 <dd>
10328
10329 **third_party_client_access:** `typing.Optional[OrganizationThirdPartyClientAccessEnum]`
10330
10331 </dd>
10332 </dl>
10333
10334 <dl>
10335 <dd>
10336
10337 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
10338
10339 </dd>
10340 </dl>
10341 </dd>
10342 </dl>
10343
10344
10345 </dd>
10346 </dl>
10347 </details>
10348
10349 <details><summary><code>client.organizations.<a href="src/auth0.management/organizations/client.py">get_by_name</a>(...) -> GetOrganizationByNameResponseContent</code></summary>
10350 <dl>
10351 <dd>
10352
10353 #### 📝 Description
10354
10355 <dl>
10356 <dd>
10357
10358 <dl>
10359 <dd>
10360
10361 Retrieve details about a single Organization specified by name.
10362 </dd>
10363 </dl>
10364 </dd>
10365 </dl>
10366
10367 #### 🔌 Usage
10368
10369 <dl>
10370 <dd>
10371
10372 <dl>
10373 <dd>
10374
10375 ```python
10376 from auth0.management import Auth0
10377 from auth0.management.environment import Auth0Environment
10378
10379 client = Auth0(
10380 token="<token>",
10381 environment=Auth0Environment.DEFAULT,
10382 )
10383
10384 client.organizations.get_by_name(
10385 name="name",
10386 )
10387
10388 ```
10389 </dd>
10390 </dl>
10391 </dd>
10392 </dl>
10393
10394 #### ⚙️ Parameters
10395
10396 <dl>
10397 <dd>
10398
10399 <dl>
10400 <dd>
10401
10402 **name:** `str` — name of the organization to retrieve.
10403
10404 </dd>
10405 </dl>
10406
10407 <dl>
10408 <dd>
10409
10410 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
10411
10412 </dd>
10413 </dl>
10414 </dd>
10415 </dl>
10416
10417
10418 </dd>
10419 </dl>
10420 </details>
10421
10422 <details><summary><code>client.organizations.<a href="src/auth0.management/organizations/client.py">get</a>(...) -> GetOrganizationResponseContent</code></summary>
10423 <dl>
10424 <dd>
10425
10426 #### 📝 Description
10427
10428 <dl>
10429 <dd>
10430
10431 <dl>
10432 <dd>
10433
10434 Retrieve details about a single Organization specified by ID.
10435 </dd>
10436 </dl>
10437 </dd>
10438 </dl>
10439
10440 #### 🔌 Usage
10441
10442 <dl>
10443 <dd>
10444
10445 <dl>
10446 <dd>
10447
10448 ```python
10449 from auth0.management import Auth0
10450 from auth0.management.environment import Auth0Environment
10451
10452 client = Auth0(
10453 token="<token>",
10454 environment=Auth0Environment.DEFAULT,
10455 )
10456
10457 client.organizations.get(
10458 id="id",
10459 )
10460
10461 ```
10462 </dd>
10463 </dl>
10464 </dd>
10465 </dl>
10466
10467 #### ⚙️ Parameters
10468
10469 <dl>
10470 <dd>
10471
10472 <dl>
10473 <dd>
10474
10475 **id:** `str` — ID of the organization to retrieve.
10476
10477 </dd>
10478 </dl>
10479
10480 <dl>
10481 <dd>
10482
10483 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
10484
10485 </dd>
10486 </dl>
10487 </dd>
10488 </dl>
10489
10490
10491 </dd>
10492 </dl>
10493 </details>
10494
10495 <details><summary><code>client.organizations.<a href="src/auth0.management/organizations/client.py">delete</a>(...)</code></summary>
10496 <dl>
10497 <dd>
10498
10499 #### 📝 Description
10500
10501 <dl>
10502 <dd>
10503
10504 <dl>
10505 <dd>
10506
10507 Remove an Organization from your tenant. This action cannot be undone.
10508
10509 **Note**: Members are automatically disassociated from an Organization when it is deleted. However, this action does **not** delete these users from your tenant.
10510 </dd>
10511 </dl>
10512 </dd>
10513 </dl>
10514
10515 #### 🔌 Usage
10516
10517 <dl>
10518 <dd>
10519
10520 <dl>
10521 <dd>
10522
10523 ```python
10524 from auth0.management import Auth0
10525 from auth0.management.environment import Auth0Environment
10526
10527 client = Auth0(
10528 token="<token>",
10529 environment=Auth0Environment.DEFAULT,
10530 )
10531
10532 client.organizations.delete(
10533 id="id",
10534 )
10535
10536 ```
10537 </dd>
10538 </dl>
10539 </dd>
10540 </dl>
10541
10542 #### ⚙️ Parameters
10543
10544 <dl>
10545 <dd>
10546
10547 <dl>
10548 <dd>
10549
10550 **id:** `str` — Organization identifier.
10551
10552 </dd>
10553 </dl>
10554
10555 <dl>
10556 <dd>
10557
10558 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
10559
10560 </dd>
10561 </dl>
10562 </dd>
10563 </dl>
10564
10565
10566 </dd>
10567 </dl>
10568 </details>
10569
10570 <details><summary><code>client.organizations.<a href="src/auth0.management/organizations/client.py">update</a>(...) -> UpdateOrganizationResponseContent</code></summary>
10571 <dl>
10572 <dd>
10573
10574 #### 📝 Description
10575
10576 <dl>
10577 <dd>
10578
10579 <dl>
10580 <dd>
10581
10582 Update the details of a specific [Organization](https://auth0.com/docs/manage-users/organizations/configure-organizations/create-organizations), such as name and display name, branding options, and metadata.
10583 </dd>
10584 </dl>
10585 </dd>
10586 </dl>
10587
10588 #### 🔌 Usage
10589
10590 <dl>
10591 <dd>
10592
10593 <dl>
10594 <dd>
10595
10596 ```python
10597 from auth0.management import Auth0
10598 from auth0.management.environment import Auth0Environment
10599
10600 client = Auth0(
10601 token="<token>",
10602 environment=Auth0Environment.DEFAULT,
10603 )
10604
10605 client.organizations.update(
10606 id="id",
10607 )
10608
10609 ```
10610 </dd>
10611 </dl>
10612 </dd>
10613 </dl>
10614
10615 #### ⚙️ Parameters
10616
10617 <dl>
10618 <dd>
10619
10620 <dl>
10621 <dd>
10622
10623 **id:** `str` — ID of the organization to update.
10624
10625 </dd>
10626 </dl>
10627
10628 <dl>
10629 <dd>
10630
10631 **display_name:** `typing.Optional[str]` — Friendly name of this organization.
10632
10633 </dd>
10634 </dl>
10635
10636 <dl>
10637 <dd>
10638
10639 **name:** `typing.Optional[str]` — The name of this organization.
10640
10641 </dd>
10642 </dl>
10643
10644 <dl>
10645 <dd>
10646
10647 **branding:** `typing.Optional[OrganizationBranding]`
10648
10649 </dd>
10650 </dl>
10651
10652 <dl>
10653 <dd>
10654
10655 **metadata:** `typing.Optional[OrganizationMetadata]`
10656
10657 </dd>
10658 </dl>
10659
10660 <dl>
10661 <dd>
10662
10663 **token_quota:** `typing.Optional[UpdateTokenQuota]`
10664
10665 </dd>
10666 </dl>
10667
10668 <dl>
10669 <dd>
10670
10671 **third_party_client_access:** `typing.Optional[OrganizationThirdPartyClientAccessEnum]`
10672
10673 </dd>
10674 </dl>
10675
10676 <dl>
10677 <dd>
10678
10679 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
10680
10681 </dd>
10682 </dl>
10683 </dd>
10684 </dl>
10685
10686
10687 </dd>
10688 </dl>
10689 </details>
10690
10691 ## Prompts
10692 <details><summary><code>client.prompts.<a href="src/auth0.management/prompts/client.py">get_settings</a>() -> GetSettingsResponseContent</code></summary>
10693 <dl>
10694 <dd>
10695
10696 #### 📝 Description
10697
10698 <dl>
10699 <dd>
10700
10701 <dl>
10702 <dd>
10703
10704 Retrieve details of the Universal Login configuration of your tenant. This includes the <a href="https://auth0.com/docs/authenticate/login/auth0-universal-login/identifier-first">Identifier First Authentication</a> and <a href="https://auth0.com/docs/secure/multi-factor-authentication/fido-authentication-with-webauthn/configure-webauthn-device-biometrics-for-mfa">WebAuthn with Device Biometrics for MFA</a> features.
10705 </dd>
10706 </dl>
10707 </dd>
10708 </dl>
10709
10710 #### 🔌 Usage
10711
10712 <dl>
10713 <dd>
10714
10715 <dl>
10716 <dd>
10717
10718 ```python
10719 from auth0.management import Auth0
10720 from auth0.management.environment import Auth0Environment
10721
10722 client = Auth0(
10723 token="<token>",
10724 environment=Auth0Environment.DEFAULT,
10725 )
10726
10727 client.prompts.get_settings()
10728
10729 ```
10730 </dd>
10731 </dl>
10732 </dd>
10733 </dl>
10734
10735 #### ⚙️ Parameters
10736
10737 <dl>
10738 <dd>
10739
10740 <dl>
10741 <dd>
10742
10743 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
10744
10745 </dd>
10746 </dl>
10747 </dd>
10748 </dl>
10749
10750
10751 </dd>
10752 </dl>
10753 </details>
10754
10755 <details><summary><code>client.prompts.<a href="src/auth0.management/prompts/client.py">update_settings</a>(...) -> UpdateSettingsResponseContent</code></summary>
10756 <dl>
10757 <dd>
10758
10759 #### 📝 Description
10760
10761 <dl>
10762 <dd>
10763
10764 <dl>
10765 <dd>
10766
10767 Update the Universal Login configuration of your tenant. This includes the <a href="https://auth0.com/docs/authenticate/login/auth0-universal-login/identifier-first">Identifier First Authentication</a> and <a href="https://auth0.com/docs/secure/multi-factor-authentication/fido-authentication-with-webauthn/configure-webauthn-device-biometrics-for-mfa">WebAuthn with Device Biometrics for MFA</a> features.
10768 </dd>
10769 </dl>
10770 </dd>
10771 </dl>
10772
10773 #### 🔌 Usage
10774
10775 <dl>
10776 <dd>
10777
10778 <dl>
10779 <dd>
10780
10781 ```python
10782 from auth0.management import Auth0
10783 from auth0.management.environment import Auth0Environment
10784
10785 client = Auth0(
10786 token="<token>",
10787 environment=Auth0Environment.DEFAULT,
10788 )
10789
10790 client.prompts.update_settings()
10791
10792 ```
10793 </dd>
10794 </dl>
10795 </dd>
10796 </dl>
10797
10798 #### ⚙️ Parameters
10799
10800 <dl>
10801 <dd>
10802
10803 <dl>
10804 <dd>
10805
10806 **universal_login_experience:** `typing.Optional[UniversalLoginExperienceEnum]`
10807
10808 </dd>
10809 </dl>
10810
10811 <dl>
10812 <dd>
10813
10814 **identifier_first:** `typing.Optional[bool]` — Whether identifier first is enabled or not
10815
10816 </dd>
10817 </dl>
10818
10819 <dl>
10820 <dd>
10821
10822 **webauthn_platform_first_factor:** `typing.Optional[bool]` — Use WebAuthn with Device Biometrics as the first authentication factor
10823
10824 </dd>
10825 </dl>
10826
10827 <dl>
10828 <dd>
10829
10830 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
10831
10832 </dd>
10833 </dl>
10834 </dd>
10835 </dl>
10836
10837
10838 </dd>
10839 </dl>
10840 </details>
10841
10842 ## RateLimitPolicies
10843 <details><summary><code>client.rate_limit_policies.<a href="src/auth0.management/rate_limit_policies/client.py">list</a>(...) -> ListRateLimitPoliciesPaginatedResponseContent</code></summary>
10844 <dl>
10845 <dd>
10846
10847 #### 🔌 Usage
10848
10849 <dl>
10850 <dd>
10851
10852 <dl>
10853 <dd>
10854
10855 ```python
10856 from auth0.management import Auth0
10857 from auth0.management.environment import Auth0Environment
10858
10859 client = Auth0(
10860 token="<token>",
10861 environment=Auth0Environment.DEFAULT,
10862 )
10863
10864 client.rate_limit_policies.list(
10865 resource="oauth_authentication_api",
10866 consumer="client",
10867 consumer_selector="consumer_selector",
10868 take=1,
10869 from_="from",
10870 )
10871
10872 ```
10873 </dd>
10874 </dl>
10875 </dd>
10876 </dl>
10877
10878 #### ⚙️ Parameters
10879
10880 <dl>
10881 <dd>
10882
10883 <dl>
10884 <dd>
10885
10886 **resource:** `typing.Optional[RateLimitPolicyResourceEnum]` — The API protected by the Rate Limit Policy.
10887
10888 </dd>
10889 </dl>
10890
10891 <dl>
10892 <dd>
10893
10894 **consumer:** `typing.Optional[RateLimitPolicyConsumerEnum]` — The consumer to which the rate limit policy applies.
10895
10896 </dd>
10897 </dl>
10898
10899 <dl>
10900 <dd>
10901
10902 **consumer_selector:** `typing.Optional[str]` — Identifier or category within the consumer to which the policy applies. Supported values: `client_id:<client_id>` to target a specific client by ID, `client_id:<cimd_uri>` to target a CIMD client by URI, `cimd_clients` to target all CIMD clients, `third_party_clients` to target all third-party clients, or `default` to apply the policy to any consumer identifier not otherwise explicitly targeted.
10903
10904 </dd>
10905 </dl>
10906
10907 <dl>
10908 <dd>
10909
10910 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
10911
10912 </dd>
10913 </dl>
10914
10915 <dl>
10916 <dd>
10917
10918 **from:** `typing.Optional[str]` — Cursor for pagination.
10919
10920 </dd>
10921 </dl>
10922
10923 <dl>
10924 <dd>
10925
10926 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
10927
10928 </dd>
10929 </dl>
10930 </dd>
10931 </dl>
10932
10933
10934 </dd>
10935 </dl>
10936 </details>
10937
10938 <details><summary><code>client.rate_limit_policies.<a href="src/auth0.management/rate_limit_policies/client.py">create</a>(...) -> CreateRateLimitPolicyResponseContent</code></summary>
10939 <dl>
10940 <dd>
10941
10942 #### 🔌 Usage
10943
10944 <dl>
10945 <dd>
10946
10947 <dl>
10948 <dd>
10949
10950 ```python
10951 from auth0.management import Auth0, RateLimitPolicyConfigurationZero
10952 from auth0.management.environment import Auth0Environment
10953
10954 client = Auth0(
10955 token="<token>",
10956 environment=Auth0Environment.DEFAULT,
10957 )
10958
10959 client.rate_limit_policies.create(
10960 resource="oauth_authentication_api",
10961 consumer="client",
10962 consumer_selector="consumer_selector",
10963 configuration=RateLimitPolicyConfigurationZero(
10964 action="allow",
10965 ),
10966 )
10967
10968 ```
10969 </dd>
10970 </dl>
10971 </dd>
10972 </dl>
10973
10974 #### ⚙️ Parameters
10975
10976 <dl>
10977 <dd>
10978
10979 <dl>
10980 <dd>
10981
10982 **resource:** `RateLimitPolicyResourceEnum`
10983
10984 </dd>
10985 </dl>
10986
10987 <dl>
10988 <dd>
10989
10990 **consumer:** `RateLimitPolicyConsumerEnum`
10991
10992 </dd>
10993 </dl>
10994
10995 <dl>
10996 <dd>
10997
10998 **consumer_selector:** `str` — Identifier or category within the consumer to which the policy applies. Supported values: `client_id:<client_id>` to target a specific client by ID, `client_id:<cimd_uri>` to target a CIMD client by URI, `cimd_clients` to target all CIMD clients, `third_party_clients` to target all third-party clients, or `default` to apply the policy to any consumer identifier not otherwise explicitly targeted.
10999
11000 </dd>
11001 </dl>
11002
11003 <dl>
11004 <dd>
11005
11006 **configuration:** `RateLimitPolicyConfiguration`
11007
11008 </dd>
11009 </dl>
11010
11011 <dl>
11012 <dd>
11013
11014 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
11015
11016 </dd>
11017 </dl>
11018 </dd>
11019 </dl>
11020
11021
11022 </dd>
11023 </dl>
11024 </details>
11025
11026 <details><summary><code>client.rate_limit_policies.<a href="src/auth0.management/rate_limit_policies/client.py">get</a>(...) -> GetRateLimitPolicyResponseContent</code></summary>
11027 <dl>
11028 <dd>
11029
11030 #### 🔌 Usage
11031
11032 <dl>
11033 <dd>
11034
11035 <dl>
11036 <dd>
11037
11038 ```python
11039 from auth0.management import Auth0
11040 from auth0.management.environment import Auth0Environment
11041
11042 client = Auth0(
11043 token="<token>",
11044 environment=Auth0Environment.DEFAULT,
11045 )
11046
11047 client.rate_limit_policies.get(
11048 id="id",
11049 )
11050
11051 ```
11052 </dd>
11053 </dl>
11054 </dd>
11055 </dl>
11056
11057 #### ⚙️ Parameters
11058
11059 <dl>
11060 <dd>
11061
11062 <dl>
11063 <dd>
11064
11065 **id:** `str` — Unique identifier for the Rate Limit Policy.
11066
11067 </dd>
11068 </dl>
11069
11070 <dl>
11071 <dd>
11072
11073 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
11074
11075 </dd>
11076 </dl>
11077 </dd>
11078 </dl>
11079
11080
11081 </dd>
11082 </dl>
11083 </details>
11084
11085 <details><summary><code>client.rate_limit_policies.<a href="src/auth0.management/rate_limit_policies/client.py">delete</a>(...)</code></summary>
11086 <dl>
11087 <dd>
11088
11089 #### 🔌 Usage
11090
11091 <dl>
11092 <dd>
11093
11094 <dl>
11095 <dd>
11096
11097 ```python
11098 from auth0.management import Auth0
11099 from auth0.management.environment import Auth0Environment
11100
11101 client = Auth0(
11102 token="<token>",
11103 environment=Auth0Environment.DEFAULT,
11104 )
11105
11106 client.rate_limit_policies.delete(
11107 id="id",
11108 )
11109
11110 ```
11111 </dd>
11112 </dl>
11113 </dd>
11114 </dl>
11115
11116 #### ⚙️ Parameters
11117
11118 <dl>
11119 <dd>
11120
11121 <dl>
11122 <dd>
11123
11124 **id:** `str` — Unique identifier for the Rate Limit Policy.
11125
11126 </dd>
11127 </dl>
11128
11129 <dl>
11130 <dd>
11131
11132 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
11133
11134 </dd>
11135 </dl>
11136 </dd>
11137 </dl>
11138
11139
11140 </dd>
11141 </dl>
11142 </details>
11143
11144 <details><summary><code>client.rate_limit_policies.<a href="src/auth0.management/rate_limit_policies/client.py">update</a>(...) -> UpdateRateLimitPolicyResponseContent</code></summary>
11145 <dl>
11146 <dd>
11147
11148 #### 🔌 Usage
11149
11150 <dl>
11151 <dd>
11152
11153 <dl>
11154 <dd>
11155
11156 ```python
11157 from auth0.management import Auth0, PatchRateLimitPolicyConfigurationRequestContentZero
11158 from auth0.management.environment import Auth0Environment
11159
11160 client = Auth0(
11161 token="<token>",
11162 environment=Auth0Environment.DEFAULT,
11163 )
11164
11165 client.rate_limit_policies.update(
11166 id="id",
11167 configuration=PatchRateLimitPolicyConfigurationRequestContentZero(
11168 action="allow",
11169 ),
11170 )
11171
11172 ```
11173 </dd>
11174 </dl>
11175 </dd>
11176 </dl>
11177
11178 #### ⚙️ Parameters
11179
11180 <dl>
11181 <dd>
11182
11183 <dl>
11184 <dd>
11185
11186 **id:** `str` — Unique identifier for the Rate Limit Policy.
11187
11188 </dd>
11189 </dl>
11190
11191 <dl>
11192 <dd>
11193
11194 **configuration:** `PatchRateLimitPolicyConfigurationRequestContent`
11195
11196 </dd>
11197 </dl>
11198
11199 <dl>
11200 <dd>
11201
11202 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
11203
11204 </dd>
11205 </dl>
11206 </dd>
11207 </dl>
11208
11209
11210 </dd>
11211 </dl>
11212 </details>
11213
11214 ## RefreshTokens
11215 <details><summary><code>client.refresh_tokens.<a href="src/auth0.management/refresh_tokens/client.py">list</a>(...) -> GetRefreshTokensPaginatedResponseContent</code></summary>
11216 <dl>
11217 <dd>
11218
11219 #### 📝 Description
11220
11221 <dl>
11222 <dd>
11223
11224 <dl>
11225 <dd>
11226
11227 Retrieve a paginated list of refresh tokens for a specific user, with optional filtering by client ID. Results are sorted by credential_id ascending.
11228 </dd>
11229 </dl>
11230 </dd>
11231 </dl>
11232
11233 #### 🔌 Usage
11234
11235 <dl>
11236 <dd>
11237
11238 <dl>
11239 <dd>
11240
11241 ```python
11242 from auth0.management import Auth0
11243 from auth0.management.environment import Auth0Environment
11244
11245 client = Auth0(
11246 token="<token>",
11247 environment=Auth0Environment.DEFAULT,
11248 )
11249
11250 client.refresh_tokens.list(
11251 user_id="user_id",
11252 client_id="client_id",
11253 from_="from",
11254 take=1,
11255 fields="fields",
11256 include_fields=True,
11257 )
11258
11259 ```
11260 </dd>
11261 </dl>
11262 </dd>
11263 </dl>
11264
11265 #### ⚙️ Parameters
11266
11267 <dl>
11268 <dd>
11269
11270 <dl>
11271 <dd>
11272
11273 **user_id:** `str` — ID of the user whose refresh tokens to retrieve. Required.
11274
11275 </dd>
11276 </dl>
11277
11278 <dl>
11279 <dd>
11280
11281 **client_id:** `typing.Optional[str]` — Filter results by client ID. Only valid when user_id is provided.
11282
11283 </dd>
11284 </dl>
11285
11286 <dl>
11287 <dd>
11288
11289 **from:** `typing.Optional[str]` — An opaque cursor from which to start the selection (exclusive). Expires after 24 hours. Obtained from the next property of a previous response.
11290
11291 </dd>
11292 </dl>
11293
11294 <dl>
11295 <dd>
11296
11297 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
11298
11299 </dd>
11300 </dl>
11301
11302 <dl>
11303 <dd>
11304
11305 **fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.
11306
11307 </dd>
11308 </dl>
11309
11310 <dl>
11311 <dd>
11312
11313 **include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
11314
11315 </dd>
11316 </dl>
11317
11318 <dl>
11319 <dd>
11320
11321 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
11322
11323 </dd>
11324 </dl>
11325 </dd>
11326 </dl>
11327
11328
11329 </dd>
11330 </dl>
11331 </details>
11332
11333 <details><summary><code>client.refresh_tokens.<a href="src/auth0.management/refresh_tokens/client.py">revoke</a>(...)</code></summary>
11334 <dl>
11335 <dd>
11336
11337 #### 📝 Description
11338
11339 <dl>
11340 <dd>
11341
11342 <dl>
11343 <dd>
11344
11345 Revoke refresh tokens in bulk by ID list, user, user+client, or user+client+audience.
11346 </dd>
11347 </dl>
11348 </dd>
11349 </dl>
11350
11351 #### 🔌 Usage
11352
11353 <dl>
11354 <dd>
11355
11356 <dl>
11357 <dd>
11358
11359 ```python
11360 from auth0.management import Auth0
11361 from auth0.management.environment import Auth0Environment
11362
11363 client = Auth0(
11364 token="<token>",
11365 environment=Auth0Environment.DEFAULT,
11366 )
11367
11368 client.refresh_tokens.revoke()
11369
11370 ```
11371 </dd>
11372 </dl>
11373 </dd>
11374 </dl>
11375
11376 #### ⚙️ Parameters
11377
11378 <dl>
11379 <dd>
11380
11381 <dl>
11382 <dd>
11383
11384 **ids:** `typing.Optional[typing.List[str]]` — Array of refresh token IDs to revoke. Limited to 100 at a time.
11385
11386 </dd>
11387 </dl>
11388
11389 <dl>
11390 <dd>
11391
11392 **user_id:** `typing.Optional[str]` — Revoke all refresh tokens for this user.
11393
11394 </dd>
11395 </dl>
11396
11397 <dl>
11398 <dd>
11399
11400 **client_id:** `typing.Optional[str]` — Revoke refresh tokens for this client. Must be paired with `user_id`; optionally narrowed further with `audience`.
11401
11402 </dd>
11403 </dl>
11404
11405 <dl>
11406 <dd>
11407
11408 **audience:** `typing.Optional[str]` — Resource server identifier (audience) to scope the revocation. Must be used with both `user_id` and `client_id`.
11409
11410 </dd>
11411 </dl>
11412
11413 <dl>
11414 <dd>
11415
11416 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
11417
11418 </dd>
11419 </dl>
11420 </dd>
11421 </dl>
11422
11423
11424 </dd>
11425 </dl>
11426 </details>
11427
11428 <details><summary><code>client.refresh_tokens.<a href="src/auth0.management/refresh_tokens/client.py">get</a>(...) -> GetRefreshTokenResponseContent</code></summary>
11429 <dl>
11430 <dd>
11431
11432 #### 📝 Description
11433
11434 <dl>
11435 <dd>
11436
11437 <dl>
11438 <dd>
11439
11440 Retrieve refresh token information.
11441 </dd>
11442 </dl>
11443 </dd>
11444 </dl>
11445
11446 #### 🔌 Usage
11447
11448 <dl>
11449 <dd>
11450
11451 <dl>
11452 <dd>
11453
11454 ```python
11455 from auth0.management import Auth0
11456 from auth0.management.environment import Auth0Environment
11457
11458 client = Auth0(
11459 token="<token>",
11460 environment=Auth0Environment.DEFAULT,
11461 )
11462
11463 client.refresh_tokens.get(
11464 id="id",
11465 )
11466
11467 ```
11468 </dd>
11469 </dl>
11470 </dd>
11471 </dl>
11472
11473 #### ⚙️ Parameters
11474
11475 <dl>
11476 <dd>
11477
11478 <dl>
11479 <dd>
11480
11481 **id:** `str` — ID refresh token to retrieve
11482
11483 </dd>
11484 </dl>
11485
11486 <dl>
11487 <dd>
11488
11489 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
11490
11491 </dd>
11492 </dl>
11493 </dd>
11494 </dl>
11495
11496
11497 </dd>
11498 </dl>
11499 </details>
11500
11501 <details><summary><code>client.refresh_tokens.<a href="src/auth0.management/refresh_tokens/client.py">delete</a>(...)</code></summary>
11502 <dl>
11503 <dd>
11504
11505 #### 📝 Description
11506
11507 <dl>
11508 <dd>
11509
11510 <dl>
11511 <dd>
11512
11513 Delete a refresh token by its ID.
11514 </dd>
11515 </dl>
11516 </dd>
11517 </dl>
11518
11519 #### 🔌 Usage
11520
11521 <dl>
11522 <dd>
11523
11524 <dl>
11525 <dd>
11526
11527 ```python
11528 from auth0.management import Auth0
11529 from auth0.management.environment import Auth0Environment
11530
11531 client = Auth0(
11532 token="<token>",
11533 environment=Auth0Environment.DEFAULT,
11534 )
11535
11536 client.refresh_tokens.delete(
11537 id="id",
11538 )
11539
11540 ```
11541 </dd>
11542 </dl>
11543 </dd>
11544 </dl>
11545
11546 #### ⚙️ Parameters
11547
11548 <dl>
11549 <dd>
11550
11551 <dl>
11552 <dd>
11553
11554 **id:** `str` — ID of the refresh token to delete.
11555
11556 </dd>
11557 </dl>
11558
11559 <dl>
11560 <dd>
11561
11562 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
11563
11564 </dd>
11565 </dl>
11566 </dd>
11567 </dl>
11568
11569
11570 </dd>
11571 </dl>
11572 </details>
11573
11574 <details><summary><code>client.refresh_tokens.<a href="src/auth0.management/refresh_tokens/client.py">update</a>(...) -> UpdateRefreshTokenResponseContent</code></summary>
11575 <dl>
11576 <dd>
11577
11578 #### 📝 Description
11579
11580 <dl>
11581 <dd>
11582
11583 <dl>
11584 <dd>
11585
11586 Update a refresh token by its ID.
11587 </dd>
11588 </dl>
11589 </dd>
11590 </dl>
11591
11592 #### 🔌 Usage
11593
11594 <dl>
11595 <dd>
11596
11597 <dl>
11598 <dd>
11599
11600 ```python
11601 from auth0.management import Auth0
11602 from auth0.management.environment import Auth0Environment
11603
11604 client = Auth0(
11605 token="<token>",
11606 environment=Auth0Environment.DEFAULT,
11607 )
11608
11609 client.refresh_tokens.update(
11610 id="id",
11611 )
11612
11613 ```
11614 </dd>
11615 </dl>
11616 </dd>
11617 </dl>
11618
11619 #### ⚙️ Parameters
11620
11621 <dl>
11622 <dd>
11623
11624 <dl>
11625 <dd>
11626
11627 **id:** `str` — ID of the refresh token to update.
11628
11629 </dd>
11630 </dl>
11631
11632 <dl>
11633 <dd>
11634
11635 **refresh_token_metadata:** `typing.Optional[RefreshTokenMetadata]` — Metadata associated with the refresh token. Pass null or {} to remove all metadata.
11636
11637 </dd>
11638 </dl>
11639
11640 <dl>
11641 <dd>
11642
11643 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
11644
11645 </dd>
11646 </dl>
11647 </dd>
11648 </dl>
11649
11650
11651 </dd>
11652 </dl>
11653 </details>
11654
11655 ## ResourceServers
11656 <details><summary><code>client.resource_servers.<a href="src/auth0.management/resource_servers/client.py">list</a>(...) -> ListResourceServerOffsetPaginatedResponseContent</code></summary>
11657 <dl>
11658 <dd>
11659
11660 #### 📝 Description
11661
11662 <dl>
11663 <dd>
11664
11665 <dl>
11666 <dd>
11667
11668 Retrieve details of all APIs associated with your tenant.
11669 </dd>
11670 </dl>
11671 </dd>
11672 </dl>
11673
11674 #### 🔌 Usage
11675
11676 <dl>
11677 <dd>
11678
11679 <dl>
11680 <dd>
11681
11682 ```python
11683 from auth0.management import Auth0
11684 from auth0.management.environment import Auth0Environment
11685
11686 client = Auth0(
11687 token="<token>",
11688 environment=Auth0Environment.DEFAULT,
11689 )
11690
11691 client.resource_servers.list(
11692 identifiers=[
11693 "identifiers"
11694 ],
11695 page=1,
11696 per_page=1,
11697 include_totals=True,
11698 include_fields=True,
11699 )
11700
11701 ```
11702 </dd>
11703 </dl>
11704 </dd>
11705 </dl>
11706
11707 #### ⚙️ Parameters
11708
11709 <dl>
11710 <dd>
11711
11712 <dl>
11713 <dd>
11714
11715 **identifiers:** `typing.Optional[typing.Union[typing.Optional[str], typing.Sequence[typing.Optional[str]]]]` — An optional filter on the resource server identifier. Must be URL encoded and may be specified multiple times (max 10).<br /><b>e.g.</b> <i>../resource-servers?identifiers=id1&identifiers=id2</i>
11716
11717 </dd>
11718 </dl>
11719
11720 <dl>
11721 <dd>
11722
11723 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
11724
11725 </dd>
11726 </dl>
11727
11728 <dl>
11729 <dd>
11730
11731 **per_page:** `typing.Optional[int]` — Number of results per page.
11732
11733 </dd>
11734 </dl>
11735
11736 <dl>
11737 <dd>
11738
11739 **include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
11740
11741 </dd>
11742 </dl>
11743
11744 <dl>
11745 <dd>
11746
11747 **include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
11748
11749 </dd>
11750 </dl>
11751
11752 <dl>
11753 <dd>
11754
11755 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
11756
11757 </dd>
11758 </dl>
11759 </dd>
11760 </dl>
11761
11762
11763 </dd>
11764 </dl>
11765 </details>
11766
11767 <details><summary><code>client.resource_servers.<a href="src/auth0.management/resource_servers/client.py">create</a>(...) -> CreateResourceServerResponseContent</code></summary>
11768 <dl>
11769 <dd>
11770
11771 #### 📝 Description
11772
11773 <dl>
11774 <dd>
11775
11776 <dl>
11777 <dd>
11778
11779 Create a new API associated with your tenant. Note that all new APIs must be registered with Auth0. For more information, read <a href="https://www.auth0.com/docs/get-started/apis"> APIs</a>.
11780 </dd>
11781 </dl>
11782 </dd>
11783 </dl>
11784
11785 #### 🔌 Usage
11786
11787 <dl>
11788 <dd>
11789
11790 <dl>
11791 <dd>
11792
11793 ```python
11794 from auth0.management import Auth0
11795 from auth0.management.environment import Auth0Environment
11796
11797 client = Auth0(
11798 token="<token>",
11799 environment=Auth0Environment.DEFAULT,
11800 )
11801
11802 client.resource_servers.create(
11803 identifier="identifier",
11804 )
11805
11806 ```
11807 </dd>
11808 </dl>
11809 </dd>
11810 </dl>
11811
11812 #### ⚙️ Parameters
11813
11814 <dl>
11815 <dd>
11816
11817 <dl>
11818 <dd>
11819
11820 **identifier:** `str` — Unique identifier for the API used as the audience parameter on authorization calls. Can not be changed once set.
11821
11822 </dd>
11823 </dl>
11824
11825 <dl>
11826 <dd>
11827
11828 **name:** `typing.Optional[str]` — Friendly name for this resource server. Can not contain `<` or `>` characters.
11829
11830 </dd>
11831 </dl>
11832
11833 <dl>
11834 <dd>
11835
11836 **scopes:** `typing.Optional[typing.List[ResourceServerScope]]` — List of permissions (scopes) that this API uses.
11837
11838 </dd>
11839 </dl>
11840
11841 <dl>
11842 <dd>
11843
11844 **signing_alg:** `typing.Optional[SigningAlgorithmEnum]`
11845
11846 </dd>
11847 </dl>
11848
11849 <dl>
11850 <dd>
11851
11852 **signing_secret:** `typing.Optional[str]` — Secret used to sign tokens when using symmetric algorithms (HS256).
11853
11854 </dd>
11855 </dl>
11856
11857 <dl>
11858 <dd>
11859
11860 **allow_offline_access:** `typing.Optional[bool]` — Whether refresh tokens can be issued for this API (true) or not (false).
11861
11862 </dd>
11863 </dl>
11864
11865 <dl>
11866 <dd>
11867
11868 **allow_online_access:** `typing.Optional[bool]` — Whether Online Refresh Tokens can be issued for this API (true) or not (false).
11869
11870 </dd>
11871 </dl>
11872
11873 <dl>
11874 <dd>
11875
11876 **allow_online_access_with_ephemeral_sessions:** `typing.Optional[bool]` — Whether Online Refresh Tokens can be issued even when sessions are configured as ephemeral (true) or not (false).
11877
11878 </dd>
11879 </dl>
11880
11881 <dl>
11882 <dd>
11883
11884 **token_lifetime:** `typing.Optional[int]` — Expiration value (in seconds) for access tokens issued for this API from the token endpoint.
11885
11886 </dd>
11887 </dl>
11888
11889 <dl>
11890 <dd>
11891
11892 **token_dialect:** `typing.Optional[ResourceServerTokenDialectSchemaEnum]`
11893
11894 </dd>
11895 </dl>
11896
11897 <dl>
11898 <dd>
11899
11900 **skip_consent_for_verifiable_first_party_clients:** `typing.Optional[bool]` — Whether to skip user consent for applications flagged as first party (true) or not (false).
11901
11902 </dd>
11903 </dl>
11904
11905 <dl>
11906 <dd>
11907
11908 **enforce_policies:** `typing.Optional[bool]` — Whether to enforce authorization policies (true) or to ignore them (false).
11909
11910 </dd>
11911 </dl>
11912
11913 <dl>
11914 <dd>
11915
11916 **token_encryption:** `typing.Optional[ResourceServerTokenEncryption]`
11917
11918 </dd>
11919 </dl>
11920
11921 <dl>
11922 <dd>
11923
11924 **consent_policy:** `typing.Optional[ResourceServerConsentPolicyEnum]`
11925
11926 </dd>
11927 </dl>
11928
11929 <dl>
11930 <dd>
11931
11932 **authorization_details:** `typing.Optional[typing.List[typing.Any]]`
11933
11934 </dd>
11935 </dl>
11936
11937 <dl>
11938 <dd>
11939
11940 **proof_of_possession:** `typing.Optional[ResourceServerProofOfPossession]`
11941
11942 </dd>
11943 </dl>
11944
11945 <dl>
11946 <dd>
11947
11948 **subject_type_authorization:** `typing.Optional[ResourceServerSubjectTypeAuthorization]`
11949
11950 </dd>
11951 </dl>
11952
11953 <dl>
11954 <dd>
11955
11956 **authorization_policy:** `typing.Optional[ResourceServerAuthorizationPolicy]`
11957
11958 </dd>
11959 </dl>
11960
11961 <dl>
11962 <dd>
11963
11964 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
11965
11966 </dd>
11967 </dl>
11968 </dd>
11969 </dl>
11970
11971
11972 </dd>
11973 </dl>
11974 </details>
11975
11976 <details><summary><code>client.resource_servers.<a href="src/auth0.management/resource_servers/client.py">get</a>(...) -> GetResourceServerResponseContent</code></summary>
11977 <dl>
11978 <dd>
11979
11980 #### 📝 Description
11981
11982 <dl>
11983 <dd>
11984
11985 <dl>
11986 <dd>
11987
11988 Retrieve <a href="https://auth0.com/docs/apis">API</a> details with the given ID.
11989 </dd>
11990 </dl>
11991 </dd>
11992 </dl>
11993
11994 #### 🔌 Usage
11995
11996 <dl>
11997 <dd>
11998
11999 <dl>
12000 <dd>
12001
12002 ```python
12003 from auth0.management import Auth0
12004 from auth0.management.environment import Auth0Environment
12005
12006 client = Auth0(
12007 token="<token>",
12008 environment=Auth0Environment.DEFAULT,
12009 )
12010
12011 client.resource_servers.get(
12012 id="id",
12013 include_fields=True,
12014 )
12015
12016 ```
12017 </dd>
12018 </dl>
12019 </dd>
12020 </dl>
12021
12022 #### ⚙️ Parameters
12023
12024 <dl>
12025 <dd>
12026
12027 <dl>
12028 <dd>
12029
12030 **id:** `str` — ID or audience of the resource server to retrieve.
12031
12032 </dd>
12033 </dl>
12034
12035 <dl>
12036 <dd>
12037
12038 **include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
12039
12040 </dd>
12041 </dl>
12042
12043 <dl>
12044 <dd>
12045
12046 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
12047
12048 </dd>
12049 </dl>
12050 </dd>
12051 </dl>
12052
12053
12054 </dd>
12055 </dl>
12056 </details>
12057
12058 <details><summary><code>client.resource_servers.<a href="src/auth0.management/resource_servers/client.py">delete</a>(...)</code></summary>
12059 <dl>
12060 <dd>
12061
12062 #### 📝 Description
12063
12064 <dl>
12065 <dd>
12066
12067 <dl>
12068 <dd>
12069
12070 Delete an existing API by ID. For more information, read <a href="https://www.auth0.com/docs/get-started/apis/api-settings">API Settings</a>.
12071 </dd>
12072 </dl>
12073 </dd>
12074 </dl>
12075
12076 #### 🔌 Usage
12077
12078 <dl>
12079 <dd>
12080
12081 <dl>
12082 <dd>
12083
12084 ```python
12085 from auth0.management import Auth0
12086 from auth0.management.environment import Auth0Environment
12087
12088 client = Auth0(
12089 token="<token>",
12090 environment=Auth0Environment.DEFAULT,
12091 )
12092
12093 client.resource_servers.delete(
12094 id="id",
12095 )
12096
12097 ```
12098 </dd>
12099 </dl>
12100 </dd>
12101 </dl>
12102
12103 #### ⚙️ Parameters
12104
12105 <dl>
12106 <dd>
12107
12108 <dl>
12109 <dd>
12110
12111 **id:** `str` — ID or the audience of the resource server to delete.
12112
12113 </dd>
12114 </dl>
12115
12116 <dl>
12117 <dd>
12118
12119 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
12120
12121 </dd>
12122 </dl>
12123 </dd>
12124 </dl>
12125
12126
12127 </dd>
12128 </dl>
12129 </details>
12130
12131 <details><summary><code>client.resource_servers.<a href="src/auth0.management/resource_servers/client.py">update</a>(...) -> UpdateResourceServerResponseContent</code></summary>
12132 <dl>
12133 <dd>
12134
12135 #### 📝 Description
12136
12137 <dl>
12138 <dd>
12139
12140 <dl>
12141 <dd>
12142
12143 Change an existing API setting by resource server ID. For more information, read <a href="https://www.auth0.com/docs/get-started/apis/api-settings">API Settings</a>.
12144 </dd>
12145 </dl>
12146 </dd>
12147 </dl>
12148
12149 #### 🔌 Usage
12150
12151 <dl>
12152 <dd>
12153
12154 <dl>
12155 <dd>
12156
12157 ```python
12158 from auth0.management import Auth0
12159 from auth0.management.environment import Auth0Environment
12160
12161 client = Auth0(
12162 token="<token>",
12163 environment=Auth0Environment.DEFAULT,
12164 )
12165
12166 client.resource_servers.update(
12167 id="id",
12168 )
12169
12170 ```
12171 </dd>
12172 </dl>
12173 </dd>
12174 </dl>
12175
12176 #### ⚙️ Parameters
12177
12178 <dl>
12179 <dd>
12180
12181 <dl>
12182 <dd>
12183
12184 **id:** `str` — ID or audience of the resource server to update.
12185
12186 </dd>
12187 </dl>
12188
12189 <dl>
12190 <dd>
12191
12192 **name:** `typing.Optional[str]` — Friendly name for this resource server. Can not contain `<` or `>` characters.
12193
12194 </dd>
12195 </dl>
12196
12197 <dl>
12198 <dd>
12199
12200 **scopes:** `typing.Optional[typing.List[ResourceServerScope]]` — List of permissions (scopes) that this API uses.
12201
12202 </dd>
12203 </dl>
12204
12205 <dl>
12206 <dd>
12207
12208 **signing_alg:** `typing.Optional[SigningAlgorithmEnum]`
12209
12210 </dd>
12211 </dl>
12212
12213 <dl>
12214 <dd>
12215
12216 **signing_secret:** `typing.Optional[str]` — Secret used to sign tokens when using symmetric algorithms (HS256).
12217
12218 </dd>
12219 </dl>
12220
12221 <dl>
12222 <dd>
12223
12224 **skip_consent_for_verifiable_first_party_clients:** `typing.Optional[bool]` — Whether to skip user consent for applications flagged as first party (true) or not (false).
12225
12226 </dd>
12227 </dl>
12228
12229 <dl>
12230 <dd>
12231
12232 **allow_offline_access:** `typing.Optional[bool]` — Whether refresh tokens can be issued for this API (true) or not (false).
12233
12234 </dd>
12235 </dl>
12236
12237 <dl>
12238 <dd>
12239
12240 **allow_online_access:** `typing.Optional[bool]` — Whether Online Refresh Tokens can be issued for this API (true) or not (false).
12241
12242 </dd>
12243 </dl>
12244
12245 <dl>
12246 <dd>
12247
12248 **allow_online_access_with_ephemeral_sessions:** `typing.Optional[bool]` — Whether Online Refresh Tokens can be issued even when sessions are configured as ephemeral (true) or not (false).
12249
12250 </dd>
12251 </dl>
12252
12253 <dl>
12254 <dd>
12255
12256 **token_lifetime:** `typing.Optional[int]` — Expiration value (in seconds) for access tokens issued for this API from the token endpoint.
12257
12258 </dd>
12259 </dl>
12260
12261 <dl>
12262 <dd>
12263
12264 **token_dialect:** `typing.Optional[ResourceServerTokenDialectSchemaEnum]`
12265
12266 </dd>
12267 </dl>
12268
12269 <dl>
12270 <dd>
12271
12272 **enforce_policies:** `typing.Optional[bool]` — Whether authorization policies are enforced (true) or not enforced (false).
12273
12274 </dd>
12275 </dl>
12276
12277 <dl>
12278 <dd>
12279
12280 **token_encryption:** `typing.Optional[ResourceServerTokenEncryption]`
12281
12282 </dd>
12283 </dl>
12284
12285 <dl>
12286 <dd>
12287
12288 **consent_policy:** `typing.Optional[ResourceServerConsentPolicyEnum]`
12289
12290 </dd>
12291 </dl>
12292
12293 <dl>
12294 <dd>
12295
12296 **authorization_details:** `typing.Optional[typing.List[typing.Any]]`
12297
12298 </dd>
12299 </dl>
12300
12301 <dl>
12302 <dd>
12303
12304 **proof_of_possession:** `typing.Optional[ResourceServerProofOfPossession]`
12305
12306 </dd>
12307 </dl>
12308
12309 <dl>
12310 <dd>
12311
12312 **subject_type_authorization:** `typing.Optional[ResourceServerSubjectTypeAuthorization]`
12313
12314 </dd>
12315 </dl>
12316
12317 <dl>
12318 <dd>
12319
12320 **authorization_policy:** `typing.Optional[ResourceServerAuthorizationPolicy]`
12321
12322 </dd>
12323 </dl>
12324
12325 <dl>
12326 <dd>
12327
12328 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
12329
12330 </dd>
12331 </dl>
12332 </dd>
12333 </dl>
12334
12335
12336 </dd>
12337 </dl>
12338 </details>
12339
12340 ## Roles
12341 <details><summary><code>client.roles.<a href="src/auth0.management/roles/client.py">list</a>(...) -> ListRolesOffsetPaginatedResponseContent</code></summary>
12342 <dl>
12343 <dd>
12344
12345 #### 📝 Description
12346
12347 <dl>
12348 <dd>
12349
12350 <dl>
12351 <dd>
12352
12353 Retrieve detailed list of user roles created in your tenant.
12354
12355 **Note**: The returned list does not include standard roles available for tenant members, such as Admin or Support Access.
12356 </dd>
12357 </dl>
12358 </dd>
12359 </dl>
12360
12361 #### 🔌 Usage
12362
12363 <dl>
12364 <dd>
12365
12366 <dl>
12367 <dd>
12368
12369 ```python
12370 from auth0.management import Auth0
12371 from auth0.management.environment import Auth0Environment
12372
12373 client = Auth0(
12374 token="<token>",
12375 environment=Auth0Environment.DEFAULT,
12376 )
12377
12378 client.roles.list(
12379 per_page=1,
12380 page=1,
12381 include_totals=True,
12382 name_filter="name_filter",
12383 )
12384
12385 ```
12386 </dd>
12387 </dl>
12388 </dd>
12389 </dl>
12390
12391 #### ⚙️ Parameters
12392
12393 <dl>
12394 <dd>
12395
12396 <dl>
12397 <dd>
12398
12399 **per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
12400
12401 </dd>
12402 </dl>
12403
12404 <dl>
12405 <dd>
12406
12407 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
12408
12409 </dd>
12410 </dl>
12411
12412 <dl>
12413 <dd>
12414
12415 **include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
12416
12417 </dd>
12418 </dl>
12419
12420 <dl>
12421 <dd>
12422
12423 **name_filter:** `typing.Optional[str]` — Optional filter on name (case-insensitive).
12424
12425 </dd>
12426 </dl>
12427
12428 <dl>
12429 <dd>
12430
12431 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
12432
12433 </dd>
12434 </dl>
12435 </dd>
12436 </dl>
12437
12438
12439 </dd>
12440 </dl>
12441 </details>
12442
12443 <details><summary><code>client.roles.<a href="src/auth0.management/roles/client.py">create</a>(...) -> CreateRoleResponseContent</code></summary>
12444 <dl>
12445 <dd>
12446
12447 #### 📝 Description
12448
12449 <dl>
12450 <dd>
12451
12452 <dl>
12453 <dd>
12454
12455 Create a user role for [Role-Based Access Control](https://auth0.com/docs/manage-users/access-control/rbac).
12456
12457 **Note**: New roles are not associated with any permissions by default. To assign existing permissions to your role, review Associate Permissions with a Role. To create new permissions, review Add API Permissions.
12458 </dd>
12459 </dl>
12460 </dd>
12461 </dl>
12462
12463 #### 🔌 Usage
12464
12465 <dl>
12466 <dd>
12467
12468 <dl>
12469 <dd>
12470
12471 ```python
12472 from auth0.management import Auth0
12473 from auth0.management.environment import Auth0Environment
12474
12475 client = Auth0(
12476 token="<token>",
12477 environment=Auth0Environment.DEFAULT,
12478 )
12479
12480 client.roles.create(
12481 name="name",
12482 )
12483
12484 ```
12485 </dd>
12486 </dl>
12487 </dd>
12488 </dl>
12489
12490 #### ⚙️ Parameters
12491
12492 <dl>
12493 <dd>
12494
12495 <dl>
12496 <dd>
12497
12498 **name:** `str` — Name of the role.
12499
12500 </dd>
12501 </dl>
12502
12503 <dl>
12504 <dd>
12505
12506 **description:** `typing.Optional[str]` — Description of the role.
12507
12508 </dd>
12509 </dl>
12510
12511 <dl>
12512 <dd>
12513
12514 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
12515
12516 </dd>
12517 </dl>
12518 </dd>
12519 </dl>
12520
12521
12522 </dd>
12523 </dl>
12524 </details>
12525
12526 <details><summary><code>client.roles.<a href="src/auth0.management/roles/client.py">get</a>(...) -> GetRoleResponseContent</code></summary>
12527 <dl>
12528 <dd>
12529
12530 #### 📝 Description
12531
12532 <dl>
12533 <dd>
12534
12535 <dl>
12536 <dd>
12537
12538 Retrieve details about a specific [user role](https://auth0.com/docs/manage-users/access-control/rbac) specified by ID.
12539 </dd>
12540 </dl>
12541 </dd>
12542 </dl>
12543
12544 #### 🔌 Usage
12545
12546 <dl>
12547 <dd>
12548
12549 <dl>
12550 <dd>
12551
12552 ```python
12553 from auth0.management import Auth0
12554 from auth0.management.environment import Auth0Environment
12555
12556 client = Auth0(
12557 token="<token>",
12558 environment=Auth0Environment.DEFAULT,
12559 )
12560
12561 client.roles.get(
12562 id="id",
12563 )
12564
12565 ```
12566 </dd>
12567 </dl>
12568 </dd>
12569 </dl>
12570
12571 #### ⚙️ Parameters
12572
12573 <dl>
12574 <dd>
12575
12576 <dl>
12577 <dd>
12578
12579 **id:** `str` — ID of the role to retrieve.
12580
12581 </dd>
12582 </dl>
12583
12584 <dl>
12585 <dd>
12586
12587 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
12588
12589 </dd>
12590 </dl>
12591 </dd>
12592 </dl>
12593
12594
12595 </dd>
12596 </dl>
12597 </details>
12598
12599 <details><summary><code>client.roles.<a href="src/auth0.management/roles/client.py">delete</a>(...)</code></summary>
12600 <dl>
12601 <dd>
12602
12603 #### 📝 Description
12604
12605 <dl>
12606 <dd>
12607
12608 <dl>
12609 <dd>
12610
12611 Delete a specific [user role](https://auth0.com/docs/manage-users/access-control/rbac) from your tenant. Once deleted, it is removed from any user who was previously assigned that role. This action cannot be undone.
12612 </dd>
12613 </dl>
12614 </dd>
12615 </dl>
12616
12617 #### 🔌 Usage
12618
12619 <dl>
12620 <dd>
12621
12622 <dl>
12623 <dd>
12624
12625 ```python
12626 from auth0.management import Auth0
12627 from auth0.management.environment import Auth0Environment
12628
12629 client = Auth0(
12630 token="<token>",
12631 environment=Auth0Environment.DEFAULT,
12632 )
12633
12634 client.roles.delete(
12635 id="id",
12636 )
12637
12638 ```
12639 </dd>
12640 </dl>
12641 </dd>
12642 </dl>
12643
12644 #### ⚙️ Parameters
12645
12646 <dl>
12647 <dd>
12648
12649 <dl>
12650 <dd>
12651
12652 **id:** `str` — ID of the role to delete.
12653
12654 </dd>
12655 </dl>
12656
12657 <dl>
12658 <dd>
12659
12660 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
12661
12662 </dd>
12663 </dl>
12664 </dd>
12665 </dl>
12666
12667
12668 </dd>
12669 </dl>
12670 </details>
12671
12672 <details><summary><code>client.roles.<a href="src/auth0.management/roles/client.py">update</a>(...) -> UpdateRoleResponseContent</code></summary>
12673 <dl>
12674 <dd>
12675
12676 #### 📝 Description
12677
12678 <dl>
12679 <dd>
12680
12681 <dl>
12682 <dd>
12683
12684 Modify the details of a specific [user role](https://auth0.com/docs/manage-users/access-control/rbac) specified by ID.
12685 </dd>
12686 </dl>
12687 </dd>
12688 </dl>
12689
12690 #### 🔌 Usage
12691
12692 <dl>
12693 <dd>
12694
12695 <dl>
12696 <dd>
12697
12698 ```python
12699 from auth0.management import Auth0
12700 from auth0.management.environment import Auth0Environment
12701
12702 client = Auth0(
12703 token="<token>",
12704 environment=Auth0Environment.DEFAULT,
12705 )
12706
12707 client.roles.update(
12708 id="id",
12709 )
12710
12711 ```
12712 </dd>
12713 </dl>
12714 </dd>
12715 </dl>
12716
12717 #### ⚙️ Parameters
12718
12719 <dl>
12720 <dd>
12721
12722 <dl>
12723 <dd>
12724
12725 **id:** `str` — ID of the role to update.
12726
12727 </dd>
12728 </dl>
12729
12730 <dl>
12731 <dd>
12732
12733 **name:** `typing.Optional[str]` — Name of this role.
12734
12735 </dd>
12736 </dl>
12737
12738 <dl>
12739 <dd>
12740
12741 **description:** `typing.Optional[str]` — Description of this role.
12742
12743 </dd>
12744 </dl>
12745
12746 <dl>
12747 <dd>
12748
12749 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
12750
12751 </dd>
12752 </dl>
12753 </dd>
12754 </dl>
12755
12756
12757 </dd>
12758 </dl>
12759 </details>
12760
12761 ## Rules
12762 <details><summary><code>client.rules.<a href="src/auth0.management/rules/client.py">list</a>(...) -> ListRulesOffsetPaginatedResponseContent</code></summary>
12763 <dl>
12764 <dd>
12765
12766 #### 📝 Description
12767
12768 <dl>
12769 <dd>
12770
12771 <dl>
12772 <dd>
12773
12774 Retrieve a filtered list of [rules](https://auth0.com/docs/rules). Accepts a list of fields to include or exclude.
12775 </dd>
12776 </dl>
12777 </dd>
12778 </dl>
12779
12780 #### 🔌 Usage
12781
12782 <dl>
12783 <dd>
12784
12785 <dl>
12786 <dd>
12787
12788 ```python
12789 from auth0.management import Auth0
12790 from auth0.management.environment import Auth0Environment
12791
12792 client = Auth0(
12793 token="<token>",
12794 environment=Auth0Environment.DEFAULT,
12795 )
12796
12797 client.rules.list(
12798 page=1,
12799 per_page=1,
12800 include_totals=True,
12801 enabled=True,
12802 fields="fields",
12803 include_fields=True,
12804 )
12805
12806 ```
12807 </dd>
12808 </dl>
12809 </dd>
12810 </dl>
12811
12812 #### ⚙️ Parameters
12813
12814 <dl>
12815 <dd>
12816
12817 <dl>
12818 <dd>
12819
12820 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
12821
12822 </dd>
12823 </dl>
12824
12825 <dl>
12826 <dd>
12827
12828 **per_page:** `typing.Optional[int]` — Number of results per page.
12829
12830 </dd>
12831 </dl>
12832
12833 <dl>
12834 <dd>
12835
12836 **include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
12837
12838 </dd>
12839 </dl>
12840
12841 <dl>
12842 <dd>
12843
12844 **enabled:** `typing.Optional[bool]` — Optional filter on whether a rule is enabled (true) or disabled (false).
12845
12846 </dd>
12847 </dl>
12848
12849 <dl>
12850 <dd>
12851
12852 **fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.
12853
12854 </dd>
12855 </dl>
12856
12857 <dl>
12858 <dd>
12859
12860 **include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
12861
12862 </dd>
12863 </dl>
12864
12865 <dl>
12866 <dd>
12867
12868 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
12869
12870 </dd>
12871 </dl>
12872 </dd>
12873 </dl>
12874
12875
12876 </dd>
12877 </dl>
12878 </details>
12879
12880 <details><summary><code>client.rules.<a href="src/auth0.management/rules/client.py">create</a>(...) -> CreateRuleResponseContent</code></summary>
12881 <dl>
12882 <dd>
12883
12884 #### 📝 Description
12885
12886 <dl>
12887 <dd>
12888
12889 <dl>
12890 <dd>
12891
12892 Create a [new rule](https://auth0.com/docs/rules#create-a-new-rule-using-the-management-api).
12893
12894 Note: Changing a rule's stage of execution from the default `login_success` can change the rule's function signature to have user omitted.
12895 </dd>
12896 </dl>
12897 </dd>
12898 </dl>
12899
12900 #### 🔌 Usage
12901
12902 <dl>
12903 <dd>
12904
12905 <dl>
12906 <dd>
12907
12908 ```python
12909 from auth0.management import Auth0
12910 from auth0.management.environment import Auth0Environment
12911
12912 client = Auth0(
12913 token="<token>",
12914 environment=Auth0Environment.DEFAULT,
12915 )
12916
12917 client.rules.create(
12918 name="name",
12919 script="script",
12920 )
12921
12922 ```
12923 </dd>
12924 </dl>
12925 </dd>
12926 </dl>
12927
12928 #### ⚙️ Parameters
12929
12930 <dl>
12931 <dd>
12932
12933 <dl>
12934 <dd>
12935
12936 **name:** `str` — Name of this rule.
12937
12938 </dd>
12939 </dl>
12940
12941 <dl>
12942 <dd>
12943
12944 **script:** `str` — Code to be executed when this rule runs.
12945
12946 </dd>
12947 </dl>
12948
12949 <dl>
12950 <dd>
12951
12952 **order:** `typing.Optional[float]` — Order that this rule should execute in relative to other rules. Lower-valued rules execute first.
12953
12954 </dd>
12955 </dl>
12956
12957 <dl>
12958 <dd>
12959
12960 **enabled:** `typing.Optional[bool]` — Whether the rule is enabled (true), or disabled (false).
12961
12962 </dd>
12963 </dl>
12964
12965 <dl>
12966 <dd>
12967
12968 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
12969
12970 </dd>
12971 </dl>
12972 </dd>
12973 </dl>
12974
12975
12976 </dd>
12977 </dl>
12978 </details>
12979
12980 <details><summary><code>client.rules.<a href="src/auth0.management/rules/client.py">get</a>(...) -> GetRuleResponseContent</code></summary>
12981 <dl>
12982 <dd>
12983
12984 #### 📝 Description
12985
12986 <dl>
12987 <dd>
12988
12989 <dl>
12990 <dd>
12991
12992 Retrieve [rule](https://auth0.com/docs/rules) details. Accepts a list of fields to include or exclude in the result.
12993 </dd>
12994 </dl>
12995 </dd>
12996 </dl>
12997
12998 #### 🔌 Usage
12999
13000 <dl>
13001 <dd>
13002
13003 <dl>
13004 <dd>
13005
13006 ```python
13007 from auth0.management import Auth0
13008 from auth0.management.environment import Auth0Environment
13009
13010 client = Auth0(
13011 token="<token>",
13012 environment=Auth0Environment.DEFAULT,
13013 )
13014
13015 client.rules.get(
13016 id="id",
13017 fields="fields",
13018 include_fields=True,
13019 )
13020
13021 ```
13022 </dd>
13023 </dl>
13024 </dd>
13025 </dl>
13026
13027 #### ⚙️ Parameters
13028
13029 <dl>
13030 <dd>
13031
13032 <dl>
13033 <dd>
13034
13035 **id:** `str` — ID of the rule to retrieve.
13036
13037 </dd>
13038 </dl>
13039
13040 <dl>
13041 <dd>
13042
13043 **fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.
13044
13045 </dd>
13046 </dl>
13047
13048 <dl>
13049 <dd>
13050
13051 **include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
13052
13053 </dd>
13054 </dl>
13055
13056 <dl>
13057 <dd>
13058
13059 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
13060
13061 </dd>
13062 </dl>
13063 </dd>
13064 </dl>
13065
13066
13067 </dd>
13068 </dl>
13069 </details>
13070
13071 <details><summary><code>client.rules.<a href="src/auth0.management/rules/client.py">delete</a>(...)</code></summary>
13072 <dl>
13073 <dd>
13074
13075 #### 📝 Description
13076
13077 <dl>
13078 <dd>
13079
13080 <dl>
13081 <dd>
13082
13083 Delete a rule.
13084 </dd>
13085 </dl>
13086 </dd>
13087 </dl>
13088
13089 #### 🔌 Usage
13090
13091 <dl>
13092 <dd>
13093
13094 <dl>
13095 <dd>
13096
13097 ```python
13098 from auth0.management import Auth0
13099 from auth0.management.environment import Auth0Environment
13100
13101 client = Auth0(
13102 token="<token>",
13103 environment=Auth0Environment.DEFAULT,
13104 )
13105
13106 client.rules.delete(
13107 id="id",
13108 )
13109
13110 ```
13111 </dd>
13112 </dl>
13113 </dd>
13114 </dl>
13115
13116 #### ⚙️ Parameters
13117
13118 <dl>
13119 <dd>
13120
13121 <dl>
13122 <dd>
13123
13124 **id:** `str` — ID of the rule to delete.
13125
13126 </dd>
13127 </dl>
13128
13129 <dl>
13130 <dd>
13131
13132 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
13133
13134 </dd>
13135 </dl>
13136 </dd>
13137 </dl>
13138
13139
13140 </dd>
13141 </dl>
13142 </details>
13143
13144 <details><summary><code>client.rules.<a href="src/auth0.management/rules/client.py">update</a>(...) -> UpdateRuleResponseContent</code></summary>
13145 <dl>
13146 <dd>
13147
13148 #### 📝 Description
13149
13150 <dl>
13151 <dd>
13152
13153 <dl>
13154 <dd>
13155
13156 Update an existing rule.
13157 </dd>
13158 </dl>
13159 </dd>
13160 </dl>
13161
13162 #### 🔌 Usage
13163
13164 <dl>
13165 <dd>
13166
13167 <dl>
13168 <dd>
13169
13170 ```python
13171 from auth0.management import Auth0
13172 from auth0.management.environment import Auth0Environment
13173
13174 client = Auth0(
13175 token="<token>",
13176 environment=Auth0Environment.DEFAULT,
13177 )
13178
13179 client.rules.update(
13180 id="id",
13181 )
13182
13183 ```
13184 </dd>
13185 </dl>
13186 </dd>
13187 </dl>
13188
13189 #### ⚙️ Parameters
13190
13191 <dl>
13192 <dd>
13193
13194 <dl>
13195 <dd>
13196
13197 **id:** `str` — ID of the rule to retrieve.
13198
13199 </dd>
13200 </dl>
13201
13202 <dl>
13203 <dd>
13204
13205 **script:** `typing.Optional[str]` — Code to be executed when this rule runs.
13206
13207 </dd>
13208 </dl>
13209
13210 <dl>
13211 <dd>
13212
13213 **name:** `typing.Optional[str]` — Name of this rule.
13214
13215 </dd>
13216 </dl>
13217
13218 <dl>
13219 <dd>
13220
13221 **order:** `typing.Optional[float]` — Order that this rule should execute in relative to other rules. Lower-valued rules execute first.
13222
13223 </dd>
13224 </dl>
13225
13226 <dl>
13227 <dd>
13228
13229 **enabled:** `typing.Optional[bool]` — Whether the rule is enabled (true), or disabled (false).
13230
13231 </dd>
13232 </dl>
13233
13234 <dl>
13235 <dd>
13236
13237 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
13238
13239 </dd>
13240 </dl>
13241 </dd>
13242 </dl>
13243
13244
13245 </dd>
13246 </dl>
13247 </details>
13248
13249 ## RulesConfigs
13250 <details><summary><code>client.rules_configs.<a href="src/auth0.management/rules_configs/client.py">list</a>() -> typing.List[RulesConfig]</code></summary>
13251 <dl>
13252 <dd>
13253
13254 #### 📝 Description
13255
13256 <dl>
13257 <dd>
13258
13259 <dl>
13260 <dd>
13261
13262 Retrieve rules config variable keys.
13263
13264 Note: For security, config variable values cannot be retrieved outside rule execution.
13265 </dd>
13266 </dl>
13267 </dd>
13268 </dl>
13269
13270 #### 🔌 Usage
13271
13272 <dl>
13273 <dd>
13274
13275 <dl>
13276 <dd>
13277
13278 ```python
13279 from auth0.management import Auth0
13280 from auth0.management.environment import Auth0Environment
13281
13282 client = Auth0(
13283 token="<token>",
13284 environment=Auth0Environment.DEFAULT,
13285 )
13286
13287 client.rules_configs.list()
13288
13289 ```
13290 </dd>
13291 </dl>
13292 </dd>
13293 </dl>
13294
13295 #### ⚙️ Parameters
13296
13297 <dl>
13298 <dd>
13299
13300 <dl>
13301 <dd>
13302
13303 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
13304
13305 </dd>
13306 </dl>
13307 </dd>
13308 </dl>
13309
13310
13311 </dd>
13312 </dl>
13313 </details>
13314
13315 <details><summary><code>client.rules_configs.<a href="src/auth0.management/rules_configs/client.py">set</a>(...) -> SetRulesConfigResponseContent</code></summary>
13316 <dl>
13317 <dd>
13318
13319 #### 📝 Description
13320
13321 <dl>
13322 <dd>
13323
13324 <dl>
13325 <dd>
13326
13327 Sets a rules config variable.
13328 </dd>
13329 </dl>
13330 </dd>
13331 </dl>
13332
13333 #### 🔌 Usage
13334
13335 <dl>
13336 <dd>
13337
13338 <dl>
13339 <dd>
13340
13341 ```python
13342 from auth0.management import Auth0
13343 from auth0.management.environment import Auth0Environment
13344
13345 client = Auth0(
13346 token="<token>",
13347 environment=Auth0Environment.DEFAULT,
13348 )
13349
13350 client.rules_configs.set(
13351 key="key",
13352 value="value",
13353 )
13354
13355 ```
13356 </dd>
13357 </dl>
13358 </dd>
13359 </dl>
13360
13361 #### ⚙️ Parameters
13362
13363 <dl>
13364 <dd>
13365
13366 <dl>
13367 <dd>
13368
13369 **key:** `str` — Key of the rules config variable to set (max length: 127 characters).
13370
13371 </dd>
13372 </dl>
13373
13374 <dl>
13375 <dd>
13376
13377 **value:** `str` — Value for a rules config variable.
13378
13379 </dd>
13380 </dl>
13381
13382 <dl>
13383 <dd>
13384
13385 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
13386
13387 </dd>
13388 </dl>
13389 </dd>
13390 </dl>
13391
13392
13393 </dd>
13394 </dl>
13395 </details>
13396
13397 <details><summary><code>client.rules_configs.<a href="src/auth0.management/rules_configs/client.py">delete</a>(...)</code></summary>
13398 <dl>
13399 <dd>
13400
13401 #### 📝 Description
13402
13403 <dl>
13404 <dd>
13405
13406 <dl>
13407 <dd>
13408
13409 Delete a rules config variable identified by its key.
13410 </dd>
13411 </dl>
13412 </dd>
13413 </dl>
13414
13415 #### 🔌 Usage
13416
13417 <dl>
13418 <dd>
13419
13420 <dl>
13421 <dd>
13422
13423 ```python
13424 from auth0.management import Auth0
13425 from auth0.management.environment import Auth0Environment
13426
13427 client = Auth0(
13428 token="<token>",
13429 environment=Auth0Environment.DEFAULT,
13430 )
13431
13432 client.rules_configs.delete(
13433 key="key",
13434 )
13435
13436 ```
13437 </dd>
13438 </dl>
13439 </dd>
13440 </dl>
13441
13442 #### ⚙️ Parameters
13443
13444 <dl>
13445 <dd>
13446
13447 <dl>
13448 <dd>
13449
13450 **key:** `str` — Key of the rules config variable to delete.
13451
13452 </dd>
13453 </dl>
13454
13455 <dl>
13456 <dd>
13457
13458 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
13459
13460 </dd>
13461 </dl>
13462 </dd>
13463 </dl>
13464
13465
13466 </dd>
13467 </dl>
13468 </details>
13469
13470 ## SelfServiceProfiles
13471 <details><summary><code>client.self_service_profiles.<a href="src/auth0.management/self_service_profiles/client.py">list</a>(...) -> ListSelfServiceProfilesPaginatedResponseContent</code></summary>
13472 <dl>
13473 <dd>
13474
13475 #### 📝 Description
13476
13477 <dl>
13478 <dd>
13479
13480 <dl>
13481 <dd>
13482
13483 Retrieves self-service profiles.
13484 </dd>
13485 </dl>
13486 </dd>
13487 </dl>
13488
13489 #### 🔌 Usage
13490
13491 <dl>
13492 <dd>
13493
13494 <dl>
13495 <dd>
13496
13497 ```python
13498 from auth0.management import Auth0
13499 from auth0.management.environment import Auth0Environment
13500
13501 client = Auth0(
13502 token="<token>",
13503 environment=Auth0Environment.DEFAULT,
13504 )
13505
13506 client.self_service_profiles.list(
13507 page=1,
13508 per_page=1,
13509 include_totals=True,
13510 )
13511
13512 ```
13513 </dd>
13514 </dl>
13515 </dd>
13516 </dl>
13517
13518 #### ⚙️ Parameters
13519
13520 <dl>
13521 <dd>
13522
13523 <dl>
13524 <dd>
13525
13526 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
13527
13528 </dd>
13529 </dl>
13530
13531 <dl>
13532 <dd>
13533
13534 **per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
13535
13536 </dd>
13537 </dl>
13538
13539 <dl>
13540 <dd>
13541
13542 **include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
13543
13544 </dd>
13545 </dl>
13546
13547 <dl>
13548 <dd>
13549
13550 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
13551
13552 </dd>
13553 </dl>
13554 </dd>
13555 </dl>
13556
13557
13558 </dd>
13559 </dl>
13560 </details>
13561
13562 <details><summary><code>client.self_service_profiles.<a href="src/auth0.management/self_service_profiles/client.py">create</a>(...) -> CreateSelfServiceProfileResponseContent</code></summary>
13563 <dl>
13564 <dd>
13565
13566 #### 📝 Description
13567
13568 <dl>
13569 <dd>
13570
13571 <dl>
13572 <dd>
13573
13574 Creates a self-service profile.
13575 </dd>
13576 </dl>
13577 </dd>
13578 </dl>
13579
13580 #### 🔌 Usage
13581
13582 <dl>
13583 <dd>
13584
13585 <dl>
13586 <dd>
13587
13588 ```python
13589 from auth0.management import Auth0
13590 from auth0.management.environment import Auth0Environment
13591
13592 client = Auth0(
13593 token="<token>",
13594 environment=Auth0Environment.DEFAULT,
13595 )
13596
13597 client.self_service_profiles.create(
13598 name="name",
13599 )
13600
13601 ```
13602 </dd>
13603 </dl>
13604 </dd>
13605 </dl>
13606
13607 #### ⚙️ Parameters
13608
13609 <dl>
13610 <dd>
13611
13612 <dl>
13613 <dd>
13614
13615 **name:** `str` — The name of the self-service Profile.
13616
13617 </dd>
13618 </dl>
13619
13620 <dl>
13621 <dd>
13622
13623 **description:** `typing.Optional[str]` — The description of the self-service Profile.
13624
13625 </dd>
13626 </dl>
13627
13628 <dl>
13629 <dd>
13630
13631 **branding:** `typing.Optional[SelfServiceProfileBrandingProperties]`
13632
13633 </dd>
13634 </dl>
13635
13636 <dl>
13637 <dd>
13638
13639 **allowed_strategies:** `typing.Optional[typing.List[SelfServiceProfileAllowedStrategyEnum]]` — List of IdP strategies that will be shown to users during the Self-Service Enterprise Configuration flow. Possible values: [`oidc`, `samlp`, `waad`, `google-apps`, `adfs`, `okta`, `auth0-samlp`, `okta-samlp`, `keycloak-samlp`, `pingfederate`]
13640
13641 </dd>
13642 </dl>
13643
13644 <dl>
13645 <dd>
13646
13647 **user_attributes:** `typing.Optional[typing.List[SelfServiceProfileUserAttribute]]` — List of attributes to be mapped that will be shown to the user during the Self-Service Enterprise Configuration flow.
13648
13649 </dd>
13650 </dl>
13651
13652 <dl>
13653 <dd>
13654
13655 **user_attribute_profile_id:** `typing.Optional[str]` — ID of the user-attribute-profile to associate with this self-service profile.
13656
13657 </dd>
13658 </dl>
13659
13660 <dl>
13661 <dd>
13662
13663 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
13664
13665 </dd>
13666 </dl>
13667 </dd>
13668 </dl>
13669
13670
13671 </dd>
13672 </dl>
13673 </details>
13674
13675 <details><summary><code>client.self_service_profiles.<a href="src/auth0.management/self_service_profiles/client.py">get</a>(...) -> GetSelfServiceProfileResponseContent</code></summary>
13676 <dl>
13677 <dd>
13678
13679 #### 📝 Description
13680
13681 <dl>
13682 <dd>
13683
13684 <dl>
13685 <dd>
13686
13687 Retrieves a self-service profile by Id.
13688 </dd>
13689 </dl>
13690 </dd>
13691 </dl>
13692
13693 #### 🔌 Usage
13694
13695 <dl>
13696 <dd>
13697
13698 <dl>
13699 <dd>
13700
13701 ```python
13702 from auth0.management import Auth0
13703 from auth0.management.environment import Auth0Environment
13704
13705 client = Auth0(
13706 token="<token>",
13707 environment=Auth0Environment.DEFAULT,
13708 )
13709
13710 client.self_service_profiles.get(
13711 id="id",
13712 )
13713
13714 ```
13715 </dd>
13716 </dl>
13717 </dd>
13718 </dl>
13719
13720 #### ⚙️ Parameters
13721
13722 <dl>
13723 <dd>
13724
13725 <dl>
13726 <dd>
13727
13728 **id:** `str` — The id of the self-service profile to retrieve
13729
13730 </dd>
13731 </dl>
13732
13733 <dl>
13734 <dd>
13735
13736 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
13737
13738 </dd>
13739 </dl>
13740 </dd>
13741 </dl>
13742
13743
13744 </dd>
13745 </dl>
13746 </details>
13747
13748 <details><summary><code>client.self_service_profiles.<a href="src/auth0.management/self_service_profiles/client.py">delete</a>(...)</code></summary>
13749 <dl>
13750 <dd>
13751
13752 #### 📝 Description
13753
13754 <dl>
13755 <dd>
13756
13757 <dl>
13758 <dd>
13759
13760 Deletes a self-service profile by Id.
13761 </dd>
13762 </dl>
13763 </dd>
13764 </dl>
13765
13766 #### 🔌 Usage
13767
13768 <dl>
13769 <dd>
13770
13771 <dl>
13772 <dd>
13773
13774 ```python
13775 from auth0.management import Auth0
13776 from auth0.management.environment import Auth0Environment
13777
13778 client = Auth0(
13779 token="<token>",
13780 environment=Auth0Environment.DEFAULT,
13781 )
13782
13783 client.self_service_profiles.delete(
13784 id="id",
13785 )
13786
13787 ```
13788 </dd>
13789 </dl>
13790 </dd>
13791 </dl>
13792
13793 #### ⚙️ Parameters
13794
13795 <dl>
13796 <dd>
13797
13798 <dl>
13799 <dd>
13800
13801 **id:** `str` — The id of the self-service profile to delete
13802
13803 </dd>
13804 </dl>
13805
13806 <dl>
13807 <dd>
13808
13809 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
13810
13811 </dd>
13812 </dl>
13813 </dd>
13814 </dl>
13815
13816
13817 </dd>
13818 </dl>
13819 </details>
13820
13821 <details><summary><code>client.self_service_profiles.<a href="src/auth0.management/self_service_profiles/client.py">update</a>(...) -> UpdateSelfServiceProfileResponseContent</code></summary>
13822 <dl>
13823 <dd>
13824
13825 #### 📝 Description
13826
13827 <dl>
13828 <dd>
13829
13830 <dl>
13831 <dd>
13832
13833 Updates a self-service profile.
13834 </dd>
13835 </dl>
13836 </dd>
13837 </dl>
13838
13839 #### 🔌 Usage
13840
13841 <dl>
13842 <dd>
13843
13844 <dl>
13845 <dd>
13846
13847 ```python
13848 from auth0.management import Auth0
13849 from auth0.management.environment import Auth0Environment
13850
13851 client = Auth0(
13852 token="<token>",
13853 environment=Auth0Environment.DEFAULT,
13854 )
13855
13856 client.self_service_profiles.update(
13857 id="id",
13858 )
13859
13860 ```
13861 </dd>
13862 </dl>
13863 </dd>
13864 </dl>
13865
13866 #### ⚙️ Parameters
13867
13868 <dl>
13869 <dd>
13870
13871 <dl>
13872 <dd>
13873
13874 **id:** `str` — The id of the self-service profile to update
13875
13876 </dd>
13877 </dl>
13878
13879 <dl>
13880 <dd>
13881
13882 **name:** `typing.Optional[str]` — The name of the self-service Profile.
13883
13884 </dd>
13885 </dl>
13886
13887 <dl>
13888 <dd>
13889
13890 **description:** `typing.Optional[SelfServiceProfileDescription]`
13891
13892 </dd>
13893 </dl>
13894
13895 <dl>
13896 <dd>
13897
13898 **branding:** `typing.Optional[SelfServiceProfileBranding]`
13899
13900 </dd>
13901 </dl>
13902
13903 <dl>
13904 <dd>
13905
13906 **allowed_strategies:** `typing.Optional[typing.List[SelfServiceProfileAllowedStrategyEnum]]` — List of IdP strategies that will be shown to users during the Self-Service Enterprise Configuration flow. Possible values: [`oidc`, `samlp`, `waad`, `google-apps`, `adfs`, `okta`, `auth0-samlp`, `okta-samlp`, `keycloak-samlp`, `pingfederate`]
13907
13908 </dd>
13909 </dl>
13910
13911 <dl>
13912 <dd>
13913
13914 **user_attributes:** `typing.Optional[SelfServiceProfileUserAttributes]`
13915
13916 </dd>
13917 </dl>
13918
13919 <dl>
13920 <dd>
13921
13922 **user_attribute_profile_id:** `typing.Optional[str]` — ID of the user-attribute-profile to associate with this self-service profile.
13923
13924 </dd>
13925 </dl>
13926
13927 <dl>
13928 <dd>
13929
13930 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
13931
13932 </dd>
13933 </dl>
13934 </dd>
13935 </dl>
13936
13937
13938 </dd>
13939 </dl>
13940 </details>
13941
13942 ## Sessions
13943 <details><summary><code>client.sessions.<a href="src/auth0.management/sessions/client.py">get</a>(...) -> GetSessionResponseContent</code></summary>
13944 <dl>
13945 <dd>
13946
13947 #### 📝 Description
13948
13949 <dl>
13950 <dd>
13951
13952 <dl>
13953 <dd>
13954
13955 Retrieve session information.
13956 </dd>
13957 </dl>
13958 </dd>
13959 </dl>
13960
13961 #### 🔌 Usage
13962
13963 <dl>
13964 <dd>
13965
13966 <dl>
13967 <dd>
13968
13969 ```python
13970 from auth0.management import Auth0
13971 from auth0.management.environment import Auth0Environment
13972
13973 client = Auth0(
13974 token="<token>",
13975 environment=Auth0Environment.DEFAULT,
13976 )
13977
13978 client.sessions.get(
13979 id="id",
13980 )
13981
13982 ```
13983 </dd>
13984 </dl>
13985 </dd>
13986 </dl>
13987
13988 #### ⚙️ Parameters
13989
13990 <dl>
13991 <dd>
13992
13993 <dl>
13994 <dd>
13995
13996 **id:** `str` — ID of session to retrieve
13997
13998 </dd>
13999 </dl>
14000
14001 <dl>
14002 <dd>
14003
14004 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
14005
14006 </dd>
14007 </dl>
14008 </dd>
14009 </dl>
14010
14011
14012 </dd>
14013 </dl>
14014 </details>
14015
14016 <details><summary><code>client.sessions.<a href="src/auth0.management/sessions/client.py">delete</a>(...)</code></summary>
14017 <dl>
14018 <dd>
14019
14020 #### 📝 Description
14021
14022 <dl>
14023 <dd>
14024
14025 <dl>
14026 <dd>
14027
14028 Delete a session by ID.
14029 </dd>
14030 </dl>
14031 </dd>
14032 </dl>
14033
14034 #### 🔌 Usage
14035
14036 <dl>
14037 <dd>
14038
14039 <dl>
14040 <dd>
14041
14042 ```python
14043 from auth0.management import Auth0
14044 from auth0.management.environment import Auth0Environment
14045
14046 client = Auth0(
14047 token="<token>",
14048 environment=Auth0Environment.DEFAULT,
14049 )
14050
14051 client.sessions.delete(
14052 id="id",
14053 )
14054
14055 ```
14056 </dd>
14057 </dl>
14058 </dd>
14059 </dl>
14060
14061 #### ⚙️ Parameters
14062
14063 <dl>
14064 <dd>
14065
14066 <dl>
14067 <dd>
14068
14069 **id:** `str` — ID of the session to delete.
14070
14071 </dd>
14072 </dl>
14073
14074 <dl>
14075 <dd>
14076
14077 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
14078
14079 </dd>
14080 </dl>
14081 </dd>
14082 </dl>
14083
14084
14085 </dd>
14086 </dl>
14087 </details>
14088
14089 <details><summary><code>client.sessions.<a href="src/auth0.management/sessions/client.py">update</a>(...) -> UpdateSessionResponseContent</code></summary>
14090 <dl>
14091 <dd>
14092
14093 #### 📝 Description
14094
14095 <dl>
14096 <dd>
14097
14098 <dl>
14099 <dd>
14100
14101 Update session information.
14102 </dd>
14103 </dl>
14104 </dd>
14105 </dl>
14106
14107 #### 🔌 Usage
14108
14109 <dl>
14110 <dd>
14111
14112 <dl>
14113 <dd>
14114
14115 ```python
14116 from auth0.management import Auth0
14117 from auth0.management.environment import Auth0Environment
14118
14119 client = Auth0(
14120 token="<token>",
14121 environment=Auth0Environment.DEFAULT,
14122 )
14123
14124 client.sessions.update(
14125 id="id",
14126 )
14127
14128 ```
14129 </dd>
14130 </dl>
14131 </dd>
14132 </dl>
14133
14134 #### ⚙️ Parameters
14135
14136 <dl>
14137 <dd>
14138
14139 <dl>
14140 <dd>
14141
14142 **id:** `str` — ID of the session to update.
14143
14144 </dd>
14145 </dl>
14146
14147 <dl>
14148 <dd>
14149
14150 **session_metadata:** `typing.Optional[SessionMetadata]` — Metadata associated with the session. Pass null or {} to remove all session_metadata.
14151
14152 </dd>
14153 </dl>
14154
14155 <dl>
14156 <dd>
14157
14158 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
14159
14160 </dd>
14161 </dl>
14162 </dd>
14163 </dl>
14164
14165
14166 </dd>
14167 </dl>
14168 </details>
14169
14170 <details><summary><code>client.sessions.<a href="src/auth0.management/sessions/client.py">revoke</a>(...)</code></summary>
14171 <dl>
14172 <dd>
14173
14174 #### 📝 Description
14175
14176 <dl>
14177 <dd>
14178
14179 <dl>
14180 <dd>
14181
14182 Revokes a session by ID and all associated refresh tokens.
14183 </dd>
14184 </dl>
14185 </dd>
14186 </dl>
14187
14188 #### 🔌 Usage
14189
14190 <dl>
14191 <dd>
14192
14193 <dl>
14194 <dd>
14195
14196 ```python
14197 from auth0.management import Auth0
14198 from auth0.management.environment import Auth0Environment
14199
14200 client = Auth0(
14201 token="<token>",
14202 environment=Auth0Environment.DEFAULT,
14203 )
14204
14205 client.sessions.revoke(
14206 id="id",
14207 )
14208
14209 ```
14210 </dd>
14211 </dl>
14212 </dd>
14213 </dl>
14214
14215 #### ⚙️ Parameters
14216
14217 <dl>
14218 <dd>
14219
14220 <dl>
14221 <dd>
14222
14223 **id:** `str` — ID of the session to revoke.
14224
14225 </dd>
14226 </dl>
14227
14228 <dl>
14229 <dd>
14230
14231 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
14232
14233 </dd>
14234 </dl>
14235 </dd>
14236 </dl>
14237
14238
14239 </dd>
14240 </dl>
14241 </details>
14242
14243 ## Stats
14244 <details><summary><code>client.stats.<a href="src/auth0.management/stats/client.py">get_active_users_count</a>() -> GetActiveUsersCountStatsResponseContent</code></summary>
14245 <dl>
14246 <dd>
14247
14248 #### 📝 Description
14249
14250 <dl>
14251 <dd>
14252
14253 <dl>
14254 <dd>
14255
14256 Retrieve the number of active users that logged in during the last 30 days.
14257 </dd>
14258 </dl>
14259 </dd>
14260 </dl>
14261
14262 #### 🔌 Usage
14263
14264 <dl>
14265 <dd>
14266
14267 <dl>
14268 <dd>
14269
14270 ```python
14271 from auth0.management import Auth0
14272 from auth0.management.environment import Auth0Environment
14273
14274 client = Auth0(
14275 token="<token>",
14276 environment=Auth0Environment.DEFAULT,
14277 )
14278
14279 client.stats.get_active_users_count()
14280
14281 ```
14282 </dd>
14283 </dl>
14284 </dd>
14285 </dl>
14286
14287 #### ⚙️ Parameters
14288
14289 <dl>
14290 <dd>
14291
14292 <dl>
14293 <dd>
14294
14295 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
14296
14297 </dd>
14298 </dl>
14299 </dd>
14300 </dl>
14301
14302
14303 </dd>
14304 </dl>
14305 </details>
14306
14307 <details><summary><code>client.stats.<a href="src/auth0.management/stats/client.py">get_daily</a>(...) -> typing.List[DailyStats]</code></summary>
14308 <dl>
14309 <dd>
14310
14311 #### 📝 Description
14312
14313 <dl>
14314 <dd>
14315
14316 <dl>
14317 <dd>
14318
14319 Retrieve the number of logins, signups and breached-password detections (subscription required) that occurred each day within a specified date range.
14320 </dd>
14321 </dl>
14322 </dd>
14323 </dl>
14324
14325 #### 🔌 Usage
14326
14327 <dl>
14328 <dd>
14329
14330 <dl>
14331 <dd>
14332
14333 ```python
14334 from auth0.management import Auth0
14335 from auth0.management.environment import Auth0Environment
14336
14337 client = Auth0(
14338 token="<token>",
14339 environment=Auth0Environment.DEFAULT,
14340 )
14341
14342 client.stats.get_daily(
14343 from_="from",
14344 to="to",
14345 )
14346
14347 ```
14348 </dd>
14349 </dl>
14350 </dd>
14351 </dl>
14352
14353 #### ⚙️ Parameters
14354
14355 <dl>
14356 <dd>
14357
14358 <dl>
14359 <dd>
14360
14361 **from:** `typing.Optional[str]` — Optional first day of the date range (inclusive) in YYYYMMDD format.
14362
14363 </dd>
14364 </dl>
14365
14366 <dl>
14367 <dd>
14368
14369 **to:** `typing.Optional[str]` — Optional last day of the date range (inclusive) in YYYYMMDD format.
14370
14371 </dd>
14372 </dl>
14373
14374 <dl>
14375 <dd>
14376
14377 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
14378
14379 </dd>
14380 </dl>
14381 </dd>
14382 </dl>
14383
14384
14385 </dd>
14386 </dl>
14387 </details>
14388
14389 ## SupplementalSignals
14390 <details><summary><code>client.supplemental_signals.<a href="src/auth0.management/supplemental_signals/client.py">get</a>() -> GetSupplementalSignalsResponseContent</code></summary>
14391 <dl>
14392 <dd>
14393
14394 #### 📝 Description
14395
14396 <dl>
14397 <dd>
14398
14399 <dl>
14400 <dd>
14401
14402 Get the supplemental signals configuration for a tenant.
14403 </dd>
14404 </dl>
14405 </dd>
14406 </dl>
14407
14408 #### 🔌 Usage
14409
14410 <dl>
14411 <dd>
14412
14413 <dl>
14414 <dd>
14415
14416 ```python
14417 from auth0.management import Auth0
14418 from auth0.management.environment import Auth0Environment
14419
14420 client = Auth0(
14421 token="<token>",
14422 environment=Auth0Environment.DEFAULT,
14423 )
14424
14425 client.supplemental_signals.get()
14426
14427 ```
14428 </dd>
14429 </dl>
14430 </dd>
14431 </dl>
14432
14433 #### ⚙️ Parameters
14434
14435 <dl>
14436 <dd>
14437
14438 <dl>
14439 <dd>
14440
14441 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
14442
14443 </dd>
14444 </dl>
14445 </dd>
14446 </dl>
14447
14448
14449 </dd>
14450 </dl>
14451 </details>
14452
14453 <details><summary><code>client.supplemental_signals.<a href="src/auth0.management/supplemental_signals/client.py">patch</a>(...) -> PatchSupplementalSignalsResponseContent</code></summary>
14454 <dl>
14455 <dd>
14456
14457 #### 📝 Description
14458
14459 <dl>
14460 <dd>
14461
14462 <dl>
14463 <dd>
14464
14465 Update the supplemental signals configuration for a tenant.
14466 </dd>
14467 </dl>
14468 </dd>
14469 </dl>
14470
14471 #### 🔌 Usage
14472
14473 <dl>
14474 <dd>
14475
14476 <dl>
14477 <dd>
14478
14479 ```python
14480 from auth0.management import Auth0
14481 from auth0.management.environment import Auth0Environment
14482
14483 client = Auth0(
14484 token="<token>",
14485 environment=Auth0Environment.DEFAULT,
14486 )
14487
14488 client.supplemental_signals.patch(
14489 akamai_enabled=True,
14490 )
14491
14492 ```
14493 </dd>
14494 </dl>
14495 </dd>
14496 </dl>
14497
14498 #### ⚙️ Parameters
14499
14500 <dl>
14501 <dd>
14502
14503 <dl>
14504 <dd>
14505
14506 **akamai_enabled:** `bool` — Indicates if incoming Akamai Headers should be processed
14507
14508 </dd>
14509 </dl>
14510
14511 <dl>
14512 <dd>
14513
14514 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
14515
14516 </dd>
14517 </dl>
14518 </dd>
14519 </dl>
14520
14521
14522 </dd>
14523 </dl>
14524 </details>
14525
14526 ## Tickets
14527 <details><summary><code>client.tickets.<a href="src/auth0.management/tickets/client.py">verify_email</a>(...) -> VerifyEmailTicketResponseContent</code></summary>
14528 <dl>
14529 <dd>
14530
14531 #### 📝 Description
14532
14533 <dl>
14534 <dd>
14535
14536 <dl>
14537 <dd>
14538
14539 Create an email verification ticket for a given user. An email verification ticket is a generated URL that the user can consume to verify their email address.
14540 </dd>
14541 </dl>
14542 </dd>
14543 </dl>
14544
14545 #### 🔌 Usage
14546
14547 <dl>
14548 <dd>
14549
14550 <dl>
14551 <dd>
14552
14553 ```python
14554 from auth0.management import Auth0
14555 from auth0.management.environment import Auth0Environment
14556
14557 client = Auth0(
14558 token="<token>",
14559 environment=Auth0Environment.DEFAULT,
14560 )
14561
14562 client.tickets.verify_email(
14563 user_id="user_id",
14564 )
14565
14566 ```
14567 </dd>
14568 </dl>
14569 </dd>
14570 </dl>
14571
14572 #### ⚙️ Parameters
14573
14574 <dl>
14575 <dd>
14576
14577 <dl>
14578 <dd>
14579
14580 **user_id:** `str` — user_id of for whom the ticket should be created.
14581
14582 </dd>
14583 </dl>
14584
14585 <dl>
14586 <dd>
14587
14588 **result_url:** `typing.Optional[str]` — URL the user will be redirected to in the classic Universal Login experience once the ticket is used. Cannot be specified when using client_id or organization_id.
14589
14590 </dd>
14591 </dl>
14592
14593 <dl>
14594 <dd>
14595
14596 **client_id:** `typing.Optional[str]` — ID of the client (application). If provided for tenants using the New Universal Login experience, the email template and UI displays application details, and the user is prompted to redirect to the application's <a target='' href='https://auth0.com/docs/authenticate/login/auth0-universal-login/configure-default-login-routes#completing-the-password-reset-flow'>default login route</a> after the ticket is used. client_id is required to use the <a target='' href='https://auth0.com/docs/customize/actions/flows-and-triggers/post-change-password-flow'>Password Reset Post Challenge</a> trigger.
14597
14598 </dd>
14599 </dl>
14600
14601 <dl>
14602 <dd>
14603
14604 **organization_id:** `typing.Optional[str]` — (Optional) Organization ID – the ID of the Organization. If provided, organization parameters will be made available to the email template and organization branding will be applied to the prompt. In addition, the redirect link in the prompt will include organization_id and organization_name query string parameters.
14605
14606 </dd>
14607 </dl>
14608
14609 <dl>
14610 <dd>
14611
14612 **ttl_sec:** `typing.Optional[int]` — Number of seconds for which the ticket is valid before expiration. If unspecified or set to 0, this value defaults to 432000 seconds (5 days).
14613
14614 </dd>
14615 </dl>
14616
14617 <dl>
14618 <dd>
14619
14620 **include_email_in_redirect:** `typing.Optional[bool]` — Whether to include the email address as part of the returnUrl in the reset_email (true), or not (false).
14621
14622 </dd>
14623 </dl>
14624
14625 <dl>
14626 <dd>
14627
14628 **identity:** `typing.Optional[Identity]`
14629
14630 </dd>
14631 </dl>
14632
14633 <dl>
14634 <dd>
14635
14636 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
14637
14638 </dd>
14639 </dl>
14640 </dd>
14641 </dl>
14642
14643
14644 </dd>
14645 </dl>
14646 </details>
14647
14648 <details><summary><code>client.tickets.<a href="src/auth0.management/tickets/client.py">change_password</a>(...) -> ChangePasswordTicketResponseContent</code></summary>
14649 <dl>
14650 <dd>
14651
14652 #### 📝 Description
14653
14654 <dl>
14655 <dd>
14656
14657 <dl>
14658 <dd>
14659
14660 Create a password change ticket for a given user. A password change ticket is a generated URL that the user can consume to start a reset password flow.
14661
14662 Note: This endpoint does not verify the given user’s identity. If you call this endpoint within your application, you must design your application to verify the user’s identity.
14663 </dd>
14664 </dl>
14665 </dd>
14666 </dl>
14667
14668 #### 🔌 Usage
14669
14670 <dl>
14671 <dd>
14672
14673 <dl>
14674 <dd>
14675
14676 ```python
14677 from auth0.management import Auth0
14678 from auth0.management.environment import Auth0Environment
14679
14680 client = Auth0(
14681 token="<token>",
14682 environment=Auth0Environment.DEFAULT,
14683 )
14684
14685 client.tickets.change_password()
14686
14687 ```
14688 </dd>
14689 </dl>
14690 </dd>
14691 </dl>
14692
14693 #### ⚙️ Parameters
14694
14695 <dl>
14696 <dd>
14697
14698 <dl>
14699 <dd>
14700
14701 **result_url:** `typing.Optional[str]` — URL the user will be redirected to in the classic Universal Login experience once the ticket is used. Cannot be specified when using organization_id. May be specified together with client_id when the tenant has a custom password reset page enabled and a password-reset-post-challenge Action bound.
14702
14703 </dd>
14704 </dl>
14705
14706 <dl>
14707 <dd>
14708
14709 **user_id:** `typing.Optional[str]` — user_id of for whom the ticket should be created.
14710
14711 </dd>
14712 </dl>
14713
14714 <dl>
14715 <dd>
14716
14717 **client_id:** `typing.Optional[str]` — ID of the client (application). If provided for tenants using the New Universal Login experience, the email template and UI displays application details, and the user is prompted to redirect to the application's <a target='' href='https://auth0.com/docs/authenticate/login/auth0-universal-login/configure-default-login-routes#completing-the-password-reset-flow'>default login route</a> after the ticket is used. client_id is required to use the <a target='' href='https://auth0.com/docs/customize/actions/flows-and-triggers/post-change-password-flow'>Password Reset Post Challenge</a> trigger.
14718
14719 </dd>
14720 </dl>
14721
14722 <dl>
14723 <dd>
14724
14725 **organization_id:** `typing.Optional[str]` — (Optional) Organization ID – the ID of the Organization. If provided, organization parameters will be made available to the email template and organization branding will be applied to the prompt. In addition, the redirect link in the prompt will include organization_id and organization_name query string parameters.
14726
14727 </dd>
14728 </dl>
14729
14730 <dl>
14731 <dd>
14732
14733 **connection_id:** `typing.Optional[str]` — ID of the connection. If provided, allows the user to be specified using email instead of user_id. If you set this value, you must also send the email parameter. You cannot send user_id when specifying a connection_id.
14734
14735 </dd>
14736 </dl>
14737
14738 <dl>
14739 <dd>
14740
14741 **email:** `typing.Optional[str]` — Email address of the user for whom the tickets should be created. Requires the connection_id parameter. Cannot be specified when using user_id.
14742
14743 </dd>
14744 </dl>
14745
14746 <dl>
14747 <dd>
14748
14749 **ttl_sec:** `typing.Optional[int]` — Number of seconds for which the ticket is valid before expiration. If unspecified or set to 0, this value defaults to 432000 seconds (5 days).
14750
14751 </dd>
14752 </dl>
14753
14754 <dl>
14755 <dd>
14756
14757 **mark_email_as_verified:** `typing.Optional[bool]` — Whether to set the email_verified attribute to true (true) or whether it should not be updated (false).
14758
14759 </dd>
14760 </dl>
14761
14762 <dl>
14763 <dd>
14764
14765 **include_email_in_redirect:** `typing.Optional[bool]` — Whether to include the email address as part of the returnUrl in the reset_email (true), or not (false).
14766
14767 </dd>
14768 </dl>
14769
14770 <dl>
14771 <dd>
14772
14773 **identity:** `typing.Optional[ChangePasswordTicketIdentity]`
14774
14775 </dd>
14776 </dl>
14777
14778 <dl>
14779 <dd>
14780
14781 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
14782
14783 </dd>
14784 </dl>
14785 </dd>
14786 </dl>
14787
14788
14789 </dd>
14790 </dl>
14791 </details>
14792
14793 ## TokenExchangeProfiles
14794 <details><summary><code>client.token_exchange_profiles.<a href="src/auth0.management/token_exchange_profiles/client.py">list</a>(...) -> ListTokenExchangeProfileResponseContent</code></summary>
14795 <dl>
14796 <dd>
14797
14798 #### 📝 Description
14799
14800 <dl>
14801 <dd>
14802
14803 <dl>
14804 <dd>
14805
14806 Retrieve a list of all Token Exchange Profiles available in your tenant.
14807
14808 By using this feature, you agree to the applicable Free Trial terms in [Okta’s Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user’s subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
14809
14810 This endpoint supports Checkpoint pagination. To search by checkpoint, use the following parameters:
14811
14812 - `from`: Optional id from which to start selection.
14813 - `take`: The total amount of entries to retrieve when using the from parameter. Defaults to 50.
14814
14815 **Note**: The first time you call this endpoint using checkpoint pagination, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no pages are remaining.
14816 </dd>
14817 </dl>
14818 </dd>
14819 </dl>
14820
14821 #### 🔌 Usage
14822
14823 <dl>
14824 <dd>
14825
14826 <dl>
14827 <dd>
14828
14829 ```python
14830 from auth0.management import Auth0
14831 from auth0.management.environment import Auth0Environment
14832
14833 client = Auth0(
14834 token="<token>",
14835 environment=Auth0Environment.DEFAULT,
14836 )
14837
14838 client.token_exchange_profiles.list(
14839 from_="from",
14840 take=1,
14841 )
14842
14843 ```
14844 </dd>
14845 </dl>
14846 </dd>
14847 </dl>
14848
14849 #### ⚙️ Parameters
14850
14851 <dl>
14852 <dd>
14853
14854 <dl>
14855 <dd>
14856
14857 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
14858
14859 </dd>
14860 </dl>
14861
14862 <dl>
14863 <dd>
14864
14865 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
14866
14867 </dd>
14868 </dl>
14869
14870 <dl>
14871 <dd>
14872
14873 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
14874
14875 </dd>
14876 </dl>
14877 </dd>
14878 </dl>
14879
14880
14881 </dd>
14882 </dl>
14883 </details>
14884
14885 <details><summary><code>client.token_exchange_profiles.<a href="src/auth0.management/token_exchange_profiles/client.py">create</a>(...) -> CreateTokenExchangeProfileResponseContent</code></summary>
14886 <dl>
14887 <dd>
14888
14889 #### 📝 Description
14890
14891 <dl>
14892 <dd>
14893
14894 <dl>
14895 <dd>
14896
14897 Create a new Token Exchange Profile within your tenant.
14898
14899 By using this feature, you agree to the applicable Free Trial terms in [Okta’s Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user’s subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
14900 </dd>
14901 </dl>
14902 </dd>
14903 </dl>
14904
14905 #### 🔌 Usage
14906
14907 <dl>
14908 <dd>
14909
14910 <dl>
14911 <dd>
14912
14913 ```python
14914 from auth0.management import Auth0
14915 from auth0.management.environment import Auth0Environment
14916
14917 client = Auth0(
14918 token="<token>",
14919 environment=Auth0Environment.DEFAULT,
14920 )
14921
14922 client.token_exchange_profiles.create(
14923 name="name",
14924 subject_token_type="subject_token_type",
14925 action_id="action_id",
14926 type="custom_authentication",
14927 )
14928
14929 ```
14930 </dd>
14931 </dl>
14932 </dd>
14933 </dl>
14934
14935 #### ⚙️ Parameters
14936
14937 <dl>
14938 <dd>
14939
14940 <dl>
14941 <dd>
14942
14943 **name:** `str` — Friendly name of this profile.
14944
14945 </dd>
14946 </dl>
14947
14948 <dl>
14949 <dd>
14950
14951 **subject_token_type:** `str` — Subject token type for this profile. When receiving a token exchange request on the Authentication API, the corresponding token exchange profile with a matching subject_token_type will be executed. This must be a URI.
14952
14953 </dd>
14954 </dl>
14955
14956 <dl>
14957 <dd>
14958
14959 **action_id:** `str` — The ID of the Custom Token Exchange action to execute for this profile, in order to validate the subject_token. The action must use the custom-token-exchange trigger.
14960
14961 </dd>
14962 </dl>
14963
14964 <dl>
14965 <dd>
14966
14967 **type:** `TokenExchangeProfileTypeEnum`
14968
14969 </dd>
14970 </dl>
14971
14972 <dl>
14973 <dd>
14974
14975 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
14976
14977 </dd>
14978 </dl>
14979 </dd>
14980 </dl>
14981
14982
14983 </dd>
14984 </dl>
14985 </details>
14986
14987 <details><summary><code>client.token_exchange_profiles.<a href="src/auth0.management/token_exchange_profiles/client.py">get</a>(...) -> GetTokenExchangeProfileResponseContent</code></summary>
14988 <dl>
14989 <dd>
14990
14991 #### 📝 Description
14992
14993 <dl>
14994 <dd>
14995
14996 <dl>
14997 <dd>
14998
14999 Retrieve details about a single Token Exchange Profile specified by ID.
15000
15001 By using this feature, you agree to the applicable Free Trial terms in [Okta’s Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user’s subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
15002 </dd>
15003 </dl>
15004 </dd>
15005 </dl>
15006
15007 #### 🔌 Usage
15008
15009 <dl>
15010 <dd>
15011
15012 <dl>
15013 <dd>
15014
15015 ```python
15016 from auth0.management import Auth0
15017 from auth0.management.environment import Auth0Environment
15018
15019 client = Auth0(
15020 token="<token>",
15021 environment=Auth0Environment.DEFAULT,
15022 )
15023
15024 client.token_exchange_profiles.get(
15025 id="id",
15026 )
15027
15028 ```
15029 </dd>
15030 </dl>
15031 </dd>
15032 </dl>
15033
15034 #### ⚙️ Parameters
15035
15036 <dl>
15037 <dd>
15038
15039 <dl>
15040 <dd>
15041
15042 **id:** `str` — ID of the Token Exchange Profile to retrieve.
15043
15044 </dd>
15045 </dl>
15046
15047 <dl>
15048 <dd>
15049
15050 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
15051
15052 </dd>
15053 </dl>
15054 </dd>
15055 </dl>
15056
15057
15058 </dd>
15059 </dl>
15060 </details>
15061
15062 <details><summary><code>client.token_exchange_profiles.<a href="src/auth0.management/token_exchange_profiles/client.py">delete</a>(...)</code></summary>
15063 <dl>
15064 <dd>
15065
15066 #### 📝 Description
15067
15068 <dl>
15069 <dd>
15070
15071 <dl>
15072 <dd>
15073
15074 Delete a Token Exchange Profile within your tenant.
15075
15076 By using this feature, you agree to the applicable Free Trial terms in [Okta's Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user's subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
15077 </dd>
15078 </dl>
15079 </dd>
15080 </dl>
15081
15082 #### 🔌 Usage
15083
15084 <dl>
15085 <dd>
15086
15087 <dl>
15088 <dd>
15089
15090 ```python
15091 from auth0.management import Auth0
15092 from auth0.management.environment import Auth0Environment
15093
15094 client = Auth0(
15095 token="<token>",
15096 environment=Auth0Environment.DEFAULT,
15097 )
15098
15099 client.token_exchange_profiles.delete(
15100 id="id",
15101 )
15102
15103 ```
15104 </dd>
15105 </dl>
15106 </dd>
15107 </dl>
15108
15109 #### ⚙️ Parameters
15110
15111 <dl>
15112 <dd>
15113
15114 <dl>
15115 <dd>
15116
15117 **id:** `str` — ID of the Token Exchange Profile to delete.
15118
15119 </dd>
15120 </dl>
15121
15122 <dl>
15123 <dd>
15124
15125 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
15126
15127 </dd>
15128 </dl>
15129 </dd>
15130 </dl>
15131
15132
15133 </dd>
15134 </dl>
15135 </details>
15136
15137 <details><summary><code>client.token_exchange_profiles.<a href="src/auth0.management/token_exchange_profiles/client.py">update</a>(...)</code></summary>
15138 <dl>
15139 <dd>
15140
15141 #### 📝 Description
15142
15143 <dl>
15144 <dd>
15145
15146 <dl>
15147 <dd>
15148
15149 Update a Token Exchange Profile within your tenant.
15150
15151 By using this feature, you agree to the applicable Free Trial terms in [Okta's Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user's subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
15152 </dd>
15153 </dl>
15154 </dd>
15155 </dl>
15156
15157 #### 🔌 Usage
15158
15159 <dl>
15160 <dd>
15161
15162 <dl>
15163 <dd>
15164
15165 ```python
15166 from auth0.management import Auth0
15167 from auth0.management.environment import Auth0Environment
15168
15169 client = Auth0(
15170 token="<token>",
15171 environment=Auth0Environment.DEFAULT,
15172 )
15173
15174 client.token_exchange_profiles.update(
15175 id="id",
15176 )
15177
15178 ```
15179 </dd>
15180 </dl>
15181 </dd>
15182 </dl>
15183
15184 #### ⚙️ Parameters
15185
15186 <dl>
15187 <dd>
15188
15189 <dl>
15190 <dd>
15191
15192 **id:** `str` — ID of the Token Exchange Profile to update.
15193
15194 </dd>
15195 </dl>
15196
15197 <dl>
15198 <dd>
15199
15200 **name:** `typing.Optional[str]` — Friendly name of this profile.
15201
15202 </dd>
15203 </dl>
15204
15205 <dl>
15206 <dd>
15207
15208 **subject_token_type:** `typing.Optional[str]` — Subject token type for this profile. When receiving a token exchange request on the Authentication API, the corresponding token exchange profile with a matching subject_token_type will be executed. This must be a URI.
15209
15210 </dd>
15211 </dl>
15212
15213 <dl>
15214 <dd>
15215
15216 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
15217
15218 </dd>
15219 </dl>
15220 </dd>
15221 </dl>
15222
15223
15224 </dd>
15225 </dl>
15226 </details>
15227
15228 ## UserAttributeProfiles
15229 <details><summary><code>client.user_attribute_profiles.<a href="src/auth0.management/user_attribute_profiles/client.py">list</a>(...) -> ListUserAttributeProfilesPaginatedResponseContent</code></summary>
15230 <dl>
15231 <dd>
15232
15233 #### 📝 Description
15234
15235 <dl>
15236 <dd>
15237
15238 <dl>
15239 <dd>
15240
15241 Retrieve a list of User Attribute Profiles. This endpoint supports Checkpoint pagination.
15242 </dd>
15243 </dl>
15244 </dd>
15245 </dl>
15246
15247 #### 🔌 Usage
15248
15249 <dl>
15250 <dd>
15251
15252 <dl>
15253 <dd>
15254
15255 ```python
15256 from auth0.management import Auth0
15257 from auth0.management.environment import Auth0Environment
15258
15259 client = Auth0(
15260 token="<token>",
15261 environment=Auth0Environment.DEFAULT,
15262 )
15263
15264 client.user_attribute_profiles.list(
15265 from_="from",
15266 take=1,
15267 )
15268
15269 ```
15270 </dd>
15271 </dl>
15272 </dd>
15273 </dl>
15274
15275 #### ⚙️ Parameters
15276
15277 <dl>
15278 <dd>
15279
15280 <dl>
15281 <dd>
15282
15283 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
15284
15285 </dd>
15286 </dl>
15287
15288 <dl>
15289 <dd>
15290
15291 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 5.
15292
15293 </dd>
15294 </dl>
15295
15296 <dl>
15297 <dd>
15298
15299 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
15300
15301 </dd>
15302 </dl>
15303 </dd>
15304 </dl>
15305
15306
15307 </dd>
15308 </dl>
15309 </details>
15310
15311 <details><summary><code>client.user_attribute_profiles.<a href="src/auth0.management/user_attribute_profiles/client.py">create</a>(...) -> CreateUserAttributeProfileResponseContent</code></summary>
15312 <dl>
15313 <dd>
15314
15315 #### 📝 Description
15316
15317 <dl>
15318 <dd>
15319
15320 <dl>
15321 <dd>
15322
15323 Create a User Attribute Profile.
15324 </dd>
15325 </dl>
15326 </dd>
15327 </dl>
15328
15329 #### 🔌 Usage
15330
15331 <dl>
15332 <dd>
15333
15334 <dl>
15335 <dd>
15336
15337 ```python
15338 from auth0.management import Auth0, UserAttributeProfileUserAttributeAdditionalProperties
15339 from auth0.management.environment import Auth0Environment
15340
15341 client = Auth0(
15342 token="<token>",
15343 environment=Auth0Environment.DEFAULT,
15344 )
15345
15346 client.user_attribute_profiles.create(
15347 name="name",
15348 user_attributes={
15349 "key": UserAttributeProfileUserAttributeAdditionalProperties(
15350 description="description",
15351 label="label",
15352 profile_required=True,
15353 auth_0_mapping="auth0_mapping",
15354 )
15355 },
15356 )
15357
15358 ```
15359 </dd>
15360 </dl>
15361 </dd>
15362 </dl>
15363
15364 #### ⚙️ Parameters
15365
15366 <dl>
15367 <dd>
15368
15369 <dl>
15370 <dd>
15371
15372 **name:** `UserAttributeProfileName`
15373
15374 </dd>
15375 </dl>
15376
15377 <dl>
15378 <dd>
15379
15380 **user_attributes:** `UserAttributeProfileUserAttributes`
15381
15382 </dd>
15383 </dl>
15384
15385 <dl>
15386 <dd>
15387
15388 **user_id:** `typing.Optional[UserAttributeProfileUserId]`
15389
15390 </dd>
15391 </dl>
15392
15393 <dl>
15394 <dd>
15395
15396 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
15397
15398 </dd>
15399 </dl>
15400 </dd>
15401 </dl>
15402
15403
15404 </dd>
15405 </dl>
15406 </details>
15407
15408 <details><summary><code>client.user_attribute_profiles.<a href="src/auth0.management/user_attribute_profiles/client.py">list_templates</a>() -> ListUserAttributeProfileTemplateResponseContent</code></summary>
15409 <dl>
15410 <dd>
15411
15412 #### 📝 Description
15413
15414 <dl>
15415 <dd>
15416
15417 <dl>
15418 <dd>
15419
15420 Retrieve a list of User Attribute Profile Templates.
15421 </dd>
15422 </dl>
15423 </dd>
15424 </dl>
15425
15426 #### 🔌 Usage
15427
15428 <dl>
15429 <dd>
15430
15431 <dl>
15432 <dd>
15433
15434 ```python
15435 from auth0.management import Auth0
15436 from auth0.management.environment import Auth0Environment
15437
15438 client = Auth0(
15439 token="<token>",
15440 environment=Auth0Environment.DEFAULT,
15441 )
15442
15443 client.user_attribute_profiles.list_templates()
15444
15445 ```
15446 </dd>
15447 </dl>
15448 </dd>
15449 </dl>
15450
15451 #### ⚙️ Parameters
15452
15453 <dl>
15454 <dd>
15455
15456 <dl>
15457 <dd>
15458
15459 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
15460
15461 </dd>
15462 </dl>
15463 </dd>
15464 </dl>
15465
15466
15467 </dd>
15468 </dl>
15469 </details>
15470
15471 <details><summary><code>client.user_attribute_profiles.<a href="src/auth0.management/user_attribute_profiles/client.py">get_template</a>(...) -> GetUserAttributeProfileTemplateResponseContent</code></summary>
15472 <dl>
15473 <dd>
15474
15475 #### 📝 Description
15476
15477 <dl>
15478 <dd>
15479
15480 <dl>
15481 <dd>
15482
15483 Retrieve a User Attribute Profile Template.
15484 </dd>
15485 </dl>
15486 </dd>
15487 </dl>
15488
15489 #### 🔌 Usage
15490
15491 <dl>
15492 <dd>
15493
15494 <dl>
15495 <dd>
15496
15497 ```python
15498 from auth0.management import Auth0
15499 from auth0.management.environment import Auth0Environment
15500
15501 client = Auth0(
15502 token="<token>",
15503 environment=Auth0Environment.DEFAULT,
15504 )
15505
15506 client.user_attribute_profiles.get_template(
15507 id="id",
15508 )
15509
15510 ```
15511 </dd>
15512 </dl>
15513 </dd>
15514 </dl>
15515
15516 #### ⚙️ Parameters
15517
15518 <dl>
15519 <dd>
15520
15521 <dl>
15522 <dd>
15523
15524 **id:** `str` — ID of the user-attribute-profile-template to retrieve.
15525
15526 </dd>
15527 </dl>
15528
15529 <dl>
15530 <dd>
15531
15532 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
15533
15534 </dd>
15535 </dl>
15536 </dd>
15537 </dl>
15538
15539
15540 </dd>
15541 </dl>
15542 </details>
15543
15544 <details><summary><code>client.user_attribute_profiles.<a href="src/auth0.management/user_attribute_profiles/client.py">get</a>(...) -> GetUserAttributeProfileResponseContent</code></summary>
15545 <dl>
15546 <dd>
15547
15548 #### 📝 Description
15549
15550 <dl>
15551 <dd>
15552
15553 <dl>
15554 <dd>
15555
15556 Retrieve details about a single User Attribute Profile specified by ID.
15557 </dd>
15558 </dl>
15559 </dd>
15560 </dl>
15561
15562 #### 🔌 Usage
15563
15564 <dl>
15565 <dd>
15566
15567 <dl>
15568 <dd>
15569
15570 ```python
15571 from auth0.management import Auth0
15572 from auth0.management.environment import Auth0Environment
15573
15574 client = Auth0(
15575 token="<token>",
15576 environment=Auth0Environment.DEFAULT,
15577 )
15578
15579 client.user_attribute_profiles.get(
15580 id="id",
15581 )
15582
15583 ```
15584 </dd>
15585 </dl>
15586 </dd>
15587 </dl>
15588
15589 #### ⚙️ Parameters
15590
15591 <dl>
15592 <dd>
15593
15594 <dl>
15595 <dd>
15596
15597 **id:** `str` — ID of the user-attribute-profile to retrieve.
15598
15599 </dd>
15600 </dl>
15601
15602 <dl>
15603 <dd>
15604
15605 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
15606
15607 </dd>
15608 </dl>
15609 </dd>
15610 </dl>
15611
15612
15613 </dd>
15614 </dl>
15615 </details>
15616
15617 <details><summary><code>client.user_attribute_profiles.<a href="src/auth0.management/user_attribute_profiles/client.py">delete</a>(...)</code></summary>
15618 <dl>
15619 <dd>
15620
15621 #### 📝 Description
15622
15623 <dl>
15624 <dd>
15625
15626 <dl>
15627 <dd>
15628
15629 Delete a single User Attribute Profile specified by ID.
15630 </dd>
15631 </dl>
15632 </dd>
15633 </dl>
15634
15635 #### 🔌 Usage
15636
15637 <dl>
15638 <dd>
15639
15640 <dl>
15641 <dd>
15642
15643 ```python
15644 from auth0.management import Auth0
15645 from auth0.management.environment import Auth0Environment
15646
15647 client = Auth0(
15648 token="<token>",
15649 environment=Auth0Environment.DEFAULT,
15650 )
15651
15652 client.user_attribute_profiles.delete(
15653 id="id",
15654 )
15655
15656 ```
15657 </dd>
15658 </dl>
15659 </dd>
15660 </dl>
15661
15662 #### ⚙️ Parameters
15663
15664 <dl>
15665 <dd>
15666
15667 <dl>
15668 <dd>
15669
15670 **id:** `str` — ID of the user-attribute-profile to delete.
15671
15672 </dd>
15673 </dl>
15674
15675 <dl>
15676 <dd>
15677
15678 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
15679
15680 </dd>
15681 </dl>
15682 </dd>
15683 </dl>
15684
15685
15686 </dd>
15687 </dl>
15688 </details>
15689
15690 <details><summary><code>client.user_attribute_profiles.<a href="src/auth0.management/user_attribute_profiles/client.py">update</a>(...) -> UpdateUserAttributeProfileResponseContent</code></summary>
15691 <dl>
15692 <dd>
15693
15694 #### 📝 Description
15695
15696 <dl>
15697 <dd>
15698
15699 <dl>
15700 <dd>
15701
15702 Update the details of a specific User attribute profile, such as name, user_id and user_attributes.
15703 </dd>
15704 </dl>
15705 </dd>
15706 </dl>
15707
15708 #### 🔌 Usage
15709
15710 <dl>
15711 <dd>
15712
15713 <dl>
15714 <dd>
15715
15716 ```python
15717 from auth0.management import Auth0
15718 from auth0.management.environment import Auth0Environment
15719
15720 client = Auth0(
15721 token="<token>",
15722 environment=Auth0Environment.DEFAULT,
15723 )
15724
15725 client.user_attribute_profiles.update(
15726 id="id",
15727 )
15728
15729 ```
15730 </dd>
15731 </dl>
15732 </dd>
15733 </dl>
15734
15735 #### ⚙️ Parameters
15736
15737 <dl>
15738 <dd>
15739
15740 <dl>
15741 <dd>
15742
15743 **id:** `str` — ID of the user attribute profile to update.
15744
15745 </dd>
15746 </dl>
15747
15748 <dl>
15749 <dd>
15750
15751 **name:** `typing.Optional[UserAttributeProfileName]`
15752
15753 </dd>
15754 </dl>
15755
15756 <dl>
15757 <dd>
15758
15759 **user_id:** `typing.Optional[UserAttributeProfilePatchUserId]`
15760
15761 </dd>
15762 </dl>
15763
15764 <dl>
15765 <dd>
15766
15767 **user_attributes:** `typing.Optional[UserAttributeProfileUserAttributes]`
15768
15769 </dd>
15770 </dl>
15771
15772 <dl>
15773 <dd>
15774
15775 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
15776
15777 </dd>
15778 </dl>
15779 </dd>
15780 </dl>
15781
15782
15783 </dd>
15784 </dl>
15785 </details>
15786
15787 ## UserBlocks
15788 <details><summary><code>client.user_blocks.<a href="src/auth0.management/user_blocks/client.py">list_by_identifier</a>(...) -> ListUserBlocksByIdentifierResponseContent</code></summary>
15789 <dl>
15790 <dd>
15791
15792 #### 📝 Description
15793
15794 <dl>
15795 <dd>
15796
15797 <dl>
15798 <dd>
15799
15800 Retrieve details of all [Brute-force Protection](https://auth0.com/docs/secure/attack-protection/brute-force-protection) blocks for a user with the given identifier (username, phone number, or email).
15801 </dd>
15802 </dl>
15803 </dd>
15804 </dl>
15805
15806 #### 🔌 Usage
15807
15808 <dl>
15809 <dd>
15810
15811 <dl>
15812 <dd>
15813
15814 ```python
15815 from auth0.management import Auth0
15816 from auth0.management.environment import Auth0Environment
15817
15818 client = Auth0(
15819 token="<token>",
15820 environment=Auth0Environment.DEFAULT,
15821 )
15822
15823 client.user_blocks.list_by_identifier(
15824 identifier="identifier",
15825 consider_brute_force_enablement=True,
15826 )
15827
15828 ```
15829 </dd>
15830 </dl>
15831 </dd>
15832 </dl>
15833
15834 #### ⚙️ Parameters
15835
15836 <dl>
15837 <dd>
15838
15839 <dl>
15840 <dd>
15841
15842 **identifier:** `str` — Should be any of a username, phone number, or email.
15843
15844 </dd>
15845 </dl>
15846
15847 <dl>
15848 <dd>
15849
15850 **consider_brute_force_enablement:** `typing.Optional[bool]`
15851
15852
15853 If true and Brute Force Protection is enabled and configured to block logins, will return a list of blocked IP addresses.
15854 If true and Brute Force Protection is disabled, will return an empty list.
15855
15856
15857 </dd>
15858 </dl>
15859
15860 <dl>
15861 <dd>
15862
15863 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
15864
15865 </dd>
15866 </dl>
15867 </dd>
15868 </dl>
15869
15870
15871 </dd>
15872 </dl>
15873 </details>
15874
15875 <details><summary><code>client.user_blocks.<a href="src/auth0.management/user_blocks/client.py">delete_by_identifier</a>(...)</code></summary>
15876 <dl>
15877 <dd>
15878
15879 #### 📝 Description
15880
15881 <dl>
15882 <dd>
15883
15884 <dl>
15885 <dd>
15886
15887 Remove all [Brute-force Protection](https://auth0.com/docs/secure/attack-protection/brute-force-protection) blocks for the user with the given identifier (username, phone number, or email).
15888
15889 Note: This endpoint does not unblock users that were [blocked by a tenant administrator](https://auth0.com/docs/user-profile#block-and-unblock-a-user).
15890 </dd>
15891 </dl>
15892 </dd>
15893 </dl>
15894
15895 #### 🔌 Usage
15896
15897 <dl>
15898 <dd>
15899
15900 <dl>
15901 <dd>
15902
15903 ```python
15904 from auth0.management import Auth0
15905 from auth0.management.environment import Auth0Environment
15906
15907 client = Auth0(
15908 token="<token>",
15909 environment=Auth0Environment.DEFAULT,
15910 )
15911
15912 client.user_blocks.delete_by_identifier(
15913 identifier="identifier",
15914 )
15915
15916 ```
15917 </dd>
15918 </dl>
15919 </dd>
15920 </dl>
15921
15922 #### ⚙️ Parameters
15923
15924 <dl>
15925 <dd>
15926
15927 <dl>
15928 <dd>
15929
15930 **identifier:** `str` — Should be any of a username, phone number, or email.
15931
15932 </dd>
15933 </dl>
15934
15935 <dl>
15936 <dd>
15937
15938 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
15939
15940 </dd>
15941 </dl>
15942 </dd>
15943 </dl>
15944
15945
15946 </dd>
15947 </dl>
15948 </details>
15949
15950 <details><summary><code>client.user_blocks.<a href="src/auth0.management/user_blocks/client.py">list</a>(...) -> ListUserBlocksResponseContent</code></summary>
15951 <dl>
15952 <dd>
15953
15954 #### 📝 Description
15955
15956 <dl>
15957 <dd>
15958
15959 <dl>
15960 <dd>
15961
15962 Retrieve details of all [Brute-force Protection](https://auth0.com/docs/secure/attack-protection/brute-force-protection) blocks for the user with the given ID.
15963 </dd>
15964 </dl>
15965 </dd>
15966 </dl>
15967
15968 #### 🔌 Usage
15969
15970 <dl>
15971 <dd>
15972
15973 <dl>
15974 <dd>
15975
15976 ```python
15977 from auth0.management import Auth0
15978 from auth0.management.environment import Auth0Environment
15979
15980 client = Auth0(
15981 token="<token>",
15982 environment=Auth0Environment.DEFAULT,
15983 )
15984
15985 client.user_blocks.list(
15986 id="id",
15987 consider_brute_force_enablement=True,
15988 )
15989
15990 ```
15991 </dd>
15992 </dl>
15993 </dd>
15994 </dl>
15995
15996 #### ⚙️ Parameters
15997
15998 <dl>
15999 <dd>
16000
16001 <dl>
16002 <dd>
16003
16004 **id:** `str` — user_id of the user blocks to retrieve.
16005
16006 </dd>
16007 </dl>
16008
16009 <dl>
16010 <dd>
16011
16012 **consider_brute_force_enablement:** `typing.Optional[bool]`
16013
16014
16015 If true and Brute Force Protection is enabled and configured to block logins, will return a list of blocked IP addresses.
16016 If true and Brute Force Protection is disabled, will return an empty list.
16017
16018
16019 </dd>
16020 </dl>
16021
16022 <dl>
16023 <dd>
16024
16025 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
16026
16027 </dd>
16028 </dl>
16029 </dd>
16030 </dl>
16031
16032
16033 </dd>
16034 </dl>
16035 </details>
16036
16037 <details><summary><code>client.user_blocks.<a href="src/auth0.management/user_blocks/client.py">delete</a>(...)</code></summary>
16038 <dl>
16039 <dd>
16040
16041 #### 📝 Description
16042
16043 <dl>
16044 <dd>
16045
16046 <dl>
16047 <dd>
16048
16049 Remove all [Brute-force Protection](https://auth0.com/docs/secure/attack-protection/brute-force-protection) blocks for the user with the given ID.
16050
16051 Note: This endpoint does not unblock users that were [blocked by a tenant administrator](https://auth0.com/docs/user-profile#block-and-unblock-a-user).
16052 </dd>
16053 </dl>
16054 </dd>
16055 </dl>
16056
16057 #### 🔌 Usage
16058
16059 <dl>
16060 <dd>
16061
16062 <dl>
16063 <dd>
16064
16065 ```python
16066 from auth0.management import Auth0
16067 from auth0.management.environment import Auth0Environment
16068
16069 client = Auth0(
16070 token="<token>",
16071 environment=Auth0Environment.DEFAULT,
16072 )
16073
16074 client.user_blocks.delete(
16075 id="id",
16076 )
16077
16078 ```
16079 </dd>
16080 </dl>
16081 </dd>
16082 </dl>
16083
16084 #### ⚙️ Parameters
16085
16086 <dl>
16087 <dd>
16088
16089 <dl>
16090 <dd>
16091
16092 **id:** `str` — The user_id of the user to update.
16093
16094 </dd>
16095 </dl>
16096
16097 <dl>
16098 <dd>
16099
16100 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
16101
16102 </dd>
16103 </dl>
16104 </dd>
16105 </dl>
16106
16107
16108 </dd>
16109 </dl>
16110 </details>
16111
16112 ## Users
16113 <details><summary><code>client.users.<a href="src/auth0.management/users/client.py">list</a>(...) -> ListUsersOffsetPaginatedResponseContent</code></summary>
16114 <dl>
16115 <dd>
16116
16117 #### 📝 Description
16118
16119 <dl>
16120 <dd>
16121
16122 <dl>
16123 <dd>
16124
16125 Retrieve details of users. It is possible to:
16126
16127 - Specify a search criteria for users
16128 - Sort the users to be returned
16129 - Select the fields to be returned
16130 - Specify the number of users to retrieve per page and the page index
16131
16132
16133
16134 The `q` query parameter can be used to get users that match the specified criteria [using query string syntax.](https://auth0.com/docs/users/search/v3/query-syntax)
16135
16136 [Learn more about searching for users.](https://auth0.com/docs/users/search/v3)
16137
16138 Read about [best practices](https://auth0.com/docs/users/search/best-practices) when working with the API endpoints for retrieving users.
16139
16140
16141
16142 Auth0 limits the number of users you can return. If you exceed this threshold, please redefine your search, use the [export job](https://auth0.com/docs/api/management/v2#!/Jobs/post_users_exports), or the [User Import / Export](https://auth0.com/docs/extensions/user-import-export) extension.
16143 </dd>
16144 </dl>
16145 </dd>
16146 </dl>
16147
16148 #### 🔌 Usage
16149
16150 <dl>
16151 <dd>
16152
16153 <dl>
16154 <dd>
16155
16156 ```python
16157 from auth0.management import Auth0
16158 from auth0.management.environment import Auth0Environment
16159
16160 client = Auth0(
16161 token="<token>",
16162 environment=Auth0Environment.DEFAULT,
16163 )
16164
16165 client.users.list(
16166 page=1,
16167 per_page=1,
16168 include_totals=True,
16169 sort="sort",
16170 connection="connection",
16171 fields="fields",
16172 include_fields=True,
16173 q="q",
16174 search_engine="v1",
16175 primary_order=True,
16176 )
16177
16178 ```
16179 </dd>
16180 </dl>
16181 </dd>
16182 </dl>
16183
16184 #### ⚙️ Parameters
16185
16186 <dl>
16187 <dd>
16188
16189 <dl>
16190 <dd>
16191
16192 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
16193
16194 </dd>
16195 </dl>
16196
16197 <dl>
16198 <dd>
16199
16200 **per_page:** `typing.Optional[int]` — Number of results per page.
16201
16202 </dd>
16203 </dl>
16204
16205 <dl>
16206 <dd>
16207
16208 **include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
16209
16210 </dd>
16211 </dl>
16212
16213 <dl>
16214 <dd>
16215
16216 **sort:** `typing.Optional[str]` — Field to sort by. Use <code>field:order</code> where order is <code>1</code> for ascending and <code>-1</code> for descending. e.g. <code>created_at:1</code>
16217
16218 </dd>
16219 </dl>
16220
16221 <dl>
16222 <dd>
16223
16224 **connection:** `typing.Optional[str]` — Connection filter. Only applies when using <code>search_engine=v1</code>. To filter by connection with <code>search_engine=v2|v3</code>, use <code>q=identities.connection:"connection_name"</code>
16225
16226 </dd>
16227 </dl>
16228
16229 <dl>
16230 <dd>
16231
16232 **fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.
16233
16234 </dd>
16235 </dl>
16236
16237 <dl>
16238 <dd>
16239
16240 **include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
16241
16242 </dd>
16243 </dl>
16244
16245 <dl>
16246 <dd>
16247
16248 **q:** `typing.Optional[str]` — Query in <a target='_new' href ='https://lucene.apache.org/core/2_9_4/queryparsersyntax.html'>Lucene query string syntax</a>. Some query types cannot be used on metadata fields, for details see <a href='https://auth0.com/docs/users/search/v3/query-syntax#searchable-fields'>Searchable Fields</a>.
16249
16250 </dd>
16251 </dl>
16252
16253 <dl>
16254 <dd>
16255
16256 **search_engine:** `typing.Optional[SearchEngineVersionsEnum]` — The version of the search engine
16257
16258 </dd>
16259 </dl>
16260
16261 <dl>
16262 <dd>
16263
16264 **primary_order:** `typing.Optional[bool]` — If true (default), results are returned in a deterministic order. If false, results may be returned in a non-deterministic order, which can enhance performance for complex queries targeting a small number of users. Set to false only when consistent ordering and pagination is not required.
16265
16266 </dd>
16267 </dl>
16268
16269 <dl>
16270 <dd>
16271
16272 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
16273
16274 </dd>
16275 </dl>
16276 </dd>
16277 </dl>
16278
16279
16280 </dd>
16281 </dl>
16282 </details>
16283
16284 <details><summary><code>client.users.<a href="src/auth0.management/users/client.py">create</a>(...) -> CreateUserResponseContent</code></summary>
16285 <dl>
16286 <dd>
16287
16288 #### 📝 Description
16289
16290 <dl>
16291 <dd>
16292
16293 <dl>
16294 <dd>
16295
16296 Create a new user for a given [database](https://auth0.com/docs/connections/database) or [passwordless](https://auth0.com/docs/connections/passwordless) connection.
16297
16298 Note: `connection` is required but other parameters such as `email` and `password` are dependent upon the type of connection.
16299 </dd>
16300 </dl>
16301 </dd>
16302 </dl>
16303
16304 #### 🔌 Usage
16305
16306 <dl>
16307 <dd>
16308
16309 <dl>
16310 <dd>
16311
16312 ```python
16313 from auth0.management import Auth0
16314 from auth0.management.environment import Auth0Environment
16315
16316 client = Auth0(
16317 token="<token>",
16318 environment=Auth0Environment.DEFAULT,
16319 )
16320
16321 client.users.create(
16322 connection="connection",
16323 )
16324
16325 ```
16326 </dd>
16327 </dl>
16328 </dd>
16329 </dl>
16330
16331 #### ⚙️ Parameters
16332
16333 <dl>
16334 <dd>
16335
16336 <dl>
16337 <dd>
16338
16339 **connection:** `str` — Name of the connection this user should be created in.
16340
16341 </dd>
16342 </dl>
16343
16344 <dl>
16345 <dd>
16346
16347 **email:** `typing.Optional[str]` — The user's email.
16348
16349 </dd>
16350 </dl>
16351
16352 <dl>
16353 <dd>
16354
16355 **phone_number:** `typing.Optional[str]` — The user's phone number (following the E.164 recommendation).
16356
16357 </dd>
16358 </dl>
16359
16360 <dl>
16361 <dd>
16362
16363 **user_metadata:** `typing.Optional[UserMetadata]`
16364
16365 </dd>
16366 </dl>
16367
16368 <dl>
16369 <dd>
16370
16371 **blocked:** `typing.Optional[bool]` — Whether this user was blocked by an administrator (true) or not (false).
16372
16373 </dd>
16374 </dl>
16375
16376 <dl>
16377 <dd>
16378
16379 **email_verified:** `typing.Optional[bool]` — Whether this email address is verified (true) or unverified (false). User will receive a verification email after creation if `email_verified` is false or not specified
16380
16381 </dd>
16382 </dl>
16383
16384 <dl>
16385 <dd>
16386
16387 **phone_verified:** `typing.Optional[bool]` — Whether this phone number has been verified (true) or not (false).
16388
16389 </dd>
16390 </dl>
16391
16392 <dl>
16393 <dd>
16394
16395 **app_metadata:** `typing.Optional[AppMetadata]`
16396
16397 </dd>
16398 </dl>
16399
16400 <dl>
16401 <dd>
16402
16403 **given_name:** `typing.Optional[str]` — The user's given name(s).
16404
16405 </dd>
16406 </dl>
16407
16408 <dl>
16409 <dd>
16410
16411 **family_name:** `typing.Optional[str]` — The user's family name(s).
16412
16413 </dd>
16414 </dl>
16415
16416 <dl>
16417 <dd>
16418
16419 **name:** `typing.Optional[str]` — The user's full name.
16420
16421 </dd>
16422 </dl>
16423
16424 <dl>
16425 <dd>
16426
16427 **nickname:** `typing.Optional[str]` — The user's nickname.
16428
16429 </dd>
16430 </dl>
16431
16432 <dl>
16433 <dd>
16434
16435 **picture:** `typing.Optional[str]` — A URI pointing to the user's picture.
16436
16437 </dd>
16438 </dl>
16439
16440 <dl>
16441 <dd>
16442
16443 **user_id:** `typing.Optional[str]` — The external user's id provided by the identity provider.
16444
16445 </dd>
16446 </dl>
16447
16448 <dl>
16449 <dd>
16450
16451 **password:** `typing.Optional[str]` — Initial password for this user. Only valid for auth0 connection strategy.
16452
16453 </dd>
16454 </dl>
16455
16456 <dl>
16457 <dd>
16458
16459 **verify_email:** `typing.Optional[bool]` — Whether the user will receive a verification email after creation (true) or no email (false). Overrides behavior of `email_verified` parameter.
16460
16461 </dd>
16462 </dl>
16463
16464 <dl>
16465 <dd>
16466
16467 **username:** `typing.Optional[str]` — The user's username. Only valid if the connection requires a username.
16468
16469 </dd>
16470 </dl>
16471
16472 <dl>
16473 <dd>
16474
16475 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
16476
16477 </dd>
16478 </dl>
16479 </dd>
16480 </dl>
16481
16482
16483 </dd>
16484 </dl>
16485 </details>
16486
16487 <details><summary><code>client.users.<a href="src/auth0.management/users/client.py">list_users_by_email</a>(...) -> typing.List[UserResponseSchema]</code></summary>
16488 <dl>
16489 <dd>
16490
16491 #### 📝 Description
16492
16493 <dl>
16494 <dd>
16495
16496 <dl>
16497 <dd>
16498
16499 Find users by email. If Auth0 is the identity provider (idP), the email address associated with a user is saved in lower case, regardless of how you initially provided it.
16500
16501 For example, if you register a user as [email protected], Auth0 saves the user's email as [email protected].
16502
16503 Therefore, when using this endpoint, make sure that you are searching for users via email addresses using the correct case.
16504 </dd>
16505 </dl>
16506 </dd>
16507 </dl>
16508
16509 #### 🔌 Usage
16510
16511 <dl>
16512 <dd>
16513
16514 <dl>
16515 <dd>
16516
16517 ```python
16518 from auth0.management import Auth0
16519 from auth0.management.environment import Auth0Environment
16520
16521 client = Auth0(
16522 token="<token>",
16523 environment=Auth0Environment.DEFAULT,
16524 )
16525
16526 client.users.list_users_by_email(
16527 fields="fields",
16528 include_fields=True,
16529 email="email",
16530 )
16531
16532 ```
16533 </dd>
16534 </dl>
16535 </dd>
16536 </dl>
16537
16538 #### ⚙️ Parameters
16539
16540 <dl>
16541 <dd>
16542
16543 <dl>
16544 <dd>
16545
16546 **email:** `str` — Email address to search for (case-sensitive).
16547
16548 </dd>
16549 </dl>
16550
16551 <dl>
16552 <dd>
16553
16554 **fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.
16555
16556 </dd>
16557 </dl>
16558
16559 <dl>
16560 <dd>
16561
16562 **include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). Defaults to true.
16563
16564 </dd>
16565 </dl>
16566
16567 <dl>
16568 <dd>
16569
16570 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
16571
16572 </dd>
16573 </dl>
16574 </dd>
16575 </dl>
16576
16577
16578 </dd>
16579 </dl>
16580 </details>
16581
16582 <details><summary><code>client.users.<a href="src/auth0.management/users/client.py">get</a>(...) -> GetUserResponseContent</code></summary>
16583 <dl>
16584 <dd>
16585
16586 #### 📝 Description
16587
16588 <dl>
16589 <dd>
16590
16591 <dl>
16592 <dd>
16593
16594 Retrieve user details. A list of fields to include or exclude may also be specified. For more information, see [Retrieve Users with the Get Users Endpoint](https://auth0.com/docs/manage-users/user-search/retrieve-users-with-get-users-endpoint).
16595 </dd>
16596 </dl>
16597 </dd>
16598 </dl>
16599
16600 #### 🔌 Usage
16601
16602 <dl>
16603 <dd>
16604
16605 <dl>
16606 <dd>
16607
16608 ```python
16609 from auth0.management import Auth0
16610 from auth0.management.environment import Auth0Environment
16611
16612 client = Auth0(
16613 token="<token>",
16614 environment=Auth0Environment.DEFAULT,
16615 )
16616
16617 client.users.get(
16618 id="id",
16619 fields="fields",
16620 include_fields=True,
16621 )
16622
16623 ```
16624 </dd>
16625 </dl>
16626 </dd>
16627 </dl>
16628
16629 #### ⚙️ Parameters
16630
16631 <dl>
16632 <dd>
16633
16634 <dl>
16635 <dd>
16636
16637 **id:** `str` — ID of the user to retrieve.
16638
16639 </dd>
16640 </dl>
16641
16642 <dl>
16643 <dd>
16644
16645 **fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.
16646
16647 </dd>
16648 </dl>
16649
16650 <dl>
16651 <dd>
16652
16653 **include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
16654
16655 </dd>
16656 </dl>
16657
16658 <dl>
16659 <dd>
16660
16661 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
16662
16663 </dd>
16664 </dl>
16665 </dd>
16666 </dl>
16667
16668
16669 </dd>
16670 </dl>
16671 </details>
16672
16673 <details><summary><code>client.users.<a href="src/auth0.management/users/client.py">delete</a>(...)</code></summary>
16674 <dl>
16675 <dd>
16676
16677 #### 📝 Description
16678
16679 <dl>
16680 <dd>
16681
16682 <dl>
16683 <dd>
16684
16685 Delete a user by user ID. This action cannot be undone. For Auth0 Dashboard instructions, see [Delete Users](https://auth0.com/docs/manage-users/user-accounts/delete-users).
16686 </dd>
16687 </dl>
16688 </dd>
16689 </dl>
16690
16691 #### 🔌 Usage
16692
16693 <dl>
16694 <dd>
16695
16696 <dl>
16697 <dd>
16698
16699 ```python
16700 from auth0.management import Auth0
16701 from auth0.management.environment import Auth0Environment
16702
16703 client = Auth0(
16704 token="<token>",
16705 environment=Auth0Environment.DEFAULT,
16706 )
16707
16708 client.users.delete(
16709 id="id",
16710 )
16711
16712 ```
16713 </dd>
16714 </dl>
16715 </dd>
16716 </dl>
16717
16718 #### ⚙️ Parameters
16719
16720 <dl>
16721 <dd>
16722
16723 <dl>
16724 <dd>
16725
16726 **id:** `str` — ID of the user to delete.
16727
16728 </dd>
16729 </dl>
16730
16731 <dl>
16732 <dd>
16733
16734 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
16735
16736 </dd>
16737 </dl>
16738 </dd>
16739 </dl>
16740
16741
16742 </dd>
16743 </dl>
16744 </details>
16745
16746 <details><summary><code>client.users.<a href="src/auth0.management/users/client.py">update</a>(...) -> UpdateUserResponseContent</code></summary>
16747 <dl>
16748 <dd>
16749
16750 #### 📝 Description
16751
16752 <dl>
16753 <dd>
16754
16755 <dl>
16756 <dd>
16757
16758 Update a user.
16759
16760 These are the attributes that can be updated at the root level:
16761
16762 - app_metadata
16763 - blocked
16764 - email
16765 - email_verified
16766 - family_name
16767 - given_name
16768 - name
16769 - nickname
16770 - password
16771 - phone_number
16772 - phone_verified
16773 - picture
16774 - username
16775 - user_metadata
16776 - verify_email
16777
16778 Some considerations:
16779
16780 - The properties of the new object will replace the old ones.
16781 - The metadata fields are an exception to this rule (`user_metadata` and `app_metadata`). These properties are merged instead of being replaced but be careful, the merge only occurs on the first level.
16782 - If you are updating `email`, `email_verified`, `phone_number`, `phone_verified`, `username` or `password` of a secondary identity, you need to specify the `connection` property too.
16783 - If you are updating `email` or `phone_number` you can specify, optionally, the `client_id` property.
16784 - Updating `email_verified` is not supported for enterprise and passwordless sms connections.
16785 - Updating the `blocked` to `false` does not affect the user's blocked state from an excessive amount of incorrectly provided credentials. Use the "Unblock a user" endpoint from the "User Blocks" API to change the user's state.
16786 - Supported attributes can be unset by supplying `null` as the value.
16787
16788 **Updating a field (non-metadata property)**
16789
16790 To mark the email address of a user as verified, the body to send should be:
16791
16792 ```json
16793 { "email_verified": true }
16794 ```
16795
16796 **Updating a user metadata root property**
16797
16798 Let's assume that our test user has the following `user_metadata`:
16799
16800 ```json
16801 { "user_metadata" : { "profileCode": 1479 } }
16802 ```
16803
16804 To add the field `addresses` the body to send should be:
16805
16806 ```json
16807 { "user_metadata" : { "addresses": {"work_address": "100 Industrial Way"} }}
16808 ```
16809
16810 The modified object ends up with the following `user_metadata` property:
16811
16812 ```json
16813 {
16814 "user_metadata": {
16815 "profileCode": 1479,
16816 "addresses": { "work_address": "100 Industrial Way" }
16817 }
16818 }
16819 ```
16820
16821 **Updating an inner user metadata property**
16822
16823 If there's existing user metadata to which we want to add `"home_address": "742 Evergreen Terrace"` (using the `addresses` property) we should send the whole `addresses` object. Since this is a first-level object, the object will be merged in, but its own properties will not be. The body to send should be:
16824
16825 ```json
16826 {
16827 "user_metadata": {
16828 "addresses": {
16829 "work_address": "100 Industrial Way",
16830 "home_address": "742 Evergreen Terrace"
16831 }
16832 }
16833 }
16834 ```
16835
16836 The modified object ends up with the following `user_metadata` property:
16837
16838 ```json
16839 {
16840 "user_metadata": {
16841 "profileCode": 1479,
16842 "addresses": {
16843 "work_address": "100 Industrial Way",
16844 "home_address": "742 Evergreen Terrace"
16845 }
16846 }
16847 }
16848 ```
16849 </dd>
16850 </dl>
16851 </dd>
16852 </dl>
16853
16854 #### 🔌 Usage
16855
16856 <dl>
16857 <dd>
16858
16859 <dl>
16860 <dd>
16861
16862 ```python
16863 from auth0.management import Auth0
16864 from auth0.management.environment import Auth0Environment
16865
16866 client = Auth0(
16867 token="<token>",
16868 environment=Auth0Environment.DEFAULT,
16869 )
16870
16871 client.users.update(
16872 id="id",
16873 )
16874
16875 ```
16876 </dd>
16877 </dl>
16878 </dd>
16879 </dl>
16880
16881 #### ⚙️ Parameters
16882
16883 <dl>
16884 <dd>
16885
16886 <dl>
16887 <dd>
16888
16889 **id:** `str` — ID of the user to update.
16890
16891 </dd>
16892 </dl>
16893
16894 <dl>
16895 <dd>
16896
16897 **blocked:** `typing.Optional[bool]` — Whether this user was blocked by an administrator (true) or not (false).
16898
16899 </dd>
16900 </dl>
16901
16902 <dl>
16903 <dd>
16904
16905 **email_verified:** `typing.Optional[bool]` — Whether this email address is verified (true) or unverified (false). If set to false the user will not receive a verification email unless `verify_email` is set to true.
16906
16907 </dd>
16908 </dl>
16909
16910 <dl>
16911 <dd>
16912
16913 **email:** `typing.Optional[str]` — Email address of this user.
16914
16915 </dd>
16916 </dl>
16917
16918 <dl>
16919 <dd>
16920
16921 **phone_number:** `typing.Optional[str]` — The user's phone number (following the E.164 recommendation).
16922
16923 </dd>
16924 </dl>
16925
16926 <dl>
16927 <dd>
16928
16929 **phone_verified:** `typing.Optional[bool]` — Whether this phone number has been verified (true) or not (false).
16930
16931 </dd>
16932 </dl>
16933
16934 <dl>
16935 <dd>
16936
16937 **user_metadata:** `typing.Optional[UserMetadata]` — User metadata to which this user has read/write access.
16938
16939 </dd>
16940 </dl>
16941
16942 <dl>
16943 <dd>
16944
16945 **app_metadata:** `typing.Optional[AppMetadata]` — User metadata to which this user has read-only access.
16946
16947 </dd>
16948 </dl>
16949
16950 <dl>
16951 <dd>
16952
16953 **given_name:** `typing.Optional[str]` — Given name/first name/forename of this user.
16954
16955 </dd>
16956 </dl>
16957
16958 <dl>
16959 <dd>
16960
16961 **family_name:** `typing.Optional[str]` — Family name/last name/surname of this user.
16962
16963 </dd>
16964 </dl>
16965
16966 <dl>
16967 <dd>
16968
16969 **name:** `typing.Optional[str]` — Name of this user.
16970
16971 </dd>
16972 </dl>
16973
16974 <dl>
16975 <dd>
16976
16977 **nickname:** `typing.Optional[str]` — Preferred nickname or alias of this user.
16978
16979 </dd>
16980 </dl>
16981
16982 <dl>
16983 <dd>
16984
16985 **picture:** `typing.Optional[str]` — URL to picture, photo, or avatar of this user.
16986
16987 </dd>
16988 </dl>
16989
16990 <dl>
16991 <dd>
16992
16993 **verify_email:** `typing.Optional[bool]` — Whether this user will receive a verification email after creation (true) or no email (false). Overrides behavior of `email_verified` parameter.
16994
16995 </dd>
16996 </dl>
16997
16998 <dl>
16999 <dd>
17000
17001 **verify_phone_number:** `typing.Optional[bool]` — Whether this user will receive a text after changing the phone number (true) or no text (false). Only valid when changing phone number for SMS connections.
17002
17003 </dd>
17004 </dl>
17005
17006 <dl>
17007 <dd>
17008
17009 **password:** `typing.Optional[str]` — New password for this user. Only valid for database connections.
17010
17011 </dd>
17012 </dl>
17013
17014 <dl>
17015 <dd>
17016
17017 **connection:** `typing.Optional[str]` — Name of the connection to target for this user update.
17018
17019 </dd>
17020 </dl>
17021
17022 <dl>
17023 <dd>
17024
17025 **client_id:** `typing.Optional[str]` — Auth0 client ID. Only valid when updating email address.
17026
17027 </dd>
17028 </dl>
17029
17030 <dl>
17031 <dd>
17032
17033 **username:** `typing.Optional[str]` — The user's username. Only valid if the connection requires a username.
17034
17035 </dd>
17036 </dl>
17037
17038 <dl>
17039 <dd>
17040
17041 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
17042
17043 </dd>
17044 </dl>
17045 </dd>
17046 </dl>
17047
17048
17049 </dd>
17050 </dl>
17051 </details>
17052
17053 <details><summary><code>client.users.<a href="src/auth0.management/users/client.py">regenerate_recovery_code</a>(...) -> RegenerateUsersRecoveryCodeResponseContent</code></summary>
17054 <dl>
17055 <dd>
17056
17057 #### 📝 Description
17058
17059 <dl>
17060 <dd>
17061
17062 <dl>
17063 <dd>
17064
17065 Remove an existing multi-factor authentication (MFA) [recovery code](https://auth0.com/docs/secure/multi-factor-authentication/reset-user-mfa) and generate a new one. If a user cannot access the original device or account used for MFA enrollment, they can use a recovery code to authenticate.
17066 </dd>
17067 </dl>
17068 </dd>
17069 </dl>
17070
17071 #### 🔌 Usage
17072
17073 <dl>
17074 <dd>
17075
17076 <dl>
17077 <dd>
17078
17079 ```python
17080 from auth0.management import Auth0
17081 from auth0.management.environment import Auth0Environment
17082
17083 client = Auth0(
17084 token="<token>",
17085 environment=Auth0Environment.DEFAULT,
17086 )
17087
17088 client.users.regenerate_recovery_code(
17089 id="id",
17090 )
17091
17092 ```
17093 </dd>
17094 </dl>
17095 </dd>
17096 </dl>
17097
17098 #### ⚙️ Parameters
17099
17100 <dl>
17101 <dd>
17102
17103 <dl>
17104 <dd>
17105
17106 **id:** `str` — ID of the user to regenerate a multi-factor authentication recovery code for.
17107
17108 </dd>
17109 </dl>
17110
17111 <dl>
17112 <dd>
17113
17114 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
17115
17116 </dd>
17117 </dl>
17118 </dd>
17119 </dl>
17120
17121
17122 </dd>
17123 </dl>
17124 </details>
17125
17126 <details><summary><code>client.users.<a href="src/auth0.management/users/client.py">revoke_access</a>(...)</code></summary>
17127 <dl>
17128 <dd>
17129
17130 #### 📝 Description
17131
17132 <dl>
17133 <dd>
17134
17135 <dl>
17136 <dd>
17137
17138 Revokes selected resources related to a user (sessions, refresh tokens, ...).
17139 </dd>
17140 </dl>
17141 </dd>
17142 </dl>
17143
17144 #### 🔌 Usage
17145
17146 <dl>
17147 <dd>
17148
17149 <dl>
17150 <dd>
17151
17152 ```python
17153 from auth0.management import Auth0
17154 from auth0.management.environment import Auth0Environment
17155
17156 client = Auth0(
17157 token="<token>",
17158 environment=Auth0Environment.DEFAULT,
17159 )
17160
17161 client.users.revoke_access(
17162 id="id",
17163 )
17164
17165 ```
17166 </dd>
17167 </dl>
17168 </dd>
17169 </dl>
17170
17171 #### ⚙️ Parameters
17172
17173 <dl>
17174 <dd>
17175
17176 <dl>
17177 <dd>
17178
17179 **id:** `str` — ID of the user.
17180
17181 </dd>
17182 </dl>
17183
17184 <dl>
17185 <dd>
17186
17187 **session_id:** `typing.Optional[str]` — ID of the session to revoke.
17188
17189 </dd>
17190 </dl>
17191
17192 <dl>
17193 <dd>
17194
17195 **preserve_refresh_tokens:** `typing.Optional[bool]` — Whether to preserve the refresh tokens associated with the session.
17196
17197 </dd>
17198 </dl>
17199
17200 <dl>
17201 <dd>
17202
17203 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
17204
17205 </dd>
17206 </dl>
17207 </dd>
17208 </dl>
17209
17210
17211 </dd>
17212 </dl>
17213 </details>
17214
17215 ## Actions Versions
17216 <details><summary><code>client.actions.versions.<a href="src/auth0.management/actions/versions/client.py">list</a>(...) -> ListActionVersionsPaginatedResponseContent</code></summary>
17217 <dl>
17218 <dd>
17219
17220 #### 📝 Description
17221
17222 <dl>
17223 <dd>
17224
17225 <dl>
17226 <dd>
17227
17228 Retrieve all of an action's versions. An action version is created whenever an action is deployed. An action version is immutable, once created.
17229 </dd>
17230 </dl>
17231 </dd>
17232 </dl>
17233
17234 #### 🔌 Usage
17235
17236 <dl>
17237 <dd>
17238
17239 <dl>
17240 <dd>
17241
17242 ```python
17243 from auth0.management import Auth0
17244 from auth0.management.environment import Auth0Environment
17245
17246 client = Auth0(
17247 token="<token>",
17248 environment=Auth0Environment.DEFAULT,
17249 )
17250
17251 client.actions.versions.list(
17252 action_id="actionId",
17253 page=1,
17254 per_page=1,
17255 )
17256
17257 ```
17258 </dd>
17259 </dl>
17260 </dd>
17261 </dl>
17262
17263 #### ⚙️ Parameters
17264
17265 <dl>
17266 <dd>
17267
17268 <dl>
17269 <dd>
17270
17271 **action_id:** `str` — The ID of the action.
17272
17273 </dd>
17274 </dl>
17275
17276 <dl>
17277 <dd>
17278
17279 **page:** `typing.Optional[int]` — Use this field to request a specific page of the list results.
17280
17281 </dd>
17282 </dl>
17283
17284 <dl>
17285 <dd>
17286
17287 **per_page:** `typing.Optional[int]` — This field specify the maximum number of results to be returned by the server. 20 by default
17288
17289 </dd>
17290 </dl>
17291
17292 <dl>
17293 <dd>
17294
17295 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
17296
17297 </dd>
17298 </dl>
17299 </dd>
17300 </dl>
17301
17302
17303 </dd>
17304 </dl>
17305 </details>
17306
17307 <details><summary><code>client.actions.versions.<a href="src/auth0.management/actions/versions/client.py">get</a>(...) -> GetActionVersionResponseContent</code></summary>
17308 <dl>
17309 <dd>
17310
17311 #### 📝 Description
17312
17313 <dl>
17314 <dd>
17315
17316 <dl>
17317 <dd>
17318
17319 Retrieve a specific version of an action. An action version is created whenever an action is deployed. An action version is immutable, once created.
17320 </dd>
17321 </dl>
17322 </dd>
17323 </dl>
17324
17325 #### 🔌 Usage
17326
17327 <dl>
17328 <dd>
17329
17330 <dl>
17331 <dd>
17332
17333 ```python
17334 from auth0.management import Auth0
17335 from auth0.management.environment import Auth0Environment
17336
17337 client = Auth0(
17338 token="<token>",
17339 environment=Auth0Environment.DEFAULT,
17340 )
17341
17342 client.actions.versions.get(
17343 action_id="actionId",
17344 id="id",
17345 )
17346
17347 ```
17348 </dd>
17349 </dl>
17350 </dd>
17351 </dl>
17352
17353 #### ⚙️ Parameters
17354
17355 <dl>
17356 <dd>
17357
17358 <dl>
17359 <dd>
17360
17361 **action_id:** `str` — The ID of the action.
17362
17363 </dd>
17364 </dl>
17365
17366 <dl>
17367 <dd>
17368
17369 **id:** `str` — The ID of the action version.
17370
17371 </dd>
17372 </dl>
17373
17374 <dl>
17375 <dd>
17376
17377 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
17378
17379 </dd>
17380 </dl>
17381 </dd>
17382 </dl>
17383
17384
17385 </dd>
17386 </dl>
17387 </details>
17388
17389 <details><summary><code>client.actions.versions.<a href="src/auth0.management/actions/versions/client.py">deploy</a>(...) -> DeployActionVersionResponseContent</code></summary>
17390 <dl>
17391 <dd>
17392
17393 #### 📝 Description
17394
17395 <dl>
17396 <dd>
17397
17398 <dl>
17399 <dd>
17400
17401 Performs the equivalent of a roll-back of an action to an earlier, specified version. Creates a new, deployed action version that is identical to the specified version. If this action is currently bound to a trigger, the system will begin executing the newly-created version immediately.
17402 </dd>
17403 </dl>
17404 </dd>
17405 </dl>
17406
17407 #### 🔌 Usage
17408
17409 <dl>
17410 <dd>
17411
17412 <dl>
17413 <dd>
17414
17415 ```python
17416 from auth0.management import Auth0, DeployActionVersionRequestContent
17417 from auth0.management.environment import Auth0Environment
17418
17419 client = Auth0(
17420 token="<token>",
17421 environment=Auth0Environment.DEFAULT,
17422 )
17423
17424 client.actions.versions.deploy(
17425 action_id="actionId",
17426 id="id",
17427 request=DeployActionVersionRequestContent(),
17428 )
17429
17430 ```
17431 </dd>
17432 </dl>
17433 </dd>
17434 </dl>
17435
17436 #### ⚙️ Parameters
17437
17438 <dl>
17439 <dd>
17440
17441 <dl>
17442 <dd>
17443
17444 **action_id:** `str` — The ID of an action.
17445
17446 </dd>
17447 </dl>
17448
17449 <dl>
17450 <dd>
17451
17452 **id:** `str` — The ID of an action version.
17453
17454 </dd>
17455 </dl>
17456
17457 <dl>
17458 <dd>
17459
17460 **request:** `typing.Optional[DeployActionVersionRequestContent]`
17461
17462 </dd>
17463 </dl>
17464
17465 <dl>
17466 <dd>
17467
17468 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
17469
17470 </dd>
17471 </dl>
17472 </dd>
17473 </dl>
17474
17475
17476 </dd>
17477 </dl>
17478 </details>
17479
17480 ## Actions Executions
17481 <details><summary><code>client.actions.executions.<a href="src/auth0.management/actions/executions/client.py">get</a>(...) -> GetActionExecutionResponseContent</code></summary>
17482 <dl>
17483 <dd>
17484
17485 #### 📝 Description
17486
17487 <dl>
17488 <dd>
17489
17490 <dl>
17491 <dd>
17492
17493 Retrieve information about a specific execution of a trigger. Relevant execution IDs will be included in tenant logs generated as part of that authentication flow. Executions will only be stored for 10 days after their creation.
17494 </dd>
17495 </dl>
17496 </dd>
17497 </dl>
17498
17499 #### 🔌 Usage
17500
17501 <dl>
17502 <dd>
17503
17504 <dl>
17505 <dd>
17506
17507 ```python
17508 from auth0.management import Auth0
17509 from auth0.management.environment import Auth0Environment
17510
17511 client = Auth0(
17512 token="<token>",
17513 environment=Auth0Environment.DEFAULT,
17514 )
17515
17516 client.actions.executions.get(
17517 id="id",
17518 )
17519
17520 ```
17521 </dd>
17522 </dl>
17523 </dd>
17524 </dl>
17525
17526 #### ⚙️ Parameters
17527
17528 <dl>
17529 <dd>
17530
17531 <dl>
17532 <dd>
17533
17534 **id:** `str` — The ID of the execution to retrieve.
17535
17536 </dd>
17537 </dl>
17538
17539 <dl>
17540 <dd>
17541
17542 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
17543
17544 </dd>
17545 </dl>
17546 </dd>
17547 </dl>
17548
17549
17550 </dd>
17551 </dl>
17552 </details>
17553
17554 ## Actions Modules
17555 <details><summary><code>client.actions.modules.<a href="src/auth0.management/actions/modules/client.py">list</a>(...) -> GetActionModulesResponseContent</code></summary>
17556 <dl>
17557 <dd>
17558
17559 #### 📝 Description
17560
17561 <dl>
17562 <dd>
17563
17564 <dl>
17565 <dd>
17566
17567 Retrieve a paginated list of all Actions Modules with optional filtering and totals.
17568 </dd>
17569 </dl>
17570 </dd>
17571 </dl>
17572
17573 #### 🔌 Usage
17574
17575 <dl>
17576 <dd>
17577
17578 <dl>
17579 <dd>
17580
17581 ```python
17582 from auth0.management import Auth0
17583 from auth0.management.environment import Auth0Environment
17584
17585 client = Auth0(
17586 token="<token>",
17587 environment=Auth0Environment.DEFAULT,
17588 )
17589
17590 client.actions.modules.list(
17591 page=1,
17592 per_page=1,
17593 )
17594
17595 ```
17596 </dd>
17597 </dl>
17598 </dd>
17599 </dl>
17600
17601 #### ⚙️ Parameters
17602
17603 <dl>
17604 <dd>
17605
17606 <dl>
17607 <dd>
17608
17609 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
17610
17611 </dd>
17612 </dl>
17613
17614 <dl>
17615 <dd>
17616
17617 **per_page:** `typing.Optional[int]` — Number of results per page. Paging is disabled if parameter not sent.
17618
17619 </dd>
17620 </dl>
17621
17622 <dl>
17623 <dd>
17624
17625 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
17626
17627 </dd>
17628 </dl>
17629 </dd>
17630 </dl>
17631
17632
17633 </dd>
17634 </dl>
17635 </details>
17636
17637 <details><summary><code>client.actions.modules.<a href="src/auth0.management/actions/modules/client.py">create</a>(...) -> CreateActionModuleResponseContent</code></summary>
17638 <dl>
17639 <dd>
17640
17641 #### 📝 Description
17642
17643 <dl>
17644 <dd>
17645
17646 <dl>
17647 <dd>
17648
17649 Create a new Actions Module for reusable code across actions.
17650 </dd>
17651 </dl>
17652 </dd>
17653 </dl>
17654
17655 #### 🔌 Usage
17656
17657 <dl>
17658 <dd>
17659
17660 <dl>
17661 <dd>
17662
17663 ```python
17664 from auth0.management import Auth0
17665 from auth0.management.environment import Auth0Environment
17666
17667 client = Auth0(
17668 token="<token>",
17669 environment=Auth0Environment.DEFAULT,
17670 )
17671
17672 client.actions.modules.create(
17673 name="name",
17674 code="code",
17675 )
17676
17677 ```
17678 </dd>
17679 </dl>
17680 </dd>
17681 </dl>
17682
17683 #### ⚙️ Parameters
17684
17685 <dl>
17686 <dd>
17687
17688 <dl>
17689 <dd>
17690
17691 **name:** `str` — The name of the action module.
17692
17693 </dd>
17694 </dl>
17695
17696 <dl>
17697 <dd>
17698
17699 **code:** `str` — The source code of the action module.
17700
17701 </dd>
17702 </dl>
17703
17704 <dl>
17705 <dd>
17706
17707 **secrets:** `typing.Optional[typing.List[ActionModuleSecretRequest]]` — The secrets to associate with the action module.
17708
17709 </dd>
17710 </dl>
17711
17712 <dl>
17713 <dd>
17714
17715 **dependencies:** `typing.Optional[typing.List[ActionModuleDependencyRequest]]` — The npm dependencies of the action module.
17716
17717 </dd>
17718 </dl>
17719
17720 <dl>
17721 <dd>
17722
17723 **api_version:** `typing.Optional[str]` — The API version of the module.
17724
17725 </dd>
17726 </dl>
17727
17728 <dl>
17729 <dd>
17730
17731 **publish:** `typing.Optional[bool]` — Whether to publish the module immediately after creation.
17732
17733 </dd>
17734 </dl>
17735
17736 <dl>
17737 <dd>
17738
17739 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
17740
17741 </dd>
17742 </dl>
17743 </dd>
17744 </dl>
17745
17746
17747 </dd>
17748 </dl>
17749 </details>
17750
17751 <details><summary><code>client.actions.modules.<a href="src/auth0.management/actions/modules/client.py">get</a>(...) -> GetActionModuleResponseContent</code></summary>
17752 <dl>
17753 <dd>
17754
17755 #### 📝 Description
17756
17757 <dl>
17758 <dd>
17759
17760 <dl>
17761 <dd>
17762
17763 Retrieve details of a specific Actions Module by its unique identifier.
17764 </dd>
17765 </dl>
17766 </dd>
17767 </dl>
17768
17769 #### 🔌 Usage
17770
17771 <dl>
17772 <dd>
17773
17774 <dl>
17775 <dd>
17776
17777 ```python
17778 from auth0.management import Auth0
17779 from auth0.management.environment import Auth0Environment
17780
17781 client = Auth0(
17782 token="<token>",
17783 environment=Auth0Environment.DEFAULT,
17784 )
17785
17786 client.actions.modules.get(
17787 id="id",
17788 )
17789
17790 ```
17791 </dd>
17792 </dl>
17793 </dd>
17794 </dl>
17795
17796 #### ⚙️ Parameters
17797
17798 <dl>
17799 <dd>
17800
17801 <dl>
17802 <dd>
17803
17804 **id:** `str` — The ID of the action module to retrieve.
17805
17806 </dd>
17807 </dl>
17808
17809 <dl>
17810 <dd>
17811
17812 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
17813
17814 </dd>
17815 </dl>
17816 </dd>
17817 </dl>
17818
17819
17820 </dd>
17821 </dl>
17822 </details>
17823
17824 <details><summary><code>client.actions.modules.<a href="src/auth0.management/actions/modules/client.py">delete</a>(...)</code></summary>
17825 <dl>
17826 <dd>
17827
17828 #### 📝 Description
17829
17830 <dl>
17831 <dd>
17832
17833 <dl>
17834 <dd>
17835
17836 Permanently delete an Actions Module. This will fail if the module is still in use by any actions.
17837 </dd>
17838 </dl>
17839 </dd>
17840 </dl>
17841
17842 #### 🔌 Usage
17843
17844 <dl>
17845 <dd>
17846
17847 <dl>
17848 <dd>
17849
17850 ```python
17851 from auth0.management import Auth0
17852 from auth0.management.environment import Auth0Environment
17853
17854 client = Auth0(
17855 token="<token>",
17856 environment=Auth0Environment.DEFAULT,
17857 )
17858
17859 client.actions.modules.delete(
17860 id="id",
17861 )
17862
17863 ```
17864 </dd>
17865 </dl>
17866 </dd>
17867 </dl>
17868
17869 #### ⚙️ Parameters
17870
17871 <dl>
17872 <dd>
17873
17874 <dl>
17875 <dd>
17876
17877 **id:** `str` — The ID of the Actions Module to delete.
17878
17879 </dd>
17880 </dl>
17881
17882 <dl>
17883 <dd>
17884
17885 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
17886
17887 </dd>
17888 </dl>
17889 </dd>
17890 </dl>
17891
17892
17893 </dd>
17894 </dl>
17895 </details>
17896
17897 <details><summary><code>client.actions.modules.<a href="src/auth0.management/actions/modules/client.py">update</a>(...) -> UpdateActionModuleResponseContent</code></summary>
17898 <dl>
17899 <dd>
17900
17901 #### 📝 Description
17902
17903 <dl>
17904 <dd>
17905
17906 <dl>
17907 <dd>
17908
17909 Update properties of an existing Actions Module, such as code, dependencies, or secrets.
17910 </dd>
17911 </dl>
17912 </dd>
17913 </dl>
17914
17915 #### 🔌 Usage
17916
17917 <dl>
17918 <dd>
17919
17920 <dl>
17921 <dd>
17922
17923 ```python
17924 from auth0.management import Auth0
17925 from auth0.management.environment import Auth0Environment
17926
17927 client = Auth0(
17928 token="<token>",
17929 environment=Auth0Environment.DEFAULT,
17930 )
17931
17932 client.actions.modules.update(
17933 id="id",
17934 )
17935
17936 ```
17937 </dd>
17938 </dl>
17939 </dd>
17940 </dl>
17941
17942 #### ⚙️ Parameters
17943
17944 <dl>
17945 <dd>
17946
17947 <dl>
17948 <dd>
17949
17950 **id:** `str` — The ID of the action module to update.
17951
17952 </dd>
17953 </dl>
17954
17955 <dl>
17956 <dd>
17957
17958 **code:** `typing.Optional[str]` — The source code of the action module.
17959
17960 </dd>
17961 </dl>
17962
17963 <dl>
17964 <dd>
17965
17966 **secrets:** `typing.Optional[typing.List[ActionModuleSecretRequest]]` — The secrets to associate with the action module.
17967
17968 </dd>
17969 </dl>
17970
17971 <dl>
17972 <dd>
17973
17974 **dependencies:** `typing.Optional[typing.List[ActionModuleDependencyRequest]]` — The npm dependencies of the action module.
17975
17976 </dd>
17977 </dl>
17978
17979 <dl>
17980 <dd>
17981
17982 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
17983
17984 </dd>
17985 </dl>
17986 </dd>
17987 </dl>
17988
17989
17990 </dd>
17991 </dl>
17992 </details>
17993
17994 <details><summary><code>client.actions.modules.<a href="src/auth0.management/actions/modules/client.py">list_actions</a>(...) -> GetActionModuleActionsResponseContent</code></summary>
17995 <dl>
17996 <dd>
17997
17998 #### 📝 Description
17999
18000 <dl>
18001 <dd>
18002
18003 <dl>
18004 <dd>
18005
18006 Lists all actions that are using a specific Actions Module, showing which deployed action versions reference this Actions Module.
18007 </dd>
18008 </dl>
18009 </dd>
18010 </dl>
18011
18012 #### 🔌 Usage
18013
18014 <dl>
18015 <dd>
18016
18017 <dl>
18018 <dd>
18019
18020 ```python
18021 from auth0.management import Auth0
18022 from auth0.management.environment import Auth0Environment
18023
18024 client = Auth0(
18025 token="<token>",
18026 environment=Auth0Environment.DEFAULT,
18027 )
18028
18029 client.actions.modules.list_actions(
18030 id="id",
18031 page=1,
18032 per_page=1,
18033 )
18034
18035 ```
18036 </dd>
18037 </dl>
18038 </dd>
18039 </dl>
18040
18041 #### ⚙️ Parameters
18042
18043 <dl>
18044 <dd>
18045
18046 <dl>
18047 <dd>
18048
18049 **id:** `str` — The unique ID of the module.
18050
18051 </dd>
18052 </dl>
18053
18054 <dl>
18055 <dd>
18056
18057 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
18058
18059 </dd>
18060 </dl>
18061
18062 <dl>
18063 <dd>
18064
18065 **per_page:** `typing.Optional[int]` — Number of results per page.
18066
18067 </dd>
18068 </dl>
18069
18070 <dl>
18071 <dd>
18072
18073 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
18074
18075 </dd>
18076 </dl>
18077 </dd>
18078 </dl>
18079
18080
18081 </dd>
18082 </dl>
18083 </details>
18084
18085 <details><summary><code>client.actions.modules.<a href="src/auth0.management/actions/modules/client.py">rollback</a>(...) -> RollbackActionModuleResponseContent</code></summary>
18086 <dl>
18087 <dd>
18088
18089 #### 📝 Description
18090
18091 <dl>
18092 <dd>
18093
18094 <dl>
18095 <dd>
18096
18097 Rolls back an Actions Module's draft to a previously created version. This action copies the code, dependencies, and secrets from the specified version into the current draft.
18098 </dd>
18099 </dl>
18100 </dd>
18101 </dl>
18102
18103 #### 🔌 Usage
18104
18105 <dl>
18106 <dd>
18107
18108 <dl>
18109 <dd>
18110
18111 ```python
18112 from auth0.management import Auth0
18113 from auth0.management.environment import Auth0Environment
18114
18115 client = Auth0(
18116 token="<token>",
18117 environment=Auth0Environment.DEFAULT,
18118 )
18119
18120 client.actions.modules.rollback(
18121 id="id",
18122 module_version_id="module_version_id",
18123 )
18124
18125 ```
18126 </dd>
18127 </dl>
18128 </dd>
18129 </dl>
18130
18131 #### ⚙️ Parameters
18132
18133 <dl>
18134 <dd>
18135
18136 <dl>
18137 <dd>
18138
18139 **id:** `str` — The unique ID of the module to roll back.
18140
18141 </dd>
18142 </dl>
18143
18144 <dl>
18145 <dd>
18146
18147 **module_version_id:** `str` — The unique ID of the module version to roll back to.
18148
18149 </dd>
18150 </dl>
18151
18152 <dl>
18153 <dd>
18154
18155 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
18156
18157 </dd>
18158 </dl>
18159 </dd>
18160 </dl>
18161
18162
18163 </dd>
18164 </dl>
18165 </details>
18166
18167 ## Actions Triggers
18168 <details><summary><code>client.actions.triggers.<a href="src/auth0.management/actions/triggers/client.py">list</a>() -> ListActionTriggersResponseContent</code></summary>
18169 <dl>
18170 <dd>
18171
18172 #### 📝 Description
18173
18174 <dl>
18175 <dd>
18176
18177 <dl>
18178 <dd>
18179
18180 Retrieve the set of triggers currently available within actions. A trigger is an extensibility point to which actions can be bound.
18181 </dd>
18182 </dl>
18183 </dd>
18184 </dl>
18185
18186 #### 🔌 Usage
18187
18188 <dl>
18189 <dd>
18190
18191 <dl>
18192 <dd>
18193
18194 ```python
18195 from auth0.management import Auth0
18196 from auth0.management.environment import Auth0Environment
18197
18198 client = Auth0(
18199 token="<token>",
18200 environment=Auth0Environment.DEFAULT,
18201 )
18202
18203 client.actions.triggers.list()
18204
18205 ```
18206 </dd>
18207 </dl>
18208 </dd>
18209 </dl>
18210
18211 #### ⚙️ Parameters
18212
18213 <dl>
18214 <dd>
18215
18216 <dl>
18217 <dd>
18218
18219 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
18220
18221 </dd>
18222 </dl>
18223 </dd>
18224 </dl>
18225
18226
18227 </dd>
18228 </dl>
18229 </details>
18230
18231 ## Actions Modules Versions
18232 <details><summary><code>client.actions.modules.versions.<a href="src/auth0.management/actions/modules/versions/client.py">list</a>(...) -> GetActionModuleVersionsResponseContent</code></summary>
18233 <dl>
18234 <dd>
18235
18236 #### 📝 Description
18237
18238 <dl>
18239 <dd>
18240
18241 <dl>
18242 <dd>
18243
18244 List all published versions of a specific Actions Module.
18245 </dd>
18246 </dl>
18247 </dd>
18248 </dl>
18249
18250 #### 🔌 Usage
18251
18252 <dl>
18253 <dd>
18254
18255 <dl>
18256 <dd>
18257
18258 ```python
18259 from auth0.management import Auth0
18260 from auth0.management.environment import Auth0Environment
18261
18262 client = Auth0(
18263 token="<token>",
18264 environment=Auth0Environment.DEFAULT,
18265 )
18266
18267 client.actions.modules.versions.list(
18268 id="id",
18269 page=1,
18270 per_page=1,
18271 )
18272
18273 ```
18274 </dd>
18275 </dl>
18276 </dd>
18277 </dl>
18278
18279 #### ⚙️ Parameters
18280
18281 <dl>
18282 <dd>
18283
18284 <dl>
18285 <dd>
18286
18287 **id:** `str` — The unique ID of the module.
18288
18289 </dd>
18290 </dl>
18291
18292 <dl>
18293 <dd>
18294
18295 **page:** `typing.Optional[int]` — Use this field to request a specific page of the list results.
18296
18297 </dd>
18298 </dl>
18299
18300 <dl>
18301 <dd>
18302
18303 **per_page:** `typing.Optional[int]` — The maximum number of results to be returned by the server in a single response. 20 by default.
18304
18305 </dd>
18306 </dl>
18307
18308 <dl>
18309 <dd>
18310
18311 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
18312
18313 </dd>
18314 </dl>
18315 </dd>
18316 </dl>
18317
18318
18319 </dd>
18320 </dl>
18321 </details>
18322
18323 <details><summary><code>client.actions.modules.versions.<a href="src/auth0.management/actions/modules/versions/client.py">create</a>(...) -> CreateActionModuleVersionResponseContent</code></summary>
18324 <dl>
18325 <dd>
18326
18327 #### 📝 Description
18328
18329 <dl>
18330 <dd>
18331
18332 <dl>
18333 <dd>
18334
18335 Creates a new immutable version of an Actions Module from the current draft version. This publishes the draft as a new version that can be referenced by actions, while maintaining the existing draft for continued development.
18336 </dd>
18337 </dl>
18338 </dd>
18339 </dl>
18340
18341 #### 🔌 Usage
18342
18343 <dl>
18344 <dd>
18345
18346 <dl>
18347 <dd>
18348
18349 ```python
18350 from auth0.management import Auth0
18351 from auth0.management.environment import Auth0Environment
18352
18353 client = Auth0(
18354 token="<token>",
18355 environment=Auth0Environment.DEFAULT,
18356 )
18357
18358 client.actions.modules.versions.create(
18359 id="id",
18360 )
18361
18362 ```
18363 </dd>
18364 </dl>
18365 </dd>
18366 </dl>
18367
18368 #### ⚙️ Parameters
18369
18370 <dl>
18371 <dd>
18372
18373 <dl>
18374 <dd>
18375
18376 **id:** `str` — The ID of the action module to create a version for.
18377
18378 </dd>
18379 </dl>
18380
18381 <dl>
18382 <dd>
18383
18384 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
18385
18386 </dd>
18387 </dl>
18388 </dd>
18389 </dl>
18390
18391
18392 </dd>
18393 </dl>
18394 </details>
18395
18396 <details><summary><code>client.actions.modules.versions.<a href="src/auth0.management/actions/modules/versions/client.py">get</a>(...) -> GetActionModuleVersionResponseContent</code></summary>
18397 <dl>
18398 <dd>
18399
18400 #### 📝 Description
18401
18402 <dl>
18403 <dd>
18404
18405 <dl>
18406 <dd>
18407
18408 Retrieve the details of a specific, immutable version of an Actions Module.
18409 </dd>
18410 </dl>
18411 </dd>
18412 </dl>
18413
18414 #### 🔌 Usage
18415
18416 <dl>
18417 <dd>
18418
18419 <dl>
18420 <dd>
18421
18422 ```python
18423 from auth0.management import Auth0
18424 from auth0.management.environment import Auth0Environment
18425
18426 client = Auth0(
18427 token="<token>",
18428 environment=Auth0Environment.DEFAULT,
18429 )
18430
18431 client.actions.modules.versions.get(
18432 id="id",
18433 version_id="versionId",
18434 )
18435
18436 ```
18437 </dd>
18438 </dl>
18439 </dd>
18440 </dl>
18441
18442 #### ⚙️ Parameters
18443
18444 <dl>
18445 <dd>
18446
18447 <dl>
18448 <dd>
18449
18450 **id:** `str` — The unique ID of the module.
18451
18452 </dd>
18453 </dl>
18454
18455 <dl>
18456 <dd>
18457
18458 **version_id:** `str` — The unique ID of the module version to retrieve.
18459
18460 </dd>
18461 </dl>
18462
18463 <dl>
18464 <dd>
18465
18466 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
18467
18468 </dd>
18469 </dl>
18470 </dd>
18471 </dl>
18472
18473
18474 </dd>
18475 </dl>
18476 </details>
18477
18478 ## Actions Triggers Bindings
18479 <details><summary><code>client.actions.triggers.bindings.<a href="src/auth0.management/actions/triggers/bindings/client.py">list</a>(...) -> ListActionBindingsPaginatedResponseContent</code></summary>
18480 <dl>
18481 <dd>
18482
18483 #### 📝 Description
18484
18485 <dl>
18486 <dd>
18487
18488 <dl>
18489 <dd>
18490
18491 Retrieve the actions that are bound to a trigger. Once an action is created and deployed, it must be attached (i.e. bound) to a trigger so that it will be executed as part of a flow. The list of actions returned reflects the order in which they will be executed during the appropriate flow.
18492 </dd>
18493 </dl>
18494 </dd>
18495 </dl>
18496
18497 #### 🔌 Usage
18498
18499 <dl>
18500 <dd>
18501
18502 <dl>
18503 <dd>
18504
18505 ```python
18506 from auth0.management import Auth0
18507 from auth0.management.environment import Auth0Environment
18508
18509 client = Auth0(
18510 token="<token>",
18511 environment=Auth0Environment.DEFAULT,
18512 )
18513
18514 client.actions.triggers.bindings.list(
18515 trigger_id="post-login",
18516 page=1,
18517 per_page=1,
18518 )
18519
18520 ```
18521 </dd>
18522 </dl>
18523 </dd>
18524 </dl>
18525
18526 #### ⚙️ Parameters
18527
18528 <dl>
18529 <dd>
18530
18531 <dl>
18532 <dd>
18533
18534 **trigger_id:** `ActionTriggerTypeEnum` — An actions extensibility point.
18535
18536 </dd>
18537 </dl>
18538
18539 <dl>
18540 <dd>
18541
18542 **page:** `typing.Optional[int]` — Use this field to request a specific page of the list results.
18543
18544 </dd>
18545 </dl>
18546
18547 <dl>
18548 <dd>
18549
18550 **per_page:** `typing.Optional[int]` — The maximum number of results to be returned in a single request. 20 by default
18551
18552 </dd>
18553 </dl>
18554
18555 <dl>
18556 <dd>
18557
18558 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
18559
18560 </dd>
18561 </dl>
18562 </dd>
18563 </dl>
18564
18565
18566 </dd>
18567 </dl>
18568 </details>
18569
18570 <details><summary><code>client.actions.triggers.bindings.<a href="src/auth0.management/actions/triggers/bindings/client.py">update_many</a>(...) -> UpdateActionBindingsResponseContent</code></summary>
18571 <dl>
18572 <dd>
18573
18574 #### 📝 Description
18575
18576 <dl>
18577 <dd>
18578
18579 <dl>
18580 <dd>
18581
18582 Update the actions that are bound (i.e. attached) to a trigger. Once an action is created and deployed, it must be attached (i.e. bound) to a trigger so that it will be executed as part of a flow. The order in which the actions are provided will determine the order in which they are executed.
18583 </dd>
18584 </dl>
18585 </dd>
18586 </dl>
18587
18588 #### 🔌 Usage
18589
18590 <dl>
18591 <dd>
18592
18593 <dl>
18594 <dd>
18595
18596 ```python
18597 from auth0.management import Auth0
18598 from auth0.management.environment import Auth0Environment
18599
18600 client = Auth0(
18601 token="<token>",
18602 environment=Auth0Environment.DEFAULT,
18603 )
18604
18605 client.actions.triggers.bindings.update_many(
18606 trigger_id="post-login",
18607 )
18608
18609 ```
18610 </dd>
18611 </dl>
18612 </dd>
18613 </dl>
18614
18615 #### ⚙️ Parameters
18616
18617 <dl>
18618 <dd>
18619
18620 <dl>
18621 <dd>
18622
18623 **trigger_id:** `ActionTriggerTypeEnum` — An actions extensibility point.
18624
18625 </dd>
18626 </dl>
18627
18628 <dl>
18629 <dd>
18630
18631 **bindings:** `typing.Optional[typing.List[ActionBindingWithRef]]` — The actions that will be bound to this trigger. The order in which they are included will be the order in which they are executed.
18632
18633 </dd>
18634 </dl>
18635
18636 <dl>
18637 <dd>
18638
18639 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
18640
18641 </dd>
18642 </dl>
18643 </dd>
18644 </dl>
18645
18646
18647 </dd>
18648 </dl>
18649 </details>
18650
18651 ## Anomaly Blocks
18652 <details><summary><code>client.anomaly.blocks.<a href="src/auth0.management/anomaly/blocks/client.py">check_ip</a>(...)</code></summary>
18653 <dl>
18654 <dd>
18655
18656 #### 📝 Description
18657
18658 <dl>
18659 <dd>
18660
18661 <dl>
18662 <dd>
18663
18664 Check if the given IP address is blocked via the <a href="https://auth0.com/docs/configure/attack-protection/suspicious-ip-throttling">Suspicious IP Throttling</a> due to multiple suspicious attempts.
18665 </dd>
18666 </dl>
18667 </dd>
18668 </dl>
18669
18670 #### 🔌 Usage
18671
18672 <dl>
18673 <dd>
18674
18675 <dl>
18676 <dd>
18677
18678 ```python
18679 from auth0.management import Auth0
18680 from auth0.management.environment import Auth0Environment
18681
18682 client = Auth0(
18683 token="<token>",
18684 environment=Auth0Environment.DEFAULT,
18685 )
18686
18687 client.anomaly.blocks.check_ip(
18688 id="id",
18689 )
18690
18691 ```
18692 </dd>
18693 </dl>
18694 </dd>
18695 </dl>
18696
18697 #### ⚙️ Parameters
18698
18699 <dl>
18700 <dd>
18701
18702 <dl>
18703 <dd>
18704
18705 **id:** `AnomalyIpFormat` — IP address to check.
18706
18707 </dd>
18708 </dl>
18709
18710 <dl>
18711 <dd>
18712
18713 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
18714
18715 </dd>
18716 </dl>
18717 </dd>
18718 </dl>
18719
18720
18721 </dd>
18722 </dl>
18723 </details>
18724
18725 <details><summary><code>client.anomaly.blocks.<a href="src/auth0.management/anomaly/blocks/client.py">unblock_ip</a>(...)</code></summary>
18726 <dl>
18727 <dd>
18728
18729 #### 📝 Description
18730
18731 <dl>
18732 <dd>
18733
18734 <dl>
18735 <dd>
18736
18737 Remove a block imposed by <a href="https://auth0.com/docs/configure/attack-protection/suspicious-ip-throttling">Suspicious IP Throttling</a> for the given IP address.
18738 </dd>
18739 </dl>
18740 </dd>
18741 </dl>
18742
18743 #### 🔌 Usage
18744
18745 <dl>
18746 <dd>
18747
18748 <dl>
18749 <dd>
18750
18751 ```python
18752 from auth0.management import Auth0
18753 from auth0.management.environment import Auth0Environment
18754
18755 client = Auth0(
18756 token="<token>",
18757 environment=Auth0Environment.DEFAULT,
18758 )
18759
18760 client.anomaly.blocks.unblock_ip(
18761 id="id",
18762 )
18763
18764 ```
18765 </dd>
18766 </dl>
18767 </dd>
18768 </dl>
18769
18770 #### ⚙️ Parameters
18771
18772 <dl>
18773 <dd>
18774
18775 <dl>
18776 <dd>
18777
18778 **id:** `AnomalyIpFormat` — IP address to unblock.
18779
18780 </dd>
18781 </dl>
18782
18783 <dl>
18784 <dd>
18785
18786 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
18787
18788 </dd>
18789 </dl>
18790 </dd>
18791 </dl>
18792
18793
18794 </dd>
18795 </dl>
18796 </details>
18797
18798 ## AttackProtection BotDetection
18799 <details><summary><code>client.attack_protection.bot_detection.<a href="src/auth0.management/attack_protection/bot_detection/client.py">get</a>() -> GetBotDetectionSettingsResponseContent</code></summary>
18800 <dl>
18801 <dd>
18802
18803 #### 📝 Description
18804
18805 <dl>
18806 <dd>
18807
18808 <dl>
18809 <dd>
18810
18811 Get the Bot Detection configuration of your tenant.
18812 </dd>
18813 </dl>
18814 </dd>
18815 </dl>
18816
18817 #### 🔌 Usage
18818
18819 <dl>
18820 <dd>
18821
18822 <dl>
18823 <dd>
18824
18825 ```python
18826 from auth0.management import Auth0
18827 from auth0.management.environment import Auth0Environment
18828
18829 client = Auth0(
18830 token="<token>",
18831 environment=Auth0Environment.DEFAULT,
18832 )
18833
18834 client.attack_protection.bot_detection.get()
18835
18836 ```
18837 </dd>
18838 </dl>
18839 </dd>
18840 </dl>
18841
18842 #### ⚙️ Parameters
18843
18844 <dl>
18845 <dd>
18846
18847 <dl>
18848 <dd>
18849
18850 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
18851
18852 </dd>
18853 </dl>
18854 </dd>
18855 </dl>
18856
18857
18858 </dd>
18859 </dl>
18860 </details>
18861
18862 <details><summary><code>client.attack_protection.bot_detection.<a href="src/auth0.management/attack_protection/bot_detection/client.py">update</a>(...) -> UpdateBotDetectionSettingsResponseContent</code></summary>
18863 <dl>
18864 <dd>
18865
18866 #### 📝 Description
18867
18868 <dl>
18869 <dd>
18870
18871 <dl>
18872 <dd>
18873
18874 Update the Bot Detection configuration of your tenant.
18875 </dd>
18876 </dl>
18877 </dd>
18878 </dl>
18879
18880 #### 🔌 Usage
18881
18882 <dl>
18883 <dd>
18884
18885 <dl>
18886 <dd>
18887
18888 ```python
18889 from auth0.management import Auth0
18890 from auth0.management.environment import Auth0Environment
18891
18892 client = Auth0(
18893 token="<token>",
18894 environment=Auth0Environment.DEFAULT,
18895 )
18896
18897 client.attack_protection.bot_detection.update()
18898
18899 ```
18900 </dd>
18901 </dl>
18902 </dd>
18903 </dl>
18904
18905 #### ⚙️ Parameters
18906
18907 <dl>
18908 <dd>
18909
18910 <dl>
18911 <dd>
18912
18913 **bot_detection_level:** `typing.Optional[BotDetectionLevelEnum]`
18914
18915 </dd>
18916 </dl>
18917
18918 <dl>
18919 <dd>
18920
18921 **challenge_password_policy:** `typing.Optional[BotDetectionChallengePolicyPasswordFlowEnum]`
18922
18923 </dd>
18924 </dl>
18925
18926 <dl>
18927 <dd>
18928
18929 **challenge_passwordless_policy:** `typing.Optional[BotDetectionChallengePolicyPasswordlessFlowEnum]`
18930
18931 </dd>
18932 </dl>
18933
18934 <dl>
18935 <dd>
18936
18937 **challenge_password_reset_policy:** `typing.Optional[BotDetectionChallengePolicyPasswordResetFlowEnum]`
18938
18939 </dd>
18940 </dl>
18941
18942 <dl>
18943 <dd>
18944
18945 **allowlist:** `typing.Optional[BotDetectionAllowlist]`
18946
18947 </dd>
18948 </dl>
18949
18950 <dl>
18951 <dd>
18952
18953 **monitoring_mode_enabled:** `typing.Optional[BotDetectionMonitoringModeEnabled]`
18954
18955 </dd>
18956 </dl>
18957
18958 <dl>
18959 <dd>
18960
18961 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
18962
18963 </dd>
18964 </dl>
18965 </dd>
18966 </dl>
18967
18968
18969 </dd>
18970 </dl>
18971 </details>
18972
18973 ## AttackProtection BreachedPasswordDetection
18974 <details><summary><code>client.attack_protection.breached_password_detection.<a href="src/auth0.management/attack_protection/breached_password_detection/client.py">get</a>() -> GetBreachedPasswordDetectionSettingsResponseContent</code></summary>
18975 <dl>
18976 <dd>
18977
18978 #### 📝 Description
18979
18980 <dl>
18981 <dd>
18982
18983 <dl>
18984 <dd>
18985
18986 Retrieve details of the Breached Password Detection configuration of your tenant.
18987 </dd>
18988 </dl>
18989 </dd>
18990 </dl>
18991
18992 #### 🔌 Usage
18993
18994 <dl>
18995 <dd>
18996
18997 <dl>
18998 <dd>
18999
19000 ```python
19001 from auth0.management import Auth0
19002 from auth0.management.environment import Auth0Environment
19003
19004 client = Auth0(
19005 token="<token>",
19006 environment=Auth0Environment.DEFAULT,
19007 )
19008
19009 client.attack_protection.breached_password_detection.get()
19010
19011 ```
19012 </dd>
19013 </dl>
19014 </dd>
19015 </dl>
19016
19017 #### ⚙️ Parameters
19018
19019 <dl>
19020 <dd>
19021
19022 <dl>
19023 <dd>
19024
19025 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
19026
19027 </dd>
19028 </dl>
19029 </dd>
19030 </dl>
19031
19032
19033 </dd>
19034 </dl>
19035 </details>
19036
19037 <details><summary><code>client.attack_protection.breached_password_detection.<a href="src/auth0.management/attack_protection/breached_password_detection/client.py">update</a>(...) -> UpdateBreachedPasswordDetectionSettingsResponseContent</code></summary>
19038 <dl>
19039 <dd>
19040
19041 #### 📝 Description
19042
19043 <dl>
19044 <dd>
19045
19046 <dl>
19047 <dd>
19048
19049 Update details of the Breached Password Detection configuration of your tenant.
19050 </dd>
19051 </dl>
19052 </dd>
19053 </dl>
19054
19055 #### 🔌 Usage
19056
19057 <dl>
19058 <dd>
19059
19060 <dl>
19061 <dd>
19062
19063 ```python
19064 from auth0.management import Auth0
19065 from auth0.management.environment import Auth0Environment
19066
19067 client = Auth0(
19068 token="<token>",
19069 environment=Auth0Environment.DEFAULT,
19070 )
19071
19072 client.attack_protection.breached_password_detection.update()
19073
19074 ```
19075 </dd>
19076 </dl>
19077 </dd>
19078 </dl>
19079
19080 #### ⚙️ Parameters
19081
19082 <dl>
19083 <dd>
19084
19085 <dl>
19086 <dd>
19087
19088 **enabled:** `typing.Optional[bool]` — Whether or not breached password detection is active.
19089
19090 </dd>
19091 </dl>
19092
19093 <dl>
19094 <dd>
19095
19096 **shields:** `typing.Optional[typing.List[BreachedPasswordDetectionShieldsEnum]]`
19097
19098 Action to take when a breached password is detected during a login.
19099 Possible values: <code>block</code>, <code>user_notification</code>, <code>admin_notification</code>.
19100
19101 </dd>
19102 </dl>
19103
19104 <dl>
19105 <dd>
19106
19107 **admin_notification_frequency:** `typing.Optional[typing.List[BreachedPasswordDetectionAdminNotificationFrequencyEnum]]`
19108
19109 When "admin_notification" is enabled, determines how often email notifications are sent.
19110 Possible values: <code>immediately</code>, <code>daily</code>, <code>weekly</code>, <code>monthly</code>.
19111
19112 </dd>
19113 </dl>
19114
19115 <dl>
19116 <dd>
19117
19118 **method:** `typing.Optional[BreachedPasswordDetectionMethodEnum]`
19119
19120 </dd>
19121 </dl>
19122
19123 <dl>
19124 <dd>
19125
19126 **stage:** `typing.Optional[BreachedPasswordDetectionStage]`
19127
19128 </dd>
19129 </dl>
19130
19131 <dl>
19132 <dd>
19133
19134 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
19135
19136 </dd>
19137 </dl>
19138 </dd>
19139 </dl>
19140
19141
19142 </dd>
19143 </dl>
19144 </details>
19145
19146 ## AttackProtection BruteForceProtection
19147 <details><summary><code>client.attack_protection.brute_force_protection.<a href="src/auth0.management/attack_protection/brute_force_protection/client.py">get</a>() -> GetBruteForceSettingsResponseContent</code></summary>
19148 <dl>
19149 <dd>
19150
19151 #### 📝 Description
19152
19153 <dl>
19154 <dd>
19155
19156 <dl>
19157 <dd>
19158
19159 Retrieve details of the Brute-force Protection configuration of your tenant.
19160 </dd>
19161 </dl>
19162 </dd>
19163 </dl>
19164
19165 #### 🔌 Usage
19166
19167 <dl>
19168 <dd>
19169
19170 <dl>
19171 <dd>
19172
19173 ```python
19174 from auth0.management import Auth0
19175 from auth0.management.environment import Auth0Environment
19176
19177 client = Auth0(
19178 token="<token>",
19179 environment=Auth0Environment.DEFAULT,
19180 )
19181
19182 client.attack_protection.brute_force_protection.get()
19183
19184 ```
19185 </dd>
19186 </dl>
19187 </dd>
19188 </dl>
19189
19190 #### ⚙️ Parameters
19191
19192 <dl>
19193 <dd>
19194
19195 <dl>
19196 <dd>
19197
19198 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
19199
19200 </dd>
19201 </dl>
19202 </dd>
19203 </dl>
19204
19205
19206 </dd>
19207 </dl>
19208 </details>
19209
19210 <details><summary><code>client.attack_protection.brute_force_protection.<a href="src/auth0.management/attack_protection/brute_force_protection/client.py">update</a>(...) -> UpdateBruteForceSettingsResponseContent</code></summary>
19211 <dl>
19212 <dd>
19213
19214 #### 📝 Description
19215
19216 <dl>
19217 <dd>
19218
19219 <dl>
19220 <dd>
19221
19222 Update the Brute-force Protection configuration of your tenant.
19223 </dd>
19224 </dl>
19225 </dd>
19226 </dl>
19227
19228 #### 🔌 Usage
19229
19230 <dl>
19231 <dd>
19232
19233 <dl>
19234 <dd>
19235
19236 ```python
19237 from auth0.management import Auth0
19238 from auth0.management.environment import Auth0Environment
19239
19240 client = Auth0(
19241 token="<token>",
19242 environment=Auth0Environment.DEFAULT,
19243 )
19244
19245 client.attack_protection.brute_force_protection.update()
19246
19247 ```
19248 </dd>
19249 </dl>
19250 </dd>
19251 </dl>
19252
19253 #### ⚙️ Parameters
19254
19255 <dl>
19256 <dd>
19257
19258 <dl>
19259 <dd>
19260
19261 **enabled:** `typing.Optional[bool]` — Whether or not brute force attack protections are active.
19262
19263 </dd>
19264 </dl>
19265
19266 <dl>
19267 <dd>
19268
19269 **shields:** `typing.Optional[typing.List[BruteForceProtectionShieldsEnum]]`
19270
19271 Action to take when a brute force protection threshold is violated.
19272 Possible values: <code>block</code>, <code>user_notification</code>.
19273
19274 </dd>
19275 </dl>
19276
19277 <dl>
19278 <dd>
19279
19280 **allowlist:** `typing.Optional[typing.List[str]]` — List of trusted IP addresses that will not have attack protection enforced against them.
19281
19282 </dd>
19283 </dl>
19284
19285 <dl>
19286 <dd>
19287
19288 **mode:** `typing.Optional[BruteForceProtectionModeEnum]`
19289
19290 </dd>
19291 </dl>
19292
19293 <dl>
19294 <dd>
19295
19296 **max_attempts:** `typing.Optional[int]` — Maximum number of unsuccessful attempts.
19297
19298 </dd>
19299 </dl>
19300
19301 <dl>
19302 <dd>
19303
19304 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
19305
19306 </dd>
19307 </dl>
19308 </dd>
19309 </dl>
19310
19311
19312 </dd>
19313 </dl>
19314 </details>
19315
19316 ## AttackProtection Captcha
19317 <details><summary><code>client.attack_protection.captcha.<a href="src/auth0.management/attack_protection/captcha/client.py">get</a>() -> GetAttackProtectionCaptchaResponseContent</code></summary>
19318 <dl>
19319 <dd>
19320
19321 #### 📝 Description
19322
19323 <dl>
19324 <dd>
19325
19326 <dl>
19327 <dd>
19328
19329 Get the CAPTCHA configuration for your client.
19330 </dd>
19331 </dl>
19332 </dd>
19333 </dl>
19334
19335 #### 🔌 Usage
19336
19337 <dl>
19338 <dd>
19339
19340 <dl>
19341 <dd>
19342
19343 ```python
19344 from auth0.management import Auth0
19345 from auth0.management.environment import Auth0Environment
19346
19347 client = Auth0(
19348 token="<token>",
19349 environment=Auth0Environment.DEFAULT,
19350 )
19351
19352 client.attack_protection.captcha.get()
19353
19354 ```
19355 </dd>
19356 </dl>
19357 </dd>
19358 </dl>
19359
19360 #### ⚙️ Parameters
19361
19362 <dl>
19363 <dd>
19364
19365 <dl>
19366 <dd>
19367
19368 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
19369
19370 </dd>
19371 </dl>
19372 </dd>
19373 </dl>
19374
19375
19376 </dd>
19377 </dl>
19378 </details>
19379
19380 <details><summary><code>client.attack_protection.captcha.<a href="src/auth0.management/attack_protection/captcha/client.py">update</a>(...) -> UpdateAttackProtectionCaptchaResponseContent</code></summary>
19381 <dl>
19382 <dd>
19383
19384 #### 📝 Description
19385
19386 <dl>
19387 <dd>
19388
19389 <dl>
19390 <dd>
19391
19392 Update existing CAPTCHA configuration for your client.
19393 </dd>
19394 </dl>
19395 </dd>
19396 </dl>
19397
19398 #### 🔌 Usage
19399
19400 <dl>
19401 <dd>
19402
19403 <dl>
19404 <dd>
19405
19406 ```python
19407 from auth0.management import Auth0
19408 from auth0.management.environment import Auth0Environment
19409
19410 client = Auth0(
19411 token="<token>",
19412 environment=Auth0Environment.DEFAULT,
19413 )
19414
19415 client.attack_protection.captcha.update()
19416
19417 ```
19418 </dd>
19419 </dl>
19420 </dd>
19421 </dl>
19422
19423 #### ⚙️ Parameters
19424
19425 <dl>
19426 <dd>
19427
19428 <dl>
19429 <dd>
19430
19431 **active_provider_id:** `typing.Optional[AttackProtectionCaptchaProviderId]`
19432
19433 </dd>
19434 </dl>
19435
19436 <dl>
19437 <dd>
19438
19439 **arkose:** `typing.Optional[AttackProtectionUpdateCaptchaArkose]`
19440
19441 </dd>
19442 </dl>
19443
19444 <dl>
19445 <dd>
19446
19447 **auth_challenge:** `typing.Optional[AttackProtectionCaptchaAuthChallengeRequest]`
19448
19449 </dd>
19450 </dl>
19451
19452 <dl>
19453 <dd>
19454
19455 **hcaptcha:** `typing.Optional[AttackProtectionUpdateCaptchaHcaptcha]`
19456
19457 </dd>
19458 </dl>
19459
19460 <dl>
19461 <dd>
19462
19463 **friendly_captcha:** `typing.Optional[AttackProtectionUpdateCaptchaFriendlyCaptcha]`
19464
19465 </dd>
19466 </dl>
19467
19468 <dl>
19469 <dd>
19470
19471 **recaptcha_enterprise:** `typing.Optional[AttackProtectionUpdateCaptchaRecaptchaEnterprise]`
19472
19473 </dd>
19474 </dl>
19475
19476 <dl>
19477 <dd>
19478
19479 **recaptcha_v_2:** `typing.Optional[AttackProtectionUpdateCaptchaRecaptchaV2]`
19480
19481 </dd>
19482 </dl>
19483
19484 <dl>
19485 <dd>
19486
19487 **simple_captcha:** `typing.Optional[AttackProtectionCaptchaSimpleCaptchaResponseContent]`
19488
19489 </dd>
19490 </dl>
19491
19492 <dl>
19493 <dd>
19494
19495 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
19496
19497 </dd>
19498 </dl>
19499 </dd>
19500 </dl>
19501
19502
19503 </dd>
19504 </dl>
19505 </details>
19506
19507 ## AttackProtection PhoneProviderProtection
19508 <details><summary><code>client.attack_protection.phone_provider_protection.<a href="src/auth0.management/attack_protection/phone_provider_protection/client.py">get</a>() -> GetPhoneProviderProtectionResponseContent</code></summary>
19509 <dl>
19510 <dd>
19511
19512 #### 📝 Description
19513
19514 <dl>
19515 <dd>
19516
19517 <dl>
19518 <dd>
19519
19520 Get the phone provider protection configuration for a tenant.
19521 </dd>
19522 </dl>
19523 </dd>
19524 </dl>
19525
19526 #### 🔌 Usage
19527
19528 <dl>
19529 <dd>
19530
19531 <dl>
19532 <dd>
19533
19534 ```python
19535 from auth0.management import Auth0
19536 from auth0.management.environment import Auth0Environment
19537
19538 client = Auth0(
19539 token="<token>",
19540 environment=Auth0Environment.DEFAULT,
19541 )
19542
19543 client.attack_protection.phone_provider_protection.get()
19544
19545 ```
19546 </dd>
19547 </dl>
19548 </dd>
19549 </dl>
19550
19551 #### ⚙️ Parameters
19552
19553 <dl>
19554 <dd>
19555
19556 <dl>
19557 <dd>
19558
19559 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
19560
19561 </dd>
19562 </dl>
19563 </dd>
19564 </dl>
19565
19566
19567 </dd>
19568 </dl>
19569 </details>
19570
19571 <details><summary><code>client.attack_protection.phone_provider_protection.<a href="src/auth0.management/attack_protection/phone_provider_protection/client.py">patch</a>(...) -> PatchPhoneProviderProtectionResponseContent</code></summary>
19572 <dl>
19573 <dd>
19574
19575 #### 📝 Description
19576
19577 <dl>
19578 <dd>
19579
19580 <dl>
19581 <dd>
19582
19583 Update the phone provider protection configuration for a tenant.
19584 </dd>
19585 </dl>
19586 </dd>
19587 </dl>
19588
19589 #### 🔌 Usage
19590
19591 <dl>
19592 <dd>
19593
19594 <dl>
19595 <dd>
19596
19597 ```python
19598 from auth0.management import Auth0
19599 from auth0.management.environment import Auth0Environment
19600
19601 client = Auth0(
19602 token="<token>",
19603 environment=Auth0Environment.DEFAULT,
19604 )
19605
19606 client.attack_protection.phone_provider_protection.patch(
19607 type="exponential",
19608 )
19609
19610 ```
19611 </dd>
19612 </dl>
19613 </dd>
19614 </dl>
19615
19616 #### ⚙️ Parameters
19617
19618 <dl>
19619 <dd>
19620
19621 <dl>
19622 <dd>
19623
19624 **type:** `PhoneProviderProtectionBackoffStrategyEnum`
19625
19626 </dd>
19627 </dl>
19628
19629 <dl>
19630 <dd>
19631
19632 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
19633
19634 </dd>
19635 </dl>
19636 </dd>
19637 </dl>
19638
19639
19640 </dd>
19641 </dl>
19642 </details>
19643
19644 ## AttackProtection SuspiciousIpThrottling
19645 <details><summary><code>client.attack_protection.suspicious_ip_throttling.<a href="src/auth0.management/attack_protection/suspicious_ip_throttling/client.py">get</a>() -> GetSuspiciousIpThrottlingSettingsResponseContent</code></summary>
19646 <dl>
19647 <dd>
19648
19649 #### 📝 Description
19650
19651 <dl>
19652 <dd>
19653
19654 <dl>
19655 <dd>
19656
19657 Retrieve details of the Suspicious IP Throttling configuration of your tenant.
19658 </dd>
19659 </dl>
19660 </dd>
19661 </dl>
19662
19663 #### 🔌 Usage
19664
19665 <dl>
19666 <dd>
19667
19668 <dl>
19669 <dd>
19670
19671 ```python
19672 from auth0.management import Auth0
19673 from auth0.management.environment import Auth0Environment
19674
19675 client = Auth0(
19676 token="<token>",
19677 environment=Auth0Environment.DEFAULT,
19678 )
19679
19680 client.attack_protection.suspicious_ip_throttling.get()
19681
19682 ```
19683 </dd>
19684 </dl>
19685 </dd>
19686 </dl>
19687
19688 #### ⚙️ Parameters
19689
19690 <dl>
19691 <dd>
19692
19693 <dl>
19694 <dd>
19695
19696 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
19697
19698 </dd>
19699 </dl>
19700 </dd>
19701 </dl>
19702
19703
19704 </dd>
19705 </dl>
19706 </details>
19707
19708 <details><summary><code>client.attack_protection.suspicious_ip_throttling.<a href="src/auth0.management/attack_protection/suspicious_ip_throttling/client.py">update</a>(...) -> UpdateSuspiciousIpThrottlingSettingsResponseContent</code></summary>
19709 <dl>
19710 <dd>
19711
19712 #### 📝 Description
19713
19714 <dl>
19715 <dd>
19716
19717 <dl>
19718 <dd>
19719
19720 Update the details of the Suspicious IP Throttling configuration of your tenant.
19721 </dd>
19722 </dl>
19723 </dd>
19724 </dl>
19725
19726 #### 🔌 Usage
19727
19728 <dl>
19729 <dd>
19730
19731 <dl>
19732 <dd>
19733
19734 ```python
19735 from auth0.management import Auth0
19736 from auth0.management.environment import Auth0Environment
19737
19738 client = Auth0(
19739 token="<token>",
19740 environment=Auth0Environment.DEFAULT,
19741 )
19742
19743 client.attack_protection.suspicious_ip_throttling.update()
19744
19745 ```
19746 </dd>
19747 </dl>
19748 </dd>
19749 </dl>
19750
19751 #### ⚙️ Parameters
19752
19753 <dl>
19754 <dd>
19755
19756 <dl>
19757 <dd>
19758
19759 **enabled:** `typing.Optional[bool]` — Whether or not suspicious IP throttling attack protections are active.
19760
19761 </dd>
19762 </dl>
19763
19764 <dl>
19765 <dd>
19766
19767 **shields:** `typing.Optional[typing.List[SuspiciousIpThrottlingShieldsEnum]]`
19768
19769 Action to take when a suspicious IP throttling threshold is violated.
19770 Possible values: <code>block</code>, <code>admin_notification</code>.
19771
19772 </dd>
19773 </dl>
19774
19775 <dl>
19776 <dd>
19777
19778 **allowlist:** `typing.Optional[SuspiciousIpThrottlingAllowlist]`
19779
19780 </dd>
19781 </dl>
19782
19783 <dl>
19784 <dd>
19785
19786 **stage:** `typing.Optional[SuspiciousIpThrottlingStage]`
19787
19788 </dd>
19789 </dl>
19790
19791 <dl>
19792 <dd>
19793
19794 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
19795
19796 </dd>
19797 </dl>
19798 </dd>
19799 </dl>
19800
19801
19802 </dd>
19803 </dl>
19804 </details>
19805
19806 ## Branding Templates
19807 <details><summary><code>client.branding.templates.<a href="src/auth0.management/branding/templates/client.py">get_universal_login</a>() -> GetUniversalLoginTemplateResponseContent</code></summary>
19808 <dl>
19809 <dd>
19810
19811 #### 🔌 Usage
19812
19813 <dl>
19814 <dd>
19815
19816 <dl>
19817 <dd>
19818
19819 ```python
19820 from auth0.management import Auth0
19821 from auth0.management.environment import Auth0Environment
19822
19823 client = Auth0(
19824 token="<token>",
19825 environment=Auth0Environment.DEFAULT,
19826 )
19827
19828 client.branding.templates.get_universal_login()
19829
19830 ```
19831 </dd>
19832 </dl>
19833 </dd>
19834 </dl>
19835
19836 #### ⚙️ Parameters
19837
19838 <dl>
19839 <dd>
19840
19841 <dl>
19842 <dd>
19843
19844 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
19845
19846 </dd>
19847 </dl>
19848 </dd>
19849 </dl>
19850
19851
19852 </dd>
19853 </dl>
19854 </details>
19855
19856 <details><summary><code>client.branding.templates.<a href="src/auth0.management/branding/templates/client.py">update_universal_login</a>(...)</code></summary>
19857 <dl>
19858 <dd>
19859
19860 #### 📝 Description
19861
19862 <dl>
19863 <dd>
19864
19865 <dl>
19866 <dd>
19867
19868 Update the Universal Login branding template.
19869
19870 When `content-type` header is set to `application/json`:
19871
19872 ```json
19873 {
19874 "template": "<!DOCTYPE html>{% assign resolved_dir = dir | default: \"auto\" %}<html lang=\"{{locale}}\" dir=\"{{resolved_dir}}\"><head>{%- auth0:head -%}</head><body class=\"_widget-auto-layout\">{%- auth0:widget -%}</body></html>"
19875 }
19876 ```
19877
19878 When `content-type` header is set to `text/html`:
19879
19880 ```html
19881 <!DOCTYPE html>
19882 {% assign resolved_dir = dir | default: "auto" %}
19883 <html lang="{{locale}}" dir="{{resolved_dir}}">
19884 <head>
19885 {%- auth0:head -%}
19886 </head>
19887 <body class="_widget-auto-layout">
19888 {%- auth0:widget -%}
19889 </body>
19890 </html>
19891 ```
19892 </dd>
19893 </dl>
19894 </dd>
19895 </dl>
19896
19897 #### 🔌 Usage
19898
19899 <dl>
19900 <dd>
19901
19902 <dl>
19903 <dd>
19904
19905 ```python
19906 from auth0.management import Auth0
19907 from auth0.management.environment import Auth0Environment
19908
19909 client = Auth0(
19910 token="<token>",
19911 environment=Auth0Environment.DEFAULT,
19912 )
19913
19914 client.branding.templates.update_universal_login(
19915 request="string",
19916 )
19917
19918 ```
19919 </dd>
19920 </dl>
19921 </dd>
19922 </dl>
19923
19924 #### ⚙️ Parameters
19925
19926 <dl>
19927 <dd>
19928
19929 <dl>
19930 <dd>
19931
19932 **request:** `UpdateUniversalLoginTemplateRequestContent`
19933
19934 </dd>
19935 </dl>
19936
19937 <dl>
19938 <dd>
19939
19940 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
19941
19942 </dd>
19943 </dl>
19944 </dd>
19945 </dl>
19946
19947
19948 </dd>
19949 </dl>
19950 </details>
19951
19952 <details><summary><code>client.branding.templates.<a href="src/auth0.management/branding/templates/client.py">delete_universal_login</a>()</code></summary>
19953 <dl>
19954 <dd>
19955
19956 #### 🔌 Usage
19957
19958 <dl>
19959 <dd>
19960
19961 <dl>
19962 <dd>
19963
19964 ```python
19965 from auth0.management import Auth0
19966 from auth0.management.environment import Auth0Environment
19967
19968 client = Auth0(
19969 token="<token>",
19970 environment=Auth0Environment.DEFAULT,
19971 )
19972
19973 client.branding.templates.delete_universal_login()
19974
19975 ```
19976 </dd>
19977 </dl>
19978 </dd>
19979 </dl>
19980
19981 #### ⚙️ Parameters
19982
19983 <dl>
19984 <dd>
19985
19986 <dl>
19987 <dd>
19988
19989 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
19990
19991 </dd>
19992 </dl>
19993 </dd>
19994 </dl>
19995
19996
19997 </dd>
19998 </dl>
19999 </details>
20000
20001 ## Branding Themes
20002 <details><summary><code>client.branding.themes.<a href="src/auth0.management/branding/themes/client.py">create</a>(...) -> CreateBrandingThemeResponseContent</code></summary>
20003 <dl>
20004 <dd>
20005
20006 #### 📝 Description
20007
20008 <dl>
20009 <dd>
20010
20011 <dl>
20012 <dd>
20013
20014 Create branding theme.
20015 </dd>
20016 </dl>
20017 </dd>
20018 </dl>
20019
20020 #### 🔌 Usage
20021
20022 <dl>
20023 <dd>
20024
20025 <dl>
20026 <dd>
20027
20028 ```python
20029 from auth0.management import Auth0, BrandingThemeBorders, BrandingThemeColors, BrandingThemeFonts, BrandingThemeFontBodyText, BrandingThemeFontButtonsText, BrandingThemeFontInputLabels, BrandingThemeFontLinks, BrandingThemeFontSubtitle, BrandingThemeFontTitle, BrandingThemePageBackground, BrandingThemeWidget
20030 from auth0.management.environment import Auth0Environment
20031
20032 client = Auth0(
20033 token="<token>",
20034 environment=Auth0Environment.DEFAULT,
20035 )
20036
20037 client.branding.themes.create(
20038 borders=BrandingThemeBorders(
20039 button_border_radius=1.1,
20040 button_border_weight=1.1,
20041 buttons_style="pill",
20042 input_border_radius=1.1,
20043 input_border_weight=1.1,
20044 inputs_style="pill",
20045 show_widget_shadow=True,
20046 widget_border_weight=1.1,
20047 widget_corner_radius=1.1,
20048 ),
20049 colors=BrandingThemeColors(
20050 body_text="body_text",
20051 error="error",
20052 header="header",
20053 icons="icons",
20054 input_background="input_background",
20055 input_border="input_border",
20056 input_filled_text="input_filled_text",
20057 input_labels_placeholders="input_labels_placeholders",
20058 links_focused_components="links_focused_components",
20059 primary_button="primary_button",
20060 primary_button_label="primary_button_label",
20061 secondary_button_border="secondary_button_border",
20062 secondary_button_label="secondary_button_label",
20063 success="success",
20064 widget_background="widget_background",
20065 widget_border="widget_border",
20066 ),
20067 fonts=BrandingThemeFonts(
20068 body_text=BrandingThemeFontBodyText(
20069 bold=True,
20070 size=1.1,
20071 ),
20072 buttons_text=BrandingThemeFontButtonsText(
20073 bold=True,
20074 size=1.1,
20075 ),
20076 font_url="font_url",
20077 input_labels=BrandingThemeFontInputLabels(
20078 bold=True,
20079 size=1.1,
20080 ),
20081 links=BrandingThemeFontLinks(
20082 bold=True,
20083 size=1.1,
20084 ),
20085 links_style="normal",
20086 reference_text_size=1.1,
20087 subtitle=BrandingThemeFontSubtitle(
20088 bold=True,
20089 size=1.1,
20090 ),
20091 title=BrandingThemeFontTitle(
20092 bold=True,
20093 size=1.1,
20094 ),
20095 ),
20096 page_background=BrandingThemePageBackground(
20097 background_color="background_color",
20098 background_image_url="background_image_url",
20099 page_layout="center",
20100 ),
20101 widget=BrandingThemeWidget(
20102 header_text_alignment="center",
20103 logo_height=1.1,
20104 logo_position="center",
20105 logo_url="logo_url",
20106 social_buttons_layout="bottom",
20107 ),
20108 )
20109
20110 ```
20111 </dd>
20112 </dl>
20113 </dd>
20114 </dl>
20115
20116 #### ⚙️ Parameters
20117
20118 <dl>
20119 <dd>
20120
20121 <dl>
20122 <dd>
20123
20124 **borders:** `BrandingThemeBorders`
20125
20126 </dd>
20127 </dl>
20128
20129 <dl>
20130 <dd>
20131
20132 **colors:** `BrandingThemeColors`
20133
20134 </dd>
20135 </dl>
20136
20137 <dl>
20138 <dd>
20139
20140 **fonts:** `BrandingThemeFonts`
20141
20142 </dd>
20143 </dl>
20144
20145 <dl>
20146 <dd>
20147
20148 **page_background:** `BrandingThemePageBackground`
20149
20150 </dd>
20151 </dl>
20152
20153 <dl>
20154 <dd>
20155
20156 **widget:** `BrandingThemeWidget`
20157
20158 </dd>
20159 </dl>
20160
20161 <dl>
20162 <dd>
20163
20164 **display_name:** `typing.Optional[str]` — Display Name
20165
20166 </dd>
20167 </dl>
20168
20169 <dl>
20170 <dd>
20171
20172 **identifiers:** `typing.Optional[BrandingThemeIdentifiers]`
20173
20174 </dd>
20175 </dl>
20176
20177 <dl>
20178 <dd>
20179
20180 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
20181
20182 </dd>
20183 </dl>
20184 </dd>
20185 </dl>
20186
20187
20188 </dd>
20189 </dl>
20190 </details>
20191
20192 <details><summary><code>client.branding.themes.<a href="src/auth0.management/branding/themes/client.py">get_default</a>() -> GetBrandingDefaultThemeResponseContent</code></summary>
20193 <dl>
20194 <dd>
20195
20196 #### 📝 Description
20197
20198 <dl>
20199 <dd>
20200
20201 <dl>
20202 <dd>
20203
20204 Retrieve default branding theme.
20205 </dd>
20206 </dl>
20207 </dd>
20208 </dl>
20209
20210 #### 🔌 Usage
20211
20212 <dl>
20213 <dd>
20214
20215 <dl>
20216 <dd>
20217
20218 ```python
20219 from auth0.management import Auth0
20220 from auth0.management.environment import Auth0Environment
20221
20222 client = Auth0(
20223 token="<token>",
20224 environment=Auth0Environment.DEFAULT,
20225 )
20226
20227 client.branding.themes.get_default()
20228
20229 ```
20230 </dd>
20231 </dl>
20232 </dd>
20233 </dl>
20234
20235 #### ⚙️ Parameters
20236
20237 <dl>
20238 <dd>
20239
20240 <dl>
20241 <dd>
20242
20243 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
20244
20245 </dd>
20246 </dl>
20247 </dd>
20248 </dl>
20249
20250
20251 </dd>
20252 </dl>
20253 </details>
20254
20255 <details><summary><code>client.branding.themes.<a href="src/auth0.management/branding/themes/client.py">get</a>(...) -> GetBrandingThemeResponseContent</code></summary>
20256 <dl>
20257 <dd>
20258
20259 #### 📝 Description
20260
20261 <dl>
20262 <dd>
20263
20264 <dl>
20265 <dd>
20266
20267 Retrieve branding theme.
20268 </dd>
20269 </dl>
20270 </dd>
20271 </dl>
20272
20273 #### 🔌 Usage
20274
20275 <dl>
20276 <dd>
20277
20278 <dl>
20279 <dd>
20280
20281 ```python
20282 from auth0.management import Auth0
20283 from auth0.management.environment import Auth0Environment
20284
20285 client = Auth0(
20286 token="<token>",
20287 environment=Auth0Environment.DEFAULT,
20288 )
20289
20290 client.branding.themes.get(
20291 theme_id="themeId",
20292 )
20293
20294 ```
20295 </dd>
20296 </dl>
20297 </dd>
20298 </dl>
20299
20300 #### ⚙️ Parameters
20301
20302 <dl>
20303 <dd>
20304
20305 <dl>
20306 <dd>
20307
20308 **theme_id:** `str` — The ID of the theme
20309
20310 </dd>
20311 </dl>
20312
20313 <dl>
20314 <dd>
20315
20316 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
20317
20318 </dd>
20319 </dl>
20320 </dd>
20321 </dl>
20322
20323
20324 </dd>
20325 </dl>
20326 </details>
20327
20328 <details><summary><code>client.branding.themes.<a href="src/auth0.management/branding/themes/client.py">delete</a>(...)</code></summary>
20329 <dl>
20330 <dd>
20331
20332 #### 📝 Description
20333
20334 <dl>
20335 <dd>
20336
20337 <dl>
20338 <dd>
20339
20340 Delete branding theme.
20341 </dd>
20342 </dl>
20343 </dd>
20344 </dl>
20345
20346 #### 🔌 Usage
20347
20348 <dl>
20349 <dd>
20350
20351 <dl>
20352 <dd>
20353
20354 ```python
20355 from auth0.management import Auth0
20356 from auth0.management.environment import Auth0Environment
20357
20358 client = Auth0(
20359 token="<token>",
20360 environment=Auth0Environment.DEFAULT,
20361 )
20362
20363 client.branding.themes.delete(
20364 theme_id="themeId",
20365 )
20366
20367 ```
20368 </dd>
20369 </dl>
20370 </dd>
20371 </dl>
20372
20373 #### ⚙️ Parameters
20374
20375 <dl>
20376 <dd>
20377
20378 <dl>
20379 <dd>
20380
20381 **theme_id:** `str` — The ID of the theme
20382
20383 </dd>
20384 </dl>
20385
20386 <dl>
20387 <dd>
20388
20389 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
20390
20391 </dd>
20392 </dl>
20393 </dd>
20394 </dl>
20395
20396
20397 </dd>
20398 </dl>
20399 </details>
20400
20401 <details><summary><code>client.branding.themes.<a href="src/auth0.management/branding/themes/client.py">update</a>(...) -> UpdateBrandingThemeResponseContent</code></summary>
20402 <dl>
20403 <dd>
20404
20405 #### 📝 Description
20406
20407 <dl>
20408 <dd>
20409
20410 <dl>
20411 <dd>
20412
20413 Update branding theme.
20414 </dd>
20415 </dl>
20416 </dd>
20417 </dl>
20418
20419 #### 🔌 Usage
20420
20421 <dl>
20422 <dd>
20423
20424 <dl>
20425 <dd>
20426
20427 ```python
20428 from auth0.management import Auth0, BrandingThemeBorders, BrandingThemeColors, BrandingThemeFonts, BrandingThemeFontBodyText, BrandingThemeFontButtonsText, BrandingThemeFontInputLabels, BrandingThemeFontLinks, BrandingThemeFontSubtitle, BrandingThemeFontTitle, BrandingThemePageBackground, BrandingThemeWidget
20429 from auth0.management.environment import Auth0Environment
20430
20431 client = Auth0(
20432 token="<token>",
20433 environment=Auth0Environment.DEFAULT,
20434 )
20435
20436 client.branding.themes.update(
20437 theme_id="themeId",
20438 borders=BrandingThemeBorders(
20439 button_border_radius=1.1,
20440 button_border_weight=1.1,
20441 buttons_style="pill",
20442 input_border_radius=1.1,
20443 input_border_weight=1.1,
20444 inputs_style="pill",
20445 show_widget_shadow=True,
20446 widget_border_weight=1.1,
20447 widget_corner_radius=1.1,
20448 ),
20449 colors=BrandingThemeColors(
20450 body_text="body_text",
20451 error="error",
20452 header="header",
20453 icons="icons",
20454 input_background="input_background",
20455 input_border="input_border",
20456 input_filled_text="input_filled_text",
20457 input_labels_placeholders="input_labels_placeholders",
20458 links_focused_components="links_focused_components",
20459 primary_button="primary_button",
20460 primary_button_label="primary_button_label",
20461 secondary_button_border="secondary_button_border",
20462 secondary_button_label="secondary_button_label",
20463 success="success",
20464 widget_background="widget_background",
20465 widget_border="widget_border",
20466 ),
20467 fonts=BrandingThemeFonts(
20468 body_text=BrandingThemeFontBodyText(
20469 bold=True,
20470 size=1.1,
20471 ),
20472 buttons_text=BrandingThemeFontButtonsText(
20473 bold=True,
20474 size=1.1,
20475 ),
20476 font_url="font_url",
20477 input_labels=BrandingThemeFontInputLabels(
20478 bold=True,
20479 size=1.1,
20480 ),
20481 links=BrandingThemeFontLinks(
20482 bold=True,
20483 size=1.1,
20484 ),
20485 links_style="normal",
20486 reference_text_size=1.1,
20487 subtitle=BrandingThemeFontSubtitle(
20488 bold=True,
20489 size=1.1,
20490 ),
20491 title=BrandingThemeFontTitle(
20492 bold=True,
20493 size=1.1,
20494 ),
20495 ),
20496 page_background=BrandingThemePageBackground(
20497 background_color="background_color",
20498 background_image_url="background_image_url",
20499 page_layout="center",
20500 ),
20501 widget=BrandingThemeWidget(
20502 header_text_alignment="center",
20503 logo_height=1.1,
20504 logo_position="center",
20505 logo_url="logo_url",
20506 social_buttons_layout="bottom",
20507 ),
20508 )
20509
20510 ```
20511 </dd>
20512 </dl>
20513 </dd>
20514 </dl>
20515
20516 #### ⚙️ Parameters
20517
20518 <dl>
20519 <dd>
20520
20521 <dl>
20522 <dd>
20523
20524 **theme_id:** `str` — The ID of the theme
20525
20526 </dd>
20527 </dl>
20528
20529 <dl>
20530 <dd>
20531
20532 **borders:** `BrandingThemeBorders`
20533
20534 </dd>
20535 </dl>
20536
20537 <dl>
20538 <dd>
20539
20540 **colors:** `BrandingThemeColors`
20541
20542 </dd>
20543 </dl>
20544
20545 <dl>
20546 <dd>
20547
20548 **fonts:** `BrandingThemeFonts`
20549
20550 </dd>
20551 </dl>
20552
20553 <dl>
20554 <dd>
20555
20556 **page_background:** `BrandingThemePageBackground`
20557
20558 </dd>
20559 </dl>
20560
20561 <dl>
20562 <dd>
20563
20564 **widget:** `BrandingThemeWidget`
20565
20566 </dd>
20567 </dl>
20568
20569 <dl>
20570 <dd>
20571
20572 **display_name:** `typing.Optional[str]` — Display Name
20573
20574 </dd>
20575 </dl>
20576
20577 <dl>
20578 <dd>
20579
20580 **identifiers:** `typing.Optional[BrandingThemeIdentifiers]`
20581
20582 </dd>
20583 </dl>
20584
20585 <dl>
20586 <dd>
20587
20588 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
20589
20590 </dd>
20591 </dl>
20592 </dd>
20593 </dl>
20594
20595
20596 </dd>
20597 </dl>
20598 </details>
20599
20600 ## Branding Phone Providers
20601 <details><summary><code>client.branding.phone.providers.<a href="src/auth0.management/branding/phone/providers/client.py">list</a>(...) -> ListBrandingPhoneProvidersResponseContent</code></summary>
20602 <dl>
20603 <dd>
20604
20605 #### 📝 Description
20606
20607 <dl>
20608 <dd>
20609
20610 <dl>
20611 <dd>
20612
20613 Retrieve a list of [phone providers](https://auth0.com/docs/customize/phone-messages/configure-phone-messaging-providers) details set for a Tenant. A list of fields to include or exclude may also be specified.
20614 </dd>
20615 </dl>
20616 </dd>
20617 </dl>
20618
20619 #### 🔌 Usage
20620
20621 <dl>
20622 <dd>
20623
20624 <dl>
20625 <dd>
20626
20627 ```python
20628 from auth0.management import Auth0
20629 from auth0.management.environment import Auth0Environment
20630
20631 client = Auth0(
20632 token="<token>",
20633 environment=Auth0Environment.DEFAULT,
20634 )
20635
20636 client.branding.phone.providers.list(
20637 disabled=True,
20638 )
20639
20640 ```
20641 </dd>
20642 </dl>
20643 </dd>
20644 </dl>
20645
20646 #### ⚙️ Parameters
20647
20648 <dl>
20649 <dd>
20650
20651 <dl>
20652 <dd>
20653
20654 **disabled:** `typing.Optional[bool]` — Whether the provider is enabled (false) or disabled (true).
20655
20656 </dd>
20657 </dl>
20658
20659 <dl>
20660 <dd>
20661
20662 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
20663
20664 </dd>
20665 </dl>
20666 </dd>
20667 </dl>
20668
20669
20670 </dd>
20671 </dl>
20672 </details>
20673
20674 <details><summary><code>client.branding.phone.providers.<a href="src/auth0.management/branding/phone/providers/client.py">create</a>(...) -> CreateBrandingPhoneProviderResponseContent</code></summary>
20675 <dl>
20676 <dd>
20677
20678 #### 📝 Description
20679
20680 <dl>
20681 <dd>
20682
20683 <dl>
20684 <dd>
20685
20686 Create a [phone provider](https://auth0.com/docs/customize/phone-messages/configure-phone-messaging-providers).
20687 The `credentials` object requires different properties depending on the phone provider (which is specified using the `name` property).
20688 </dd>
20689 </dl>
20690 </dd>
20691 </dl>
20692
20693 #### 🔌 Usage
20694
20695 <dl>
20696 <dd>
20697
20698 <dl>
20699 <dd>
20700
20701 ```python
20702 from auth0.management import Auth0, TwilioProviderCredentials
20703 from auth0.management.environment import Auth0Environment
20704
20705 client = Auth0(
20706 token="<token>",
20707 environment=Auth0Environment.DEFAULT,
20708 )
20709
20710 client.branding.phone.providers.create(
20711 name="twilio",
20712 credentials=TwilioProviderCredentials(
20713 auth_token="auth_token",
20714 ),
20715 )
20716
20717 ```
20718 </dd>
20719 </dl>
20720 </dd>
20721 </dl>
20722
20723 #### ⚙️ Parameters
20724
20725 <dl>
20726 <dd>
20727
20728 <dl>
20729 <dd>
20730
20731 **name:** `PhoneProviderNameEnum`
20732
20733 </dd>
20734 </dl>
20735
20736 <dl>
20737 <dd>
20738
20739 **credentials:** `PhoneProviderCredentials`
20740
20741 </dd>
20742 </dl>
20743
20744 <dl>
20745 <dd>
20746
20747 **disabled:** `typing.Optional[bool]` — Whether the provider is enabled (false) or disabled (true).
20748
20749 </dd>
20750 </dl>
20751
20752 <dl>
20753 <dd>
20754
20755 **configuration:** `typing.Optional[PhoneProviderConfiguration]`
20756
20757 </dd>
20758 </dl>
20759
20760 <dl>
20761 <dd>
20762
20763 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
20764
20765 </dd>
20766 </dl>
20767 </dd>
20768 </dl>
20769
20770
20771 </dd>
20772 </dl>
20773 </details>
20774
20775 <details><summary><code>client.branding.phone.providers.<a href="src/auth0.management/branding/phone/providers/client.py">get</a>(...) -> GetBrandingPhoneProviderResponseContent</code></summary>
20776 <dl>
20777 <dd>
20778
20779 #### 📝 Description
20780
20781 <dl>
20782 <dd>
20783
20784 <dl>
20785 <dd>
20786
20787 Retrieve [phone provider](https://auth0.com/docs/customize/phone-messages/configure-phone-messaging-providers) details. A list of fields to include or exclude may also be specified.
20788 </dd>
20789 </dl>
20790 </dd>
20791 </dl>
20792
20793 #### 🔌 Usage
20794
20795 <dl>
20796 <dd>
20797
20798 <dl>
20799 <dd>
20800
20801 ```python
20802 from auth0.management import Auth0
20803 from auth0.management.environment import Auth0Environment
20804
20805 client = Auth0(
20806 token="<token>",
20807 environment=Auth0Environment.DEFAULT,
20808 )
20809
20810 client.branding.phone.providers.get(
20811 id="id",
20812 )
20813
20814 ```
20815 </dd>
20816 </dl>
20817 </dd>
20818 </dl>
20819
20820 #### ⚙️ Parameters
20821
20822 <dl>
20823 <dd>
20824
20825 <dl>
20826 <dd>
20827
20828 **id:** `str`
20829
20830 </dd>
20831 </dl>
20832
20833 <dl>
20834 <dd>
20835
20836 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
20837
20838 </dd>
20839 </dl>
20840 </dd>
20841 </dl>
20842
20843
20844 </dd>
20845 </dl>
20846 </details>
20847
20848 <details><summary><code>client.branding.phone.providers.<a href="src/auth0.management/branding/phone/providers/client.py">delete</a>(...)</code></summary>
20849 <dl>
20850 <dd>
20851
20852 #### 📝 Description
20853
20854 <dl>
20855 <dd>
20856
20857 <dl>
20858 <dd>
20859
20860 Delete the configured phone provider.
20861 </dd>
20862 </dl>
20863 </dd>
20864 </dl>
20865
20866 #### 🔌 Usage
20867
20868 <dl>
20869 <dd>
20870
20871 <dl>
20872 <dd>
20873
20874 ```python
20875 from auth0.management import Auth0
20876 from auth0.management.environment import Auth0Environment
20877
20878 client = Auth0(
20879 token="<token>",
20880 environment=Auth0Environment.DEFAULT,
20881 )
20882
20883 client.branding.phone.providers.delete(
20884 id="id",
20885 )
20886
20887 ```
20888 </dd>
20889 </dl>
20890 </dd>
20891 </dl>
20892
20893 #### ⚙️ Parameters
20894
20895 <dl>
20896 <dd>
20897
20898 <dl>
20899 <dd>
20900
20901 **id:** `str`
20902
20903 </dd>
20904 </dl>
20905
20906 <dl>
20907 <dd>
20908
20909 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
20910
20911 </dd>
20912 </dl>
20913 </dd>
20914 </dl>
20915
20916
20917 </dd>
20918 </dl>
20919 </details>
20920
20921 <details><summary><code>client.branding.phone.providers.<a href="src/auth0.management/branding/phone/providers/client.py">update</a>(...) -> UpdateBrandingPhoneProviderResponseContent</code></summary>
20922 <dl>
20923 <dd>
20924
20925 #### 📝 Description
20926
20927 <dl>
20928 <dd>
20929
20930 <dl>
20931 <dd>
20932
20933 Update a [phone provider](https://auth0.com/docs/customize/phone-messages/configure-phone-messaging-providers).
20934 The `credentials` object requires different properties depending on the phone provider (which is specified using the `name` property).
20935 </dd>
20936 </dl>
20937 </dd>
20938 </dl>
20939
20940 #### 🔌 Usage
20941
20942 <dl>
20943 <dd>
20944
20945 <dl>
20946 <dd>
20947
20948 ```python
20949 from auth0.management import Auth0
20950 from auth0.management.environment import Auth0Environment
20951
20952 client = Auth0(
20953 token="<token>",
20954 environment=Auth0Environment.DEFAULT,
20955 )
20956
20957 client.branding.phone.providers.update(
20958 id="id",
20959 )
20960
20961 ```
20962 </dd>
20963 </dl>
20964 </dd>
20965 </dl>
20966
20967 #### ⚙️ Parameters
20968
20969 <dl>
20970 <dd>
20971
20972 <dl>
20973 <dd>
20974
20975 **id:** `str`
20976
20977 </dd>
20978 </dl>
20979
20980 <dl>
20981 <dd>
20982
20983 **name:** `typing.Optional[PhoneProviderNameEnum]`
20984
20985 </dd>
20986 </dl>
20987
20988 <dl>
20989 <dd>
20990
20991 **disabled:** `typing.Optional[bool]` — Whether the provider is enabled (false) or disabled (true).
20992
20993 </dd>
20994 </dl>
20995
20996 <dl>
20997 <dd>
20998
20999 **credentials:** `typing.Optional[PhoneProviderCredentials]`
21000
21001 </dd>
21002 </dl>
21003
21004 <dl>
21005 <dd>
21006
21007 **configuration:** `typing.Optional[PhoneProviderConfiguration]`
21008
21009 </dd>
21010 </dl>
21011
21012 <dl>
21013 <dd>
21014
21015 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
21016
21017 </dd>
21018 </dl>
21019 </dd>
21020 </dl>
21021
21022
21023 </dd>
21024 </dl>
21025 </details>
21026
21027 <details><summary><code>client.branding.phone.providers.<a href="src/auth0.management/branding/phone/providers/client.py">test</a>(...) -> CreatePhoneProviderSendTestResponseContent</code></summary>
21028 <dl>
21029 <dd>
21030
21031 #### 🔌 Usage
21032
21033 <dl>
21034 <dd>
21035
21036 <dl>
21037 <dd>
21038
21039 ```python
21040 from auth0.management import Auth0
21041 from auth0.management.environment import Auth0Environment
21042
21043 client = Auth0(
21044 token="<token>",
21045 environment=Auth0Environment.DEFAULT,
21046 )
21047
21048 client.branding.phone.providers.test(
21049 id="id",
21050 to="to",
21051 )
21052
21053 ```
21054 </dd>
21055 </dl>
21056 </dd>
21057 </dl>
21058
21059 #### ⚙️ Parameters
21060
21061 <dl>
21062 <dd>
21063
21064 <dl>
21065 <dd>
21066
21067 **id:** `str`
21068
21069 </dd>
21070 </dl>
21071
21072 <dl>
21073 <dd>
21074
21075 **to:** `str` — The recipient phone number to receive a given notification.
21076
21077 </dd>
21078 </dl>
21079
21080 <dl>
21081 <dd>
21082
21083 **delivery_method:** `typing.Optional[PhoneProviderDeliveryMethodEnum]`
21084
21085 </dd>
21086 </dl>
21087
21088 <dl>
21089 <dd>
21090
21091 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
21092
21093 </dd>
21094 </dl>
21095 </dd>
21096 </dl>
21097
21098
21099 </dd>
21100 </dl>
21101 </details>
21102
21103 ## Branding Phone Templates
21104 <details><summary><code>client.branding.phone.templates.<a href="src/auth0.management/branding/phone/templates/client.py">list</a>(...) -> ListPhoneTemplatesResponseContent</code></summary>
21105 <dl>
21106 <dd>
21107
21108 #### 🔌 Usage
21109
21110 <dl>
21111 <dd>
21112
21113 <dl>
21114 <dd>
21115
21116 ```python
21117 from auth0.management import Auth0
21118 from auth0.management.environment import Auth0Environment
21119
21120 client = Auth0(
21121 token="<token>",
21122 environment=Auth0Environment.DEFAULT,
21123 )
21124
21125 client.branding.phone.templates.list(
21126 disabled=True,
21127 )
21128
21129 ```
21130 </dd>
21131 </dl>
21132 </dd>
21133 </dl>
21134
21135 #### ⚙️ Parameters
21136
21137 <dl>
21138 <dd>
21139
21140 <dl>
21141 <dd>
21142
21143 **disabled:** `typing.Optional[bool]` — Whether the template is enabled (false) or disabled (true).
21144
21145 </dd>
21146 </dl>
21147
21148 <dl>
21149 <dd>
21150
21151 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
21152
21153 </dd>
21154 </dl>
21155 </dd>
21156 </dl>
21157
21158
21159 </dd>
21160 </dl>
21161 </details>
21162
21163 <details><summary><code>client.branding.phone.templates.<a href="src/auth0.management/branding/phone/templates/client.py">create</a>(...) -> CreatePhoneTemplateResponseContent</code></summary>
21164 <dl>
21165 <dd>
21166
21167 #### 🔌 Usage
21168
21169 <dl>
21170 <dd>
21171
21172 <dl>
21173 <dd>
21174
21175 ```python
21176 from auth0.management import Auth0
21177 from auth0.management.environment import Auth0Environment
21178
21179 client = Auth0(
21180 token="<token>",
21181 environment=Auth0Environment.DEFAULT,
21182 )
21183
21184 client.branding.phone.templates.create()
21185
21186 ```
21187 </dd>
21188 </dl>
21189 </dd>
21190 </dl>
21191
21192 #### ⚙️ Parameters
21193
21194 <dl>
21195 <dd>
21196
21197 <dl>
21198 <dd>
21199
21200 **type:** `typing.Optional[PhoneTemplateNotificationTypeEnum]`
21201
21202 </dd>
21203 </dl>
21204
21205 <dl>
21206 <dd>
21207
21208 **disabled:** `typing.Optional[bool]` — Whether the template is enabled (false) or disabled (true).
21209
21210 </dd>
21211 </dl>
21212
21213 <dl>
21214 <dd>
21215
21216 **content:** `typing.Optional[PhoneTemplateContent]`
21217
21218 </dd>
21219 </dl>
21220
21221 <dl>
21222 <dd>
21223
21224 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
21225
21226 </dd>
21227 </dl>
21228 </dd>
21229 </dl>
21230
21231
21232 </dd>
21233 </dl>
21234 </details>
21235
21236 <details><summary><code>client.branding.phone.templates.<a href="src/auth0.management/branding/phone/templates/client.py">get</a>(...) -> GetPhoneTemplateResponseContent</code></summary>
21237 <dl>
21238 <dd>
21239
21240 #### 🔌 Usage
21241
21242 <dl>
21243 <dd>
21244
21245 <dl>
21246 <dd>
21247
21248 ```python
21249 from auth0.management import Auth0
21250 from auth0.management.environment import Auth0Environment
21251
21252 client = Auth0(
21253 token="<token>",
21254 environment=Auth0Environment.DEFAULT,
21255 )
21256
21257 client.branding.phone.templates.get(
21258 id="id",
21259 )
21260
21261 ```
21262 </dd>
21263 </dl>
21264 </dd>
21265 </dl>
21266
21267 #### ⚙️ Parameters
21268
21269 <dl>
21270 <dd>
21271
21272 <dl>
21273 <dd>
21274
21275 **id:** `str`
21276
21277 </dd>
21278 </dl>
21279
21280 <dl>
21281 <dd>
21282
21283 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
21284
21285 </dd>
21286 </dl>
21287 </dd>
21288 </dl>
21289
21290
21291 </dd>
21292 </dl>
21293 </details>
21294
21295 <details><summary><code>client.branding.phone.templates.<a href="src/auth0.management/branding/phone/templates/client.py">delete</a>(...)</code></summary>
21296 <dl>
21297 <dd>
21298
21299 #### 🔌 Usage
21300
21301 <dl>
21302 <dd>
21303
21304 <dl>
21305 <dd>
21306
21307 ```python
21308 from auth0.management import Auth0
21309 from auth0.management.environment import Auth0Environment
21310
21311 client = Auth0(
21312 token="<token>",
21313 environment=Auth0Environment.DEFAULT,
21314 )
21315
21316 client.branding.phone.templates.delete(
21317 id="id",
21318 )
21319
21320 ```
21321 </dd>
21322 </dl>
21323 </dd>
21324 </dl>
21325
21326 #### ⚙️ Parameters
21327
21328 <dl>
21329 <dd>
21330
21331 <dl>
21332 <dd>
21333
21334 **id:** `str`
21335
21336 </dd>
21337 </dl>
21338
21339 <dl>
21340 <dd>
21341
21342 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
21343
21344 </dd>
21345 </dl>
21346 </dd>
21347 </dl>
21348
21349
21350 </dd>
21351 </dl>
21352 </details>
21353
21354 <details><summary><code>client.branding.phone.templates.<a href="src/auth0.management/branding/phone/templates/client.py">update</a>(...) -> UpdatePhoneTemplateResponseContent</code></summary>
21355 <dl>
21356 <dd>
21357
21358 #### 🔌 Usage
21359
21360 <dl>
21361 <dd>
21362
21363 <dl>
21364 <dd>
21365
21366 ```python
21367 from auth0.management import Auth0
21368 from auth0.management.environment import Auth0Environment
21369
21370 client = Auth0(
21371 token="<token>",
21372 environment=Auth0Environment.DEFAULT,
21373 )
21374
21375 client.branding.phone.templates.update(
21376 id="id",
21377 )
21378
21379 ```
21380 </dd>
21381 </dl>
21382 </dd>
21383 </dl>
21384
21385 #### ⚙️ Parameters
21386
21387 <dl>
21388 <dd>
21389
21390 <dl>
21391 <dd>
21392
21393 **id:** `str`
21394
21395 </dd>
21396 </dl>
21397
21398 <dl>
21399 <dd>
21400
21401 **content:** `typing.Optional[PartialPhoneTemplateContent]`
21402
21403 </dd>
21404 </dl>
21405
21406 <dl>
21407 <dd>
21408
21409 **disabled:** `typing.Optional[bool]` — Whether the template is enabled (false) or disabled (true).
21410
21411 </dd>
21412 </dl>
21413
21414 <dl>
21415 <dd>
21416
21417 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
21418
21419 </dd>
21420 </dl>
21421 </dd>
21422 </dl>
21423
21424
21425 </dd>
21426 </dl>
21427 </details>
21428
21429 <details><summary><code>client.branding.phone.templates.<a href="src/auth0.management/branding/phone/templates/client.py">reset</a>(...) -> ResetPhoneTemplateResponseContent</code></summary>
21430 <dl>
21431 <dd>
21432
21433 #### 🔌 Usage
21434
21435 <dl>
21436 <dd>
21437
21438 <dl>
21439 <dd>
21440
21441 ```python
21442 from auth0.management import Auth0
21443 from auth0.management.environment import Auth0Environment
21444
21445 client = Auth0(
21446 token="<token>",
21447 environment=Auth0Environment.DEFAULT,
21448 )
21449
21450 client.branding.phone.templates.reset(
21451 id="id",
21452 request={"key": "value"},
21453 )
21454
21455 ```
21456 </dd>
21457 </dl>
21458 </dd>
21459 </dl>
21460
21461 #### ⚙️ Parameters
21462
21463 <dl>
21464 <dd>
21465
21466 <dl>
21467 <dd>
21468
21469 **id:** `str`
21470
21471 </dd>
21472 </dl>
21473
21474 <dl>
21475 <dd>
21476
21477 **request:** `ResetPhoneTemplateRequestContent`
21478
21479 </dd>
21480 </dl>
21481
21482 <dl>
21483 <dd>
21484
21485 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
21486
21487 </dd>
21488 </dl>
21489 </dd>
21490 </dl>
21491
21492
21493 </dd>
21494 </dl>
21495 </details>
21496
21497 <details><summary><code>client.branding.phone.templates.<a href="src/auth0.management/branding/phone/templates/client.py">test</a>(...) -> CreatePhoneTemplateTestNotificationResponseContent</code></summary>
21498 <dl>
21499 <dd>
21500
21501 #### 🔌 Usage
21502
21503 <dl>
21504 <dd>
21505
21506 <dl>
21507 <dd>
21508
21509 ```python
21510 from auth0.management import Auth0
21511 from auth0.management.environment import Auth0Environment
21512
21513 client = Auth0(
21514 token="<token>",
21515 environment=Auth0Environment.DEFAULT,
21516 )
21517
21518 client.branding.phone.templates.test(
21519 id="id",
21520 to="to",
21521 )
21522
21523 ```
21524 </dd>
21525 </dl>
21526 </dd>
21527 </dl>
21528
21529 #### ⚙️ Parameters
21530
21531 <dl>
21532 <dd>
21533
21534 <dl>
21535 <dd>
21536
21537 **id:** `str`
21538
21539 </dd>
21540 </dl>
21541
21542 <dl>
21543 <dd>
21544
21545 **to:** `str` — Destination of the testing phone notification
21546
21547 </dd>
21548 </dl>
21549
21550 <dl>
21551 <dd>
21552
21553 **delivery_method:** `typing.Optional[PhoneProviderDeliveryMethodEnum]` — Medium to use to send the notification
21554
21555 </dd>
21556 </dl>
21557
21558 <dl>
21559 <dd>
21560
21561 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
21562
21563 </dd>
21564 </dl>
21565 </dd>
21566 </dl>
21567
21568
21569 </dd>
21570 </dl>
21571 </details>
21572
21573 ## ClientGrants Organizations
21574 <details><summary><code>client.client_grants.organizations.<a href="src/auth0.management/client_grants/organizations/client.py">list</a>(...) -> ListClientGrantOrganizationsPaginatedResponseContent</code></summary>
21575 <dl>
21576 <dd>
21577
21578 #### 🔌 Usage
21579
21580 <dl>
21581 <dd>
21582
21583 <dl>
21584 <dd>
21585
21586 ```python
21587 from auth0.management import Auth0
21588 from auth0.management.environment import Auth0Environment
21589
21590 client = Auth0(
21591 token="<token>",
21592 environment=Auth0Environment.DEFAULT,
21593 )
21594
21595 client.client_grants.organizations.list(
21596 id="id",
21597 from_="from",
21598 take=1,
21599 )
21600
21601 ```
21602 </dd>
21603 </dl>
21604 </dd>
21605 </dl>
21606
21607 #### ⚙️ Parameters
21608
21609 <dl>
21610 <dd>
21611
21612 <dl>
21613 <dd>
21614
21615 **id:** `str` — ID of the client grant
21616
21617 </dd>
21618 </dl>
21619
21620 <dl>
21621 <dd>
21622
21623 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
21624
21625 </dd>
21626 </dl>
21627
21628 <dl>
21629 <dd>
21630
21631 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
21632
21633 </dd>
21634 </dl>
21635
21636 <dl>
21637 <dd>
21638
21639 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
21640
21641 </dd>
21642 </dl>
21643 </dd>
21644 </dl>
21645
21646
21647 </dd>
21648 </dl>
21649 </details>
21650
21651 ## Clients Credentials
21652 <details><summary><code>client.clients.credentials.<a href="src/auth0.management/clients/credentials/client.py">list</a>(...) -> typing.List[ClientCredential]</code></summary>
21653 <dl>
21654 <dd>
21655
21656 #### 📝 Description
21657
21658 <dl>
21659 <dd>
21660
21661 <dl>
21662 <dd>
21663
21664 Get the details of a client credential.
21665
21666 **Important**: To enable credentials to be used for a client authentication method, set the `client_authentication_methods` property on the client. To enable credentials to be used for JWT-Secured Authorization requests set the `signed_request_object` property on the client.
21667 </dd>
21668 </dl>
21669 </dd>
21670 </dl>
21671
21672 #### 🔌 Usage
21673
21674 <dl>
21675 <dd>
21676
21677 <dl>
21678 <dd>
21679
21680 ```python
21681 from auth0.management import Auth0
21682 from auth0.management.environment import Auth0Environment
21683
21684 client = Auth0(
21685 token="<token>",
21686 environment=Auth0Environment.DEFAULT,
21687 )
21688
21689 client.clients.credentials.list(
21690 client_id="client_id",
21691 )
21692
21693 ```
21694 </dd>
21695 </dl>
21696 </dd>
21697 </dl>
21698
21699 #### ⚙️ Parameters
21700
21701 <dl>
21702 <dd>
21703
21704 <dl>
21705 <dd>
21706
21707 **client_id:** `str` — ID of the client.
21708
21709 </dd>
21710 </dl>
21711
21712 <dl>
21713 <dd>
21714
21715 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
21716
21717 </dd>
21718 </dl>
21719 </dd>
21720 </dl>
21721
21722
21723 </dd>
21724 </dl>
21725 </details>
21726
21727 <details><summary><code>client.clients.credentials.<a href="src/auth0.management/clients/credentials/client.py">create</a>(...) -> PostClientCredentialResponseContent</code></summary>
21728 <dl>
21729 <dd>
21730
21731 #### 📝 Description
21732
21733 <dl>
21734 <dd>
21735
21736 <dl>
21737 <dd>
21738
21739 Create a client credential associated to your application. Credentials can be used to configure Private Key JWT and mTLS authentication methods, as well as for JWT-secured Authorization requests.
21740
21741 **Public Key**
21742
21743 Public Key credentials can be used to set up Private Key JWT client authentication and JWT-secured Authorization requests.
21744
21745 Sample:
21746
21747 ```json
21748 {
21749 "credential_type": "public_key",
21750 "name": "string",
21751 "pem": "string",
21752 "alg": "RS256",
21753 "parse_expiry_from_cert": false,
21754 "expires_at": "2022-12-31T23:59:59Z"
21755 }
21756 ```
21757
21758 **Certificate (CA-signed & self-signed)**
21759
21760 Certificate credentials can be used to set up mTLS client authentication. CA-signed certificates can be configured either with a signed certificate or with just the certificate Subject DN.
21761
21762 CA-signed Certificate Sample (pem):
21763
21764 ```json
21765 {
21766 "credential_type": "x509_cert",
21767 "name": "string",
21768 "pem": "string"
21769 }
21770 ```
21771
21772 CA-signed Certificate Sample (subject_dn):
21773
21774 ```json
21775 {
21776 "credential_type": "cert_subject_dn",
21777 "name": "string",
21778 "subject_dn": "string"
21779 }
21780 ```
21781
21782 Self-signed Certificate Sample:
21783
21784 ```json
21785 {
21786 "credential_type": "cert_subject_dn",
21787 "name": "string",
21788 "pem": "string"
21789 }
21790 ```
21791
21792 The credential will be created but not yet enabled for use until you set the corresponding properties in the client:
21793
21794 - To enable the credential for Private Key JWT or mTLS authentication methods, set the `client_authentication_methods` property on the client. For more information, read [Configure Private Key JWT Authentication](https://auth0.com/docs/get-started/applications/configure-private-key-jwt) and [Configure mTLS Authentication](https://auth0.com/docs/get-started/applications/configure-mtls)
21795 - To enable the credential for JWT-secured Authorization requests, set the `signed_request_object`property on the client. For more information, read [Configure JWT-secured Authorization Requests (JAR)](https://auth0.com/docs/get-started/applications/configure-jar)
21796 </dd>
21797 </dl>
21798 </dd>
21799 </dl>
21800
21801 #### 🔌 Usage
21802
21803 <dl>
21804 <dd>
21805
21806 <dl>
21807 <dd>
21808
21809 ```python
21810 from auth0.management import Auth0
21811 from auth0.management.environment import Auth0Environment
21812
21813 client = Auth0(
21814 token="<token>",
21815 environment=Auth0Environment.DEFAULT,
21816 )
21817
21818 client.clients.credentials.create(
21819 client_id="client_id",
21820 credential_type="public_key",
21821 )
21822
21823 ```
21824 </dd>
21825 </dl>
21826 </dd>
21827 </dl>
21828
21829 #### ⚙️ Parameters
21830
21831 <dl>
21832 <dd>
21833
21834 <dl>
21835 <dd>
21836
21837 **client_id:** `str` — ID of the client.
21838
21839 </dd>
21840 </dl>
21841
21842 <dl>
21843 <dd>
21844
21845 **credential_type:** `ClientCredentialTypeEnum`
21846
21847 </dd>
21848 </dl>
21849
21850 <dl>
21851 <dd>
21852
21853 **name:** `typing.Optional[str]` — Friendly name for a credential.
21854
21855 </dd>
21856 </dl>
21857
21858 <dl>
21859 <dd>
21860
21861 **subject_dn:** `typing.Optional[str]` — Subject Distinguished Name. Mutually exclusive with `pem` property. Applies to `cert_subject_dn` credential type.
21862
21863 </dd>
21864 </dl>
21865
21866 <dl>
21867 <dd>
21868
21869 **pem:** `typing.Optional[str]` — PEM-formatted public key (SPKI and PKCS1) or X509 certificate. Must be JSON escaped.
21870
21871 </dd>
21872 </dl>
21873
21874 <dl>
21875 <dd>
21876
21877 **alg:** `typing.Optional[PublicKeyCredentialAlgorithmEnum]`
21878
21879 </dd>
21880 </dl>
21881
21882 <dl>
21883 <dd>
21884
21885 **parse_expiry_from_cert:** `typing.Optional[bool]` — Parse expiry from x509 certificate. If true, attempts to parse the expiry date from the provided PEM. Applies to `public_key` credential type.
21886
21887 </dd>
21888 </dl>
21889
21890 <dl>
21891 <dd>
21892
21893 **expires_at:** `typing.Optional[datetime.datetime]` — The ISO 8601 formatted date representing the expiration of the credential. If not specified (not recommended), the credential never expires. Applies to `public_key` credential type.
21894
21895 </dd>
21896 </dl>
21897
21898 <dl>
21899 <dd>
21900
21901 **kid:** `typing.Optional[str]` — Optional kid (Key ID), used to uniquely identify the credential. If not specified, a kid value will be auto-generated. The kid header parameter in JWTs sent by your client should match this value. Valid format is [0-9a-zA-Z-_]{10,64}
21902
21903 </dd>
21904 </dl>
21905
21906 <dl>
21907 <dd>
21908
21909 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
21910
21911 </dd>
21912 </dl>
21913 </dd>
21914 </dl>
21915
21916
21917 </dd>
21918 </dl>
21919 </details>
21920
21921 <details><summary><code>client.clients.credentials.<a href="src/auth0.management/clients/credentials/client.py">get</a>(...) -> GetClientCredentialResponseContent</code></summary>
21922 <dl>
21923 <dd>
21924
21925 #### 📝 Description
21926
21927 <dl>
21928 <dd>
21929
21930 <dl>
21931 <dd>
21932
21933 Get the details of a client credential.
21934
21935 **Important**: To enable credentials to be used for a client authentication method, set the `client_authentication_methods` property on the client. To enable credentials to be used for JWT-Secured Authorization requests set the `signed_request_object` property on the client.
21936 </dd>
21937 </dl>
21938 </dd>
21939 </dl>
21940
21941 #### 🔌 Usage
21942
21943 <dl>
21944 <dd>
21945
21946 <dl>
21947 <dd>
21948
21949 ```python
21950 from auth0.management import Auth0
21951 from auth0.management.environment import Auth0Environment
21952
21953 client = Auth0(
21954 token="<token>",
21955 environment=Auth0Environment.DEFAULT,
21956 )
21957
21958 client.clients.credentials.get(
21959 client_id="client_id",
21960 credential_id="credential_id",
21961 )
21962
21963 ```
21964 </dd>
21965 </dl>
21966 </dd>
21967 </dl>
21968
21969 #### ⚙️ Parameters
21970
21971 <dl>
21972 <dd>
21973
21974 <dl>
21975 <dd>
21976
21977 **client_id:** `str` — ID of the client.
21978
21979 </dd>
21980 </dl>
21981
21982 <dl>
21983 <dd>
21984
21985 **credential_id:** `str` — ID of the credential.
21986
21987 </dd>
21988 </dl>
21989
21990 <dl>
21991 <dd>
21992
21993 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
21994
21995 </dd>
21996 </dl>
21997 </dd>
21998 </dl>
21999
22000
22001 </dd>
22002 </dl>
22003 </details>
22004
22005 <details><summary><code>client.clients.credentials.<a href="src/auth0.management/clients/credentials/client.py">delete</a>(...)</code></summary>
22006 <dl>
22007 <dd>
22008
22009 #### 📝 Description
22010
22011 <dl>
22012 <dd>
22013
22014 <dl>
22015 <dd>
22016
22017 Delete a client credential you previously created. May be enabled or disabled. For more information, read <a href="https://www.auth0.com/docs/get-started/authentication-and-authorization-flow/client-credentials-flow">Client Credential Flow</a>.
22018 </dd>
22019 </dl>
22020 </dd>
22021 </dl>
22022
22023 #### 🔌 Usage
22024
22025 <dl>
22026 <dd>
22027
22028 <dl>
22029 <dd>
22030
22031 ```python
22032 from auth0.management import Auth0
22033 from auth0.management.environment import Auth0Environment
22034
22035 client = Auth0(
22036 token="<token>",
22037 environment=Auth0Environment.DEFAULT,
22038 )
22039
22040 client.clients.credentials.delete(
22041 client_id="client_id",
22042 credential_id="credential_id",
22043 )
22044
22045 ```
22046 </dd>
22047 </dl>
22048 </dd>
22049 </dl>
22050
22051 #### ⚙️ Parameters
22052
22053 <dl>
22054 <dd>
22055
22056 <dl>
22057 <dd>
22058
22059 **client_id:** `str` — ID of the client.
22060
22061 </dd>
22062 </dl>
22063
22064 <dl>
22065 <dd>
22066
22067 **credential_id:** `str` — ID of the credential to delete.
22068
22069 </dd>
22070 </dl>
22071
22072 <dl>
22073 <dd>
22074
22075 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
22076
22077 </dd>
22078 </dl>
22079 </dd>
22080 </dl>
22081
22082
22083 </dd>
22084 </dl>
22085 </details>
22086
22087 <details><summary><code>client.clients.credentials.<a href="src/auth0.management/clients/credentials/client.py">update</a>(...) -> PatchClientCredentialResponseContent</code></summary>
22088 <dl>
22089 <dd>
22090
22091 #### 📝 Description
22092
22093 <dl>
22094 <dd>
22095
22096 <dl>
22097 <dd>
22098
22099 Change a client credential you previously created. May be enabled or disabled. For more information, read <a href="https://www.auth0.com/docs/get-started/authentication-and-authorization-flow/client-credentials-flow">Client Credential Flow</a>.
22100 </dd>
22101 </dl>
22102 </dd>
22103 </dl>
22104
22105 #### 🔌 Usage
22106
22107 <dl>
22108 <dd>
22109
22110 <dl>
22111 <dd>
22112
22113 ```python
22114 from auth0.management import Auth0
22115 from auth0.management.environment import Auth0Environment
22116
22117 client = Auth0(
22118 token="<token>",
22119 environment=Auth0Environment.DEFAULT,
22120 )
22121
22122 client.clients.credentials.update(
22123 client_id="client_id",
22124 credential_id="credential_id",
22125 )
22126
22127 ```
22128 </dd>
22129 </dl>
22130 </dd>
22131 </dl>
22132
22133 #### ⚙️ Parameters
22134
22135 <dl>
22136 <dd>
22137
22138 <dl>
22139 <dd>
22140
22141 **client_id:** `str` — ID of the client.
22142
22143 </dd>
22144 </dl>
22145
22146 <dl>
22147 <dd>
22148
22149 **credential_id:** `str` — ID of the credential.
22150
22151 </dd>
22152 </dl>
22153
22154 <dl>
22155 <dd>
22156
22157 **expires_at:** `typing.Optional[datetime.datetime]` — The ISO 8601 formatted date representing the expiration of the credential.
22158
22159 </dd>
22160 </dl>
22161
22162 <dl>
22163 <dd>
22164
22165 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
22166
22167 </dd>
22168 </dl>
22169 </dd>
22170 </dl>
22171
22172
22173 </dd>
22174 </dl>
22175 </details>
22176
22177 ## Clients Connections
22178 <details><summary><code>client.clients.connections.<a href="src/auth0.management/clients/connections/client.py">get</a>(...) -> ListClientConnectionsResponseContent</code></summary>
22179 <dl>
22180 <dd>
22181
22182 #### 📝 Description
22183
22184 <dl>
22185 <dd>
22186
22187 <dl>
22188 <dd>
22189
22190 Retrieve all connections that are enabled for the specified [Application](https://www.auth0.com/docs/get-started/applications), using checkpoint pagination. A list of fields to include or exclude for each connection may also be specified.
22191
22192 - This endpoint requires the `read:connections` scope and any one of `read:clients` or `read:client_summary`.
22193 - **Note**: The first time you call this endpoint, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no further results are remaining.
22194 </dd>
22195 </dl>
22196 </dd>
22197 </dl>
22198
22199 #### 🔌 Usage
22200
22201 <dl>
22202 <dd>
22203
22204 <dl>
22205 <dd>
22206
22207 ```python
22208 from auth0.management import Auth0
22209 from auth0.management.environment import Auth0Environment
22210
22211 client = Auth0(
22212 token="<token>",
22213 environment=Auth0Environment.DEFAULT,
22214 )
22215
22216 client.clients.connections.get(
22217 id="id",
22218 strategy=[
22219 "ad"
22220 ],
22221 from_="from",
22222 take=1,
22223 fields="fields",
22224 include_fields=True,
22225 )
22226
22227 ```
22228 </dd>
22229 </dl>
22230 </dd>
22231 </dl>
22232
22233 #### ⚙️ Parameters
22234
22235 <dl>
22236 <dd>
22237
22238 <dl>
22239 <dd>
22240
22241 **id:** `str` — ID of the client for which to retrieve enabled connections.
22242
22243 </dd>
22244 </dl>
22245
22246 <dl>
22247 <dd>
22248
22249 **strategy:** `typing.Optional[typing.Union[typing.Optional[ConnectionStrategyEnum], typing.Sequence[typing.Optional[ConnectionStrategyEnum]]]]` — Provide strategies to only retrieve connections with such strategies
22250
22251 </dd>
22252 </dl>
22253
22254 <dl>
22255 <dd>
22256
22257 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
22258
22259 </dd>
22260 </dl>
22261
22262 <dl>
22263 <dd>
22264
22265 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
22266
22267 </dd>
22268 </dl>
22269
22270 <dl>
22271 <dd>
22272
22273 **fields:** `typing.Optional[str]` — A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields
22274
22275 </dd>
22276 </dl>
22277
22278 <dl>
22279 <dd>
22280
22281 **include_fields:** `typing.Optional[bool]` — <code>true</code> if the fields specified are to be included in the result, <code>false</code> otherwise (defaults to <code>true</code>)
22282
22283 </dd>
22284 </dl>
22285
22286 <dl>
22287 <dd>
22288
22289 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
22290
22291 </dd>
22292 </dl>
22293 </dd>
22294 </dl>
22295
22296
22297 </dd>
22298 </dl>
22299 </details>
22300
22301 ## Connections DirectoryProvisioning
22302 <details><summary><code>client.connections.directory_provisioning.<a href="src/auth0.management/connections/directory_provisioning/client.py">list</a>(...) -> ListDirectoryProvisioningsResponseContent</code></summary>
22303 <dl>
22304 <dd>
22305
22306 #### 📝 Description
22307
22308 <dl>
22309 <dd>
22310
22311 <dl>
22312 <dd>
22313
22314 Retrieve a list of directory provisioning configurations of a tenant.
22315 </dd>
22316 </dl>
22317 </dd>
22318 </dl>
22319
22320 #### 🔌 Usage
22321
22322 <dl>
22323 <dd>
22324
22325 <dl>
22326 <dd>
22327
22328 ```python
22329 from auth0.management import Auth0
22330 from auth0.management.environment import Auth0Environment
22331
22332 client = Auth0(
22333 token="<token>",
22334 environment=Auth0Environment.DEFAULT,
22335 )
22336
22337 client.connections.directory_provisioning.list(
22338 from_="from",
22339 take=1,
22340 )
22341
22342 ```
22343 </dd>
22344 </dl>
22345 </dd>
22346 </dl>
22347
22348 #### ⚙️ Parameters
22349
22350 <dl>
22351 <dd>
22352
22353 <dl>
22354 <dd>
22355
22356 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
22357
22358 </dd>
22359 </dl>
22360
22361 <dl>
22362 <dd>
22363
22364 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
22365
22366 </dd>
22367 </dl>
22368
22369 <dl>
22370 <dd>
22371
22372 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
22373
22374 </dd>
22375 </dl>
22376 </dd>
22377 </dl>
22378
22379
22380 </dd>
22381 </dl>
22382 </details>
22383
22384 <details><summary><code>client.connections.directory_provisioning.<a href="src/auth0.management/connections/directory_provisioning/client.py">get</a>(...) -> GetDirectoryProvisioningResponseContent</code></summary>
22385 <dl>
22386 <dd>
22387
22388 #### 📝 Description
22389
22390 <dl>
22391 <dd>
22392
22393 <dl>
22394 <dd>
22395
22396 Retrieve the directory provisioning configuration of a connection.
22397 </dd>
22398 </dl>
22399 </dd>
22400 </dl>
22401
22402 #### 🔌 Usage
22403
22404 <dl>
22405 <dd>
22406
22407 <dl>
22408 <dd>
22409
22410 ```python
22411 from auth0.management import Auth0
22412 from auth0.management.environment import Auth0Environment
22413
22414 client = Auth0(
22415 token="<token>",
22416 environment=Auth0Environment.DEFAULT,
22417 )
22418
22419 client.connections.directory_provisioning.get(
22420 id="id",
22421 )
22422
22423 ```
22424 </dd>
22425 </dl>
22426 </dd>
22427 </dl>
22428
22429 #### ⚙️ Parameters
22430
22431 <dl>
22432 <dd>
22433
22434 <dl>
22435 <dd>
22436
22437 **id:** `str` — The id of the connection to retrieve its directory provisioning configuration
22438
22439 </dd>
22440 </dl>
22441
22442 <dl>
22443 <dd>
22444
22445 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
22446
22447 </dd>
22448 </dl>
22449 </dd>
22450 </dl>
22451
22452
22453 </dd>
22454 </dl>
22455 </details>
22456
22457 <details><summary><code>client.connections.directory_provisioning.<a href="src/auth0.management/connections/directory_provisioning/client.py">create</a>(...) -> CreateDirectoryProvisioningResponseContent</code></summary>
22458 <dl>
22459 <dd>
22460
22461 #### 📝 Description
22462
22463 <dl>
22464 <dd>
22465
22466 <dl>
22467 <dd>
22468
22469 Create a directory provisioning configuration for a connection.
22470 </dd>
22471 </dl>
22472 </dd>
22473 </dl>
22474
22475 #### 🔌 Usage
22476
22477 <dl>
22478 <dd>
22479
22480 <dl>
22481 <dd>
22482
22483 ```python
22484 from auth0.management import Auth0, CreateDirectoryProvisioningRequestContent
22485 from auth0.management.environment import Auth0Environment
22486
22487 client = Auth0(
22488 token="<token>",
22489 environment=Auth0Environment.DEFAULT,
22490 )
22491
22492 client.connections.directory_provisioning.create(
22493 id="id",
22494 request=CreateDirectoryProvisioningRequestContent(),
22495 )
22496
22497 ```
22498 </dd>
22499 </dl>
22500 </dd>
22501 </dl>
22502
22503 #### ⚙️ Parameters
22504
22505 <dl>
22506 <dd>
22507
22508 <dl>
22509 <dd>
22510
22511 **id:** `str` — The id of the connection to create its directory provisioning configuration
22512
22513 </dd>
22514 </dl>
22515
22516 <dl>
22517 <dd>
22518
22519 **request:** `typing.Optional[CreateDirectoryProvisioningRequestContent]`
22520
22521 </dd>
22522 </dl>
22523
22524 <dl>
22525 <dd>
22526
22527 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
22528
22529 </dd>
22530 </dl>
22531 </dd>
22532 </dl>
22533
22534
22535 </dd>
22536 </dl>
22537 </details>
22538
22539 <details><summary><code>client.connections.directory_provisioning.<a href="src/auth0.management/connections/directory_provisioning/client.py">delete</a>(...)</code></summary>
22540 <dl>
22541 <dd>
22542
22543 #### 📝 Description
22544
22545 <dl>
22546 <dd>
22547
22548 <dl>
22549 <dd>
22550
22551 Delete the directory provisioning configuration of a connection.
22552 </dd>
22553 </dl>
22554 </dd>
22555 </dl>
22556
22557 #### 🔌 Usage
22558
22559 <dl>
22560 <dd>
22561
22562 <dl>
22563 <dd>
22564
22565 ```python
22566 from auth0.management import Auth0
22567 from auth0.management.environment import Auth0Environment
22568
22569 client = Auth0(
22570 token="<token>",
22571 environment=Auth0Environment.DEFAULT,
22572 )
22573
22574 client.connections.directory_provisioning.delete(
22575 id="id",
22576 )
22577
22578 ```
22579 </dd>
22580 </dl>
22581 </dd>
22582 </dl>
22583
22584 #### ⚙️ Parameters
22585
22586 <dl>
22587 <dd>
22588
22589 <dl>
22590 <dd>
22591
22592 **id:** `str` — The id of the connection to delete its directory provisioning configuration
22593
22594 </dd>
22595 </dl>
22596
22597 <dl>
22598 <dd>
22599
22600 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
22601
22602 </dd>
22603 </dl>
22604 </dd>
22605 </dl>
22606
22607
22608 </dd>
22609 </dl>
22610 </details>
22611
22612 <details><summary><code>client.connections.directory_provisioning.<a href="src/auth0.management/connections/directory_provisioning/client.py">update</a>(...) -> UpdateDirectoryProvisioningResponseContent</code></summary>
22613 <dl>
22614 <dd>
22615
22616 #### 📝 Description
22617
22618 <dl>
22619 <dd>
22620
22621 <dl>
22622 <dd>
22623
22624 Update the directory provisioning configuration of a connection.
22625 </dd>
22626 </dl>
22627 </dd>
22628 </dl>
22629
22630 #### 🔌 Usage
22631
22632 <dl>
22633 <dd>
22634
22635 <dl>
22636 <dd>
22637
22638 ```python
22639 from auth0.management import Auth0, UpdateDirectoryProvisioningRequestContent
22640 from auth0.management.environment import Auth0Environment
22641
22642 client = Auth0(
22643 token="<token>",
22644 environment=Auth0Environment.DEFAULT,
22645 )
22646
22647 client.connections.directory_provisioning.update(
22648 id="id",
22649 request=UpdateDirectoryProvisioningRequestContent(),
22650 )
22651
22652 ```
22653 </dd>
22654 </dl>
22655 </dd>
22656 </dl>
22657
22658 #### ⚙️ Parameters
22659
22660 <dl>
22661 <dd>
22662
22663 <dl>
22664 <dd>
22665
22666 **id:** `str` — The id of the connection to create its directory provisioning configuration
22667
22668 </dd>
22669 </dl>
22670
22671 <dl>
22672 <dd>
22673
22674 **request:** `typing.Optional[UpdateDirectoryProvisioningRequestContent]`
22675
22676 </dd>
22677 </dl>
22678
22679 <dl>
22680 <dd>
22681
22682 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
22683
22684 </dd>
22685 </dl>
22686 </dd>
22687 </dl>
22688
22689
22690 </dd>
22691 </dl>
22692 </details>
22693
22694 <details><summary><code>client.connections.directory_provisioning.<a href="src/auth0.management/connections/directory_provisioning/client.py">get_default_mapping</a>(...) -> GetDirectoryProvisioningDefaultMappingResponseContent</code></summary>
22695 <dl>
22696 <dd>
22697
22698 #### 📝 Description
22699
22700 <dl>
22701 <dd>
22702
22703 <dl>
22704 <dd>
22705
22706 Retrieve the directory provisioning default attribute mapping of a connection.
22707 </dd>
22708 </dl>
22709 </dd>
22710 </dl>
22711
22712 #### 🔌 Usage
22713
22714 <dl>
22715 <dd>
22716
22717 <dl>
22718 <dd>
22719
22720 ```python
22721 from auth0.management import Auth0
22722 from auth0.management.environment import Auth0Environment
22723
22724 client = Auth0(
22725 token="<token>",
22726 environment=Auth0Environment.DEFAULT,
22727 )
22728
22729 client.connections.directory_provisioning.get_default_mapping(
22730 id="id",
22731 )
22732
22733 ```
22734 </dd>
22735 </dl>
22736 </dd>
22737 </dl>
22738
22739 #### ⚙️ Parameters
22740
22741 <dl>
22742 <dd>
22743
22744 <dl>
22745 <dd>
22746
22747 **id:** `str` — The id of the connection to retrieve its directory provisioning configuration
22748
22749 </dd>
22750 </dl>
22751
22752 <dl>
22753 <dd>
22754
22755 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
22756
22757 </dd>
22758 </dl>
22759 </dd>
22760 </dl>
22761
22762
22763 </dd>
22764 </dl>
22765 </details>
22766
22767 <details><summary><code>client.connections.directory_provisioning.<a href="src/auth0.management/connections/directory_provisioning/client.py">list_synchronized_groups</a>(...) -> ListSynchronizedGroupsResponseContent</code></summary>
22768 <dl>
22769 <dd>
22770
22771 #### 📝 Description
22772
22773 <dl>
22774 <dd>
22775
22776 <dl>
22777 <dd>
22778
22779 Retrieve the configured synchronized groups for a connection directory provisioning configuration.
22780 </dd>
22781 </dl>
22782 </dd>
22783 </dl>
22784
22785 #### 🔌 Usage
22786
22787 <dl>
22788 <dd>
22789
22790 <dl>
22791 <dd>
22792
22793 ```python
22794 from auth0.management import Auth0
22795 from auth0.management.environment import Auth0Environment
22796
22797 client = Auth0(
22798 token="<token>",
22799 environment=Auth0Environment.DEFAULT,
22800 )
22801
22802 client.connections.directory_provisioning.list_synchronized_groups(
22803 id="id",
22804 from_="from",
22805 take=1,
22806 )
22807
22808 ```
22809 </dd>
22810 </dl>
22811 </dd>
22812 </dl>
22813
22814 #### ⚙️ Parameters
22815
22816 <dl>
22817 <dd>
22818
22819 <dl>
22820 <dd>
22821
22822 **id:** `str` — The id of the connection to list synchronized groups for.
22823
22824 </dd>
22825 </dl>
22826
22827 <dl>
22828 <dd>
22829
22830 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
22831
22832 </dd>
22833 </dl>
22834
22835 <dl>
22836 <dd>
22837
22838 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
22839
22840 </dd>
22841 </dl>
22842
22843 <dl>
22844 <dd>
22845
22846 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
22847
22848 </dd>
22849 </dl>
22850 </dd>
22851 </dl>
22852
22853
22854 </dd>
22855 </dl>
22856 </details>
22857
22858 <details><summary><code>client.connections.directory_provisioning.<a href="src/auth0.management/connections/directory_provisioning/client.py">set</a>(...)</code></summary>
22859 <dl>
22860 <dd>
22861
22862 #### 📝 Description
22863
22864 <dl>
22865 <dd>
22866
22867 <dl>
22868 <dd>
22869
22870 Create or replace the selected groups for a connection directory provisioning configuration.
22871 </dd>
22872 </dl>
22873 </dd>
22874 </dl>
22875
22876 #### 🔌 Usage
22877
22878 <dl>
22879 <dd>
22880
22881 <dl>
22882 <dd>
22883
22884 ```python
22885 from auth0.management import Auth0, SynchronizedGroupPayload
22886 from auth0.management.environment import Auth0Environment
22887
22888 client = Auth0(
22889 token="<token>",
22890 environment=Auth0Environment.DEFAULT,
22891 )
22892
22893 client.connections.directory_provisioning.set(
22894 id="id",
22895 groups=[
22896 SynchronizedGroupPayload(
22897 id="id",
22898 )
22899 ],
22900 )
22901
22902 ```
22903 </dd>
22904 </dl>
22905 </dd>
22906 </dl>
22907
22908 #### ⚙️ Parameters
22909
22910 <dl>
22911 <dd>
22912
22913 <dl>
22914 <dd>
22915
22916 **id:** `str` — The id of the connection to create or replace synchronized groups for
22917
22918 </dd>
22919 </dl>
22920
22921 <dl>
22922 <dd>
22923
22924 **groups:** `typing.List[SynchronizedGroupPayload]` — Array of Google Workspace Directory group objects to synchronize.
22925
22926 </dd>
22927 </dl>
22928
22929 <dl>
22930 <dd>
22931
22932 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
22933
22934 </dd>
22935 </dl>
22936 </dd>
22937 </dl>
22938
22939
22940 </dd>
22941 </dl>
22942 </details>
22943
22944 ## Connections ScimConfiguration
22945 <details><summary><code>client.connections.scim_configuration.<a href="src/auth0.management/connections/scim_configuration/client.py">list</a>(...) -> ListScimConfigurationsResponseContent</code></summary>
22946 <dl>
22947 <dd>
22948
22949 #### 📝 Description
22950
22951 <dl>
22952 <dd>
22953
22954 <dl>
22955 <dd>
22956
22957 Retrieve a list of SCIM configurations of a tenant.
22958 </dd>
22959 </dl>
22960 </dd>
22961 </dl>
22962
22963 #### 🔌 Usage
22964
22965 <dl>
22966 <dd>
22967
22968 <dl>
22969 <dd>
22970
22971 ```python
22972 from auth0.management import Auth0
22973 from auth0.management.environment import Auth0Environment
22974
22975 client = Auth0(
22976 token="<token>",
22977 environment=Auth0Environment.DEFAULT,
22978 )
22979
22980 client.connections.scim_configuration.list(
22981 from_="from",
22982 take=1,
22983 )
22984
22985 ```
22986 </dd>
22987 </dl>
22988 </dd>
22989 </dl>
22990
22991 #### ⚙️ Parameters
22992
22993 <dl>
22994 <dd>
22995
22996 <dl>
22997 <dd>
22998
22999 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
23000
23001 </dd>
23002 </dl>
23003
23004 <dl>
23005 <dd>
23006
23007 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
23008
23009 </dd>
23010 </dl>
23011
23012 <dl>
23013 <dd>
23014
23015 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
23016
23017 </dd>
23018 </dl>
23019 </dd>
23020 </dl>
23021
23022
23023 </dd>
23024 </dl>
23025 </details>
23026
23027 <details><summary><code>client.connections.scim_configuration.<a href="src/auth0.management/connections/scim_configuration/client.py">get</a>(...) -> GetScimConfigurationResponseContent</code></summary>
23028 <dl>
23029 <dd>
23030
23031 #### 📝 Description
23032
23033 <dl>
23034 <dd>
23035
23036 <dl>
23037 <dd>
23038
23039 Retrieves a scim configuration by its `connectionId`.
23040 </dd>
23041 </dl>
23042 </dd>
23043 </dl>
23044
23045 #### 🔌 Usage
23046
23047 <dl>
23048 <dd>
23049
23050 <dl>
23051 <dd>
23052
23053 ```python
23054 from auth0.management import Auth0
23055 from auth0.management.environment import Auth0Environment
23056
23057 client = Auth0(
23058 token="<token>",
23059 environment=Auth0Environment.DEFAULT,
23060 )
23061
23062 client.connections.scim_configuration.get(
23063 id="id",
23064 )
23065
23066 ```
23067 </dd>
23068 </dl>
23069 </dd>
23070 </dl>
23071
23072 #### ⚙️ Parameters
23073
23074 <dl>
23075 <dd>
23076
23077 <dl>
23078 <dd>
23079
23080 **id:** `str` — The id of the connection to retrieve its SCIM configuration
23081
23082 </dd>
23083 </dl>
23084
23085 <dl>
23086 <dd>
23087
23088 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
23089
23090 </dd>
23091 </dl>
23092 </dd>
23093 </dl>
23094
23095
23096 </dd>
23097 </dl>
23098 </details>
23099
23100 <details><summary><code>client.connections.scim_configuration.<a href="src/auth0.management/connections/scim_configuration/client.py">create</a>(...) -> CreateScimConfigurationResponseContent</code></summary>
23101 <dl>
23102 <dd>
23103
23104 #### 📝 Description
23105
23106 <dl>
23107 <dd>
23108
23109 <dl>
23110 <dd>
23111
23112 Create a scim configuration for a connection.
23113 </dd>
23114 </dl>
23115 </dd>
23116 </dl>
23117
23118 #### 🔌 Usage
23119
23120 <dl>
23121 <dd>
23122
23123 <dl>
23124 <dd>
23125
23126 ```python
23127 from auth0.management import Auth0, CreateScimConfigurationRequestContent
23128 from auth0.management.environment import Auth0Environment
23129
23130 client = Auth0(
23131 token="<token>",
23132 environment=Auth0Environment.DEFAULT,
23133 )
23134
23135 client.connections.scim_configuration.create(
23136 id="id",
23137 request=CreateScimConfigurationRequestContent(),
23138 )
23139
23140 ```
23141 </dd>
23142 </dl>
23143 </dd>
23144 </dl>
23145
23146 #### ⚙️ Parameters
23147
23148 <dl>
23149 <dd>
23150
23151 <dl>
23152 <dd>
23153
23154 **id:** `str` — The id of the connection to create its SCIM configuration
23155
23156 </dd>
23157 </dl>
23158
23159 <dl>
23160 <dd>
23161
23162 **request:** `typing.Optional[CreateScimConfigurationRequestContent]`
23163
23164 </dd>
23165 </dl>
23166
23167 <dl>
23168 <dd>
23169
23170 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
23171
23172 </dd>
23173 </dl>
23174 </dd>
23175 </dl>
23176
23177
23178 </dd>
23179 </dl>
23180 </details>
23181
23182 <details><summary><code>client.connections.scim_configuration.<a href="src/auth0.management/connections/scim_configuration/client.py">delete</a>(...)</code></summary>
23183 <dl>
23184 <dd>
23185
23186 #### 📝 Description
23187
23188 <dl>
23189 <dd>
23190
23191 <dl>
23192 <dd>
23193
23194 Deletes a scim configuration by its `connectionId`.
23195 </dd>
23196 </dl>
23197 </dd>
23198 </dl>
23199
23200 #### 🔌 Usage
23201
23202 <dl>
23203 <dd>
23204
23205 <dl>
23206 <dd>
23207
23208 ```python
23209 from auth0.management import Auth0
23210 from auth0.management.environment import Auth0Environment
23211
23212 client = Auth0(
23213 token="<token>",
23214 environment=Auth0Environment.DEFAULT,
23215 )
23216
23217 client.connections.scim_configuration.delete(
23218 id="id",
23219 )
23220
23221 ```
23222 </dd>
23223 </dl>
23224 </dd>
23225 </dl>
23226
23227 #### ⚙️ Parameters
23228
23229 <dl>
23230 <dd>
23231
23232 <dl>
23233 <dd>
23234
23235 **id:** `str` — The id of the connection to delete its SCIM configuration
23236
23237 </dd>
23238 </dl>
23239
23240 <dl>
23241 <dd>
23242
23243 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
23244
23245 </dd>
23246 </dl>
23247 </dd>
23248 </dl>
23249
23250
23251 </dd>
23252 </dl>
23253 </details>
23254
23255 <details><summary><code>client.connections.scim_configuration.<a href="src/auth0.management/connections/scim_configuration/client.py">update</a>(...) -> UpdateScimConfigurationResponseContent</code></summary>
23256 <dl>
23257 <dd>
23258
23259 #### 📝 Description
23260
23261 <dl>
23262 <dd>
23263
23264 <dl>
23265 <dd>
23266
23267 Update a scim configuration by its `connectionId`.
23268 </dd>
23269 </dl>
23270 </dd>
23271 </dl>
23272
23273 #### 🔌 Usage
23274
23275 <dl>
23276 <dd>
23277
23278 <dl>
23279 <dd>
23280
23281 ```python
23282 from auth0.management import Auth0, ScimMappingItem
23283 from auth0.management.environment import Auth0Environment
23284
23285 client = Auth0(
23286 token="<token>",
23287 environment=Auth0Environment.DEFAULT,
23288 )
23289
23290 client.connections.scim_configuration.update(
23291 id="id",
23292 user_id_attribute="user_id_attribute",
23293 mapping=[
23294 ScimMappingItem()
23295 ],
23296 )
23297
23298 ```
23299 </dd>
23300 </dl>
23301 </dd>
23302 </dl>
23303
23304 #### ⚙️ Parameters
23305
23306 <dl>
23307 <dd>
23308
23309 <dl>
23310 <dd>
23311
23312 **id:** `str` — The id of the connection to update its SCIM configuration
23313
23314 </dd>
23315 </dl>
23316
23317 <dl>
23318 <dd>
23319
23320 **user_id_attribute:** `str` — User ID attribute for generating unique user ids
23321
23322 </dd>
23323 </dl>
23324
23325 <dl>
23326 <dd>
23327
23328 **mapping:** `typing.List[ScimMappingItem]` — The mapping between auth0 and SCIM
23329
23330 </dd>
23331 </dl>
23332
23333 <dl>
23334 <dd>
23335
23336 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
23337
23338 </dd>
23339 </dl>
23340 </dd>
23341 </dl>
23342
23343
23344 </dd>
23345 </dl>
23346 </details>
23347
23348 <details><summary><code>client.connections.scim_configuration.<a href="src/auth0.management/connections/scim_configuration/client.py">get_default_mapping</a>(...) -> GetScimConfigurationDefaultMappingResponseContent</code></summary>
23349 <dl>
23350 <dd>
23351
23352 #### 📝 Description
23353
23354 <dl>
23355 <dd>
23356
23357 <dl>
23358 <dd>
23359
23360 Retrieves a scim configuration's default mapping by its `connectionId`.
23361 </dd>
23362 </dl>
23363 </dd>
23364 </dl>
23365
23366 #### 🔌 Usage
23367
23368 <dl>
23369 <dd>
23370
23371 <dl>
23372 <dd>
23373
23374 ```python
23375 from auth0.management import Auth0
23376 from auth0.management.environment import Auth0Environment
23377
23378 client = Auth0(
23379 token="<token>",
23380 environment=Auth0Environment.DEFAULT,
23381 )
23382
23383 client.connections.scim_configuration.get_default_mapping(
23384 id="id",
23385 )
23386
23387 ```
23388 </dd>
23389 </dl>
23390 </dd>
23391 </dl>
23392
23393 #### ⚙️ Parameters
23394
23395 <dl>
23396 <dd>
23397
23398 <dl>
23399 <dd>
23400
23401 **id:** `str` — The id of the connection to retrieve its default SCIM mapping
23402
23403 </dd>
23404 </dl>
23405
23406 <dl>
23407 <dd>
23408
23409 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
23410
23411 </dd>
23412 </dl>
23413 </dd>
23414 </dl>
23415
23416
23417 </dd>
23418 </dl>
23419 </details>
23420
23421 ## Connections Clients
23422 <details><summary><code>client.connections.clients.<a href="src/auth0.management/connections/clients/client.py">get</a>(...) -> GetConnectionEnabledClientsResponseContent</code></summary>
23423 <dl>
23424 <dd>
23425
23426 #### 📝 Description
23427
23428 <dl>
23429 <dd>
23430
23431 <dl>
23432 <dd>
23433
23434 Retrieve all clients that have the specified [connection](https://auth0.com/docs/authenticate/identity-providers) enabled.
23435
23436 **Note**: The first time you call this endpoint, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no further results are remaining.
23437 </dd>
23438 </dl>
23439 </dd>
23440 </dl>
23441
23442 #### 🔌 Usage
23443
23444 <dl>
23445 <dd>
23446
23447 <dl>
23448 <dd>
23449
23450 ```python
23451 from auth0.management import Auth0
23452 from auth0.management.environment import Auth0Environment
23453
23454 client = Auth0(
23455 token="<token>",
23456 environment=Auth0Environment.DEFAULT,
23457 )
23458
23459 client.connections.clients.get(
23460 id="id",
23461 take=1,
23462 from_="from",
23463 )
23464
23465 ```
23466 </dd>
23467 </dl>
23468 </dd>
23469 </dl>
23470
23471 #### ⚙️ Parameters
23472
23473 <dl>
23474 <dd>
23475
23476 <dl>
23477 <dd>
23478
23479 **id:** `str` — The id of the connection for which enabled clients are to be retrieved
23480
23481 </dd>
23482 </dl>
23483
23484 <dl>
23485 <dd>
23486
23487 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
23488
23489 </dd>
23490 </dl>
23491
23492 <dl>
23493 <dd>
23494
23495 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
23496
23497 </dd>
23498 </dl>
23499
23500 <dl>
23501 <dd>
23502
23503 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
23504
23505 </dd>
23506 </dl>
23507 </dd>
23508 </dl>
23509
23510
23511 </dd>
23512 </dl>
23513 </details>
23514
23515 <details><summary><code>client.connections.clients.<a href="src/auth0.management/connections/clients/client.py">update</a>(...)</code></summary>
23516 <dl>
23517 <dd>
23518
23519 #### 🔌 Usage
23520
23521 <dl>
23522 <dd>
23523
23524 <dl>
23525 <dd>
23526
23527 ```python
23528 from auth0.management import Auth0, UpdateEnabledClientConnectionsRequestContentItem
23529 from auth0.management.environment import Auth0Environment
23530
23531 client = Auth0(
23532 token="<token>",
23533 environment=Auth0Environment.DEFAULT,
23534 )
23535
23536 client.connections.clients.update(
23537 id="id",
23538 request=[
23539 UpdateEnabledClientConnectionsRequestContentItem(
23540 client_id="client_id",
23541 status=True,
23542 )
23543 ],
23544 )
23545
23546 ```
23547 </dd>
23548 </dl>
23549 </dd>
23550 </dl>
23551
23552 #### ⚙️ Parameters
23553
23554 <dl>
23555 <dd>
23556
23557 <dl>
23558 <dd>
23559
23560 **id:** `str` — The id of the connection to modify
23561
23562 </dd>
23563 </dl>
23564
23565 <dl>
23566 <dd>
23567
23568 **request:** `UpdateEnabledClientConnectionsRequestContent`
23569
23570 </dd>
23571 </dl>
23572
23573 <dl>
23574 <dd>
23575
23576 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
23577
23578 </dd>
23579 </dl>
23580 </dd>
23581 </dl>
23582
23583
23584 </dd>
23585 </dl>
23586 </details>
23587
23588 ## Connections Keys
23589 <details><summary><code>client.connections.keys.<a href="src/auth0.management/connections/keys/client.py">get</a>(...) -> typing.List[ConnectionKey]</code></summary>
23590 <dl>
23591 <dd>
23592
23593 #### 📝 Description
23594
23595 <dl>
23596 <dd>
23597
23598 <dl>
23599 <dd>
23600
23601 Gets the connection keys for the Okta or OIDC connection strategy.
23602 </dd>
23603 </dl>
23604 </dd>
23605 </dl>
23606
23607 #### 🔌 Usage
23608
23609 <dl>
23610 <dd>
23611
23612 <dl>
23613 <dd>
23614
23615 ```python
23616 from auth0.management import Auth0
23617 from auth0.management.environment import Auth0Environment
23618
23619 client = Auth0(
23620 token="<token>",
23621 environment=Auth0Environment.DEFAULT,
23622 )
23623
23624 client.connections.keys.get(
23625 id="id",
23626 )
23627
23628 ```
23629 </dd>
23630 </dl>
23631 </dd>
23632 </dl>
23633
23634 #### ⚙️ Parameters
23635
23636 <dl>
23637 <dd>
23638
23639 <dl>
23640 <dd>
23641
23642 **id:** `str` — ID of the connection
23643
23644 </dd>
23645 </dl>
23646
23647 <dl>
23648 <dd>
23649
23650 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
23651
23652 </dd>
23653 </dl>
23654 </dd>
23655 </dl>
23656
23657
23658 </dd>
23659 </dl>
23660 </details>
23661
23662 <details><summary><code>client.connections.keys.<a href="src/auth0.management/connections/keys/client.py">create</a>(...) -> PostConnectionsKeysResponseContent</code></summary>
23663 <dl>
23664 <dd>
23665
23666 #### 📝 Description
23667
23668 <dl>
23669 <dd>
23670
23671 <dl>
23672 <dd>
23673
23674 Provision initial connection keys for Okta or OIDC connection strategies. This endpoint allows you to create keys before configuring the connection to use Private Key JWT authentication, enabling zero-downtime transitions.
23675 </dd>
23676 </dl>
23677 </dd>
23678 </dl>
23679
23680 #### 🔌 Usage
23681
23682 <dl>
23683 <dd>
23684
23685 <dl>
23686 <dd>
23687
23688 ```python
23689 from auth0.management import Auth0, PostConnectionKeysRequestContent
23690 from auth0.management.environment import Auth0Environment
23691
23692 client = Auth0(
23693 token="<token>",
23694 environment=Auth0Environment.DEFAULT,
23695 )
23696
23697 client.connections.keys.create(
23698 id="id",
23699 request=PostConnectionKeysRequestContent(),
23700 )
23701
23702 ```
23703 </dd>
23704 </dl>
23705 </dd>
23706 </dl>
23707
23708 #### ⚙️ Parameters
23709
23710 <dl>
23711 <dd>
23712
23713 <dl>
23714 <dd>
23715
23716 **id:** `str` — ID of the connection
23717
23718 </dd>
23719 </dl>
23720
23721 <dl>
23722 <dd>
23723
23724 **request:** `typing.Optional[PostConnectionKeysRequestContent]`
23725
23726 </dd>
23727 </dl>
23728
23729 <dl>
23730 <dd>
23731
23732 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
23733
23734 </dd>
23735 </dl>
23736 </dd>
23737 </dl>
23738
23739
23740 </dd>
23741 </dl>
23742 </details>
23743
23744 <details><summary><code>client.connections.keys.<a href="src/auth0.management/connections/keys/client.py">rotate</a>(...) -> RotateConnectionsKeysResponseContent</code></summary>
23745 <dl>
23746 <dd>
23747
23748 #### 📝 Description
23749
23750 <dl>
23751 <dd>
23752
23753 <dl>
23754 <dd>
23755
23756 Rotates the connection keys for the Okta or OIDC connection strategies.
23757 </dd>
23758 </dl>
23759 </dd>
23760 </dl>
23761
23762 #### 🔌 Usage
23763
23764 <dl>
23765 <dd>
23766
23767 <dl>
23768 <dd>
23769
23770 ```python
23771 from auth0.management import Auth0, RotateConnectionKeysRequestContent
23772 from auth0.management.environment import Auth0Environment
23773
23774 client = Auth0(
23775 token="<token>",
23776 environment=Auth0Environment.DEFAULT,
23777 )
23778
23779 client.connections.keys.rotate(
23780 id="id",
23781 request=RotateConnectionKeysRequestContent(),
23782 )
23783
23784 ```
23785 </dd>
23786 </dl>
23787 </dd>
23788 </dl>
23789
23790 #### ⚙️ Parameters
23791
23792 <dl>
23793 <dd>
23794
23795 <dl>
23796 <dd>
23797
23798 **id:** `str` — ID of the connection
23799
23800 </dd>
23801 </dl>
23802
23803 <dl>
23804 <dd>
23805
23806 **request:** `typing.Optional[RotateConnectionKeysRequestContent]`
23807
23808 </dd>
23809 </dl>
23810
23811 <dl>
23812 <dd>
23813
23814 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
23815
23816 </dd>
23817 </dl>
23818 </dd>
23819 </dl>
23820
23821
23822 </dd>
23823 </dl>
23824 </details>
23825
23826 ## Connections Users
23827 <details><summary><code>client.connections.users.<a href="src/auth0.management/connections/users/client.py">delete_by_email</a>(...)</code></summary>
23828 <dl>
23829 <dd>
23830
23831 #### 📝 Description
23832
23833 <dl>
23834 <dd>
23835
23836 <dl>
23837 <dd>
23838
23839 Deletes a specified connection user by its email (you cannot delete all users from specific connection). Currently, only Database Connections are supported.
23840 </dd>
23841 </dl>
23842 </dd>
23843 </dl>
23844
23845 #### 🔌 Usage
23846
23847 <dl>
23848 <dd>
23849
23850 <dl>
23851 <dd>
23852
23853 ```python
23854 from auth0.management import Auth0
23855 from auth0.management.environment import Auth0Environment
23856
23857 client = Auth0(
23858 token="<token>",
23859 environment=Auth0Environment.DEFAULT,
23860 )
23861
23862 client.connections.users.delete_by_email(
23863 id="id",
23864 email="email",
23865 )
23866
23867 ```
23868 </dd>
23869 </dl>
23870 </dd>
23871 </dl>
23872
23873 #### ⚙️ Parameters
23874
23875 <dl>
23876 <dd>
23877
23878 <dl>
23879 <dd>
23880
23881 **id:** `str` — The id of the connection (currently only database connections are supported)
23882
23883 </dd>
23884 </dl>
23885
23886 <dl>
23887 <dd>
23888
23889 **email:** `str` — The email of the user to delete
23890
23891 </dd>
23892 </dl>
23893
23894 <dl>
23895 <dd>
23896
23897 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
23898
23899 </dd>
23900 </dl>
23901 </dd>
23902 </dl>
23903
23904
23905 </dd>
23906 </dl>
23907 </details>
23908
23909 ## Connections DirectoryProvisioning Synchronizations
23910 <details><summary><code>client.connections.directory_provisioning.synchronizations.<a href="src/auth0.management/connections/directory_provisioning/synchronizations/client.py">create</a>(...) -> CreateDirectorySynchronizationResponseContent</code></summary>
23911 <dl>
23912 <dd>
23913
23914 #### 📝 Description
23915
23916 <dl>
23917 <dd>
23918
23919 <dl>
23920 <dd>
23921
23922 Request an on-demand synchronization of the directory.
23923 </dd>
23924 </dl>
23925 </dd>
23926 </dl>
23927
23928 #### 🔌 Usage
23929
23930 <dl>
23931 <dd>
23932
23933 <dl>
23934 <dd>
23935
23936 ```python
23937 from auth0.management import Auth0
23938 from auth0.management.environment import Auth0Environment
23939
23940 client = Auth0(
23941 token="<token>",
23942 environment=Auth0Environment.DEFAULT,
23943 )
23944
23945 client.connections.directory_provisioning.synchronizations.create(
23946 id="id",
23947 )
23948
23949 ```
23950 </dd>
23951 </dl>
23952 </dd>
23953 </dl>
23954
23955 #### ⚙️ Parameters
23956
23957 <dl>
23958 <dd>
23959
23960 <dl>
23961 <dd>
23962
23963 **id:** `str` — The id of the connection to trigger synchronization for
23964
23965 </dd>
23966 </dl>
23967
23968 <dl>
23969 <dd>
23970
23971 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
23972
23973 </dd>
23974 </dl>
23975 </dd>
23976 </dl>
23977
23978
23979 </dd>
23980 </dl>
23981 </details>
23982
23983 ## Connections ScimConfiguration Tokens
23984 <details><summary><code>client.connections.scim_configuration.tokens.<a href="src/auth0.management/connections/scim_configuration/tokens/client.py">get</a>(...) -> GetScimTokensResponseContent</code></summary>
23985 <dl>
23986 <dd>
23987
23988 #### 📝 Description
23989
23990 <dl>
23991 <dd>
23992
23993 <dl>
23994 <dd>
23995
23996 Retrieves all scim tokens by its connection `id`.
23997 </dd>
23998 </dl>
23999 </dd>
24000 </dl>
24001
24002 #### 🔌 Usage
24003
24004 <dl>
24005 <dd>
24006
24007 <dl>
24008 <dd>
24009
24010 ```python
24011 from auth0.management import Auth0
24012 from auth0.management.environment import Auth0Environment
24013
24014 client = Auth0(
24015 token="<token>",
24016 environment=Auth0Environment.DEFAULT,
24017 )
24018
24019 client.connections.scim_configuration.tokens.get(
24020 id="id",
24021 )
24022
24023 ```
24024 </dd>
24025 </dl>
24026 </dd>
24027 </dl>
24028
24029 #### ⚙️ Parameters
24030
24031 <dl>
24032 <dd>
24033
24034 <dl>
24035 <dd>
24036
24037 **id:** `str` — The id of the connection to retrieve its SCIM configuration
24038
24039 </dd>
24040 </dl>
24041
24042 <dl>
24043 <dd>
24044
24045 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
24046
24047 </dd>
24048 </dl>
24049 </dd>
24050 </dl>
24051
24052
24053 </dd>
24054 </dl>
24055 </details>
24056
24057 <details><summary><code>client.connections.scim_configuration.tokens.<a href="src/auth0.management/connections/scim_configuration/tokens/client.py">create</a>(...) -> CreateScimTokenResponseContent</code></summary>
24058 <dl>
24059 <dd>
24060
24061 #### 📝 Description
24062
24063 <dl>
24064 <dd>
24065
24066 <dl>
24067 <dd>
24068
24069 Create a scim token for a scim client.
24070 </dd>
24071 </dl>
24072 </dd>
24073 </dl>
24074
24075 #### 🔌 Usage
24076
24077 <dl>
24078 <dd>
24079
24080 <dl>
24081 <dd>
24082
24083 ```python
24084 from auth0.management import Auth0
24085 from auth0.management.environment import Auth0Environment
24086
24087 client = Auth0(
24088 token="<token>",
24089 environment=Auth0Environment.DEFAULT,
24090 )
24091
24092 client.connections.scim_configuration.tokens.create(
24093 id="id",
24094 )
24095
24096 ```
24097 </dd>
24098 </dl>
24099 </dd>
24100 </dl>
24101
24102 #### ⚙️ Parameters
24103
24104 <dl>
24105 <dd>
24106
24107 <dl>
24108 <dd>
24109
24110 **id:** `str` — The id of the connection to create its SCIM token
24111
24112 </dd>
24113 </dl>
24114
24115 <dl>
24116 <dd>
24117
24118 **scopes:** `typing.Optional[typing.List[str]]` — The scopes of the scim token
24119
24120 </dd>
24121 </dl>
24122
24123 <dl>
24124 <dd>
24125
24126 **token_lifetime:** `typing.Optional[int]` — Lifetime of the token in seconds. Must be greater than 900
24127
24128 </dd>
24129 </dl>
24130
24131 <dl>
24132 <dd>
24133
24134 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
24135
24136 </dd>
24137 </dl>
24138 </dd>
24139 </dl>
24140
24141
24142 </dd>
24143 </dl>
24144 </details>
24145
24146 <details><summary><code>client.connections.scim_configuration.tokens.<a href="src/auth0.management/connections/scim_configuration/tokens/client.py">delete</a>(...)</code></summary>
24147 <dl>
24148 <dd>
24149
24150 #### 📝 Description
24151
24152 <dl>
24153 <dd>
24154
24155 <dl>
24156 <dd>
24157
24158 Deletes a scim token by its connection `id` and `tokenId`.
24159 </dd>
24160 </dl>
24161 </dd>
24162 </dl>
24163
24164 #### 🔌 Usage
24165
24166 <dl>
24167 <dd>
24168
24169 <dl>
24170 <dd>
24171
24172 ```python
24173 from auth0.management import Auth0
24174 from auth0.management.environment import Auth0Environment
24175
24176 client = Auth0(
24177 token="<token>",
24178 environment=Auth0Environment.DEFAULT,
24179 )
24180
24181 client.connections.scim_configuration.tokens.delete(
24182 id="id",
24183 token_id="tokenId",
24184 )
24185
24186 ```
24187 </dd>
24188 </dl>
24189 </dd>
24190 </dl>
24191
24192 #### ⚙️ Parameters
24193
24194 <dl>
24195 <dd>
24196
24197 <dl>
24198 <dd>
24199
24200 **id:** `str` — The connection id that owns the SCIM token to delete
24201
24202 </dd>
24203 </dl>
24204
24205 <dl>
24206 <dd>
24207
24208 **token_id:** `str` — The id of the scim token to delete
24209
24210 </dd>
24211 </dl>
24212
24213 <dl>
24214 <dd>
24215
24216 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
24217
24218 </dd>
24219 </dl>
24220 </dd>
24221 </dl>
24222
24223
24224 </dd>
24225 </dl>
24226 </details>
24227
24228 ## Emails Provider
24229 <details><summary><code>client.emails.provider.<a href="src/auth0.management/emails/provider/client.py">get</a>(...) -> GetEmailProviderResponseContent</code></summary>
24230 <dl>
24231 <dd>
24232
24233 #### 📝 Description
24234
24235 <dl>
24236 <dd>
24237
24238 <dl>
24239 <dd>
24240
24241 Retrieve details of the [email provider configuration](https://auth0.com/docs/customize/email/smtp-email-providers) in your tenant. A list of fields to include or exclude may also be specified.
24242 </dd>
24243 </dl>
24244 </dd>
24245 </dl>
24246
24247 #### 🔌 Usage
24248
24249 <dl>
24250 <dd>
24251
24252 <dl>
24253 <dd>
24254
24255 ```python
24256 from auth0.management import Auth0
24257 from auth0.management.environment import Auth0Environment
24258
24259 client = Auth0(
24260 token="<token>",
24261 environment=Auth0Environment.DEFAULT,
24262 )
24263
24264 client.emails.provider.get(
24265 fields="fields",
24266 include_fields=True,
24267 )
24268
24269 ```
24270 </dd>
24271 </dl>
24272 </dd>
24273 </dl>
24274
24275 #### ⚙️ Parameters
24276
24277 <dl>
24278 <dd>
24279
24280 <dl>
24281 <dd>
24282
24283 **fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (dependent upon include_fields) from the result. Leave empty to retrieve `name` and `enabled`. Additional fields available include `credentials`, `default_from_address`, and `settings`.
24284
24285 </dd>
24286 </dl>
24287
24288 <dl>
24289 <dd>
24290
24291 **include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
24292
24293 </dd>
24294 </dl>
24295
24296 <dl>
24297 <dd>
24298
24299 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
24300
24301 </dd>
24302 </dl>
24303 </dd>
24304 </dl>
24305
24306
24307 </dd>
24308 </dl>
24309 </details>
24310
24311 <details><summary><code>client.emails.provider.<a href="src/auth0.management/emails/provider/client.py">create</a>(...) -> CreateEmailProviderResponseContent</code></summary>
24312 <dl>
24313 <dd>
24314
24315 #### 📝 Description
24316
24317 <dl>
24318 <dd>
24319
24320 <dl>
24321 <dd>
24322
24323 Create an [email provider](https://auth0.com/docs/email/providers). The `credentials` object
24324 requires different properties depending on the email provider (which is specified using the `name` property):
24325
24326 - `mandrill` requires `api_key`
24327 - `sendgrid` requires `api_key`
24328 - `sparkpost` requires `api_key`. Optionally, set `region` to `eu` to use
24329 the SparkPost service hosted in Western Europe; set to `null` to use the SparkPost service hosted in
24330 North America. `eu` or `null` are the only valid values for `region`.
24331 - `mailgun` requires `api_key` and `domain`. Optionally, set `region` to
24332 `eu` to use the Mailgun service hosted in Europe; set to `null` otherwise. `eu` or
24333 `null` are the only valid values for `region`.
24334 - `ses` requires `accessKeyId`, `secretAccessKey`, and `region`
24335 - `smtp` requires `smtp_host`, `smtp_port`, `smtp_user`, and
24336 `smtp_pass`
24337
24338 Depending on the type of provider it is possible to specify `settings` object with different configuration
24339 options, which will be used when sending an email:
24340
24341 - `smtp` provider, `settings` may contain `headers` object.
24342 - When using AWS SES SMTP host, you may provide a name of configuration set in
24343 `X-SES-Configuration-Set` header. Value must be a string.
24344 - When using Sparkpost host, you may provide value for
24345 `X-MSYS_API` header. Value must be an object.
24346 - For `ses` provider, `settings` may contain `message` object, where you can provide
24347 a name of configuration set in `configuration_set_name` property. Value must be a string.
24348 </dd>
24349 </dl>
24350 </dd>
24351 </dl>
24352
24353 #### 🔌 Usage
24354
24355 <dl>
24356 <dd>
24357
24358 <dl>
24359 <dd>
24360
24361 ```python
24362 from auth0.management import Auth0, EmailProviderCredentialsSchemaZero
24363 from auth0.management.environment import Auth0Environment
24364
24365 client = Auth0(
24366 token="<token>",
24367 environment=Auth0Environment.DEFAULT,
24368 )
24369
24370 client.emails.provider.create(
24371 name="mailgun",
24372 credentials=EmailProviderCredentialsSchemaZero(
24373 api_key="api_key",
24374 ),
24375 )
24376
24377 ```
24378 </dd>
24379 </dl>
24380 </dd>
24381 </dl>
24382
24383 #### ⚙️ Parameters
24384
24385 <dl>
24386 <dd>
24387
24388 <dl>
24389 <dd>
24390
24391 **name:** `EmailProviderNameEnum`
24392
24393 </dd>
24394 </dl>
24395
24396 <dl>
24397 <dd>
24398
24399 **credentials:** `EmailProviderCredentialsSchema`
24400
24401 </dd>
24402 </dl>
24403
24404 <dl>
24405 <dd>
24406
24407 **enabled:** `typing.Optional[bool]` — Whether the provider is enabled (true) or disabled (false).
24408
24409 </dd>
24410 </dl>
24411
24412 <dl>
24413 <dd>
24414
24415 **default_from_address:** `typing.Optional[str]` — Email address to use as "from" when no other address specified.
24416
24417 </dd>
24418 </dl>
24419
24420 <dl>
24421 <dd>
24422
24423 **settings:** `typing.Optional[EmailSpecificProviderSettingsWithAdditionalProperties]`
24424
24425 </dd>
24426 </dl>
24427
24428 <dl>
24429 <dd>
24430
24431 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
24432
24433 </dd>
24434 </dl>
24435 </dd>
24436 </dl>
24437
24438
24439 </dd>
24440 </dl>
24441 </details>
24442
24443 <details><summary><code>client.emails.provider.<a href="src/auth0.management/emails/provider/client.py">delete</a>()</code></summary>
24444 <dl>
24445 <dd>
24446
24447 #### 📝 Description
24448
24449 <dl>
24450 <dd>
24451
24452 <dl>
24453 <dd>
24454
24455 Delete the email provider.
24456 </dd>
24457 </dl>
24458 </dd>
24459 </dl>
24460
24461 #### 🔌 Usage
24462
24463 <dl>
24464 <dd>
24465
24466 <dl>
24467 <dd>
24468
24469 ```python
24470 from auth0.management import Auth0
24471 from auth0.management.environment import Auth0Environment
24472
24473 client = Auth0(
24474 token="<token>",
24475 environment=Auth0Environment.DEFAULT,
24476 )
24477
24478 client.emails.provider.delete()
24479
24480 ```
24481 </dd>
24482 </dl>
24483 </dd>
24484 </dl>
24485
24486 #### ⚙️ Parameters
24487
24488 <dl>
24489 <dd>
24490
24491 <dl>
24492 <dd>
24493
24494 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
24495
24496 </dd>
24497 </dl>
24498 </dd>
24499 </dl>
24500
24501
24502 </dd>
24503 </dl>
24504 </details>
24505
24506 <details><summary><code>client.emails.provider.<a href="src/auth0.management/emails/provider/client.py">update</a>(...) -> UpdateEmailProviderResponseContent</code></summary>
24507 <dl>
24508 <dd>
24509
24510 #### 📝 Description
24511
24512 <dl>
24513 <dd>
24514
24515 <dl>
24516 <dd>
24517
24518 Update an [email provider](https://auth0.com/docs/email/providers). The `credentials` object
24519 requires different properties depending on the email provider (which is specified using the `name` property):
24520
24521 - `mandrill` requires `api_key`
24522 - `sendgrid` requires `api_key`
24523 - `sparkpost` requires `api_key`. Optionally, set `region` to `eu` to use
24524 the SparkPost service hosted in Western Europe; set to `null` to use the SparkPost service hosted in
24525 North America. `eu` or `null` are the only valid values for `region`.
24526 - `mailgun` requires `api_key` and `domain`. Optionally, set `region` to
24527 `eu` to use the Mailgun service hosted in Europe; set to `null` otherwise. `eu` or
24528 `null` are the only valid values for `region`.
24529 - `ses` requires `accessKeyId`, `secretAccessKey`, and `region`
24530 - `smtp` requires `smtp_host`, `smtp_port`, `smtp_user`, and
24531 `smtp_pass`
24532
24533 Depending on the type of provider it is possible to specify `settings` object with different configuration
24534 options, which will be used when sending an email:
24535
24536 - `smtp` provider, `settings` may contain `headers` object.
24537 - When using AWS SES SMTP host, you may provide a name of configuration set in
24538 `X-SES-Configuration-Set` header. Value must be a string.
24539 - When using Sparkpost host, you may provide value for
24540 `X-MSYS_API` header. Value must be an object.
24541
24542 For `ses` provider, `settings` may contain `message` object, where you can provide
24543 a name of configuration set in `configuration_set_name` property. Value must be a string.
24544 </dd>
24545 </dl>
24546 </dd>
24547 </dl>
24548
24549 #### 🔌 Usage
24550
24551 <dl>
24552 <dd>
24553
24554 <dl>
24555 <dd>
24556
24557 ```python
24558 from auth0.management import Auth0
24559 from auth0.management.environment import Auth0Environment
24560
24561 client = Auth0(
24562 token="<token>",
24563 environment=Auth0Environment.DEFAULT,
24564 )
24565
24566 client.emails.provider.update()
24567
24568 ```
24569 </dd>
24570 </dl>
24571 </dd>
24572 </dl>
24573
24574 #### ⚙️ Parameters
24575
24576 <dl>
24577 <dd>
24578
24579 <dl>
24580 <dd>
24581
24582 **name:** `typing.Optional[EmailProviderNameEnum]`
24583
24584 </dd>
24585 </dl>
24586
24587 <dl>
24588 <dd>
24589
24590 **enabled:** `typing.Optional[bool]` — Whether the provider is enabled (true) or disabled (false).
24591
24592 </dd>
24593 </dl>
24594
24595 <dl>
24596 <dd>
24597
24598 **default_from_address:** `typing.Optional[str]` — Email address to use as "from" when no other address specified.
24599
24600 </dd>
24601 </dl>
24602
24603 <dl>
24604 <dd>
24605
24606 **credentials:** `typing.Optional[EmailProviderCredentialsSchema]`
24607
24608 </dd>
24609 </dl>
24610
24611 <dl>
24612 <dd>
24613
24614 **settings:** `typing.Optional[EmailSpecificProviderSettingsWithAdditionalProperties]`
24615
24616 </dd>
24617 </dl>
24618
24619 <dl>
24620 <dd>
24621
24622 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
24623
24624 </dd>
24625 </dl>
24626 </dd>
24627 </dl>
24628
24629
24630 </dd>
24631 </dl>
24632 </details>
24633
24634 ## EventStreams Deliveries
24635 <details><summary><code>client.event_streams.deliveries.<a href="src/auth0.management/event_streams/deliveries/client.py">list</a>(...) -> typing.List[EventStreamDelivery]</code></summary>
24636 <dl>
24637 <dd>
24638
24639 #### 🔌 Usage
24640
24641 <dl>
24642 <dd>
24643
24644 <dl>
24645 <dd>
24646
24647 ```python
24648 from auth0.management import Auth0
24649 from auth0.management.environment import Auth0Environment
24650
24651 client = Auth0(
24652 token="<token>",
24653 environment=Auth0Environment.DEFAULT,
24654 )
24655
24656 client.event_streams.deliveries.list(
24657 id="id",
24658 statuses="statuses",
24659 event_types="event_types",
24660 date_from="date_from",
24661 date_to="date_to",
24662 from_="from",
24663 take=1,
24664 )
24665
24666 ```
24667 </dd>
24668 </dl>
24669 </dd>
24670 </dl>
24671
24672 #### ⚙️ Parameters
24673
24674 <dl>
24675 <dd>
24676
24677 <dl>
24678 <dd>
24679
24680 **id:** `str` — Unique identifier for the event stream.
24681
24682 </dd>
24683 </dl>
24684
24685 <dl>
24686 <dd>
24687
24688 **statuses:** `typing.Optional[str]` — Comma-separated list of statuses by which to filter
24689
24690 </dd>
24691 </dl>
24692
24693 <dl>
24694 <dd>
24695
24696 **event_types:** `typing.Optional[str]` — Comma-separated list of event types by which to filter
24697
24698 </dd>
24699 </dl>
24700
24701 <dl>
24702 <dd>
24703
24704 **date_from:** `typing.Optional[str]` — An RFC-3339 date-time for redelivery start, inclusive. Does not allow sub-second precision.
24705
24706 </dd>
24707 </dl>
24708
24709 <dl>
24710 <dd>
24711
24712 **date_to:** `typing.Optional[str]` — An RFC-3339 date-time for redelivery end, exclusive. Does not allow sub-second precision.
24713
24714 </dd>
24715 </dl>
24716
24717 <dl>
24718 <dd>
24719
24720 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
24721
24722 </dd>
24723 </dl>
24724
24725 <dl>
24726 <dd>
24727
24728 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
24729
24730 </dd>
24731 </dl>
24732
24733 <dl>
24734 <dd>
24735
24736 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
24737
24738 </dd>
24739 </dl>
24740 </dd>
24741 </dl>
24742
24743
24744 </dd>
24745 </dl>
24746 </details>
24747
24748 <details><summary><code>client.event_streams.deliveries.<a href="src/auth0.management/event_streams/deliveries/client.py">get_history</a>(...) -> GetEventStreamDeliveryHistoryResponseContent</code></summary>
24749 <dl>
24750 <dd>
24751
24752 #### 🔌 Usage
24753
24754 <dl>
24755 <dd>
24756
24757 <dl>
24758 <dd>
24759
24760 ```python
24761 from auth0.management import Auth0
24762 from auth0.management.environment import Auth0Environment
24763
24764 client = Auth0(
24765 token="<token>",
24766 environment=Auth0Environment.DEFAULT,
24767 )
24768
24769 client.event_streams.deliveries.get_history(
24770 id="id",
24771 event_id="event_id",
24772 )
24773
24774 ```
24775 </dd>
24776 </dl>
24777 </dd>
24778 </dl>
24779
24780 #### ⚙️ Parameters
24781
24782 <dl>
24783 <dd>
24784
24785 <dl>
24786 <dd>
24787
24788 **id:** `str` — Unique identifier for the event stream.
24789
24790 </dd>
24791 </dl>
24792
24793 <dl>
24794 <dd>
24795
24796 **event_id:** `str` — Unique identifier for the event
24797
24798 </dd>
24799 </dl>
24800
24801 <dl>
24802 <dd>
24803
24804 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
24805
24806 </dd>
24807 </dl>
24808 </dd>
24809 </dl>
24810
24811
24812 </dd>
24813 </dl>
24814 </details>
24815
24816 ## EventStreams Redeliveries
24817 <details><summary><code>client.event_streams.redeliveries.<a href="src/auth0.management/event_streams/redeliveries/client.py">create</a>(...) -> CreateEventStreamRedeliveryResponseContent</code></summary>
24818 <dl>
24819 <dd>
24820
24821 #### 🔌 Usage
24822
24823 <dl>
24824 <dd>
24825
24826 <dl>
24827 <dd>
24828
24829 ```python
24830 from auth0.management import Auth0
24831 from auth0.management.environment import Auth0Environment
24832
24833 client = Auth0(
24834 token="<token>",
24835 environment=Auth0Environment.DEFAULT,
24836 )
24837
24838 client.event_streams.redeliveries.create(
24839 id="id",
24840 )
24841
24842 ```
24843 </dd>
24844 </dl>
24845 </dd>
24846 </dl>
24847
24848 #### ⚙️ Parameters
24849
24850 <dl>
24851 <dd>
24852
24853 <dl>
24854 <dd>
24855
24856 **id:** `str` — Unique identifier for the event stream.
24857
24858 </dd>
24859 </dl>
24860
24861 <dl>
24862 <dd>
24863
24864 **date_from:** `typing.Optional[datetime.datetime]` — An RFC-3339 date-time for redelivery start, inclusive. Does not allow sub-second precision.
24865
24866 </dd>
24867 </dl>
24868
24869 <dl>
24870 <dd>
24871
24872 **date_to:** `typing.Optional[datetime.datetime]` — An RFC-3339 date-time for redelivery end, exclusive. Does not allow sub-second precision.
24873
24874 </dd>
24875 </dl>
24876
24877 <dl>
24878 <dd>
24879
24880 **statuses:** `typing.Optional[typing.List[EventStreamDeliveryStatusEnum]]` — Filter by status
24881
24882 </dd>
24883 </dl>
24884
24885 <dl>
24886 <dd>
24887
24888 **event_types:** `typing.Optional[typing.List[EventStreamEventTypeEnum]]` — Filter by event type
24889
24890 </dd>
24891 </dl>
24892
24893 <dl>
24894 <dd>
24895
24896 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
24897
24898 </dd>
24899 </dl>
24900 </dd>
24901 </dl>
24902
24903
24904 </dd>
24905 </dl>
24906 </details>
24907
24908 <details><summary><code>client.event_streams.redeliveries.<a href="src/auth0.management/event_streams/redeliveries/client.py">create_by_id</a>(...)</code></summary>
24909 <dl>
24910 <dd>
24911
24912 #### 🔌 Usage
24913
24914 <dl>
24915 <dd>
24916
24917 <dl>
24918 <dd>
24919
24920 ```python
24921 from auth0.management import Auth0
24922 from auth0.management.environment import Auth0Environment
24923
24924 client = Auth0(
24925 token="<token>",
24926 environment=Auth0Environment.DEFAULT,
24927 )
24928
24929 client.event_streams.redeliveries.create_by_id(
24930 id="id",
24931 event_id="event_id",
24932 )
24933
24934 ```
24935 </dd>
24936 </dl>
24937 </dd>
24938 </dl>
24939
24940 #### ⚙️ Parameters
24941
24942 <dl>
24943 <dd>
24944
24945 <dl>
24946 <dd>
24947
24948 **id:** `str` — Unique identifier for the event stream.
24949
24950 </dd>
24951 </dl>
24952
24953 <dl>
24954 <dd>
24955
24956 **event_id:** `str` — Unique identifier for the event
24957
24958 </dd>
24959 </dl>
24960
24961 <dl>
24962 <dd>
24963
24964 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
24965
24966 </dd>
24967 </dl>
24968 </dd>
24969 </dl>
24970
24971
24972 </dd>
24973 </dl>
24974 </details>
24975
24976 ## Flows Executions
24977 <details><summary><code>client.flows.executions.<a href="src/auth0.management/flows/executions/client.py">list</a>(...) -> ListFlowExecutionsPaginatedResponseContent</code></summary>
24978 <dl>
24979 <dd>
24980
24981 #### 🔌 Usage
24982
24983 <dl>
24984 <dd>
24985
24986 <dl>
24987 <dd>
24988
24989 ```python
24990 from auth0.management import Auth0
24991 from auth0.management.environment import Auth0Environment
24992
24993 client = Auth0(
24994 token="<token>",
24995 environment=Auth0Environment.DEFAULT,
24996 )
24997
24998 client.flows.executions.list(
24999 flow_id="flow_id",
25000 from_="from",
25001 take=1,
25002 )
25003
25004 ```
25005 </dd>
25006 </dl>
25007 </dd>
25008 </dl>
25009
25010 #### ⚙️ Parameters
25011
25012 <dl>
25013 <dd>
25014
25015 <dl>
25016 <dd>
25017
25018 **flow_id:** `str` — Flow id
25019
25020 </dd>
25021 </dl>
25022
25023 <dl>
25024 <dd>
25025
25026 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
25027
25028 </dd>
25029 </dl>
25030
25031 <dl>
25032 <dd>
25033
25034 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
25035
25036 </dd>
25037 </dl>
25038
25039 <dl>
25040 <dd>
25041
25042 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
25043
25044 </dd>
25045 </dl>
25046 </dd>
25047 </dl>
25048
25049
25050 </dd>
25051 </dl>
25052 </details>
25053
25054 <details><summary><code>client.flows.executions.<a href="src/auth0.management/flows/executions/client.py">get</a>(...) -> GetFlowExecutionResponseContent</code></summary>
25055 <dl>
25056 <dd>
25057
25058 #### 🔌 Usage
25059
25060 <dl>
25061 <dd>
25062
25063 <dl>
25064 <dd>
25065
25066 ```python
25067 from auth0.management import Auth0
25068 from auth0.management.environment import Auth0Environment
25069
25070 client = Auth0(
25071 token="<token>",
25072 environment=Auth0Environment.DEFAULT,
25073 )
25074
25075 client.flows.executions.get(
25076 flow_id="flow_id",
25077 execution_id="execution_id",
25078 hydrate=[
25079 "debug"
25080 ],
25081 )
25082
25083 ```
25084 </dd>
25085 </dl>
25086 </dd>
25087 </dl>
25088
25089 #### ⚙️ Parameters
25090
25091 <dl>
25092 <dd>
25093
25094 <dl>
25095 <dd>
25096
25097 **flow_id:** `str` — Flow id
25098
25099 </dd>
25100 </dl>
25101
25102 <dl>
25103 <dd>
25104
25105 **execution_id:** `str` — Flow execution id
25106
25107 </dd>
25108 </dl>
25109
25110 <dl>
25111 <dd>
25112
25113 **hydrate:** `typing.Optional[typing.Union[typing.Optional[GetFlowExecutionRequestParametersHydrateEnum], typing.Sequence[typing.Optional[GetFlowExecutionRequestParametersHydrateEnum]]]]` — Hydration param
25114
25115 </dd>
25116 </dl>
25117
25118 <dl>
25119 <dd>
25120
25121 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
25122
25123 </dd>
25124 </dl>
25125 </dd>
25126 </dl>
25127
25128
25129 </dd>
25130 </dl>
25131 </details>
25132
25133 <details><summary><code>client.flows.executions.<a href="src/auth0.management/flows/executions/client.py">delete</a>(...)</code></summary>
25134 <dl>
25135 <dd>
25136
25137 #### 🔌 Usage
25138
25139 <dl>
25140 <dd>
25141
25142 <dl>
25143 <dd>
25144
25145 ```python
25146 from auth0.management import Auth0
25147 from auth0.management.environment import Auth0Environment
25148
25149 client = Auth0(
25150 token="<token>",
25151 environment=Auth0Environment.DEFAULT,
25152 )
25153
25154 client.flows.executions.delete(
25155 flow_id="flow_id",
25156 execution_id="execution_id",
25157 )
25158
25159 ```
25160 </dd>
25161 </dl>
25162 </dd>
25163 </dl>
25164
25165 #### ⚙️ Parameters
25166
25167 <dl>
25168 <dd>
25169
25170 <dl>
25171 <dd>
25172
25173 **flow_id:** `str` — Flows id
25174
25175 </dd>
25176 </dl>
25177
25178 <dl>
25179 <dd>
25180
25181 **execution_id:** `str` — Flow execution identifier
25182
25183 </dd>
25184 </dl>
25185
25186 <dl>
25187 <dd>
25188
25189 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
25190
25191 </dd>
25192 </dl>
25193 </dd>
25194 </dl>
25195
25196
25197 </dd>
25198 </dl>
25199 </details>
25200
25201 ## Flows Vault Connections
25202 <details><summary><code>client.flows.vault.connections.<a href="src/auth0.management/flows/vault/connections/client.py">list</a>(...) -> ListFlowsVaultConnectionsOffsetPaginatedResponseContent</code></summary>
25203 <dl>
25204 <dd>
25205
25206 #### 🔌 Usage
25207
25208 <dl>
25209 <dd>
25210
25211 <dl>
25212 <dd>
25213
25214 ```python
25215 from auth0.management import Auth0
25216 from auth0.management.environment import Auth0Environment
25217
25218 client = Auth0(
25219 token="<token>",
25220 environment=Auth0Environment.DEFAULT,
25221 )
25222
25223 client.flows.vault.connections.list(
25224 page=1,
25225 per_page=1,
25226 include_totals=True,
25227 )
25228
25229 ```
25230 </dd>
25231 </dl>
25232 </dd>
25233 </dl>
25234
25235 #### ⚙️ Parameters
25236
25237 <dl>
25238 <dd>
25239
25240 <dl>
25241 <dd>
25242
25243 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
25244
25245 </dd>
25246 </dl>
25247
25248 <dl>
25249 <dd>
25250
25251 **per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
25252
25253 </dd>
25254 </dl>
25255
25256 <dl>
25257 <dd>
25258
25259 **include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
25260
25261 </dd>
25262 </dl>
25263
25264 <dl>
25265 <dd>
25266
25267 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
25268
25269 </dd>
25270 </dl>
25271 </dd>
25272 </dl>
25273
25274
25275 </dd>
25276 </dl>
25277 </details>
25278
25279 <details><summary><code>client.flows.vault.connections.<a href="src/auth0.management/flows/vault/connections/client.py">create</a>(...) -> CreateFlowsVaultConnectionResponseContent</code></summary>
25280 <dl>
25281 <dd>
25282
25283 #### 🔌 Usage
25284
25285 <dl>
25286 <dd>
25287
25288 <dl>
25289 <dd>
25290
25291 ```python
25292 from auth0.management import Auth0, CreateFlowsVaultConnectionActivecampaignApiKey, FlowsVaultConnectioSetupApiKeyWithBaseUrl
25293 from auth0.management.environment import Auth0Environment
25294
25295 client = Auth0(
25296 token="<token>",
25297 environment=Auth0Environment.DEFAULT,
25298 )
25299
25300 client.flows.vault.connections.create(
25301 request=CreateFlowsVaultConnectionActivecampaignApiKey(
25302 name="name",
25303 app_id="ACTIVECAMPAIGN",
25304 setup=FlowsVaultConnectioSetupApiKeyWithBaseUrl(
25305 type="API_KEY",
25306 api_key="api_key",
25307 base_url="base_url",
25308 ),
25309 ),
25310 )
25311
25312 ```
25313 </dd>
25314 </dl>
25315 </dd>
25316 </dl>
25317
25318 #### ⚙️ Parameters
25319
25320 <dl>
25321 <dd>
25322
25323 <dl>
25324 <dd>
25325
25326 **request:** `CreateFlowsVaultConnectionRequestContent`
25327
25328 </dd>
25329 </dl>
25330
25331 <dl>
25332 <dd>
25333
25334 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
25335
25336 </dd>
25337 </dl>
25338 </dd>
25339 </dl>
25340
25341
25342 </dd>
25343 </dl>
25344 </details>
25345
25346 <details><summary><code>client.flows.vault.connections.<a href="src/auth0.management/flows/vault/connections/client.py">get</a>(...) -> GetFlowsVaultConnectionResponseContent</code></summary>
25347 <dl>
25348 <dd>
25349
25350 #### 🔌 Usage
25351
25352 <dl>
25353 <dd>
25354
25355 <dl>
25356 <dd>
25357
25358 ```python
25359 from auth0.management import Auth0
25360 from auth0.management.environment import Auth0Environment
25361
25362 client = Auth0(
25363 token="<token>",
25364 environment=Auth0Environment.DEFAULT,
25365 )
25366
25367 client.flows.vault.connections.get(
25368 id="id",
25369 )
25370
25371 ```
25372 </dd>
25373 </dl>
25374 </dd>
25375 </dl>
25376
25377 #### ⚙️ Parameters
25378
25379 <dl>
25380 <dd>
25381
25382 <dl>
25383 <dd>
25384
25385 **id:** `str` — Flows Vault connection ID
25386
25387 </dd>
25388 </dl>
25389
25390 <dl>
25391 <dd>
25392
25393 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
25394
25395 </dd>
25396 </dl>
25397 </dd>
25398 </dl>
25399
25400
25401 </dd>
25402 </dl>
25403 </details>
25404
25405 <details><summary><code>client.flows.vault.connections.<a href="src/auth0.management/flows/vault/connections/client.py">delete</a>(...)</code></summary>
25406 <dl>
25407 <dd>
25408
25409 #### 🔌 Usage
25410
25411 <dl>
25412 <dd>
25413
25414 <dl>
25415 <dd>
25416
25417 ```python
25418 from auth0.management import Auth0
25419 from auth0.management.environment import Auth0Environment
25420
25421 client = Auth0(
25422 token="<token>",
25423 environment=Auth0Environment.DEFAULT,
25424 )
25425
25426 client.flows.vault.connections.delete(
25427 id="id",
25428 )
25429
25430 ```
25431 </dd>
25432 </dl>
25433 </dd>
25434 </dl>
25435
25436 #### ⚙️ Parameters
25437
25438 <dl>
25439 <dd>
25440
25441 <dl>
25442 <dd>
25443
25444 **id:** `str` — Vault connection id
25445
25446 </dd>
25447 </dl>
25448
25449 <dl>
25450 <dd>
25451
25452 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
25453
25454 </dd>
25455 </dl>
25456 </dd>
25457 </dl>
25458
25459
25460 </dd>
25461 </dl>
25462 </details>
25463
25464 <details><summary><code>client.flows.vault.connections.<a href="src/auth0.management/flows/vault/connections/client.py">update</a>(...) -> UpdateFlowsVaultConnectionResponseContent</code></summary>
25465 <dl>
25466 <dd>
25467
25468 #### 🔌 Usage
25469
25470 <dl>
25471 <dd>
25472
25473 <dl>
25474 <dd>
25475
25476 ```python
25477 from auth0.management import Auth0
25478 from auth0.management.environment import Auth0Environment
25479
25480 client = Auth0(
25481 token="<token>",
25482 environment=Auth0Environment.DEFAULT,
25483 )
25484
25485 client.flows.vault.connections.update(
25486 id="id",
25487 )
25488
25489 ```
25490 </dd>
25491 </dl>
25492 </dd>
25493 </dl>
25494
25495 #### ⚙️ Parameters
25496
25497 <dl>
25498 <dd>
25499
25500 <dl>
25501 <dd>
25502
25503 **id:** `str` — Flows Vault connection ID
25504
25505 </dd>
25506 </dl>
25507
25508 <dl>
25509 <dd>
25510
25511 **name:** `typing.Optional[str]` — Flows Vault Connection name.
25512
25513 </dd>
25514 </dl>
25515
25516 <dl>
25517 <dd>
25518
25519 **setup:** `typing.Optional[UpdateFlowsVaultConnectionSetup]`
25520
25521 </dd>
25522 </dl>
25523
25524 <dl>
25525 <dd>
25526
25527 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
25528
25529 </dd>
25530 </dl>
25531 </dd>
25532 </dl>
25533
25534
25535 </dd>
25536 </dl>
25537 </details>
25538
25539 ## Groups Members
25540 <details><summary><code>client.groups.members.<a href="src/auth0.management/groups/members/client.py">get</a>(...) -> GetGroupMembersResponseContent</code></summary>
25541 <dl>
25542 <dd>
25543
25544 #### 📝 Description
25545
25546 <dl>
25547 <dd>
25548
25549 <dl>
25550 <dd>
25551
25552 List all users that are a member of this group.
25553 </dd>
25554 </dl>
25555 </dd>
25556 </dl>
25557
25558 #### 🔌 Usage
25559
25560 <dl>
25561 <dd>
25562
25563 <dl>
25564 <dd>
25565
25566 ```python
25567 from auth0.management import Auth0
25568 from auth0.management.environment import Auth0Environment
25569
25570 client = Auth0(
25571 token="<token>",
25572 environment=Auth0Environment.DEFAULT,
25573 )
25574
25575 client.groups.members.get(
25576 id="id",
25577 fields="fields",
25578 include_fields=True,
25579 from_="from",
25580 take=1,
25581 )
25582
25583 ```
25584 </dd>
25585 </dl>
25586 </dd>
25587 </dl>
25588
25589 #### ⚙️ Parameters
25590
25591 <dl>
25592 <dd>
25593
25594 <dl>
25595 <dd>
25596
25597 **id:** `str` — Unique identifier for the group (service-generated).
25598
25599 </dd>
25600 </dl>
25601
25602 <dl>
25603 <dd>
25604
25605 **fields:** `typing.Optional[str]` — A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields
25606
25607 </dd>
25608 </dl>
25609
25610 <dl>
25611 <dd>
25612
25613 **include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
25614
25615 </dd>
25616 </dl>
25617
25618 <dl>
25619 <dd>
25620
25621 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
25622
25623 </dd>
25624 </dl>
25625
25626 <dl>
25627 <dd>
25628
25629 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
25630
25631 </dd>
25632 </dl>
25633
25634 <dl>
25635 <dd>
25636
25637 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
25638
25639 </dd>
25640 </dl>
25641 </dd>
25642 </dl>
25643
25644
25645 </dd>
25646 </dl>
25647 </details>
25648
25649 ## Groups Roles
25650 <details><summary><code>client.groups.roles.<a href="src/auth0.management/groups/roles/client.py">list</a>(...) -> ListGroupRolesResponseContent</code></summary>
25651 <dl>
25652 <dd>
25653
25654 #### 📝 Description
25655
25656 <dl>
25657 <dd>
25658
25659 <dl>
25660 <dd>
25661
25662 Lists the [roles](https://auth0.com/docs/manage-users/access-control/rbac) assigned to a group.
25663 </dd>
25664 </dl>
25665 </dd>
25666 </dl>
25667
25668 #### 🔌 Usage
25669
25670 <dl>
25671 <dd>
25672
25673 <dl>
25674 <dd>
25675
25676 ```python
25677 from auth0.management import Auth0
25678 from auth0.management.environment import Auth0Environment
25679
25680 client = Auth0(
25681 token="<token>",
25682 environment=Auth0Environment.DEFAULT,
25683 )
25684
25685 client.groups.roles.list(
25686 id="id",
25687 from_="from",
25688 take=1,
25689 )
25690
25691 ```
25692 </dd>
25693 </dl>
25694 </dd>
25695 </dl>
25696
25697 #### ⚙️ Parameters
25698
25699 <dl>
25700 <dd>
25701
25702 <dl>
25703 <dd>
25704
25705 **id:** `str` — Unique identifier for the group (service-generated).
25706
25707 </dd>
25708 </dl>
25709
25710 <dl>
25711 <dd>
25712
25713 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
25714
25715 </dd>
25716 </dl>
25717
25718 <dl>
25719 <dd>
25720
25721 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
25722
25723 </dd>
25724 </dl>
25725
25726 <dl>
25727 <dd>
25728
25729 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
25730
25731 </dd>
25732 </dl>
25733 </dd>
25734 </dl>
25735
25736
25737 </dd>
25738 </dl>
25739 </details>
25740
25741 <details><summary><code>client.groups.roles.<a href="src/auth0.management/groups/roles/client.py">create</a>(...)</code></summary>
25742 <dl>
25743 <dd>
25744
25745 #### 📝 Description
25746
25747 <dl>
25748 <dd>
25749
25750 <dl>
25751 <dd>
25752
25753 Assign one or more [roles](https://auth0.com/docs/manage-users/access-control/rbac) to a specified group.
25754 </dd>
25755 </dl>
25756 </dd>
25757 </dl>
25758
25759 #### 🔌 Usage
25760
25761 <dl>
25762 <dd>
25763
25764 <dl>
25765 <dd>
25766
25767 ```python
25768 from auth0.management import Auth0
25769 from auth0.management.environment import Auth0Environment
25770
25771 client = Auth0(
25772 token="<token>",
25773 environment=Auth0Environment.DEFAULT,
25774 )
25775
25776 client.groups.roles.create(
25777 id="id",
25778 roles=[
25779 "roles"
25780 ],
25781 )
25782
25783 ```
25784 </dd>
25785 </dl>
25786 </dd>
25787 </dl>
25788
25789 #### ⚙️ Parameters
25790
25791 <dl>
25792 <dd>
25793
25794 <dl>
25795 <dd>
25796
25797 **id:** `str` — Unique identifier for the group (service-generated).
25798
25799 </dd>
25800 </dl>
25801
25802 <dl>
25803 <dd>
25804
25805 **roles:** `typing.List[str]` — Array of role IDs to assign to the group.
25806
25807 </dd>
25808 </dl>
25809
25810 <dl>
25811 <dd>
25812
25813 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
25814
25815 </dd>
25816 </dl>
25817 </dd>
25818 </dl>
25819
25820
25821 </dd>
25822 </dl>
25823 </details>
25824
25825 <details><summary><code>client.groups.roles.<a href="src/auth0.management/groups/roles/client.py">delete</a>(...)</code></summary>
25826 <dl>
25827 <dd>
25828
25829 #### 📝 Description
25830
25831 <dl>
25832 <dd>
25833
25834 <dl>
25835 <dd>
25836
25837 Unassign one or more [roles](https://auth0.com/docs/manage-users/access-control/rbac) from a specified group.
25838 </dd>
25839 </dl>
25840 </dd>
25841 </dl>
25842
25843 #### 🔌 Usage
25844
25845 <dl>
25846 <dd>
25847
25848 <dl>
25849 <dd>
25850
25851 ```python
25852 from auth0.management import Auth0
25853 from auth0.management.environment import Auth0Environment
25854
25855 client = Auth0(
25856 token="<token>",
25857 environment=Auth0Environment.DEFAULT,
25858 )
25859
25860 client.groups.roles.delete(
25861 id="id",
25862 roles=[
25863 "roles"
25864 ],
25865 )
25866
25867 ```
25868 </dd>
25869 </dl>
25870 </dd>
25871 </dl>
25872
25873 #### ⚙️ Parameters
25874
25875 <dl>
25876 <dd>
25877
25878 <dl>
25879 <dd>
25880
25881 **id:** `str` — Unique identifier for the group (service-generated).
25882
25883 </dd>
25884 </dl>
25885
25886 <dl>
25887 <dd>
25888
25889 **roles:** `typing.List[str]` — Array of role IDs to remove from the group.
25890
25891 </dd>
25892 </dl>
25893
25894 <dl>
25895 <dd>
25896
25897 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
25898
25899 </dd>
25900 </dl>
25901 </dd>
25902 </dl>
25903
25904
25905 </dd>
25906 </dl>
25907 </details>
25908
25909 ## Guardian Enrollments
25910 <details><summary><code>client.guardian.enrollments.<a href="src/auth0.management/guardian/enrollments/client.py">create_ticket</a>(...) -> CreateGuardianEnrollmentTicketResponseContent</code></summary>
25911 <dl>
25912 <dd>
25913
25914 #### 📝 Description
25915
25916 <dl>
25917 <dd>
25918
25919 <dl>
25920 <dd>
25921
25922 Create a [multi-factor authentication (MFA) enrollment ticket](https://auth0.com/docs/secure/multi-factor-authentication/auth0-guardian/create-custom-enrollment-tickets), and optionally send an email with the created ticket to a given user. Enrollment tickets can specify which factor users must enroll with or allow existing MFA users to enroll in additional factors.
25923 </dd>
25924 </dl>
25925 </dd>
25926 </dl>
25927
25928 #### 🔌 Usage
25929
25930 <dl>
25931 <dd>
25932
25933 <dl>
25934 <dd>
25935
25936 ```python
25937 from auth0.management import Auth0
25938 from auth0.management.environment import Auth0Environment
25939
25940 client = Auth0(
25941 token="<token>",
25942 environment=Auth0Environment.DEFAULT,
25943 )
25944
25945 client.guardian.enrollments.create_ticket(
25946 user_id="user_id",
25947 )
25948
25949 ```
25950 </dd>
25951 </dl>
25952 </dd>
25953 </dl>
25954
25955 #### ⚙️ Parameters
25956
25957 <dl>
25958 <dd>
25959
25960 <dl>
25961 <dd>
25962
25963 **user_id:** `str` — user_id for the enrollment ticket
25964
25965 </dd>
25966 </dl>
25967
25968 <dl>
25969 <dd>
25970
25971 **email:** `typing.Optional[str]` — alternate email to which the enrollment email will be sent. Optional - by default, the email will be sent to the user's default address
25972
25973 </dd>
25974 </dl>
25975
25976 <dl>
25977 <dd>
25978
25979 **send_mail:** `typing.Optional[bool]` — Send an email to the user to start the enrollment
25980
25981 </dd>
25982 </dl>
25983
25984 <dl>
25985 <dd>
25986
25987 **email_locale:** `typing.Optional[str]` — Optional. Specify the locale of the enrollment email. Used with send_email.
25988
25989 </dd>
25990 </dl>
25991
25992 <dl>
25993 <dd>
25994
25995 **factor:** `typing.Optional[GuardianEnrollmentFactorEnum]`
25996
25997 </dd>
25998 </dl>
25999
26000 <dl>
26001 <dd>
26002
26003 **allow_multiple_enrollments:** `typing.Optional[bool]` — Optional. Allows a user who has previously enrolled in MFA to enroll with additional factors.<br />Note: Parameter can only be used with Universal Login; it cannot be used with Classic Login or custom MFA pages.
26004
26005 </dd>
26006 </dl>
26007
26008 <dl>
26009 <dd>
26010
26011 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
26012
26013 </dd>
26014 </dl>
26015 </dd>
26016 </dl>
26017
26018
26019 </dd>
26020 </dl>
26021 </details>
26022
26023 <details><summary><code>client.guardian.enrollments.<a href="src/auth0.management/guardian/enrollments/client.py">get</a>(...) -> GetGuardianEnrollmentResponseContent</code></summary>
26024 <dl>
26025 <dd>
26026
26027 #### 📝 Description
26028
26029 <dl>
26030 <dd>
26031
26032 <dl>
26033 <dd>
26034
26035 Retrieve details, such as status and type, for a specific multi-factor authentication enrollment registered to a user account.
26036 </dd>
26037 </dl>
26038 </dd>
26039 </dl>
26040
26041 #### 🔌 Usage
26042
26043 <dl>
26044 <dd>
26045
26046 <dl>
26047 <dd>
26048
26049 ```python
26050 from auth0.management import Auth0
26051 from auth0.management.environment import Auth0Environment
26052
26053 client = Auth0(
26054 token="<token>",
26055 environment=Auth0Environment.DEFAULT,
26056 )
26057
26058 client.guardian.enrollments.get(
26059 id="id",
26060 )
26061
26062 ```
26063 </dd>
26064 </dl>
26065 </dd>
26066 </dl>
26067
26068 #### ⚙️ Parameters
26069
26070 <dl>
26071 <dd>
26072
26073 <dl>
26074 <dd>
26075
26076 **id:** `str` — ID of the enrollment to be retrieve.
26077
26078 </dd>
26079 </dl>
26080
26081 <dl>
26082 <dd>
26083
26084 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
26085
26086 </dd>
26087 </dl>
26088 </dd>
26089 </dl>
26090
26091
26092 </dd>
26093 </dl>
26094 </details>
26095
26096 <details><summary><code>client.guardian.enrollments.<a href="src/auth0.management/guardian/enrollments/client.py">delete</a>(...)</code></summary>
26097 <dl>
26098 <dd>
26099
26100 #### 📝 Description
26101
26102 <dl>
26103 <dd>
26104
26105 <dl>
26106 <dd>
26107
26108 Remove a specific multi-factor authentication (MFA) enrollment from a user's account. This allows the user to re-enroll with MFA. For more information, review [Reset User Multi-Factor Authentication and Recovery Codes](https://auth0.com/docs/secure/multi-factor-authentication/reset-user-mfa).
26109 </dd>
26110 </dl>
26111 </dd>
26112 </dl>
26113
26114 #### 🔌 Usage
26115
26116 <dl>
26117 <dd>
26118
26119 <dl>
26120 <dd>
26121
26122 ```python
26123 from auth0.management import Auth0
26124 from auth0.management.environment import Auth0Environment
26125
26126 client = Auth0(
26127 token="<token>",
26128 environment=Auth0Environment.DEFAULT,
26129 )
26130
26131 client.guardian.enrollments.delete(
26132 id="id",
26133 )
26134
26135 ```
26136 </dd>
26137 </dl>
26138 </dd>
26139 </dl>
26140
26141 #### ⚙️ Parameters
26142
26143 <dl>
26144 <dd>
26145
26146 <dl>
26147 <dd>
26148
26149 **id:** `str` — ID of the enrollment to be deleted.
26150
26151 </dd>
26152 </dl>
26153
26154 <dl>
26155 <dd>
26156
26157 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
26158
26159 </dd>
26160 </dl>
26161 </dd>
26162 </dl>
26163
26164
26165 </dd>
26166 </dl>
26167 </details>
26168
26169 ## Guardian Factors
26170 <details><summary><code>client.guardian.factors.<a href="src/auth0.management/guardian/factors/client.py">list</a>() -> typing.List[GuardianFactor]</code></summary>
26171 <dl>
26172 <dd>
26173
26174 #### 📝 Description
26175
26176 <dl>
26177 <dd>
26178
26179 <dl>
26180 <dd>
26181
26182 Retrieve details of all <a href="https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors">multi-factor authentication factors</a> associated with your tenant.
26183 </dd>
26184 </dl>
26185 </dd>
26186 </dl>
26187
26188 #### 🔌 Usage
26189
26190 <dl>
26191 <dd>
26192
26193 <dl>
26194 <dd>
26195
26196 ```python
26197 from auth0.management import Auth0
26198 from auth0.management.environment import Auth0Environment
26199
26200 client = Auth0(
26201 token="<token>",
26202 environment=Auth0Environment.DEFAULT,
26203 )
26204
26205 client.guardian.factors.list()
26206
26207 ```
26208 </dd>
26209 </dl>
26210 </dd>
26211 </dl>
26212
26213 #### ⚙️ Parameters
26214
26215 <dl>
26216 <dd>
26217
26218 <dl>
26219 <dd>
26220
26221 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
26222
26223 </dd>
26224 </dl>
26225 </dd>
26226 </dl>
26227
26228
26229 </dd>
26230 </dl>
26231 </details>
26232
26233 <details><summary><code>client.guardian.factors.<a href="src/auth0.management/guardian/factors/client.py">set</a>(...) -> SetGuardianFactorResponseContent</code></summary>
26234 <dl>
26235 <dd>
26236
26237 #### 📝 Description
26238
26239 <dl>
26240 <dd>
26241
26242 <dl>
26243 <dd>
26244
26245 Update the status (i.e., enabled or disabled) of a specific multi-factor authentication factor.
26246 </dd>
26247 </dl>
26248 </dd>
26249 </dl>
26250
26251 #### 🔌 Usage
26252
26253 <dl>
26254 <dd>
26255
26256 <dl>
26257 <dd>
26258
26259 ```python
26260 from auth0.management import Auth0
26261 from auth0.management.environment import Auth0Environment
26262
26263 client = Auth0(
26264 token="<token>",
26265 environment=Auth0Environment.DEFAULT,
26266 )
26267
26268 client.guardian.factors.set(
26269 name="push-notification",
26270 enabled=True,
26271 )
26272
26273 ```
26274 </dd>
26275 </dl>
26276 </dd>
26277 </dl>
26278
26279 #### ⚙️ Parameters
26280
26281 <dl>
26282 <dd>
26283
26284 <dl>
26285 <dd>
26286
26287 **name:** `GuardianFactorNameEnum` — Factor name. Can be `sms`, `push-notification`, `email`, `duo` `otp` `webauthn-roaming`, `webauthn-platform`, or `recovery-code`.
26288
26289 </dd>
26290 </dl>
26291
26292 <dl>
26293 <dd>
26294
26295 **enabled:** `bool` — Whether this factor is enabled (true) or disabled (false).
26296
26297 </dd>
26298 </dl>
26299
26300 <dl>
26301 <dd>
26302
26303 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
26304
26305 </dd>
26306 </dl>
26307 </dd>
26308 </dl>
26309
26310
26311 </dd>
26312 </dl>
26313 </details>
26314
26315 ## Guardian Policies
26316 <details><summary><code>client.guardian.policies.<a href="src/auth0.management/guardian/policies/client.py">list</a>() -> ListGuardianPoliciesResponseContent</code></summary>
26317 <dl>
26318 <dd>
26319
26320 #### 📝 Description
26321
26322 <dl>
26323 <dd>
26324
26325 <dl>
26326 <dd>
26327
26328 Retrieve the [multi-factor authentication (MFA) policies](https://auth0.com/docs/secure/multi-factor-authentication/enable-mfa) configured for your tenant.
26329
26330 The following policies are supported:
26331
26332 - `all-applications` policy prompts with MFA for all logins.
26333 - `confidence-score` policy prompts with MFA only for low confidence logins.
26334
26335 **Note**: The `confidence-score` policy is part of the [Adaptive MFA feature](https://auth0.com/docs/secure/multi-factor-authentication/adaptive-mfa). Adaptive MFA requires an add-on for the Enterprise plan; review [Auth0 Pricing](https://auth0.com/pricing) for more details.
26336 </dd>
26337 </dl>
26338 </dd>
26339 </dl>
26340
26341 #### 🔌 Usage
26342
26343 <dl>
26344 <dd>
26345
26346 <dl>
26347 <dd>
26348
26349 ```python
26350 from auth0.management import Auth0
26351 from auth0.management.environment import Auth0Environment
26352
26353 client = Auth0(
26354 token="<token>",
26355 environment=Auth0Environment.DEFAULT,
26356 )
26357
26358 client.guardian.policies.list()
26359
26360 ```
26361 </dd>
26362 </dl>
26363 </dd>
26364 </dl>
26365
26366 #### ⚙️ Parameters
26367
26368 <dl>
26369 <dd>
26370
26371 <dl>
26372 <dd>
26373
26374 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
26375
26376 </dd>
26377 </dl>
26378 </dd>
26379 </dl>
26380
26381
26382 </dd>
26383 </dl>
26384 </details>
26385
26386 <details><summary><code>client.guardian.policies.<a href="src/auth0.management/guardian/policies/client.py">set</a>(...) -> SetGuardianPoliciesResponseContent</code></summary>
26387 <dl>
26388 <dd>
26389
26390 #### 📝 Description
26391
26392 <dl>
26393 <dd>
26394
26395 <dl>
26396 <dd>
26397
26398 Set [multi-factor authentication (MFA) policies](https://auth0.com/docs/secure/multi-factor-authentication/enable-mfa) for your tenant.
26399
26400 The following policies are supported:
26401
26402 - `all-applications` policy prompts with MFA for all logins.
26403 - `confidence-score` policy prompts with MFA only for low confidence logins.
26404
26405 **Note**: The `confidence-score` policy is part of the [Adaptive MFA feature](https://auth0.com/docs/secure/multi-factor-authentication/adaptive-mfa). Adaptive MFA requires an add-on for the Enterprise plan; review [Auth0 Pricing](https://auth0.com/pricing) for more details.
26406 </dd>
26407 </dl>
26408 </dd>
26409 </dl>
26410
26411 #### 🔌 Usage
26412
26413 <dl>
26414 <dd>
26415
26416 <dl>
26417 <dd>
26418
26419 ```python
26420 from auth0.management import Auth0
26421 from auth0.management.environment import Auth0Environment
26422
26423 client = Auth0(
26424 token="<token>",
26425 environment=Auth0Environment.DEFAULT,
26426 )
26427
26428 client.guardian.policies.set(
26429 request=[
26430 "all-applications"
26431 ],
26432 )
26433
26434 ```
26435 </dd>
26436 </dl>
26437 </dd>
26438 </dl>
26439
26440 #### ⚙️ Parameters
26441
26442 <dl>
26443 <dd>
26444
26445 <dl>
26446 <dd>
26447
26448 **request:** `SetGuardianPoliciesRequestContent`
26449
26450 </dd>
26451 </dl>
26452
26453 <dl>
26454 <dd>
26455
26456 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
26457
26458 </dd>
26459 </dl>
26460 </dd>
26461 </dl>
26462
26463
26464 </dd>
26465 </dl>
26466 </details>
26467
26468 ## Guardian Factors Phone
26469 <details><summary><code>client.guardian.factors.phone.<a href="src/auth0.management/guardian/factors/phone/client.py">get_message_types</a>() -> GetGuardianFactorPhoneMessageTypesResponseContent</code></summary>
26470 <dl>
26471 <dd>
26472
26473 #### 📝 Description
26474
26475 <dl>
26476 <dd>
26477
26478 <dl>
26479 <dd>
26480
26481 Retrieve list of <a href="https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors/configure-sms-voice-notifications-mfa">phone-type MFA factors</a> (i.e., sms and voice) that are enabled for your tenant.
26482 </dd>
26483 </dl>
26484 </dd>
26485 </dl>
26486
26487 #### 🔌 Usage
26488
26489 <dl>
26490 <dd>
26491
26492 <dl>
26493 <dd>
26494
26495 ```python
26496 from auth0.management import Auth0
26497 from auth0.management.environment import Auth0Environment
26498
26499 client = Auth0(
26500 token="<token>",
26501 environment=Auth0Environment.DEFAULT,
26502 )
26503
26504 client.guardian.factors.phone.get_message_types()
26505
26506 ```
26507 </dd>
26508 </dl>
26509 </dd>
26510 </dl>
26511
26512 #### ⚙️ Parameters
26513
26514 <dl>
26515 <dd>
26516
26517 <dl>
26518 <dd>
26519
26520 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
26521
26522 </dd>
26523 </dl>
26524 </dd>
26525 </dl>
26526
26527
26528 </dd>
26529 </dl>
26530 </details>
26531
26532 <details><summary><code>client.guardian.factors.phone.<a href="src/auth0.management/guardian/factors/phone/client.py">set_message_types</a>(...) -> SetGuardianFactorPhoneMessageTypesResponseContent</code></summary>
26533 <dl>
26534 <dd>
26535
26536 #### 📝 Description
26537
26538 <dl>
26539 <dd>
26540
26541 <dl>
26542 <dd>
26543
26544 Replace the list of <a href="https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors/configure-sms-voice-notifications-mfa">phone-type MFA factors</a> (i.e., sms and voice) that are enabled for your tenant.
26545 </dd>
26546 </dl>
26547 </dd>
26548 </dl>
26549
26550 #### 🔌 Usage
26551
26552 <dl>
26553 <dd>
26554
26555 <dl>
26556 <dd>
26557
26558 ```python
26559 from auth0.management import Auth0
26560 from auth0.management.environment import Auth0Environment
26561
26562 client = Auth0(
26563 token="<token>",
26564 environment=Auth0Environment.DEFAULT,
26565 )
26566
26567 client.guardian.factors.phone.set_message_types(
26568 message_types=[
26569 "sms"
26570 ],
26571 )
26572
26573 ```
26574 </dd>
26575 </dl>
26576 </dd>
26577 </dl>
26578
26579 #### ⚙️ Parameters
26580
26581 <dl>
26582 <dd>
26583
26584 <dl>
26585 <dd>
26586
26587 **message_types:** `typing.List[GuardianFactorPhoneFactorMessageTypeEnum]` — The list of phone factors to enable on the tenant. Can include `sms` and `voice`.
26588
26589 </dd>
26590 </dl>
26591
26592 <dl>
26593 <dd>
26594
26595 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
26596
26597 </dd>
26598 </dl>
26599 </dd>
26600 </dl>
26601
26602
26603 </dd>
26604 </dl>
26605 </details>
26606
26607 <details><summary><code>client.guardian.factors.phone.<a href="src/auth0.management/guardian/factors/phone/client.py">get_twilio_provider</a>() -> GetGuardianFactorsProviderPhoneTwilioResponseContent</code></summary>
26608 <dl>
26609 <dd>
26610
26611 #### 📝 Description
26612
26613 <dl>
26614 <dd>
26615
26616 <dl>
26617 <dd>
26618
26619 Retrieve configuration details for a Twilio phone provider that has been set up in your tenant. To learn more, review <a href="https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors/configure-sms-voice-notifications-mfa">Configure SMS and Voice Notifications for MFA</a>.
26620 </dd>
26621 </dl>
26622 </dd>
26623 </dl>
26624
26625 #### 🔌 Usage
26626
26627 <dl>
26628 <dd>
26629
26630 <dl>
26631 <dd>
26632
26633 ```python
26634 from auth0.management import Auth0
26635 from auth0.management.environment import Auth0Environment
26636
26637 client = Auth0(
26638 token="<token>",
26639 environment=Auth0Environment.DEFAULT,
26640 )
26641
26642 client.guardian.factors.phone.get_twilio_provider()
26643
26644 ```
26645 </dd>
26646 </dl>
26647 </dd>
26648 </dl>
26649
26650 #### ⚙️ Parameters
26651
26652 <dl>
26653 <dd>
26654
26655 <dl>
26656 <dd>
26657
26658 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
26659
26660 </dd>
26661 </dl>
26662 </dd>
26663 </dl>
26664
26665
26666 </dd>
26667 </dl>
26668 </details>
26669
26670 <details><summary><code>client.guardian.factors.phone.<a href="src/auth0.management/guardian/factors/phone/client.py">set_twilio_provider</a>(...) -> SetGuardianFactorsProviderPhoneTwilioResponseContent</code></summary>
26671 <dl>
26672 <dd>
26673
26674 #### 📝 Description
26675
26676 <dl>
26677 <dd>
26678
26679 <dl>
26680 <dd>
26681
26682 Update the configuration of a Twilio phone provider that has been set up in your tenant. To learn more, review <a href="https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors/configure-sms-voice-notifications-mfa">Configure SMS and Voice Notifications for MFA</a>.
26683 </dd>
26684 </dl>
26685 </dd>
26686 </dl>
26687
26688 #### 🔌 Usage
26689
26690 <dl>
26691 <dd>
26692
26693 <dl>
26694 <dd>
26695
26696 ```python
26697 from auth0.management import Auth0
26698 from auth0.management.environment import Auth0Environment
26699
26700 client = Auth0(
26701 token="<token>",
26702 environment=Auth0Environment.DEFAULT,
26703 )
26704
26705 client.guardian.factors.phone.set_twilio_provider()
26706
26707 ```
26708 </dd>
26709 </dl>
26710 </dd>
26711 </dl>
26712
26713 #### ⚙️ Parameters
26714
26715 <dl>
26716 <dd>
26717
26718 <dl>
26719 <dd>
26720
26721 **from:** `typing.Optional[str]` — From number
26722
26723 </dd>
26724 </dl>
26725
26726 <dl>
26727 <dd>
26728
26729 **messaging_service_sid:** `typing.Optional[str]` — Copilot SID
26730
26731 </dd>
26732 </dl>
26733
26734 <dl>
26735 <dd>
26736
26737 **auth_token:** `typing.Optional[str]` — Twilio Authentication token
26738
26739 </dd>
26740 </dl>
26741
26742 <dl>
26743 <dd>
26744
26745 **sid:** `typing.Optional[str]` — Twilio SID
26746
26747 </dd>
26748 </dl>
26749
26750 <dl>
26751 <dd>
26752
26753 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
26754
26755 </dd>
26756 </dl>
26757 </dd>
26758 </dl>
26759
26760
26761 </dd>
26762 </dl>
26763 </details>
26764
26765 <details><summary><code>client.guardian.factors.phone.<a href="src/auth0.management/guardian/factors/phone/client.py">get_selected_provider</a>() -> GetGuardianFactorsProviderPhoneResponseContent</code></summary>
26766 <dl>
26767 <dd>
26768
26769 #### 📝 Description
26770
26771 <dl>
26772 <dd>
26773
26774 <dl>
26775 <dd>
26776
26777 Retrieve details of the multi-factor authentication phone provider configured for your tenant.
26778 </dd>
26779 </dl>
26780 </dd>
26781 </dl>
26782
26783 #### 🔌 Usage
26784
26785 <dl>
26786 <dd>
26787
26788 <dl>
26789 <dd>
26790
26791 ```python
26792 from auth0.management import Auth0
26793 from auth0.management.environment import Auth0Environment
26794
26795 client = Auth0(
26796 token="<token>",
26797 environment=Auth0Environment.DEFAULT,
26798 )
26799
26800 client.guardian.factors.phone.get_selected_provider()
26801
26802 ```
26803 </dd>
26804 </dl>
26805 </dd>
26806 </dl>
26807
26808 #### ⚙️ Parameters
26809
26810 <dl>
26811 <dd>
26812
26813 <dl>
26814 <dd>
26815
26816 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
26817
26818 </dd>
26819 </dl>
26820 </dd>
26821 </dl>
26822
26823
26824 </dd>
26825 </dl>
26826 </details>
26827
26828 <details><summary><code>client.guardian.factors.phone.<a href="src/auth0.management/guardian/factors/phone/client.py">set_provider</a>(...) -> SetGuardianFactorsProviderPhoneResponseContent</code></summary>
26829 <dl>
26830 <dd>
26831
26832 #### 🔌 Usage
26833
26834 <dl>
26835 <dd>
26836
26837 <dl>
26838 <dd>
26839
26840 ```python
26841 from auth0.management import Auth0
26842 from auth0.management.environment import Auth0Environment
26843
26844 client = Auth0(
26845 token="<token>",
26846 environment=Auth0Environment.DEFAULT,
26847 )
26848
26849 client.guardian.factors.phone.set_provider(
26850 provider="auth0",
26851 )
26852
26853 ```
26854 </dd>
26855 </dl>
26856 </dd>
26857 </dl>
26858
26859 #### ⚙️ Parameters
26860
26861 <dl>
26862 <dd>
26863
26864 <dl>
26865 <dd>
26866
26867 **provider:** `GuardianFactorsProviderSmsProviderEnum`
26868
26869 </dd>
26870 </dl>
26871
26872 <dl>
26873 <dd>
26874
26875 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
26876
26877 </dd>
26878 </dl>
26879 </dd>
26880 </dl>
26881
26882
26883 </dd>
26884 </dl>
26885 </details>
26886
26887 <details><summary><code>client.guardian.factors.phone.<a href="src/auth0.management/guardian/factors/phone/client.py">get_templates</a>() -> GetGuardianFactorPhoneTemplatesResponseContent</code></summary>
26888 <dl>
26889 <dd>
26890
26891 #### 📝 Description
26892
26893 <dl>
26894 <dd>
26895
26896 <dl>
26897 <dd>
26898
26899 Retrieve details of the multi-factor authentication enrollment and verification templates for phone-type factors available in your tenant.
26900 </dd>
26901 </dl>
26902 </dd>
26903 </dl>
26904
26905 #### 🔌 Usage
26906
26907 <dl>
26908 <dd>
26909
26910 <dl>
26911 <dd>
26912
26913 ```python
26914 from auth0.management import Auth0
26915 from auth0.management.environment import Auth0Environment
26916
26917 client = Auth0(
26918 token="<token>",
26919 environment=Auth0Environment.DEFAULT,
26920 )
26921
26922 client.guardian.factors.phone.get_templates()
26923
26924 ```
26925 </dd>
26926 </dl>
26927 </dd>
26928 </dl>
26929
26930 #### ⚙️ Parameters
26931
26932 <dl>
26933 <dd>
26934
26935 <dl>
26936 <dd>
26937
26938 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
26939
26940 </dd>
26941 </dl>
26942 </dd>
26943 </dl>
26944
26945
26946 </dd>
26947 </dl>
26948 </details>
26949
26950 <details><summary><code>client.guardian.factors.phone.<a href="src/auth0.management/guardian/factors/phone/client.py">set_templates</a>(...) -> SetGuardianFactorPhoneTemplatesResponseContent</code></summary>
26951 <dl>
26952 <dd>
26953
26954 #### 📝 Description
26955
26956 <dl>
26957 <dd>
26958
26959 <dl>
26960 <dd>
26961
26962 Customize the messages sent to complete phone enrollment and verification (subscription required).
26963 </dd>
26964 </dl>
26965 </dd>
26966 </dl>
26967
26968 #### 🔌 Usage
26969
26970 <dl>
26971 <dd>
26972
26973 <dl>
26974 <dd>
26975
26976 ```python
26977 from auth0.management import Auth0
26978 from auth0.management.environment import Auth0Environment
26979
26980 client = Auth0(
26981 token="<token>",
26982 environment=Auth0Environment.DEFAULT,
26983 )
26984
26985 client.guardian.factors.phone.set_templates(
26986 enrollment_message="enrollment_message",
26987 verification_message="verification_message",
26988 )
26989
26990 ```
26991 </dd>
26992 </dl>
26993 </dd>
26994 </dl>
26995
26996 #### ⚙️ Parameters
26997
26998 <dl>
26999 <dd>
27000
27001 <dl>
27002 <dd>
27003
27004 **enrollment_message:** `str` — Message sent to the user when they are invited to enroll with a phone number.
27005
27006 </dd>
27007 </dl>
27008
27009 <dl>
27010 <dd>
27011
27012 **verification_message:** `str` — Message sent to the user when they are prompted to verify their account.
27013
27014 </dd>
27015 </dl>
27016
27017 <dl>
27018 <dd>
27019
27020 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
27021
27022 </dd>
27023 </dl>
27024 </dd>
27025 </dl>
27026
27027
27028 </dd>
27029 </dl>
27030 </details>
27031
27032 ## Guardian Factors PushNotification
27033 <details><summary><code>client.guardian.factors.push_notification.<a href="src/auth0.management/guardian/factors/push_notification/client.py">get_apns_provider</a>() -> GetGuardianFactorsProviderApnsResponseContent</code></summary>
27034 <dl>
27035 <dd>
27036
27037 #### 📝 Description
27038
27039 <dl>
27040 <dd>
27041
27042 <dl>
27043 <dd>
27044
27045 Retrieve configuration details for the multi-factor authentication APNS provider associated with your tenant.
27046 </dd>
27047 </dl>
27048 </dd>
27049 </dl>
27050
27051 #### 🔌 Usage
27052
27053 <dl>
27054 <dd>
27055
27056 <dl>
27057 <dd>
27058
27059 ```python
27060 from auth0.management import Auth0
27061 from auth0.management.environment import Auth0Environment
27062
27063 client = Auth0(
27064 token="<token>",
27065 environment=Auth0Environment.DEFAULT,
27066 )
27067
27068 client.guardian.factors.push_notification.get_apns_provider()
27069
27070 ```
27071 </dd>
27072 </dl>
27073 </dd>
27074 </dl>
27075
27076 #### ⚙️ Parameters
27077
27078 <dl>
27079 <dd>
27080
27081 <dl>
27082 <dd>
27083
27084 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
27085
27086 </dd>
27087 </dl>
27088 </dd>
27089 </dl>
27090
27091
27092 </dd>
27093 </dl>
27094 </details>
27095
27096 <details><summary><code>client.guardian.factors.push_notification.<a href="src/auth0.management/guardian/factors/push_notification/client.py">set_apns_provider</a>(...) -> SetGuardianFactorsProviderPushNotificationApnsResponseContent</code></summary>
27097 <dl>
27098 <dd>
27099
27100 #### 📝 Description
27101
27102 <dl>
27103 <dd>
27104
27105 <dl>
27106 <dd>
27107
27108 Overwrite all configuration details of the multi-factor authentication APNS provider associated with your tenant.
27109 </dd>
27110 </dl>
27111 </dd>
27112 </dl>
27113
27114 #### 🔌 Usage
27115
27116 <dl>
27117 <dd>
27118
27119 <dl>
27120 <dd>
27121
27122 ```python
27123 from auth0.management import Auth0
27124 from auth0.management.environment import Auth0Environment
27125
27126 client = Auth0(
27127 token="<token>",
27128 environment=Auth0Environment.DEFAULT,
27129 )
27130
27131 client.guardian.factors.push_notification.set_apns_provider()
27132
27133 ```
27134 </dd>
27135 </dl>
27136 </dd>
27137 </dl>
27138
27139 #### ⚙️ Parameters
27140
27141 <dl>
27142 <dd>
27143
27144 <dl>
27145 <dd>
27146
27147 **sandbox:** `typing.Optional[bool]`
27148
27149 </dd>
27150 </dl>
27151
27152 <dl>
27153 <dd>
27154
27155 **bundle_id:** `typing.Optional[str]`
27156
27157 </dd>
27158 </dl>
27159
27160 <dl>
27161 <dd>
27162
27163 **p_12:** `typing.Optional[str]`
27164
27165 </dd>
27166 </dl>
27167
27168 <dl>
27169 <dd>
27170
27171 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
27172
27173 </dd>
27174 </dl>
27175 </dd>
27176 </dl>
27177
27178
27179 </dd>
27180 </dl>
27181 </details>
27182
27183 <details><summary><code>client.guardian.factors.push_notification.<a href="src/auth0.management/guardian/factors/push_notification/client.py">update_apns_provider</a>(...) -> UpdateGuardianFactorsProviderPushNotificationApnsResponseContent</code></summary>
27184 <dl>
27185 <dd>
27186
27187 #### 📝 Description
27188
27189 <dl>
27190 <dd>
27191
27192 <dl>
27193 <dd>
27194
27195 Modify configuration details of the multi-factor authentication APNS provider associated with your tenant.
27196 </dd>
27197 </dl>
27198 </dd>
27199 </dl>
27200
27201 #### 🔌 Usage
27202
27203 <dl>
27204 <dd>
27205
27206 <dl>
27207 <dd>
27208
27209 ```python
27210 from auth0.management import Auth0
27211 from auth0.management.environment import Auth0Environment
27212
27213 client = Auth0(
27214 token="<token>",
27215 environment=Auth0Environment.DEFAULT,
27216 )
27217
27218 client.guardian.factors.push_notification.update_apns_provider()
27219
27220 ```
27221 </dd>
27222 </dl>
27223 </dd>
27224 </dl>
27225
27226 #### ⚙️ Parameters
27227
27228 <dl>
27229 <dd>
27230
27231 <dl>
27232 <dd>
27233
27234 **sandbox:** `typing.Optional[bool]`
27235
27236 </dd>
27237 </dl>
27238
27239 <dl>
27240 <dd>
27241
27242 **bundle_id:** `typing.Optional[str]`
27243
27244 </dd>
27245 </dl>
27246
27247 <dl>
27248 <dd>
27249
27250 **p_12:** `typing.Optional[str]`
27251
27252 </dd>
27253 </dl>
27254
27255 <dl>
27256 <dd>
27257
27258 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
27259
27260 </dd>
27261 </dl>
27262 </dd>
27263 </dl>
27264
27265
27266 </dd>
27267 </dl>
27268 </details>
27269
27270 <details><summary><code>client.guardian.factors.push_notification.<a href="src/auth0.management/guardian/factors/push_notification/client.py">set_fcm_provider</a>(...) -> SetGuardianFactorsProviderPushNotificationFcmResponseContent</code></summary>
27271 <dl>
27272 <dd>
27273
27274 #### 📝 Description
27275
27276 <dl>
27277 <dd>
27278
27279 <dl>
27280 <dd>
27281
27282 Overwrite all configuration details of the multi-factor authentication FCM provider associated with your tenant.
27283 </dd>
27284 </dl>
27285 </dd>
27286 </dl>
27287
27288 #### 🔌 Usage
27289
27290 <dl>
27291 <dd>
27292
27293 <dl>
27294 <dd>
27295
27296 ```python
27297 from auth0.management import Auth0
27298 from auth0.management.environment import Auth0Environment
27299
27300 client = Auth0(
27301 token="<token>",
27302 environment=Auth0Environment.DEFAULT,
27303 )
27304
27305 client.guardian.factors.push_notification.set_fcm_provider()
27306
27307 ```
27308 </dd>
27309 </dl>
27310 </dd>
27311 </dl>
27312
27313 #### ⚙️ Parameters
27314
27315 <dl>
27316 <dd>
27317
27318 <dl>
27319 <dd>
27320
27321 **server_key:** `typing.Optional[str]`
27322
27323 </dd>
27324 </dl>
27325
27326 <dl>
27327 <dd>
27328
27329 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
27330
27331 </dd>
27332 </dl>
27333 </dd>
27334 </dl>
27335
27336
27337 </dd>
27338 </dl>
27339 </details>
27340
27341 <details><summary><code>client.guardian.factors.push_notification.<a href="src/auth0.management/guardian/factors/push_notification/client.py">update_fcm_provider</a>(...) -> UpdateGuardianFactorsProviderPushNotificationFcmResponseContent</code></summary>
27342 <dl>
27343 <dd>
27344
27345 #### 📝 Description
27346
27347 <dl>
27348 <dd>
27349
27350 <dl>
27351 <dd>
27352
27353 Modify configuration details of the multi-factor authentication FCM provider associated with your tenant.
27354 </dd>
27355 </dl>
27356 </dd>
27357 </dl>
27358
27359 #### 🔌 Usage
27360
27361 <dl>
27362 <dd>
27363
27364 <dl>
27365 <dd>
27366
27367 ```python
27368 from auth0.management import Auth0
27369 from auth0.management.environment import Auth0Environment
27370
27371 client = Auth0(
27372 token="<token>",
27373 environment=Auth0Environment.DEFAULT,
27374 )
27375
27376 client.guardian.factors.push_notification.update_fcm_provider()
27377
27378 ```
27379 </dd>
27380 </dl>
27381 </dd>
27382 </dl>
27383
27384 #### ⚙️ Parameters
27385
27386 <dl>
27387 <dd>
27388
27389 <dl>
27390 <dd>
27391
27392 **server_key:** `typing.Optional[str]`
27393
27394 </dd>
27395 </dl>
27396
27397 <dl>
27398 <dd>
27399
27400 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
27401
27402 </dd>
27403 </dl>
27404 </dd>
27405 </dl>
27406
27407
27408 </dd>
27409 </dl>
27410 </details>
27411
27412 <details><summary><code>client.guardian.factors.push_notification.<a href="src/auth0.management/guardian/factors/push_notification/client.py">set_fcmv_1_provider</a>(...) -> SetGuardianFactorsProviderPushNotificationFcmv1ResponseContent</code></summary>
27413 <dl>
27414 <dd>
27415
27416 #### 📝 Description
27417
27418 <dl>
27419 <dd>
27420
27421 <dl>
27422 <dd>
27423
27424 Overwrite all configuration details of the multi-factor authentication FCMV1 provider associated with your tenant.
27425 </dd>
27426 </dl>
27427 </dd>
27428 </dl>
27429
27430 #### 🔌 Usage
27431
27432 <dl>
27433 <dd>
27434
27435 <dl>
27436 <dd>
27437
27438 ```python
27439 from auth0.management import Auth0
27440 from auth0.management.environment import Auth0Environment
27441
27442 client = Auth0(
27443 token="<token>",
27444 environment=Auth0Environment.DEFAULT,
27445 )
27446
27447 client.guardian.factors.push_notification.set_fcmv_1_provider()
27448
27449 ```
27450 </dd>
27451 </dl>
27452 </dd>
27453 </dl>
27454
27455 #### ⚙️ Parameters
27456
27457 <dl>
27458 <dd>
27459
27460 <dl>
27461 <dd>
27462
27463 **server_credentials:** `typing.Optional[str]`
27464
27465 </dd>
27466 </dl>
27467
27468 <dl>
27469 <dd>
27470
27471 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
27472
27473 </dd>
27474 </dl>
27475 </dd>
27476 </dl>
27477
27478
27479 </dd>
27480 </dl>
27481 </details>
27482
27483 <details><summary><code>client.guardian.factors.push_notification.<a href="src/auth0.management/guardian/factors/push_notification/client.py">update_fcmv_1_provider</a>(...) -> UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent</code></summary>
27484 <dl>
27485 <dd>
27486
27487 #### 📝 Description
27488
27489 <dl>
27490 <dd>
27491
27492 <dl>
27493 <dd>
27494
27495 Modify configuration details of the multi-factor authentication FCMV1 provider associated with your tenant.
27496 </dd>
27497 </dl>
27498 </dd>
27499 </dl>
27500
27501 #### 🔌 Usage
27502
27503 <dl>
27504 <dd>
27505
27506 <dl>
27507 <dd>
27508
27509 ```python
27510 from auth0.management import Auth0
27511 from auth0.management.environment import Auth0Environment
27512
27513 client = Auth0(
27514 token="<token>",
27515 environment=Auth0Environment.DEFAULT,
27516 )
27517
27518 client.guardian.factors.push_notification.update_fcmv_1_provider()
27519
27520 ```
27521 </dd>
27522 </dl>
27523 </dd>
27524 </dl>
27525
27526 #### ⚙️ Parameters
27527
27528 <dl>
27529 <dd>
27530
27531 <dl>
27532 <dd>
27533
27534 **server_credentials:** `typing.Optional[str]`
27535
27536 </dd>
27537 </dl>
27538
27539 <dl>
27540 <dd>
27541
27542 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
27543
27544 </dd>
27545 </dl>
27546 </dd>
27547 </dl>
27548
27549
27550 </dd>
27551 </dl>
27552 </details>
27553
27554 <details><summary><code>client.guardian.factors.push_notification.<a href="src/auth0.management/guardian/factors/push_notification/client.py">get_sns_provider</a>() -> GetGuardianFactorsProviderSnsResponseContent</code></summary>
27555 <dl>
27556 <dd>
27557
27558 #### 📝 Description
27559
27560 <dl>
27561 <dd>
27562
27563 <dl>
27564 <dd>
27565
27566 Retrieve configuration details for an AWS SNS push notification provider that has been enabled for MFA. To learn more, review [Configure Push Notifications for MFA](https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors/configure-push-notifications-for-mfa).
27567 </dd>
27568 </dl>
27569 </dd>
27570 </dl>
27571
27572 #### 🔌 Usage
27573
27574 <dl>
27575 <dd>
27576
27577 <dl>
27578 <dd>
27579
27580 ```python
27581 from auth0.management import Auth0
27582 from auth0.management.environment import Auth0Environment
27583
27584 client = Auth0(
27585 token="<token>",
27586 environment=Auth0Environment.DEFAULT,
27587 )
27588
27589 client.guardian.factors.push_notification.get_sns_provider()
27590
27591 ```
27592 </dd>
27593 </dl>
27594 </dd>
27595 </dl>
27596
27597 #### ⚙️ Parameters
27598
27599 <dl>
27600 <dd>
27601
27602 <dl>
27603 <dd>
27604
27605 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
27606
27607 </dd>
27608 </dl>
27609 </dd>
27610 </dl>
27611
27612
27613 </dd>
27614 </dl>
27615 </details>
27616
27617 <details><summary><code>client.guardian.factors.push_notification.<a href="src/auth0.management/guardian/factors/push_notification/client.py">set_sns_provider</a>(...) -> SetGuardianFactorsProviderPushNotificationSnsResponseContent</code></summary>
27618 <dl>
27619 <dd>
27620
27621 #### 📝 Description
27622
27623 <dl>
27624 <dd>
27625
27626 <dl>
27627 <dd>
27628
27629 Configure the [AWS SNS push notification provider configuration](https://auth0.com/docs/multifactor-authentication/developer/sns-configuration) (subscription required).
27630 </dd>
27631 </dl>
27632 </dd>
27633 </dl>
27634
27635 #### 🔌 Usage
27636
27637 <dl>
27638 <dd>
27639
27640 <dl>
27641 <dd>
27642
27643 ```python
27644 from auth0.management import Auth0
27645 from auth0.management.environment import Auth0Environment
27646
27647 client = Auth0(
27648 token="<token>",
27649 environment=Auth0Environment.DEFAULT,
27650 )
27651
27652 client.guardian.factors.push_notification.set_sns_provider()
27653
27654 ```
27655 </dd>
27656 </dl>
27657 </dd>
27658 </dl>
27659
27660 #### ⚙️ Parameters
27661
27662 <dl>
27663 <dd>
27664
27665 <dl>
27666 <dd>
27667
27668 **aws_access_key_id:** `typing.Optional[str]`
27669
27670 </dd>
27671 </dl>
27672
27673 <dl>
27674 <dd>
27675
27676 **aws_secret_access_key:** `typing.Optional[str]`
27677
27678 </dd>
27679 </dl>
27680
27681 <dl>
27682 <dd>
27683
27684 **aws_region:** `typing.Optional[str]`
27685
27686 </dd>
27687 </dl>
27688
27689 <dl>
27690 <dd>
27691
27692 **sns_apns_platform_application_arn:** `typing.Optional[str]`
27693
27694 </dd>
27695 </dl>
27696
27697 <dl>
27698 <dd>
27699
27700 **sns_gcm_platform_application_arn:** `typing.Optional[str]`
27701
27702 </dd>
27703 </dl>
27704
27705 <dl>
27706 <dd>
27707
27708 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
27709
27710 </dd>
27711 </dl>
27712 </dd>
27713 </dl>
27714
27715
27716 </dd>
27717 </dl>
27718 </details>
27719
27720 <details><summary><code>client.guardian.factors.push_notification.<a href="src/auth0.management/guardian/factors/push_notification/client.py">update_sns_provider</a>(...) -> UpdateGuardianFactorsProviderPushNotificationSnsResponseContent</code></summary>
27721 <dl>
27722 <dd>
27723
27724 #### 📝 Description
27725
27726 <dl>
27727 <dd>
27728
27729 <dl>
27730 <dd>
27731
27732 Configure the [AWS SNS push notification provider configuration](https://auth0.com/docs/multifactor-authentication/developer/sns-configuration) (subscription required).
27733 </dd>
27734 </dl>
27735 </dd>
27736 </dl>
27737
27738 #### 🔌 Usage
27739
27740 <dl>
27741 <dd>
27742
27743 <dl>
27744 <dd>
27745
27746 ```python
27747 from auth0.management import Auth0
27748 from auth0.management.environment import Auth0Environment
27749
27750 client = Auth0(
27751 token="<token>",
27752 environment=Auth0Environment.DEFAULT,
27753 )
27754
27755 client.guardian.factors.push_notification.update_sns_provider()
27756
27757 ```
27758 </dd>
27759 </dl>
27760 </dd>
27761 </dl>
27762
27763 #### ⚙️ Parameters
27764
27765 <dl>
27766 <dd>
27767
27768 <dl>
27769 <dd>
27770
27771 **aws_access_key_id:** `typing.Optional[str]`
27772
27773 </dd>
27774 </dl>
27775
27776 <dl>
27777 <dd>
27778
27779 **aws_secret_access_key:** `typing.Optional[str]`
27780
27781 </dd>
27782 </dl>
27783
27784 <dl>
27785 <dd>
27786
27787 **aws_region:** `typing.Optional[str]`
27788
27789 </dd>
27790 </dl>
27791
27792 <dl>
27793 <dd>
27794
27795 **sns_apns_platform_application_arn:** `typing.Optional[str]`
27796
27797 </dd>
27798 </dl>
27799
27800 <dl>
27801 <dd>
27802
27803 **sns_gcm_platform_application_arn:** `typing.Optional[str]`
27804
27805 </dd>
27806 </dl>
27807
27808 <dl>
27809 <dd>
27810
27811 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
27812
27813 </dd>
27814 </dl>
27815 </dd>
27816 </dl>
27817
27818
27819 </dd>
27820 </dl>
27821 </details>
27822
27823 <details><summary><code>client.guardian.factors.push_notification.<a href="src/auth0.management/guardian/factors/push_notification/client.py">get_selected_provider</a>() -> GetGuardianFactorsProviderPushNotificationResponseContent</code></summary>
27824 <dl>
27825 <dd>
27826
27827 #### 📝 Description
27828
27829 <dl>
27830 <dd>
27831
27832 <dl>
27833 <dd>
27834
27835 Modify the push notification provider configured for your tenant. For more information, review <a href="https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors/configure-push-notifications-for-mfa">Configure Push Notifications for MFA</a>.
27836 </dd>
27837 </dl>
27838 </dd>
27839 </dl>
27840
27841 #### 🔌 Usage
27842
27843 <dl>
27844 <dd>
27845
27846 <dl>
27847 <dd>
27848
27849 ```python
27850 from auth0.management import Auth0
27851 from auth0.management.environment import Auth0Environment
27852
27853 client = Auth0(
27854 token="<token>",
27855 environment=Auth0Environment.DEFAULT,
27856 )
27857
27858 client.guardian.factors.push_notification.get_selected_provider()
27859
27860 ```
27861 </dd>
27862 </dl>
27863 </dd>
27864 </dl>
27865
27866 #### ⚙️ Parameters
27867
27868 <dl>
27869 <dd>
27870
27871 <dl>
27872 <dd>
27873
27874 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
27875
27876 </dd>
27877 </dl>
27878 </dd>
27879 </dl>
27880
27881
27882 </dd>
27883 </dl>
27884 </details>
27885
27886 <details><summary><code>client.guardian.factors.push_notification.<a href="src/auth0.management/guardian/factors/push_notification/client.py">set_provider</a>(...) -> SetGuardianFactorsProviderPushNotificationResponseContent</code></summary>
27887 <dl>
27888 <dd>
27889
27890 #### 📝 Description
27891
27892 <dl>
27893 <dd>
27894
27895 <dl>
27896 <dd>
27897
27898 Modify the push notification provider configured for your tenant. For more information, review <a href="https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors/configure-push-notifications-for-mfa">Configure Push Notifications for MFA</a>.
27899 </dd>
27900 </dl>
27901 </dd>
27902 </dl>
27903
27904 #### 🔌 Usage
27905
27906 <dl>
27907 <dd>
27908
27909 <dl>
27910 <dd>
27911
27912 ```python
27913 from auth0.management import Auth0
27914 from auth0.management.environment import Auth0Environment
27915
27916 client = Auth0(
27917 token="<token>",
27918 environment=Auth0Environment.DEFAULT,
27919 )
27920
27921 client.guardian.factors.push_notification.set_provider(
27922 provider="guardian",
27923 )
27924
27925 ```
27926 </dd>
27927 </dl>
27928 </dd>
27929 </dl>
27930
27931 #### ⚙️ Parameters
27932
27933 <dl>
27934 <dd>
27935
27936 <dl>
27937 <dd>
27938
27939 **provider:** `GuardianFactorsProviderPushNotificationProviderDataEnum`
27940
27941 </dd>
27942 </dl>
27943
27944 <dl>
27945 <dd>
27946
27947 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
27948
27949 </dd>
27950 </dl>
27951 </dd>
27952 </dl>
27953
27954
27955 </dd>
27956 </dl>
27957 </details>
27958
27959 ## Guardian Factors Sms
27960 <details><summary><code>client.guardian.factors.sms.<a href="src/auth0.management/guardian/factors/sms/client.py">get_twilio_provider</a>() -> GetGuardianFactorsProviderSmsTwilioResponseContent</code></summary>
27961 <dl>
27962 <dd>
27963
27964 #### 📝 Description
27965
27966 <dl>
27967 <dd>
27968
27969 <dl>
27970 <dd>
27971
27972 Retrieve the <a href="https://auth0.com/docs/multifactor-authentication/twilio-configuration">Twilio SMS provider configuration</a> (subscription required).
27973
27974 A new endpoint is available to retrieve the Twilio configuration related to phone factors (<a href='https://auth0.com/docs/api/management/v2/#!/Guardian/get_twilio'>phone Twilio configuration</a>). It has the same payload as this one. Please use it instead.
27975 </dd>
27976 </dl>
27977 </dd>
27978 </dl>
27979
27980 #### 🔌 Usage
27981
27982 <dl>
27983 <dd>
27984
27985 <dl>
27986 <dd>
27987
27988 ```python
27989 from auth0.management import Auth0
27990 from auth0.management.environment import Auth0Environment
27991
27992 client = Auth0(
27993 token="<token>",
27994 environment=Auth0Environment.DEFAULT,
27995 )
27996
27997 client.guardian.factors.sms.get_twilio_provider()
27998
27999 ```
28000 </dd>
28001 </dl>
28002 </dd>
28003 </dl>
28004
28005 #### ⚙️ Parameters
28006
28007 <dl>
28008 <dd>
28009
28010 <dl>
28011 <dd>
28012
28013 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
28014
28015 </dd>
28016 </dl>
28017 </dd>
28018 </dl>
28019
28020
28021 </dd>
28022 </dl>
28023 </details>
28024
28025 <details><summary><code>client.guardian.factors.sms.<a href="src/auth0.management/guardian/factors/sms/client.py">set_twilio_provider</a>(...) -> SetGuardianFactorsProviderSmsTwilioResponseContent</code></summary>
28026 <dl>
28027 <dd>
28028
28029 #### 📝 Description
28030
28031 <dl>
28032 <dd>
28033
28034 <dl>
28035 <dd>
28036
28037 This endpoint has been deprecated. To complete this action, use the <a href="https://auth0.com/docs/api/management/v2/guardian/put-twilio">Update Twilio phone configuration</a> endpoint.
28038
28039 <b>Previous functionality</b>: Update the Twilio SMS provider configuration.
28040 </dd>
28041 </dl>
28042 </dd>
28043 </dl>
28044
28045 #### 🔌 Usage
28046
28047 <dl>
28048 <dd>
28049
28050 <dl>
28051 <dd>
28052
28053 ```python
28054 from auth0.management import Auth0
28055 from auth0.management.environment import Auth0Environment
28056
28057 client = Auth0(
28058 token="<token>",
28059 environment=Auth0Environment.DEFAULT,
28060 )
28061
28062 client.guardian.factors.sms.set_twilio_provider()
28063
28064 ```
28065 </dd>
28066 </dl>
28067 </dd>
28068 </dl>
28069
28070 #### ⚙️ Parameters
28071
28072 <dl>
28073 <dd>
28074
28075 <dl>
28076 <dd>
28077
28078 **from:** `typing.Optional[str]` — From number
28079
28080 </dd>
28081 </dl>
28082
28083 <dl>
28084 <dd>
28085
28086 **messaging_service_sid:** `typing.Optional[str]` — Copilot SID
28087
28088 </dd>
28089 </dl>
28090
28091 <dl>
28092 <dd>
28093
28094 **auth_token:** `typing.Optional[str]` — Twilio Authentication token
28095
28096 </dd>
28097 </dl>
28098
28099 <dl>
28100 <dd>
28101
28102 **sid:** `typing.Optional[str]` — Twilio SID
28103
28104 </dd>
28105 </dl>
28106
28107 <dl>
28108 <dd>
28109
28110 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
28111
28112 </dd>
28113 </dl>
28114 </dd>
28115 </dl>
28116
28117
28118 </dd>
28119 </dl>
28120 </details>
28121
28122 <details><summary><code>client.guardian.factors.sms.<a href="src/auth0.management/guardian/factors/sms/client.py">get_selected_provider</a>() -> GetGuardianFactorsProviderSmsResponseContent</code></summary>
28123 <dl>
28124 <dd>
28125
28126 #### 📝 Description
28127
28128 <dl>
28129 <dd>
28130
28131 <dl>
28132 <dd>
28133
28134 This endpoint has been deprecated. To complete this action, use the <a href="https://auth0.com/docs/api/management/v2/guardian/get-phone-providers">Retrieve phone configuration</a> endpoint instead.
28135
28136 <b>Previous functionality</b>: Retrieve details for the multi-factor authentication SMS provider configured for your tenant.
28137 </dd>
28138 </dl>
28139 </dd>
28140 </dl>
28141
28142 #### 🔌 Usage
28143
28144 <dl>
28145 <dd>
28146
28147 <dl>
28148 <dd>
28149
28150 ```python
28151 from auth0.management import Auth0
28152 from auth0.management.environment import Auth0Environment
28153
28154 client = Auth0(
28155 token="<token>",
28156 environment=Auth0Environment.DEFAULT,
28157 )
28158
28159 client.guardian.factors.sms.get_selected_provider()
28160
28161 ```
28162 </dd>
28163 </dl>
28164 </dd>
28165 </dl>
28166
28167 #### ⚙️ Parameters
28168
28169 <dl>
28170 <dd>
28171
28172 <dl>
28173 <dd>
28174
28175 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
28176
28177 </dd>
28178 </dl>
28179 </dd>
28180 </dl>
28181
28182
28183 </dd>
28184 </dl>
28185 </details>
28186
28187 <details><summary><code>client.guardian.factors.sms.<a href="src/auth0.management/guardian/factors/sms/client.py">set_provider</a>(...) -> SetGuardianFactorsProviderSmsResponseContent</code></summary>
28188 <dl>
28189 <dd>
28190
28191 #### 📝 Description
28192
28193 <dl>
28194 <dd>
28195
28196 <dl>
28197 <dd>
28198
28199 This endpoint has been deprecated. To complete this action, use the <a href="https://auth0.com/docs/api/management/v2/guardian/put-phone-providers">Update phone configuration</a> endpoint instead.
28200
28201 <b>Previous functionality</b>: Update the multi-factor authentication SMS provider configuration in your tenant.
28202 </dd>
28203 </dl>
28204 </dd>
28205 </dl>
28206
28207 #### 🔌 Usage
28208
28209 <dl>
28210 <dd>
28211
28212 <dl>
28213 <dd>
28214
28215 ```python
28216 from auth0.management import Auth0
28217 from auth0.management.environment import Auth0Environment
28218
28219 client = Auth0(
28220 token="<token>",
28221 environment=Auth0Environment.DEFAULT,
28222 )
28223
28224 client.guardian.factors.sms.set_provider(
28225 provider="auth0",
28226 )
28227
28228 ```
28229 </dd>
28230 </dl>
28231 </dd>
28232 </dl>
28233
28234 #### ⚙️ Parameters
28235
28236 <dl>
28237 <dd>
28238
28239 <dl>
28240 <dd>
28241
28242 **provider:** `GuardianFactorsProviderSmsProviderEnum`
28243
28244 </dd>
28245 </dl>
28246
28247 <dl>
28248 <dd>
28249
28250 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
28251
28252 </dd>
28253 </dl>
28254 </dd>
28255 </dl>
28256
28257
28258 </dd>
28259 </dl>
28260 </details>
28261
28262 <details><summary><code>client.guardian.factors.sms.<a href="src/auth0.management/guardian/factors/sms/client.py">get_templates</a>() -> typing.Optional[GetGuardianFactorSmsTemplatesResponseContent]</code></summary>
28263 <dl>
28264 <dd>
28265
28266 #### 📝 Description
28267
28268 <dl>
28269 <dd>
28270
28271 <dl>
28272 <dd>
28273
28274 This endpoint has been deprecated. To complete this action, use the <a href="https://auth0.com/docs/api/management/v2/guardian/get-factor-phone-templates">Retrieve enrollment and verification phone templates</a> endpoint instead.
28275
28276 <b>Previous function</b>: Retrieve details of SMS enrollment and verification templates configured for your tenant.
28277 </dd>
28278 </dl>
28279 </dd>
28280 </dl>
28281
28282 #### 🔌 Usage
28283
28284 <dl>
28285 <dd>
28286
28287 <dl>
28288 <dd>
28289
28290 ```python
28291 from auth0.management import Auth0
28292 from auth0.management.environment import Auth0Environment
28293
28294 client = Auth0(
28295 token="<token>",
28296 environment=Auth0Environment.DEFAULT,
28297 )
28298
28299 client.guardian.factors.sms.get_templates()
28300
28301 ```
28302 </dd>
28303 </dl>
28304 </dd>
28305 </dl>
28306
28307 #### ⚙️ Parameters
28308
28309 <dl>
28310 <dd>
28311
28312 <dl>
28313 <dd>
28314
28315 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
28316
28317 </dd>
28318 </dl>
28319 </dd>
28320 </dl>
28321
28322
28323 </dd>
28324 </dl>
28325 </details>
28326
28327 <details><summary><code>client.guardian.factors.sms.<a href="src/auth0.management/guardian/factors/sms/client.py">set_templates</a>(...) -> SetGuardianFactorSmsTemplatesResponseContent</code></summary>
28328 <dl>
28329 <dd>
28330
28331 #### 📝 Description
28332
28333 <dl>
28334 <dd>
28335
28336 <dl>
28337 <dd>
28338
28339 This endpoint has been deprecated. To complete this action, use the <a href="https://auth0.com/docs/api/management/v2/guardian/put-factor-phone-templates">Update enrollment and verification phone templates</a> endpoint instead.
28340
28341 <b>Previous functionality</b>: Customize the messages sent to complete SMS enrollment and verification.
28342 </dd>
28343 </dl>
28344 </dd>
28345 </dl>
28346
28347 #### 🔌 Usage
28348
28349 <dl>
28350 <dd>
28351
28352 <dl>
28353 <dd>
28354
28355 ```python
28356 from auth0.management import Auth0
28357 from auth0.management.environment import Auth0Environment
28358
28359 client = Auth0(
28360 token="<token>",
28361 environment=Auth0Environment.DEFAULT,
28362 )
28363
28364 client.guardian.factors.sms.set_templates(
28365 enrollment_message="enrollment_message",
28366 verification_message="verification_message",
28367 )
28368
28369 ```
28370 </dd>
28371 </dl>
28372 </dd>
28373 </dl>
28374
28375 #### ⚙️ Parameters
28376
28377 <dl>
28378 <dd>
28379
28380 <dl>
28381 <dd>
28382
28383 **enrollment_message:** `str` — Message sent to the user when they are invited to enroll with a phone number.
28384
28385 </dd>
28386 </dl>
28387
28388 <dl>
28389 <dd>
28390
28391 **verification_message:** `str` — Message sent to the user when they are prompted to verify their account.
28392
28393 </dd>
28394 </dl>
28395
28396 <dl>
28397 <dd>
28398
28399 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
28400
28401 </dd>
28402 </dl>
28403 </dd>
28404 </dl>
28405
28406
28407 </dd>
28408 </dl>
28409 </details>
28410
28411 ## Guardian Factors Duo Settings
28412 <details><summary><code>client.guardian.factors.duo.settings.<a href="src/auth0.management/guardian/factors/duo/settings/client.py">get</a>() -> GetGuardianFactorDuoSettingsResponseContent</code></summary>
28413 <dl>
28414 <dd>
28415
28416 #### 📝 Description
28417
28418 <dl>
28419 <dd>
28420
28421 <dl>
28422 <dd>
28423
28424 Retrieves the DUO account and factor configuration.
28425 </dd>
28426 </dl>
28427 </dd>
28428 </dl>
28429
28430 #### 🔌 Usage
28431
28432 <dl>
28433 <dd>
28434
28435 <dl>
28436 <dd>
28437
28438 ```python
28439 from auth0.management import Auth0
28440 from auth0.management.environment import Auth0Environment
28441
28442 client = Auth0(
28443 token="<token>",
28444 environment=Auth0Environment.DEFAULT,
28445 )
28446
28447 client.guardian.factors.duo.settings.get()
28448
28449 ```
28450 </dd>
28451 </dl>
28452 </dd>
28453 </dl>
28454
28455 #### ⚙️ Parameters
28456
28457 <dl>
28458 <dd>
28459
28460 <dl>
28461 <dd>
28462
28463 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
28464
28465 </dd>
28466 </dl>
28467 </dd>
28468 </dl>
28469
28470
28471 </dd>
28472 </dl>
28473 </details>
28474
28475 <details><summary><code>client.guardian.factors.duo.settings.<a href="src/auth0.management/guardian/factors/duo/settings/client.py">set</a>(...) -> SetGuardianFactorDuoSettingsResponseContent</code></summary>
28476 <dl>
28477 <dd>
28478
28479 #### 📝 Description
28480
28481 <dl>
28482 <dd>
28483
28484 <dl>
28485 <dd>
28486
28487 Set the DUO account configuration and other properties specific to this factor.
28488 </dd>
28489 </dl>
28490 </dd>
28491 </dl>
28492
28493 #### 🔌 Usage
28494
28495 <dl>
28496 <dd>
28497
28498 <dl>
28499 <dd>
28500
28501 ```python
28502 from auth0.management import Auth0
28503 from auth0.management.environment import Auth0Environment
28504
28505 client = Auth0(
28506 token="<token>",
28507 environment=Auth0Environment.DEFAULT,
28508 )
28509
28510 client.guardian.factors.duo.settings.set()
28511
28512 ```
28513 </dd>
28514 </dl>
28515 </dd>
28516 </dl>
28517
28518 #### ⚙️ Parameters
28519
28520 <dl>
28521 <dd>
28522
28523 <dl>
28524 <dd>
28525
28526 **ikey:** `typing.Optional[str]`
28527
28528 </dd>
28529 </dl>
28530
28531 <dl>
28532 <dd>
28533
28534 **skey:** `typing.Optional[str]`
28535
28536 </dd>
28537 </dl>
28538
28539 <dl>
28540 <dd>
28541
28542 **host:** `typing.Optional[str]`
28543
28544 </dd>
28545 </dl>
28546
28547 <dl>
28548 <dd>
28549
28550 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
28551
28552 </dd>
28553 </dl>
28554 </dd>
28555 </dl>
28556
28557
28558 </dd>
28559 </dl>
28560 </details>
28561
28562 <details><summary><code>client.guardian.factors.duo.settings.<a href="src/auth0.management/guardian/factors/duo/settings/client.py">update</a>(...) -> UpdateGuardianFactorDuoSettingsResponseContent</code></summary>
28563 <dl>
28564 <dd>
28565
28566 #### 🔌 Usage
28567
28568 <dl>
28569 <dd>
28570
28571 <dl>
28572 <dd>
28573
28574 ```python
28575 from auth0.management import Auth0
28576 from auth0.management.environment import Auth0Environment
28577
28578 client = Auth0(
28579 token="<token>",
28580 environment=Auth0Environment.DEFAULT,
28581 )
28582
28583 client.guardian.factors.duo.settings.update()
28584
28585 ```
28586 </dd>
28587 </dl>
28588 </dd>
28589 </dl>
28590
28591 #### ⚙️ Parameters
28592
28593 <dl>
28594 <dd>
28595
28596 <dl>
28597 <dd>
28598
28599 **ikey:** `typing.Optional[str]`
28600
28601 </dd>
28602 </dl>
28603
28604 <dl>
28605 <dd>
28606
28607 **skey:** `typing.Optional[str]`
28608
28609 </dd>
28610 </dl>
28611
28612 <dl>
28613 <dd>
28614
28615 **host:** `typing.Optional[str]`
28616
28617 </dd>
28618 </dl>
28619
28620 <dl>
28621 <dd>
28622
28623 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
28624
28625 </dd>
28626 </dl>
28627 </dd>
28628 </dl>
28629
28630
28631 </dd>
28632 </dl>
28633 </details>
28634
28635 ## Hooks Secrets
28636 <details><summary><code>client.hooks.secrets.<a href="src/auth0.management/hooks/secrets/client.py">get</a>(...) -> GetHookSecretResponseContent</code></summary>
28637 <dl>
28638 <dd>
28639
28640 #### 📝 Description
28641
28642 <dl>
28643 <dd>
28644
28645 <dl>
28646 <dd>
28647
28648 Retrieve a hook's secrets by the ID of the hook.
28649 </dd>
28650 </dl>
28651 </dd>
28652 </dl>
28653
28654 #### 🔌 Usage
28655
28656 <dl>
28657 <dd>
28658
28659 <dl>
28660 <dd>
28661
28662 ```python
28663 from auth0.management import Auth0
28664 from auth0.management.environment import Auth0Environment
28665
28666 client = Auth0(
28667 token="<token>",
28668 environment=Auth0Environment.DEFAULT,
28669 )
28670
28671 client.hooks.secrets.get(
28672 id="id",
28673 )
28674
28675 ```
28676 </dd>
28677 </dl>
28678 </dd>
28679 </dl>
28680
28681 #### ⚙️ Parameters
28682
28683 <dl>
28684 <dd>
28685
28686 <dl>
28687 <dd>
28688
28689 **id:** `str` — ID of the hook to retrieve secrets from.
28690
28691 </dd>
28692 </dl>
28693
28694 <dl>
28695 <dd>
28696
28697 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
28698
28699 </dd>
28700 </dl>
28701 </dd>
28702 </dl>
28703
28704
28705 </dd>
28706 </dl>
28707 </details>
28708
28709 <details><summary><code>client.hooks.secrets.<a href="src/auth0.management/hooks/secrets/client.py">create</a>(...)</code></summary>
28710 <dl>
28711 <dd>
28712
28713 #### 📝 Description
28714
28715 <dl>
28716 <dd>
28717
28718 <dl>
28719 <dd>
28720
28721 Add one or more secrets to an existing hook. Accepts an object of key-value pairs, where the key is the name of the secret. A hook can have a maximum of 20 secrets.
28722 </dd>
28723 </dl>
28724 </dd>
28725 </dl>
28726
28727 #### 🔌 Usage
28728
28729 <dl>
28730 <dd>
28731
28732 <dl>
28733 <dd>
28734
28735 ```python
28736 from auth0.management import Auth0
28737 from auth0.management.environment import Auth0Environment
28738
28739 client = Auth0(
28740 token="<token>",
28741 environment=Auth0Environment.DEFAULT,
28742 )
28743
28744 client.hooks.secrets.create(
28745 id="id",
28746 request={
28747 "key": "value"
28748 },
28749 )
28750
28751 ```
28752 </dd>
28753 </dl>
28754 </dd>
28755 </dl>
28756
28757 #### ⚙️ Parameters
28758
28759 <dl>
28760 <dd>
28761
28762 <dl>
28763 <dd>
28764
28765 **id:** `str` — The id of the hook to retrieve
28766
28767 </dd>
28768 </dl>
28769
28770 <dl>
28771 <dd>
28772
28773 **request:** `CreateHookSecretRequestContent`
28774
28775 </dd>
28776 </dl>
28777
28778 <dl>
28779 <dd>
28780
28781 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
28782
28783 </dd>
28784 </dl>
28785 </dd>
28786 </dl>
28787
28788
28789 </dd>
28790 </dl>
28791 </details>
28792
28793 <details><summary><code>client.hooks.secrets.<a href="src/auth0.management/hooks/secrets/client.py">delete</a>(...)</code></summary>
28794 <dl>
28795 <dd>
28796
28797 #### 📝 Description
28798
28799 <dl>
28800 <dd>
28801
28802 <dl>
28803 <dd>
28804
28805 Delete one or more existing secrets for a given hook. Accepts an array of secret names to delete.
28806 </dd>
28807 </dl>
28808 </dd>
28809 </dl>
28810
28811 #### 🔌 Usage
28812
28813 <dl>
28814 <dd>
28815
28816 <dl>
28817 <dd>
28818
28819 ```python
28820 from auth0.management import Auth0
28821 from auth0.management.environment import Auth0Environment
28822
28823 client = Auth0(
28824 token="<token>",
28825 environment=Auth0Environment.DEFAULT,
28826 )
28827
28828 client.hooks.secrets.delete(
28829 id="id",
28830 request=[
28831 "string"
28832 ],
28833 )
28834
28835 ```
28836 </dd>
28837 </dl>
28838 </dd>
28839 </dl>
28840
28841 #### ⚙️ Parameters
28842
28843 <dl>
28844 <dd>
28845
28846 <dl>
28847 <dd>
28848
28849 **id:** `str` — ID of the hook whose secrets to delete.
28850
28851 </dd>
28852 </dl>
28853
28854 <dl>
28855 <dd>
28856
28857 **request:** `DeleteHookSecretRequestContent`
28858
28859 </dd>
28860 </dl>
28861
28862 <dl>
28863 <dd>
28864
28865 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
28866
28867 </dd>
28868 </dl>
28869 </dd>
28870 </dl>
28871
28872
28873 </dd>
28874 </dl>
28875 </details>
28876
28877 <details><summary><code>client.hooks.secrets.<a href="src/auth0.management/hooks/secrets/client.py">update</a>(...)</code></summary>
28878 <dl>
28879 <dd>
28880
28881 #### 📝 Description
28882
28883 <dl>
28884 <dd>
28885
28886 <dl>
28887 <dd>
28888
28889 Update one or more existing secrets for an existing hook. Accepts an object of key-value pairs, where the key is the name of the existing secret.
28890 </dd>
28891 </dl>
28892 </dd>
28893 </dl>
28894
28895 #### 🔌 Usage
28896
28897 <dl>
28898 <dd>
28899
28900 <dl>
28901 <dd>
28902
28903 ```python
28904 from auth0.management import Auth0
28905 from auth0.management.environment import Auth0Environment
28906
28907 client = Auth0(
28908 token="<token>",
28909 environment=Auth0Environment.DEFAULT,
28910 )
28911
28912 client.hooks.secrets.update(
28913 id="id",
28914 request={
28915 "key": "value"
28916 },
28917 )
28918
28919 ```
28920 </dd>
28921 </dl>
28922 </dd>
28923 </dl>
28924
28925 #### ⚙️ Parameters
28926
28927 <dl>
28928 <dd>
28929
28930 <dl>
28931 <dd>
28932
28933 **id:** `str` — ID of the hook whose secrets to update.
28934
28935 </dd>
28936 </dl>
28937
28938 <dl>
28939 <dd>
28940
28941 **request:** `UpdateHookSecretRequestContent`
28942
28943 </dd>
28944 </dl>
28945
28946 <dl>
28947 <dd>
28948
28949 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
28950
28951 </dd>
28952 </dl>
28953 </dd>
28954 </dl>
28955
28956
28957 </dd>
28958 </dl>
28959 </details>
28960
28961 ## Jobs UsersExports
28962 <details><summary><code>client.jobs.users_exports.<a href="src/auth0.management/jobs/users_exports/client.py">create</a>(...) -> CreateExportUsersResponseContent</code></summary>
28963 <dl>
28964 <dd>
28965
28966 #### 📝 Description
28967
28968 <dl>
28969 <dd>
28970
28971 <dl>
28972 <dd>
28973
28974 Export all users to a file via a long-running job.
28975 </dd>
28976 </dl>
28977 </dd>
28978 </dl>
28979
28980 #### 🔌 Usage
28981
28982 <dl>
28983 <dd>
28984
28985 <dl>
28986 <dd>
28987
28988 ```python
28989 from auth0.management import Auth0
28990 from auth0.management.environment import Auth0Environment
28991
28992 client = Auth0(
28993 token="<token>",
28994 environment=Auth0Environment.DEFAULT,
28995 )
28996
28997 client.jobs.users_exports.create()
28998
28999 ```
29000 </dd>
29001 </dl>
29002 </dd>
29003 </dl>
29004
29005 #### ⚙️ Parameters
29006
29007 <dl>
29008 <dd>
29009
29010 <dl>
29011 <dd>
29012
29013 **connection_id:** `typing.Optional[str]` — connection_id of the connection from which users will be exported.
29014
29015 </dd>
29016 </dl>
29017
29018 <dl>
29019 <dd>
29020
29021 **format:** `typing.Optional[JobFileFormatEnum]`
29022
29023 </dd>
29024 </dl>
29025
29026 <dl>
29027 <dd>
29028
29029 **limit:** `typing.Optional[int]` — Limit the number of records.
29030
29031 </dd>
29032 </dl>
29033
29034 <dl>
29035 <dd>
29036
29037 **fields:** `typing.Optional[typing.List[CreateExportUsersFields]]` — List of fields to be included in the CSV. Defaults to a predefined set of fields.
29038
29039 </dd>
29040 </dl>
29041
29042 <dl>
29043 <dd>
29044
29045 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
29046
29047 </dd>
29048 </dl>
29049 </dd>
29050 </dl>
29051
29052
29053 </dd>
29054 </dl>
29055 </details>
29056
29057 ## Jobs UsersImports
29058 <details><summary><code>client.jobs.users_imports.<a href="src/auth0.management/jobs/users_imports/client.py">create</a>(...) -> CreateImportUsersResponseContent</code></summary>
29059 <dl>
29060 <dd>
29061
29062 #### 📝 Description
29063
29064 <dl>
29065 <dd>
29066
29067 <dl>
29068 <dd>
29069
29070 Import users from a <a href="https://auth0.com/docs/users/references/bulk-import-database-schema-examples">formatted file</a> into a connection via a long-running job. When importing users, with or without upsert, the `email_verified` is set to `false` when the email address is added or updated. Users must verify their email address. To avoid this behavior, set `email_verified` to `true` in the imported data.
29071 </dd>
29072 </dl>
29073 </dd>
29074 </dl>
29075
29076 #### 🔌 Usage
29077
29078 <dl>
29079 <dd>
29080
29081 <dl>
29082 <dd>
29083
29084 ```python
29085 from auth0.management import Auth0
29086 from auth0.management.environment import Auth0Environment
29087
29088 client = Auth0(
29089 token="<token>",
29090 environment=Auth0Environment.DEFAULT,
29091 )
29092
29093 client.jobs.users_imports.create(
29094 users="example_users",
29095 connection_id="connection_id",
29096 )
29097
29098 ```
29099 </dd>
29100 </dl>
29101 </dd>
29102 </dl>
29103
29104 #### ⚙️ Parameters
29105
29106 <dl>
29107 <dd>
29108
29109 <dl>
29110 <dd>
29111
29112 **users:** `core.File`
29113
29114 </dd>
29115 </dl>
29116
29117 <dl>
29118 <dd>
29119
29120 **connection_id:** `str` — connection_id of the connection to which users will be imported.
29121
29122 </dd>
29123 </dl>
29124
29125 <dl>
29126 <dd>
29127
29128 **upsert:** `typing.Optional[bool]` — Whether to update users if they already exist (true) or to ignore them (false).
29129
29130 </dd>
29131 </dl>
29132
29133 <dl>
29134 <dd>
29135
29136 **external_id:** `typing.Optional[str]` — Customer-defined ID.
29137
29138 </dd>
29139 </dl>
29140
29141 <dl>
29142 <dd>
29143
29144 **send_completion_email:** `typing.Optional[bool]` — Whether to send a completion email to all tenant owners when the job is finished (true) or not (false).
29145
29146 </dd>
29147 </dl>
29148
29149 <dl>
29150 <dd>
29151
29152 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
29153
29154 </dd>
29155 </dl>
29156 </dd>
29157 </dl>
29158
29159
29160 </dd>
29161 </dl>
29162 </details>
29163
29164 ## Jobs VerificationEmail
29165 <details><summary><code>client.jobs.verification_email.<a href="src/auth0.management/jobs/verification_email/client.py">create</a>(...) -> CreateVerificationEmailResponseContent</code></summary>
29166 <dl>
29167 <dd>
29168
29169 #### 📝 Description
29170
29171 <dl>
29172 <dd>
29173
29174 <dl>
29175 <dd>
29176
29177 Send an email to the specified user that asks them to click a link to [verify their email address](https://auth0.com/docs/email/custom#verification-email).
29178
29179 Note: You must have the `Status` toggle enabled for the verification email template for the email to be sent.
29180 </dd>
29181 </dl>
29182 </dd>
29183 </dl>
29184
29185 #### 🔌 Usage
29186
29187 <dl>
29188 <dd>
29189
29190 <dl>
29191 <dd>
29192
29193 ```python
29194 from auth0.management import Auth0
29195 from auth0.management.environment import Auth0Environment
29196
29197 client = Auth0(
29198 token="<token>",
29199 environment=Auth0Environment.DEFAULT,
29200 )
29201
29202 client.jobs.verification_email.create(
29203 user_id="user_id",
29204 )
29205
29206 ```
29207 </dd>
29208 </dl>
29209 </dd>
29210 </dl>
29211
29212 #### ⚙️ Parameters
29213
29214 <dl>
29215 <dd>
29216
29217 <dl>
29218 <dd>
29219
29220 **user_id:** `str` — user_id of the user to send the verification email to.
29221
29222 </dd>
29223 </dl>
29224
29225 <dl>
29226 <dd>
29227
29228 **client_id:** `typing.Optional[str]` — client_id of the client (application). If no value provided, the global Client ID will be used.
29229
29230 </dd>
29231 </dl>
29232
29233 <dl>
29234 <dd>
29235
29236 **identity:** `typing.Optional[Identity]`
29237
29238 </dd>
29239 </dl>
29240
29241 <dl>
29242 <dd>
29243
29244 **organization_id:** `typing.Optional[str]` — (Optional) Organization ID – the ID of the Organization. If provided, organization parameters will be made available to the email template and organization branding will be applied to the prompt. In addition, the redirect link in the prompt will include organization_id and organization_name query string parameters.
29245
29246 </dd>
29247 </dl>
29248
29249 <dl>
29250 <dd>
29251
29252 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
29253
29254 </dd>
29255 </dl>
29256 </dd>
29257 </dl>
29258
29259
29260 </dd>
29261 </dl>
29262 </details>
29263
29264 ## Jobs Errors
29265 <details><summary><code>client.jobs.errors.<a href="src/auth0.management/jobs/errors/client.py">get</a>(...) -> typing.Optional[ErrorsGetResponse]</code></summary>
29266 <dl>
29267 <dd>
29268
29269 #### 📝 Description
29270
29271 <dl>
29272 <dd>
29273
29274 <dl>
29275 <dd>
29276
29277 Retrieve error details of a failed job.
29278 </dd>
29279 </dl>
29280 </dd>
29281 </dl>
29282
29283 #### 🔌 Usage
29284
29285 <dl>
29286 <dd>
29287
29288 <dl>
29289 <dd>
29290
29291 ```python
29292 from auth0.management import Auth0
29293 from auth0.management.environment import Auth0Environment
29294
29295 client = Auth0(
29296 token="<token>",
29297 environment=Auth0Environment.DEFAULT,
29298 )
29299
29300 client.jobs.errors.get(
29301 id="id",
29302 )
29303
29304 ```
29305 </dd>
29306 </dl>
29307 </dd>
29308 </dl>
29309
29310 #### ⚙️ Parameters
29311
29312 <dl>
29313 <dd>
29314
29315 <dl>
29316 <dd>
29317
29318 **id:** `str` — ID of the job.
29319
29320 </dd>
29321 </dl>
29322
29323 <dl>
29324 <dd>
29325
29326 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
29327
29328 </dd>
29329 </dl>
29330 </dd>
29331 </dl>
29332
29333
29334 </dd>
29335 </dl>
29336 </details>
29337
29338 ## Keys CustomSigning
29339 <details><summary><code>client.keys.custom_signing.<a href="src/auth0.management/keys/custom_signing/client.py">get</a>() -> GetCustomSigningKeysResponseContent</code></summary>
29340 <dl>
29341 <dd>
29342
29343 #### 📝 Description
29344
29345 <dl>
29346 <dd>
29347
29348 <dl>
29349 <dd>
29350
29351 Get entire jwks representation of custom signing keys.
29352 </dd>
29353 </dl>
29354 </dd>
29355 </dl>
29356
29357 #### 🔌 Usage
29358
29359 <dl>
29360 <dd>
29361
29362 <dl>
29363 <dd>
29364
29365 ```python
29366 from auth0.management import Auth0
29367 from auth0.management.environment import Auth0Environment
29368
29369 client = Auth0(
29370 token="<token>",
29371 environment=Auth0Environment.DEFAULT,
29372 )
29373
29374 client.keys.custom_signing.get()
29375
29376 ```
29377 </dd>
29378 </dl>
29379 </dd>
29380 </dl>
29381
29382 #### ⚙️ Parameters
29383
29384 <dl>
29385 <dd>
29386
29387 <dl>
29388 <dd>
29389
29390 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
29391
29392 </dd>
29393 </dl>
29394 </dd>
29395 </dl>
29396
29397
29398 </dd>
29399 </dl>
29400 </details>
29401
29402 <details><summary><code>client.keys.custom_signing.<a href="src/auth0.management/keys/custom_signing/client.py">set</a>(...) -> SetCustomSigningKeysResponseContent</code></summary>
29403 <dl>
29404 <dd>
29405
29406 #### 📝 Description
29407
29408 <dl>
29409 <dd>
29410
29411 <dl>
29412 <dd>
29413
29414 Create or replace entire jwks representation of custom signing keys.
29415 </dd>
29416 </dl>
29417 </dd>
29418 </dl>
29419
29420 #### 🔌 Usage
29421
29422 <dl>
29423 <dd>
29424
29425 <dl>
29426 <dd>
29427
29428 ```python
29429 from auth0.management import Auth0, CustomSigningKeyJwk
29430 from auth0.management.environment import Auth0Environment
29431
29432 client = Auth0(
29433 token="<token>",
29434 environment=Auth0Environment.DEFAULT,
29435 )
29436
29437 client.keys.custom_signing.set(
29438 keys=[
29439 CustomSigningKeyJwk(
29440 kty="EC",
29441 )
29442 ],
29443 )
29444
29445 ```
29446 </dd>
29447 </dl>
29448 </dd>
29449 </dl>
29450
29451 #### ⚙️ Parameters
29452
29453 <dl>
29454 <dd>
29455
29456 <dl>
29457 <dd>
29458
29459 **keys:** `typing.List[CustomSigningKeyJwk]` — An array of custom public signing keys.
29460
29461 </dd>
29462 </dl>
29463
29464 <dl>
29465 <dd>
29466
29467 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
29468
29469 </dd>
29470 </dl>
29471 </dd>
29472 </dl>
29473
29474
29475 </dd>
29476 </dl>
29477 </details>
29478
29479 <details><summary><code>client.keys.custom_signing.<a href="src/auth0.management/keys/custom_signing/client.py">delete</a>()</code></summary>
29480 <dl>
29481 <dd>
29482
29483 #### 📝 Description
29484
29485 <dl>
29486 <dd>
29487
29488 <dl>
29489 <dd>
29490
29491 Delete entire jwks representation of custom signing keys.
29492 </dd>
29493 </dl>
29494 </dd>
29495 </dl>
29496
29497 #### 🔌 Usage
29498
29499 <dl>
29500 <dd>
29501
29502 <dl>
29503 <dd>
29504
29505 ```python
29506 from auth0.management import Auth0
29507 from auth0.management.environment import Auth0Environment
29508
29509 client = Auth0(
29510 token="<token>",
29511 environment=Auth0Environment.DEFAULT,
29512 )
29513
29514 client.keys.custom_signing.delete()
29515
29516 ```
29517 </dd>
29518 </dl>
29519 </dd>
29520 </dl>
29521
29522 #### ⚙️ Parameters
29523
29524 <dl>
29525 <dd>
29526
29527 <dl>
29528 <dd>
29529
29530 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
29531
29532 </dd>
29533 </dl>
29534 </dd>
29535 </dl>
29536
29537
29538 </dd>
29539 </dl>
29540 </details>
29541
29542 ## Keys Encryption
29543 <details><summary><code>client.keys.encryption.<a href="src/auth0.management/keys/encryption/client.py">list</a>(...) -> ListEncryptionKeyOffsetPaginatedResponseContent</code></summary>
29544 <dl>
29545 <dd>
29546
29547 #### 📝 Description
29548
29549 <dl>
29550 <dd>
29551
29552 <dl>
29553 <dd>
29554
29555 Retrieve details of all the encryption keys associated with your tenant.
29556 </dd>
29557 </dl>
29558 </dd>
29559 </dl>
29560
29561 #### 🔌 Usage
29562
29563 <dl>
29564 <dd>
29565
29566 <dl>
29567 <dd>
29568
29569 ```python
29570 from auth0.management import Auth0
29571 from auth0.management.environment import Auth0Environment
29572
29573 client = Auth0(
29574 token="<token>",
29575 environment=Auth0Environment.DEFAULT,
29576 )
29577
29578 client.keys.encryption.list(
29579 page=1,
29580 per_page=1,
29581 include_totals=True,
29582 )
29583
29584 ```
29585 </dd>
29586 </dl>
29587 </dd>
29588 </dl>
29589
29590 #### ⚙️ Parameters
29591
29592 <dl>
29593 <dd>
29594
29595 <dl>
29596 <dd>
29597
29598 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
29599
29600 </dd>
29601 </dl>
29602
29603 <dl>
29604 <dd>
29605
29606 **per_page:** `typing.Optional[int]` — Number of results per page. Default value is 50, maximum value is 100.
29607
29608 </dd>
29609 </dl>
29610
29611 <dl>
29612 <dd>
29613
29614 **include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
29615
29616 </dd>
29617 </dl>
29618
29619 <dl>
29620 <dd>
29621
29622 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
29623
29624 </dd>
29625 </dl>
29626 </dd>
29627 </dl>
29628
29629
29630 </dd>
29631 </dl>
29632 </details>
29633
29634 <details><summary><code>client.keys.encryption.<a href="src/auth0.management/keys/encryption/client.py">create</a>(...) -> CreateEncryptionKeyResponseContent</code></summary>
29635 <dl>
29636 <dd>
29637
29638 #### 📝 Description
29639
29640 <dl>
29641 <dd>
29642
29643 <dl>
29644 <dd>
29645
29646 Create the new, pre-activated encryption key, without the key material.
29647 </dd>
29648 </dl>
29649 </dd>
29650 </dl>
29651
29652 #### 🔌 Usage
29653
29654 <dl>
29655 <dd>
29656
29657 <dl>
29658 <dd>
29659
29660 ```python
29661 from auth0.management import Auth0
29662 from auth0.management.environment import Auth0Environment
29663
29664 client = Auth0(
29665 token="<token>",
29666 environment=Auth0Environment.DEFAULT,
29667 )
29668
29669 client.keys.encryption.create(
29670 type="customer-provided-root-key",
29671 )
29672
29673 ```
29674 </dd>
29675 </dl>
29676 </dd>
29677 </dl>
29678
29679 #### ⚙️ Parameters
29680
29681 <dl>
29682 <dd>
29683
29684 <dl>
29685 <dd>
29686
29687 **type:** `CreateEncryptionKeyType`
29688
29689 </dd>
29690 </dl>
29691
29692 <dl>
29693 <dd>
29694
29695 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
29696
29697 </dd>
29698 </dl>
29699 </dd>
29700 </dl>
29701
29702
29703 </dd>
29704 </dl>
29705 </details>
29706
29707 <details><summary><code>client.keys.encryption.<a href="src/auth0.management/keys/encryption/client.py">rekey</a>()</code></summary>
29708 <dl>
29709 <dd>
29710
29711 #### 📝 Description
29712
29713 <dl>
29714 <dd>
29715
29716 <dl>
29717 <dd>
29718
29719 Perform rekeying operation on the key hierarchy.
29720 </dd>
29721 </dl>
29722 </dd>
29723 </dl>
29724
29725 #### 🔌 Usage
29726
29727 <dl>
29728 <dd>
29729
29730 <dl>
29731 <dd>
29732
29733 ```python
29734 from auth0.management import Auth0
29735 from auth0.management.environment import Auth0Environment
29736
29737 client = Auth0(
29738 token="<token>",
29739 environment=Auth0Environment.DEFAULT,
29740 )
29741
29742 client.keys.encryption.rekey()
29743
29744 ```
29745 </dd>
29746 </dl>
29747 </dd>
29748 </dl>
29749
29750 #### ⚙️ Parameters
29751
29752 <dl>
29753 <dd>
29754
29755 <dl>
29756 <dd>
29757
29758 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
29759
29760 </dd>
29761 </dl>
29762 </dd>
29763 </dl>
29764
29765
29766 </dd>
29767 </dl>
29768 </details>
29769
29770 <details><summary><code>client.keys.encryption.<a href="src/auth0.management/keys/encryption/client.py">get</a>(...) -> GetEncryptionKeyResponseContent</code></summary>
29771 <dl>
29772 <dd>
29773
29774 #### 📝 Description
29775
29776 <dl>
29777 <dd>
29778
29779 <dl>
29780 <dd>
29781
29782 Retrieve details of the encryption key with the given ID.
29783 </dd>
29784 </dl>
29785 </dd>
29786 </dl>
29787
29788 #### 🔌 Usage
29789
29790 <dl>
29791 <dd>
29792
29793 <dl>
29794 <dd>
29795
29796 ```python
29797 from auth0.management import Auth0
29798 from auth0.management.environment import Auth0Environment
29799
29800 client = Auth0(
29801 token="<token>",
29802 environment=Auth0Environment.DEFAULT,
29803 )
29804
29805 client.keys.encryption.get(
29806 kid="kid",
29807 )
29808
29809 ```
29810 </dd>
29811 </dl>
29812 </dd>
29813 </dl>
29814
29815 #### ⚙️ Parameters
29816
29817 <dl>
29818 <dd>
29819
29820 <dl>
29821 <dd>
29822
29823 **kid:** `str` — Encryption key ID
29824
29825 </dd>
29826 </dl>
29827
29828 <dl>
29829 <dd>
29830
29831 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
29832
29833 </dd>
29834 </dl>
29835 </dd>
29836 </dl>
29837
29838
29839 </dd>
29840 </dl>
29841 </details>
29842
29843 <details><summary><code>client.keys.encryption.<a href="src/auth0.management/keys/encryption/client.py">import</a>(...) -> ImportEncryptionKeyResponseContent</code></summary>
29844 <dl>
29845 <dd>
29846
29847 #### 📝 Description
29848
29849 <dl>
29850 <dd>
29851
29852 <dl>
29853 <dd>
29854
29855 Import wrapped key material and activate encryption key.
29856 </dd>
29857 </dl>
29858 </dd>
29859 </dl>
29860
29861 #### 🔌 Usage
29862
29863 <dl>
29864 <dd>
29865
29866 <dl>
29867 <dd>
29868
29869 ```python
29870 from auth0.management import Auth0
29871 from auth0.management.environment import Auth0Environment
29872
29873 client = Auth0(
29874 token="<token>",
29875 environment=Auth0Environment.DEFAULT,
29876 )
29877
29878 client.keys.encryption.import_(
29879 kid="kid",
29880 wrapped_key="wrapped_key",
29881 )
29882
29883 ```
29884 </dd>
29885 </dl>
29886 </dd>
29887 </dl>
29888
29889 #### ⚙️ Parameters
29890
29891 <dl>
29892 <dd>
29893
29894 <dl>
29895 <dd>
29896
29897 **kid:** `str` — Encryption key ID
29898
29899 </dd>
29900 </dl>
29901
29902 <dl>
29903 <dd>
29904
29905 **wrapped_key:** `str` — Base64 encoded ciphertext of key material wrapped by public wrapping key.
29906
29907 </dd>
29908 </dl>
29909
29910 <dl>
29911 <dd>
29912
29913 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
29914
29915 </dd>
29916 </dl>
29917 </dd>
29918 </dl>
29919
29920
29921 </dd>
29922 </dl>
29923 </details>
29924
29925 <details><summary><code>client.keys.encryption.<a href="src/auth0.management/keys/encryption/client.py">delete</a>(...)</code></summary>
29926 <dl>
29927 <dd>
29928
29929 #### 📝 Description
29930
29931 <dl>
29932 <dd>
29933
29934 <dl>
29935 <dd>
29936
29937 Delete the custom provided encryption key with the given ID and move back to using native encryption key.
29938 </dd>
29939 </dl>
29940 </dd>
29941 </dl>
29942
29943 #### 🔌 Usage
29944
29945 <dl>
29946 <dd>
29947
29948 <dl>
29949 <dd>
29950
29951 ```python
29952 from auth0.management import Auth0
29953 from auth0.management.environment import Auth0Environment
29954
29955 client = Auth0(
29956 token="<token>",
29957 environment=Auth0Environment.DEFAULT,
29958 )
29959
29960 client.keys.encryption.delete(
29961 kid="kid",
29962 )
29963
29964 ```
29965 </dd>
29966 </dl>
29967 </dd>
29968 </dl>
29969
29970 #### ⚙️ Parameters
29971
29972 <dl>
29973 <dd>
29974
29975 <dl>
29976 <dd>
29977
29978 **kid:** `str` — Encryption key ID
29979
29980 </dd>
29981 </dl>
29982
29983 <dl>
29984 <dd>
29985
29986 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
29987
29988 </dd>
29989 </dl>
29990 </dd>
29991 </dl>
29992
29993
29994 </dd>
29995 </dl>
29996 </details>
29997
29998 <details><summary><code>client.keys.encryption.<a href="src/auth0.management/keys/encryption/client.py">create_public_wrapping_key</a>(...) -> CreateEncryptionKeyPublicWrappingResponseContent</code></summary>
29999 <dl>
30000 <dd>
30001
30002 #### 📝 Description
30003
30004 <dl>
30005 <dd>
30006
30007 <dl>
30008 <dd>
30009
30010 Create the public wrapping key to wrap your own encryption key material.
30011 </dd>
30012 </dl>
30013 </dd>
30014 </dl>
30015
30016 #### 🔌 Usage
30017
30018 <dl>
30019 <dd>
30020
30021 <dl>
30022 <dd>
30023
30024 ```python
30025 from auth0.management import Auth0
30026 from auth0.management.environment import Auth0Environment
30027
30028 client = Auth0(
30029 token="<token>",
30030 environment=Auth0Environment.DEFAULT,
30031 )
30032
30033 client.keys.encryption.create_public_wrapping_key(
30034 kid="kid",
30035 )
30036
30037 ```
30038 </dd>
30039 </dl>
30040 </dd>
30041 </dl>
30042
30043 #### ⚙️ Parameters
30044
30045 <dl>
30046 <dd>
30047
30048 <dl>
30049 <dd>
30050
30051 **kid:** `str` — Encryption key ID
30052
30053 </dd>
30054 </dl>
30055
30056 <dl>
30057 <dd>
30058
30059 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
30060
30061 </dd>
30062 </dl>
30063 </dd>
30064 </dl>
30065
30066
30067 </dd>
30068 </dl>
30069 </details>
30070
30071 ## Keys Signing
30072 <details><summary><code>client.keys.signing.<a href="src/auth0.management/keys/signing/client.py">list</a>() -> typing.List[SigningKeys]</code></summary>
30073 <dl>
30074 <dd>
30075
30076 #### 📝 Description
30077
30078 <dl>
30079 <dd>
30080
30081 <dl>
30082 <dd>
30083
30084 Retrieve details of all the application signing keys associated with your tenant.
30085 </dd>
30086 </dl>
30087 </dd>
30088 </dl>
30089
30090 #### 🔌 Usage
30091
30092 <dl>
30093 <dd>
30094
30095 <dl>
30096 <dd>
30097
30098 ```python
30099 from auth0.management import Auth0
30100 from auth0.management.environment import Auth0Environment
30101
30102 client = Auth0(
30103 token="<token>",
30104 environment=Auth0Environment.DEFAULT,
30105 )
30106
30107 client.keys.signing.list()
30108
30109 ```
30110 </dd>
30111 </dl>
30112 </dd>
30113 </dl>
30114
30115 #### ⚙️ Parameters
30116
30117 <dl>
30118 <dd>
30119
30120 <dl>
30121 <dd>
30122
30123 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
30124
30125 </dd>
30126 </dl>
30127 </dd>
30128 </dl>
30129
30130
30131 </dd>
30132 </dl>
30133 </details>
30134
30135 <details><summary><code>client.keys.signing.<a href="src/auth0.management/keys/signing/client.py">rotate</a>() -> RotateSigningKeysResponseContent</code></summary>
30136 <dl>
30137 <dd>
30138
30139 #### 📝 Description
30140
30141 <dl>
30142 <dd>
30143
30144 <dl>
30145 <dd>
30146
30147 Rotate the application signing key of your tenant.
30148 </dd>
30149 </dl>
30150 </dd>
30151 </dl>
30152
30153 #### 🔌 Usage
30154
30155 <dl>
30156 <dd>
30157
30158 <dl>
30159 <dd>
30160
30161 ```python
30162 from auth0.management import Auth0
30163 from auth0.management.environment import Auth0Environment
30164
30165 client = Auth0(
30166 token="<token>",
30167 environment=Auth0Environment.DEFAULT,
30168 )
30169
30170 client.keys.signing.rotate()
30171
30172 ```
30173 </dd>
30174 </dl>
30175 </dd>
30176 </dl>
30177
30178 #### ⚙️ Parameters
30179
30180 <dl>
30181 <dd>
30182
30183 <dl>
30184 <dd>
30185
30186 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
30187
30188 </dd>
30189 </dl>
30190 </dd>
30191 </dl>
30192
30193
30194 </dd>
30195 </dl>
30196 </details>
30197
30198 <details><summary><code>client.keys.signing.<a href="src/auth0.management/keys/signing/client.py">get</a>(...) -> GetSigningKeysResponseContent</code></summary>
30199 <dl>
30200 <dd>
30201
30202 #### 📝 Description
30203
30204 <dl>
30205 <dd>
30206
30207 <dl>
30208 <dd>
30209
30210 Retrieve details of the application signing key with the given ID.
30211 </dd>
30212 </dl>
30213 </dd>
30214 </dl>
30215
30216 #### 🔌 Usage
30217
30218 <dl>
30219 <dd>
30220
30221 <dl>
30222 <dd>
30223
30224 ```python
30225 from auth0.management import Auth0
30226 from auth0.management.environment import Auth0Environment
30227
30228 client = Auth0(
30229 token="<token>",
30230 environment=Auth0Environment.DEFAULT,
30231 )
30232
30233 client.keys.signing.get(
30234 kid="kid",
30235 )
30236
30237 ```
30238 </dd>
30239 </dl>
30240 </dd>
30241 </dl>
30242
30243 #### ⚙️ Parameters
30244
30245 <dl>
30246 <dd>
30247
30248 <dl>
30249 <dd>
30250
30251 **kid:** `str` — Key id of the key to retrieve
30252
30253 </dd>
30254 </dl>
30255
30256 <dl>
30257 <dd>
30258
30259 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
30260
30261 </dd>
30262 </dl>
30263 </dd>
30264 </dl>
30265
30266
30267 </dd>
30268 </dl>
30269 </details>
30270
30271 <details><summary><code>client.keys.signing.<a href="src/auth0.management/keys/signing/client.py">revoke</a>(...) -> RevokedSigningKeysResponseContent</code></summary>
30272 <dl>
30273 <dd>
30274
30275 #### 📝 Description
30276
30277 <dl>
30278 <dd>
30279
30280 <dl>
30281 <dd>
30282
30283 Revoke the application signing key with the given ID.
30284 </dd>
30285 </dl>
30286 </dd>
30287 </dl>
30288
30289 #### 🔌 Usage
30290
30291 <dl>
30292 <dd>
30293
30294 <dl>
30295 <dd>
30296
30297 ```python
30298 from auth0.management import Auth0
30299 from auth0.management.environment import Auth0Environment
30300
30301 client = Auth0(
30302 token="<token>",
30303 environment=Auth0Environment.DEFAULT,
30304 )
30305
30306 client.keys.signing.revoke(
30307 kid="kid",
30308 )
30309
30310 ```
30311 </dd>
30312 </dl>
30313 </dd>
30314 </dl>
30315
30316 #### ⚙️ Parameters
30317
30318 <dl>
30319 <dd>
30320
30321 <dl>
30322 <dd>
30323
30324 **kid:** `str` — Key id of the key to revoke
30325
30326 </dd>
30327 </dl>
30328
30329 <dl>
30330 <dd>
30331
30332 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
30333
30334 </dd>
30335 </dl>
30336 </dd>
30337 </dl>
30338
30339
30340 </dd>
30341 </dl>
30342 </details>
30343
30344 ## Organizations ClientGrants
30345 <details><summary><code>client.organizations.client_grants.<a href="src/auth0.management/organizations/client_grants/client.py">list</a>(...) -> ListOrganizationClientGrantsOffsetPaginatedResponseContent</code></summary>
30346 <dl>
30347 <dd>
30348
30349 #### 🔌 Usage
30350
30351 <dl>
30352 <dd>
30353
30354 <dl>
30355 <dd>
30356
30357 ```python
30358 from auth0.management import Auth0
30359 from auth0.management.environment import Auth0Environment
30360
30361 client = Auth0(
30362 token="<token>",
30363 environment=Auth0Environment.DEFAULT,
30364 )
30365
30366 client.organizations.client_grants.list(
30367 id="id",
30368 audience="audience",
30369 client_id="client_id",
30370 grant_ids=[
30371 "grant_ids"
30372 ],
30373 page=1,
30374 per_page=1,
30375 include_totals=True,
30376 )
30377
30378 ```
30379 </dd>
30380 </dl>
30381 </dd>
30382 </dl>
30383
30384 #### ⚙️ Parameters
30385
30386 <dl>
30387 <dd>
30388
30389 <dl>
30390 <dd>
30391
30392 **id:** `str` — Organization identifier.
30393
30394 </dd>
30395 </dl>
30396
30397 <dl>
30398 <dd>
30399
30400 **audience:** `typing.Optional[str]` — Optional filter on audience of the client grant.
30401
30402 </dd>
30403 </dl>
30404
30405 <dl>
30406 <dd>
30407
30408 **client_id:** `typing.Optional[str]` — Optional filter on client_id of the client grant.
30409
30410 </dd>
30411 </dl>
30412
30413 <dl>
30414 <dd>
30415
30416 **grant_ids:** `typing.Optional[typing.Union[typing.Optional[str], typing.Sequence[typing.Optional[str]]]]` — Optional filter on the ID of the client grant. Must be URL encoded and may be specified multiple times (max 10).<br /><b>e.g.</b> <i>../client-grants?grant_ids=id1&grant_ids=id2</i>
30417
30418 </dd>
30419 </dl>
30420
30421 <dl>
30422 <dd>
30423
30424 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
30425
30426 </dd>
30427 </dl>
30428
30429 <dl>
30430 <dd>
30431
30432 **per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
30433
30434 </dd>
30435 </dl>
30436
30437 <dl>
30438 <dd>
30439
30440 **include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
30441
30442 </dd>
30443 </dl>
30444
30445 <dl>
30446 <dd>
30447
30448 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
30449
30450 </dd>
30451 </dl>
30452 </dd>
30453 </dl>
30454
30455
30456 </dd>
30457 </dl>
30458 </details>
30459
30460 <details><summary><code>client.organizations.client_grants.<a href="src/auth0.management/organizations/client_grants/client.py">create</a>(...) -> AssociateOrganizationClientGrantResponseContent</code></summary>
30461 <dl>
30462 <dd>
30463
30464 #### 🔌 Usage
30465
30466 <dl>
30467 <dd>
30468
30469 <dl>
30470 <dd>
30471
30472 ```python
30473 from auth0.management import Auth0
30474 from auth0.management.environment import Auth0Environment
30475
30476 client = Auth0(
30477 token="<token>",
30478 environment=Auth0Environment.DEFAULT,
30479 )
30480
30481 client.organizations.client_grants.create(
30482 id="id",
30483 grant_id="grant_id",
30484 )
30485
30486 ```
30487 </dd>
30488 </dl>
30489 </dd>
30490 </dl>
30491
30492 #### ⚙️ Parameters
30493
30494 <dl>
30495 <dd>
30496
30497 <dl>
30498 <dd>
30499
30500 **id:** `str` — Organization identifier.
30501
30502 </dd>
30503 </dl>
30504
30505 <dl>
30506 <dd>
30507
30508 **grant_id:** `str` — A Client Grant ID to add to the organization.
30509
30510 </dd>
30511 </dl>
30512
30513 <dl>
30514 <dd>
30515
30516 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
30517
30518 </dd>
30519 </dl>
30520 </dd>
30521 </dl>
30522
30523
30524 </dd>
30525 </dl>
30526 </details>
30527
30528 <details><summary><code>client.organizations.client_grants.<a href="src/auth0.management/organizations/client_grants/client.py">delete</a>(...)</code></summary>
30529 <dl>
30530 <dd>
30531
30532 #### 🔌 Usage
30533
30534 <dl>
30535 <dd>
30536
30537 <dl>
30538 <dd>
30539
30540 ```python
30541 from auth0.management import Auth0
30542 from auth0.management.environment import Auth0Environment
30543
30544 client = Auth0(
30545 token="<token>",
30546 environment=Auth0Environment.DEFAULT,
30547 )
30548
30549 client.organizations.client_grants.delete(
30550 id="id",
30551 grant_id="grant_id",
30552 )
30553
30554 ```
30555 </dd>
30556 </dl>
30557 </dd>
30558 </dl>
30559
30560 #### ⚙️ Parameters
30561
30562 <dl>
30563 <dd>
30564
30565 <dl>
30566 <dd>
30567
30568 **id:** `str` — Organization identifier.
30569
30570 </dd>
30571 </dl>
30572
30573 <dl>
30574 <dd>
30575
30576 **grant_id:** `str` — The Client Grant ID to remove from the organization
30577
30578 </dd>
30579 </dl>
30580
30581 <dl>
30582 <dd>
30583
30584 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
30585
30586 </dd>
30587 </dl>
30588 </dd>
30589 </dl>
30590
30591
30592 </dd>
30593 </dl>
30594 </details>
30595
30596 ## Organizations Connections
30597 <details><summary><code>client.organizations.connections.<a href="src/auth0.management/organizations/connections/client.py">list</a>(...) -> ListOrganizationAllConnectionsOffsetPaginatedResponseContent</code></summary>
30598 <dl>
30599 <dd>
30600
30601 #### 🔌 Usage
30602
30603 <dl>
30604 <dd>
30605
30606 <dl>
30607 <dd>
30608
30609 ```python
30610 from auth0.management import Auth0
30611 from auth0.management.environment import Auth0Environment
30612
30613 client = Auth0(
30614 token="<token>",
30615 environment=Auth0Environment.DEFAULT,
30616 )
30617
30618 client.organizations.connections.list(
30619 id="id",
30620 page=1,
30621 per_page=1,
30622 include_totals=True,
30623 is_enabled=True,
30624 )
30625
30626 ```
30627 </dd>
30628 </dl>
30629 </dd>
30630 </dl>
30631
30632 #### ⚙️ Parameters
30633
30634 <dl>
30635 <dd>
30636
30637 <dl>
30638 <dd>
30639
30640 **id:** `str` — Organization identifier.
30641
30642 </dd>
30643 </dl>
30644
30645 <dl>
30646 <dd>
30647
30648 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
30649
30650 </dd>
30651 </dl>
30652
30653 <dl>
30654 <dd>
30655
30656 **per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
30657
30658 </dd>
30659 </dl>
30660
30661 <dl>
30662 <dd>
30663
30664 **include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
30665
30666 </dd>
30667 </dl>
30668
30669 <dl>
30670 <dd>
30671
30672 **is_enabled:** `typing.Optional[bool]` — Filter connections by enabled status.
30673
30674 </dd>
30675 </dl>
30676
30677 <dl>
30678 <dd>
30679
30680 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
30681
30682 </dd>
30683 </dl>
30684 </dd>
30685 </dl>
30686
30687
30688 </dd>
30689 </dl>
30690 </details>
30691
30692 <details><summary><code>client.organizations.connections.<a href="src/auth0.management/organizations/connections/client.py">create</a>(...) -> CreateOrganizationAllConnectionResponseContent</code></summary>
30693 <dl>
30694 <dd>
30695
30696 #### 🔌 Usage
30697
30698 <dl>
30699 <dd>
30700
30701 <dl>
30702 <dd>
30703
30704 ```python
30705 from auth0.management import Auth0
30706 from auth0.management.environment import Auth0Environment
30707
30708 client = Auth0(
30709 token="<token>",
30710 environment=Auth0Environment.DEFAULT,
30711 )
30712
30713 client.organizations.connections.create(
30714 id="id",
30715 connection_id="connection_id",
30716 )
30717
30718 ```
30719 </dd>
30720 </dl>
30721 </dd>
30722 </dl>
30723
30724 #### ⚙️ Parameters
30725
30726 <dl>
30727 <dd>
30728
30729 <dl>
30730 <dd>
30731
30732 **id:** `str` — Organization identifier.
30733
30734 </dd>
30735 </dl>
30736
30737 <dl>
30738 <dd>
30739
30740 **connection_id:** `str` — Connection identifier.
30741
30742 </dd>
30743 </dl>
30744
30745 <dl>
30746 <dd>
30747
30748 **organization_connection_name:** `typing.Optional[str]` — Name of the connection in the scope of this organization.
30749
30750 </dd>
30751 </dl>
30752
30753 <dl>
30754 <dd>
30755
30756 **assign_membership_on_login:** `typing.Optional[bool]` — When true, all users that log in with this connection will be automatically granted membership in the organization. When false, users must be granted membership in the organization before logging in with this connection.
30757
30758 </dd>
30759 </dl>
30760
30761 <dl>
30762 <dd>
30763
30764 **show_as_button:** `typing.Optional[bool]` — Determines whether a connection should be displayed on this organization’s login prompt. Only applicable for enterprise connections. Default: true.
30765
30766 </dd>
30767 </dl>
30768
30769 <dl>
30770 <dd>
30771
30772 **is_signup_enabled:** `typing.Optional[bool]` — Determines whether organization signup should be enabled for this organization connection. Only applicable for database connections. Default: false.
30773
30774 </dd>
30775 </dl>
30776
30777 <dl>
30778 <dd>
30779
30780 **organization_access_level:** `typing.Optional[OrganizationAccessLevelEnum]`
30781
30782 </dd>
30783 </dl>
30784
30785 <dl>
30786 <dd>
30787
30788 **is_enabled:** `typing.Optional[bool]` — Whether the connection is enabled for the organization.
30789
30790 </dd>
30791 </dl>
30792
30793 <dl>
30794 <dd>
30795
30796 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
30797
30798 </dd>
30799 </dl>
30800 </dd>
30801 </dl>
30802
30803
30804 </dd>
30805 </dl>
30806 </details>
30807
30808 <details><summary><code>client.organizations.connections.<a href="src/auth0.management/organizations/connections/client.py">get</a>(...) -> GetOrganizationAllConnectionResponseContent</code></summary>
30809 <dl>
30810 <dd>
30811
30812 #### 🔌 Usage
30813
30814 <dl>
30815 <dd>
30816
30817 <dl>
30818 <dd>
30819
30820 ```python
30821 from auth0.management import Auth0
30822 from auth0.management.environment import Auth0Environment
30823
30824 client = Auth0(
30825 token="<token>",
30826 environment=Auth0Environment.DEFAULT,
30827 )
30828
30829 client.organizations.connections.get(
30830 id="id",
30831 connection_id="connection_id",
30832 )
30833
30834 ```
30835 </dd>
30836 </dl>
30837 </dd>
30838 </dl>
30839
30840 #### ⚙️ Parameters
30841
30842 <dl>
30843 <dd>
30844
30845 <dl>
30846 <dd>
30847
30848 **id:** `str` — Organization identifier.
30849
30850 </dd>
30851 </dl>
30852
30853 <dl>
30854 <dd>
30855
30856 **connection_id:** `str` — Connection identifier.
30857
30858 </dd>
30859 </dl>
30860
30861 <dl>
30862 <dd>
30863
30864 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
30865
30866 </dd>
30867 </dl>
30868 </dd>
30869 </dl>
30870
30871
30872 </dd>
30873 </dl>
30874 </details>
30875
30876 <details><summary><code>client.organizations.connections.<a href="src/auth0.management/organizations/connections/client.py">delete</a>(...)</code></summary>
30877 <dl>
30878 <dd>
30879
30880 #### 🔌 Usage
30881
30882 <dl>
30883 <dd>
30884
30885 <dl>
30886 <dd>
30887
30888 ```python
30889 from auth0.management import Auth0
30890 from auth0.management.environment import Auth0Environment
30891
30892 client = Auth0(
30893 token="<token>",
30894 environment=Auth0Environment.DEFAULT,
30895 )
30896
30897 client.organizations.connections.delete(
30898 id="id",
30899 connection_id="connection_id",
30900 )
30901
30902 ```
30903 </dd>
30904 </dl>
30905 </dd>
30906 </dl>
30907
30908 #### ⚙️ Parameters
30909
30910 <dl>
30911 <dd>
30912
30913 <dl>
30914 <dd>
30915
30916 **id:** `str` — Organization identifier.
30917
30918 </dd>
30919 </dl>
30920
30921 <dl>
30922 <dd>
30923
30924 **connection_id:** `str` — Connection identifier.
30925
30926 </dd>
30927 </dl>
30928
30929 <dl>
30930 <dd>
30931
30932 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
30933
30934 </dd>
30935 </dl>
30936 </dd>
30937 </dl>
30938
30939
30940 </dd>
30941 </dl>
30942 </details>
30943
30944 <details><summary><code>client.organizations.connections.<a href="src/auth0.management/organizations/connections/client.py">update</a>(...) -> UpdateOrganizationAllConnectionResponseContent</code></summary>
30945 <dl>
30946 <dd>
30947
30948 #### 🔌 Usage
30949
30950 <dl>
30951 <dd>
30952
30953 <dl>
30954 <dd>
30955
30956 ```python
30957 from auth0.management import Auth0
30958 from auth0.management.environment import Auth0Environment
30959
30960 client = Auth0(
30961 token="<token>",
30962 environment=Auth0Environment.DEFAULT,
30963 )
30964
30965 client.organizations.connections.update(
30966 id="id",
30967 connection_id="connection_id",
30968 )
30969
30970 ```
30971 </dd>
30972 </dl>
30973 </dd>
30974 </dl>
30975
30976 #### ⚙️ Parameters
30977
30978 <dl>
30979 <dd>
30980
30981 <dl>
30982 <dd>
30983
30984 **id:** `str` — Organization identifier.
30985
30986 </dd>
30987 </dl>
30988
30989 <dl>
30990 <dd>
30991
30992 **connection_id:** `str` — Connection identifier.
30993
30994 </dd>
30995 </dl>
30996
30997 <dl>
30998 <dd>
30999
31000 **organization_connection_name:** `typing.Optional[str]` — Name of the connection in the scope of this organization.
31001
31002 </dd>
31003 </dl>
31004
31005 <dl>
31006 <dd>
31007
31008 **assign_membership_on_login:** `typing.Optional[bool]` — When true, all users that log in with this connection will be automatically granted membership in the organization. When false, users must be granted membership in the organization before logging in with this connection.
31009
31010 </dd>
31011 </dl>
31012
31013 <dl>
31014 <dd>
31015
31016 **show_as_button:** `typing.Optional[bool]` — Determines whether a connection should be displayed on this organization’s login prompt. Only applicable for enterprise connections. Default: true.
31017
31018 </dd>
31019 </dl>
31020
31021 <dl>
31022 <dd>
31023
31024 **is_signup_enabled:** `typing.Optional[bool]` — Determines whether organization signup should be enabled for this organization connection. Only applicable for database connections. Default: false.
31025
31026 </dd>
31027 </dl>
31028
31029 <dl>
31030 <dd>
31031
31032 **organization_access_level:** `typing.Optional[OrganizationAccessLevelEnumWithNull]`
31033
31034 </dd>
31035 </dl>
31036
31037 <dl>
31038 <dd>
31039
31040 **is_enabled:** `typing.Optional[bool]` — Whether the connection is enabled for the organization.
31041
31042 </dd>
31043 </dl>
31044
31045 <dl>
31046 <dd>
31047
31048 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
31049
31050 </dd>
31051 </dl>
31052 </dd>
31053 </dl>
31054
31055
31056 </dd>
31057 </dl>
31058 </details>
31059
31060 ## Organizations DiscoveryDomains
31061 <details><summary><code>client.organizations.discovery_domains.<a href="src/auth0.management/organizations/discovery_domains/client.py">list</a>(...) -> ListOrganizationDiscoveryDomainsResponseContent</code></summary>
31062 <dl>
31063 <dd>
31064
31065 #### 📝 Description
31066
31067 <dl>
31068 <dd>
31069
31070 <dl>
31071 <dd>
31072
31073 Retrieve list of all organization discovery domains associated with the specified organization.
31074 This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
31075 </dd>
31076 </dl>
31077 </dd>
31078 </dl>
31079
31080 #### 🔌 Usage
31081
31082 <dl>
31083 <dd>
31084
31085 <dl>
31086 <dd>
31087
31088 ```python
31089 from auth0.management import Auth0
31090 from auth0.management.environment import Auth0Environment
31091
31092 client = Auth0(
31093 token="<token>",
31094 environment=Auth0Environment.DEFAULT,
31095 )
31096
31097 client.organizations.discovery_domains.list(
31098 id="id",
31099 from_="from",
31100 take=1,
31101 )
31102
31103 ```
31104 </dd>
31105 </dl>
31106 </dd>
31107 </dl>
31108
31109 #### ⚙️ Parameters
31110
31111 <dl>
31112 <dd>
31113
31114 <dl>
31115 <dd>
31116
31117 **id:** `str` — ID of the organization.
31118
31119 </dd>
31120 </dl>
31121
31122 <dl>
31123 <dd>
31124
31125 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
31126
31127 </dd>
31128 </dl>
31129
31130 <dl>
31131 <dd>
31132
31133 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
31134
31135 </dd>
31136 </dl>
31137
31138 <dl>
31139 <dd>
31140
31141 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
31142
31143 </dd>
31144 </dl>
31145 </dd>
31146 </dl>
31147
31148
31149 </dd>
31150 </dl>
31151 </details>
31152
31153 <details><summary><code>client.organizations.discovery_domains.<a href="src/auth0.management/organizations/discovery_domains/client.py">create</a>(...) -> CreateOrganizationDiscoveryDomainResponseContent</code></summary>
31154 <dl>
31155 <dd>
31156
31157 #### 📝 Description
31158
31159 <dl>
31160 <dd>
31161
31162 <dl>
31163 <dd>
31164
31165 Create a new discovery domain for an organization.
31166 </dd>
31167 </dl>
31168 </dd>
31169 </dl>
31170
31171 #### 🔌 Usage
31172
31173 <dl>
31174 <dd>
31175
31176 <dl>
31177 <dd>
31178
31179 ```python
31180 from auth0.management import Auth0
31181 from auth0.management.environment import Auth0Environment
31182
31183 client = Auth0(
31184 token="<token>",
31185 environment=Auth0Environment.DEFAULT,
31186 )
31187
31188 client.organizations.discovery_domains.create(
31189 id="id",
31190 domain="domain",
31191 )
31192
31193 ```
31194 </dd>
31195 </dl>
31196 </dd>
31197 </dl>
31198
31199 #### ⚙️ Parameters
31200
31201 <dl>
31202 <dd>
31203
31204 <dl>
31205 <dd>
31206
31207 **id:** `str` — ID of the organization.
31208
31209 </dd>
31210 </dl>
31211
31212 <dl>
31213 <dd>
31214
31215 **domain:** `str` — The domain name to associate with the organization e.g. acme.com.
31216
31217 </dd>
31218 </dl>
31219
31220 <dl>
31221 <dd>
31222
31223 **status:** `typing.Optional[OrganizationDiscoveryDomainStatus]`
31224
31225 </dd>
31226 </dl>
31227
31228 <dl>
31229 <dd>
31230
31231 **use_for_organization_discovery:** `typing.Optional[bool]` — Indicates whether this domain should be used for organization discovery.
31232
31233 </dd>
31234 </dl>
31235
31236 <dl>
31237 <dd>
31238
31239 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
31240
31241 </dd>
31242 </dl>
31243 </dd>
31244 </dl>
31245
31246
31247 </dd>
31248 </dl>
31249 </details>
31250
31251 <details><summary><code>client.organizations.discovery_domains.<a href="src/auth0.management/organizations/discovery_domains/client.py">get_by_name</a>(...) -> GetOrganizationDiscoveryDomainByNameResponseContent</code></summary>
31252 <dl>
31253 <dd>
31254
31255 #### 📝 Description
31256
31257 <dl>
31258 <dd>
31259
31260 <dl>
31261 <dd>
31262
31263 Retrieve details about a single organization discovery domain specified by domain name.
31264 This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
31265 </dd>
31266 </dl>
31267 </dd>
31268 </dl>
31269
31270 #### 🔌 Usage
31271
31272 <dl>
31273 <dd>
31274
31275 <dl>
31276 <dd>
31277
31278 ```python
31279 from auth0.management import Auth0
31280 from auth0.management.environment import Auth0Environment
31281
31282 client = Auth0(
31283 token="<token>",
31284 environment=Auth0Environment.DEFAULT,
31285 )
31286
31287 client.organizations.discovery_domains.get_by_name(
31288 id="id",
31289 discovery_domain="discovery_domain",
31290 )
31291
31292 ```
31293 </dd>
31294 </dl>
31295 </dd>
31296 </dl>
31297
31298 #### ⚙️ Parameters
31299
31300 <dl>
31301 <dd>
31302
31303 <dl>
31304 <dd>
31305
31306 **id:** `str` — ID of the organization.
31307
31308 </dd>
31309 </dl>
31310
31311 <dl>
31312 <dd>
31313
31314 **discovery_domain:** `str` — Domain name of the discovery domain.
31315
31316 </dd>
31317 </dl>
31318
31319 <dl>
31320 <dd>
31321
31322 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
31323
31324 </dd>
31325 </dl>
31326 </dd>
31327 </dl>
31328
31329
31330 </dd>
31331 </dl>
31332 </details>
31333
31334 <details><summary><code>client.organizations.discovery_domains.<a href="src/auth0.management/organizations/discovery_domains/client.py">get</a>(...) -> GetOrganizationDiscoveryDomainResponseContent</code></summary>
31335 <dl>
31336 <dd>
31337
31338 #### 📝 Description
31339
31340 <dl>
31341 <dd>
31342
31343 <dl>
31344 <dd>
31345
31346 Retrieve details about a single organization discovery domain specified by ID.
31347 This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
31348 </dd>
31349 </dl>
31350 </dd>
31351 </dl>
31352
31353 #### 🔌 Usage
31354
31355 <dl>
31356 <dd>
31357
31358 <dl>
31359 <dd>
31360
31361 ```python
31362 from auth0.management import Auth0
31363 from auth0.management.environment import Auth0Environment
31364
31365 client = Auth0(
31366 token="<token>",
31367 environment=Auth0Environment.DEFAULT,
31368 )
31369
31370 client.organizations.discovery_domains.get(
31371 id="id",
31372 discovery_domain_id="discovery_domain_id",
31373 )
31374
31375 ```
31376 </dd>
31377 </dl>
31378 </dd>
31379 </dl>
31380
31381 #### ⚙️ Parameters
31382
31383 <dl>
31384 <dd>
31385
31386 <dl>
31387 <dd>
31388
31389 **id:** `str` — ID of the organization.
31390
31391 </dd>
31392 </dl>
31393
31394 <dl>
31395 <dd>
31396
31397 **discovery_domain_id:** `str` — ID of the discovery domain.
31398
31399 </dd>
31400 </dl>
31401
31402 <dl>
31403 <dd>
31404
31405 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
31406
31407 </dd>
31408 </dl>
31409 </dd>
31410 </dl>
31411
31412
31413 </dd>
31414 </dl>
31415 </details>
31416
31417 <details><summary><code>client.organizations.discovery_domains.<a href="src/auth0.management/organizations/discovery_domains/client.py">delete</a>(...)</code></summary>
31418 <dl>
31419 <dd>
31420
31421 #### 📝 Description
31422
31423 <dl>
31424 <dd>
31425
31426 <dl>
31427 <dd>
31428
31429 Remove a discovery domain from an organization. This action cannot be undone.
31430 </dd>
31431 </dl>
31432 </dd>
31433 </dl>
31434
31435 #### 🔌 Usage
31436
31437 <dl>
31438 <dd>
31439
31440 <dl>
31441 <dd>
31442
31443 ```python
31444 from auth0.management import Auth0
31445 from auth0.management.environment import Auth0Environment
31446
31447 client = Auth0(
31448 token="<token>",
31449 environment=Auth0Environment.DEFAULT,
31450 )
31451
31452 client.organizations.discovery_domains.delete(
31453 id="id",
31454 discovery_domain_id="discovery_domain_id",
31455 )
31456
31457 ```
31458 </dd>
31459 </dl>
31460 </dd>
31461 </dl>
31462
31463 #### ⚙️ Parameters
31464
31465 <dl>
31466 <dd>
31467
31468 <dl>
31469 <dd>
31470
31471 **id:** `str` — ID of the organization.
31472
31473 </dd>
31474 </dl>
31475
31476 <dl>
31477 <dd>
31478
31479 **discovery_domain_id:** `str` — ID of the discovery domain.
31480
31481 </dd>
31482 </dl>
31483
31484 <dl>
31485 <dd>
31486
31487 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
31488
31489 </dd>
31490 </dl>
31491 </dd>
31492 </dl>
31493
31494
31495 </dd>
31496 </dl>
31497 </details>
31498
31499 <details><summary><code>client.organizations.discovery_domains.<a href="src/auth0.management/organizations/discovery_domains/client.py">update</a>(...) -> UpdateOrganizationDiscoveryDomainResponseContent</code></summary>
31500 <dl>
31501 <dd>
31502
31503 #### 📝 Description
31504
31505 <dl>
31506 <dd>
31507
31508 <dl>
31509 <dd>
31510
31511 Update the verification status and/or use_for_organization_discovery for an organization discovery domain. The `status` field must be either `pending` or `verified`. The `use_for_organization_discovery` field can be `true` or `false` (default: `true`).
31512 </dd>
31513 </dl>
31514 </dd>
31515 </dl>
31516
31517 #### 🔌 Usage
31518
31519 <dl>
31520 <dd>
31521
31522 <dl>
31523 <dd>
31524
31525 ```python
31526 from auth0.management import Auth0
31527 from auth0.management.environment import Auth0Environment
31528
31529 client = Auth0(
31530 token="<token>",
31531 environment=Auth0Environment.DEFAULT,
31532 )
31533
31534 client.organizations.discovery_domains.update(
31535 id="id",
31536 discovery_domain_id="discovery_domain_id",
31537 )
31538
31539 ```
31540 </dd>
31541 </dl>
31542 </dd>
31543 </dl>
31544
31545 #### ⚙️ Parameters
31546
31547 <dl>
31548 <dd>
31549
31550 <dl>
31551 <dd>
31552
31553 **id:** `str` — ID of the organization.
31554
31555 </dd>
31556 </dl>
31557
31558 <dl>
31559 <dd>
31560
31561 **discovery_domain_id:** `str` — ID of the discovery domain to update.
31562
31563 </dd>
31564 </dl>
31565
31566 <dl>
31567 <dd>
31568
31569 **status:** `typing.Optional[OrganizationDiscoveryDomainStatus]`
31570
31571 </dd>
31572 </dl>
31573
31574 <dl>
31575 <dd>
31576
31577 **use_for_organization_discovery:** `typing.Optional[bool]` — Indicates whether this domain should be used for organization discovery.
31578
31579 </dd>
31580 </dl>
31581
31582 <dl>
31583 <dd>
31584
31585 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
31586
31587 </dd>
31588 </dl>
31589 </dd>
31590 </dl>
31591
31592
31593 </dd>
31594 </dl>
31595 </details>
31596
31597 ## Organizations EnabledConnections
31598 <details><summary><code>client.organizations.enabled_connections.<a href="src/auth0.management/organizations/enabled_connections/client.py">list</a>(...) -> ListOrganizationConnectionsOffsetPaginatedResponseContent</code></summary>
31599 <dl>
31600 <dd>
31601
31602 #### 📝 Description
31603
31604 <dl>
31605 <dd>
31606
31607 <dl>
31608 <dd>
31609
31610 Retrieve details about a specific connection currently enabled for an Organization. Information returned includes details such as connection ID, name, strategy, and whether the connection automatically grants membership upon login.
31611 </dd>
31612 </dl>
31613 </dd>
31614 </dl>
31615
31616 #### 🔌 Usage
31617
31618 <dl>
31619 <dd>
31620
31621 <dl>
31622 <dd>
31623
31624 ```python
31625 from auth0.management import Auth0
31626 from auth0.management.environment import Auth0Environment
31627
31628 client = Auth0(
31629 token="<token>",
31630 environment=Auth0Environment.DEFAULT,
31631 )
31632
31633 client.organizations.enabled_connections.list(
31634 id="id",
31635 page=1,
31636 per_page=1,
31637 include_totals=True,
31638 )
31639
31640 ```
31641 </dd>
31642 </dl>
31643 </dd>
31644 </dl>
31645
31646 #### ⚙️ Parameters
31647
31648 <dl>
31649 <dd>
31650
31651 <dl>
31652 <dd>
31653
31654 **id:** `str` — Organization identifier.
31655
31656 </dd>
31657 </dl>
31658
31659 <dl>
31660 <dd>
31661
31662 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
31663
31664 </dd>
31665 </dl>
31666
31667 <dl>
31668 <dd>
31669
31670 **per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
31671
31672 </dd>
31673 </dl>
31674
31675 <dl>
31676 <dd>
31677
31678 **include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
31679
31680 </dd>
31681 </dl>
31682
31683 <dl>
31684 <dd>
31685
31686 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
31687
31688 </dd>
31689 </dl>
31690 </dd>
31691 </dl>
31692
31693
31694 </dd>
31695 </dl>
31696 </details>
31697
31698 <details><summary><code>client.organizations.enabled_connections.<a href="src/auth0.management/organizations/enabled_connections/client.py">add</a>(...) -> AddOrganizationConnectionResponseContent</code></summary>
31699 <dl>
31700 <dd>
31701
31702 #### 📝 Description
31703
31704 <dl>
31705 <dd>
31706
31707 <dl>
31708 <dd>
31709
31710 Enable a specific connection for a given Organization. To enable a connection, it must already exist within your tenant; connections cannot be created through this action.
31711
31712 [Connections](https://auth0.com/docs/authenticate/identity-providers) represent the relationship between Auth0 and a source of users. Available types of connections include database, enterprise, and social.
31713 </dd>
31714 </dl>
31715 </dd>
31716 </dl>
31717
31718 #### 🔌 Usage
31719
31720 <dl>
31721 <dd>
31722
31723 <dl>
31724 <dd>
31725
31726 ```python
31727 from auth0.management import Auth0
31728 from auth0.management.environment import Auth0Environment
31729
31730 client = Auth0(
31731 token="<token>",
31732 environment=Auth0Environment.DEFAULT,
31733 )
31734
31735 client.organizations.enabled_connections.add(
31736 id="id",
31737 connection_id="connection_id",
31738 )
31739
31740 ```
31741 </dd>
31742 </dl>
31743 </dd>
31744 </dl>
31745
31746 #### ⚙️ Parameters
31747
31748 <dl>
31749 <dd>
31750
31751 <dl>
31752 <dd>
31753
31754 **id:** `str` — Organization identifier.
31755
31756 </dd>
31757 </dl>
31758
31759 <dl>
31760 <dd>
31761
31762 **connection_id:** `str` — Single connection ID to add to the organization.
31763
31764 </dd>
31765 </dl>
31766
31767 <dl>
31768 <dd>
31769
31770 **assign_membership_on_login:** `typing.Optional[bool]` — When true, all users that log in with this connection will be automatically granted membership in the organization. When false, users must be granted membership in the organization before logging in with this connection.
31771
31772 </dd>
31773 </dl>
31774
31775 <dl>
31776 <dd>
31777
31778 **is_signup_enabled:** `typing.Optional[bool]` — Determines whether organization signup should be enabled for this organization connection. Only applicable for database connections. Default: false.
31779
31780 </dd>
31781 </dl>
31782
31783 <dl>
31784 <dd>
31785
31786 **show_as_button:** `typing.Optional[bool]` — Determines whether a connection should be displayed on this organization’s login prompt. Only applicable for enterprise connections. Default: true.
31787
31788 </dd>
31789 </dl>
31790
31791 <dl>
31792 <dd>
31793
31794 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
31795
31796 </dd>
31797 </dl>
31798 </dd>
31799 </dl>
31800
31801
31802 </dd>
31803 </dl>
31804 </details>
31805
31806 <details><summary><code>client.organizations.enabled_connections.<a href="src/auth0.management/organizations/enabled_connections/client.py">get</a>(...) -> GetOrganizationConnectionResponseContent</code></summary>
31807 <dl>
31808 <dd>
31809
31810 #### 📝 Description
31811
31812 <dl>
31813 <dd>
31814
31815 <dl>
31816 <dd>
31817
31818 Retrieve details about a specific connection currently enabled for an Organization. Information returned includes details such as connection ID, name, strategy, and whether the connection automatically grants membership upon login.
31819 </dd>
31820 </dl>
31821 </dd>
31822 </dl>
31823
31824 #### 🔌 Usage
31825
31826 <dl>
31827 <dd>
31828
31829 <dl>
31830 <dd>
31831
31832 ```python
31833 from auth0.management import Auth0
31834 from auth0.management.environment import Auth0Environment
31835
31836 client = Auth0(
31837 token="<token>",
31838 environment=Auth0Environment.DEFAULT,
31839 )
31840
31841 client.organizations.enabled_connections.get(
31842 id="id",
31843 connection_id="connectionId",
31844 )
31845
31846 ```
31847 </dd>
31848 </dl>
31849 </dd>
31850 </dl>
31851
31852 #### ⚙️ Parameters
31853
31854 <dl>
31855 <dd>
31856
31857 <dl>
31858 <dd>
31859
31860 **id:** `str` — Organization identifier.
31861
31862 </dd>
31863 </dl>
31864
31865 <dl>
31866 <dd>
31867
31868 **connection_id:** `str` — Connection identifier.
31869
31870 </dd>
31871 </dl>
31872
31873 <dl>
31874 <dd>
31875
31876 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
31877
31878 </dd>
31879 </dl>
31880 </dd>
31881 </dl>
31882
31883
31884 </dd>
31885 </dl>
31886 </details>
31887
31888 <details><summary><code>client.organizations.enabled_connections.<a href="src/auth0.management/organizations/enabled_connections/client.py">delete</a>(...)</code></summary>
31889 <dl>
31890 <dd>
31891
31892 #### 📝 Description
31893
31894 <dl>
31895 <dd>
31896
31897 <dl>
31898 <dd>
31899
31900 Disable a specific connection for an Organization. Once disabled, Organization members can no longer use that connection to authenticate.
31901
31902 **Note**: This action does not remove the connection from your tenant.
31903 </dd>
31904 </dl>
31905 </dd>
31906 </dl>
31907
31908 #### 🔌 Usage
31909
31910 <dl>
31911 <dd>
31912
31913 <dl>
31914 <dd>
31915
31916 ```python
31917 from auth0.management import Auth0
31918 from auth0.management.environment import Auth0Environment
31919
31920 client = Auth0(
31921 token="<token>",
31922 environment=Auth0Environment.DEFAULT,
31923 )
31924
31925 client.organizations.enabled_connections.delete(
31926 id="id",
31927 connection_id="connectionId",
31928 )
31929
31930 ```
31931 </dd>
31932 </dl>
31933 </dd>
31934 </dl>
31935
31936 #### ⚙️ Parameters
31937
31938 <dl>
31939 <dd>
31940
31941 <dl>
31942 <dd>
31943
31944 **id:** `str` — Organization identifier.
31945
31946 </dd>
31947 </dl>
31948
31949 <dl>
31950 <dd>
31951
31952 **connection_id:** `str` — Connection identifier.
31953
31954 </dd>
31955 </dl>
31956
31957 <dl>
31958 <dd>
31959
31960 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
31961
31962 </dd>
31963 </dl>
31964 </dd>
31965 </dl>
31966
31967
31968 </dd>
31969 </dl>
31970 </details>
31971
31972 <details><summary><code>client.organizations.enabled_connections.<a href="src/auth0.management/organizations/enabled_connections/client.py">update</a>(...) -> UpdateOrganizationConnectionResponseContent</code></summary>
31973 <dl>
31974 <dd>
31975
31976 #### 📝 Description
31977
31978 <dl>
31979 <dd>
31980
31981 <dl>
31982 <dd>
31983
31984 Modify the details of a specific connection currently enabled for an Organization.
31985 </dd>
31986 </dl>
31987 </dd>
31988 </dl>
31989
31990 #### 🔌 Usage
31991
31992 <dl>
31993 <dd>
31994
31995 <dl>
31996 <dd>
31997
31998 ```python
31999 from auth0.management import Auth0
32000 from auth0.management.environment import Auth0Environment
32001
32002 client = Auth0(
32003 token="<token>",
32004 environment=Auth0Environment.DEFAULT,
32005 )
32006
32007 client.organizations.enabled_connections.update(
32008 id="id",
32009 connection_id="connectionId",
32010 )
32011
32012 ```
32013 </dd>
32014 </dl>
32015 </dd>
32016 </dl>
32017
32018 #### ⚙️ Parameters
32019
32020 <dl>
32021 <dd>
32022
32023 <dl>
32024 <dd>
32025
32026 **id:** `str` — Organization identifier.
32027
32028 </dd>
32029 </dl>
32030
32031 <dl>
32032 <dd>
32033
32034 **connection_id:** `str` — Connection identifier.
32035
32036 </dd>
32037 </dl>
32038
32039 <dl>
32040 <dd>
32041
32042 **assign_membership_on_login:** `typing.Optional[bool]` — When true, all users that log in with this connection will be automatically granted membership in the organization. When false, users must be granted membership in the organization before logging in with this connection.
32043
32044 </dd>
32045 </dl>
32046
32047 <dl>
32048 <dd>
32049
32050 **is_signup_enabled:** `typing.Optional[bool]` — Determines whether organization signup should be enabled for this organization connection. Only applicable for database connections. Default: false.
32051
32052 </dd>
32053 </dl>
32054
32055 <dl>
32056 <dd>
32057
32058 **show_as_button:** `typing.Optional[bool]` — Determines whether a connection should be displayed on this organization’s login prompt. Only applicable for enterprise connections. Default: true.
32059
32060 </dd>
32061 </dl>
32062
32063 <dl>
32064 <dd>
32065
32066 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
32067
32068 </dd>
32069 </dl>
32070 </dd>
32071 </dl>
32072
32073
32074 </dd>
32075 </dl>
32076 </details>
32077
32078 ## Organizations Invitations
32079 <details><summary><code>client.organizations.invitations.<a href="src/auth0.management/organizations/invitations/client.py">list</a>(...) -> ListOrganizationInvitationsOffsetPaginatedResponseContent</code></summary>
32080 <dl>
32081 <dd>
32082
32083 #### 📝 Description
32084
32085 <dl>
32086 <dd>
32087
32088 <dl>
32089 <dd>
32090
32091 Retrieve a detailed list of invitations sent to users for a specific Organization. The list includes details such as inviter and invitee information, invitation URLs, and dates of creation and expiration. To learn more about Organization invitations, review [Invite Organization Members](https://auth0.com/docs/manage-users/organizations/configure-organizations/invite-members).
32092 </dd>
32093 </dl>
32094 </dd>
32095 </dl>
32096
32097 #### 🔌 Usage
32098
32099 <dl>
32100 <dd>
32101
32102 <dl>
32103 <dd>
32104
32105 ```python
32106 from auth0.management import Auth0
32107 from auth0.management.environment import Auth0Environment
32108
32109 client = Auth0(
32110 token="<token>",
32111 environment=Auth0Environment.DEFAULT,
32112 )
32113
32114 client.organizations.invitations.list(
32115 id="id",
32116 page=1,
32117 per_page=1,
32118 include_totals=True,
32119 fields="fields",
32120 include_fields=True,
32121 sort="sort",
32122 )
32123
32124 ```
32125 </dd>
32126 </dl>
32127 </dd>
32128 </dl>
32129
32130 #### ⚙️ Parameters
32131
32132 <dl>
32133 <dd>
32134
32135 <dl>
32136 <dd>
32137
32138 **id:** `str` — Organization identifier.
32139
32140 </dd>
32141 </dl>
32142
32143 <dl>
32144 <dd>
32145
32146 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
32147
32148 </dd>
32149 </dl>
32150
32151 <dl>
32152 <dd>
32153
32154 **per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
32155
32156 </dd>
32157 </dl>
32158
32159 <dl>
32160 <dd>
32161
32162 **include_totals:** `typing.Optional[bool]` — When true, return results inside an object that also contains the start and limit. When false (default), a direct array of results is returned. We do not yet support returning the total invitations count.
32163
32164 </dd>
32165 </dl>
32166
32167 <dl>
32168 <dd>
32169
32170 **fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.
32171
32172 </dd>
32173 </dl>
32174
32175 <dl>
32176 <dd>
32177
32178 **include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). Defaults to true.
32179
32180 </dd>
32181 </dl>
32182
32183 <dl>
32184 <dd>
32185
32186 **sort:** `typing.Optional[str]` — Field to sort by. Use field:order where order is 1 for ascending and -1 for descending Defaults to created_at:-1.
32187
32188 </dd>
32189 </dl>
32190
32191 <dl>
32192 <dd>
32193
32194 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
32195
32196 </dd>
32197 </dl>
32198 </dd>
32199 </dl>
32200
32201
32202 </dd>
32203 </dl>
32204 </details>
32205
32206 <details><summary><code>client.organizations.invitations.<a href="src/auth0.management/organizations/invitations/client.py">create</a>(...) -> CreateOrganizationInvitationResponseContent</code></summary>
32207 <dl>
32208 <dd>
32209
32210 #### 📝 Description
32211
32212 <dl>
32213 <dd>
32214
32215 <dl>
32216 <dd>
32217
32218 Create a user invitation for a specific Organization. Upon creation, the listed user receives an email inviting them to join the Organization. To learn more about Organization invitations, review [Invite Organization Members](https://auth0.com/docs/manage-users/organizations/configure-organizations/invite-members).
32219 </dd>
32220 </dl>
32221 </dd>
32222 </dl>
32223
32224 #### 🔌 Usage
32225
32226 <dl>
32227 <dd>
32228
32229 <dl>
32230 <dd>
32231
32232 ```python
32233 from auth0.management import Auth0, OrganizationInvitationInviter, OrganizationInvitationInvitee
32234 from auth0.management.environment import Auth0Environment
32235
32236 client = Auth0(
32237 token="<token>",
32238 environment=Auth0Environment.DEFAULT,
32239 )
32240
32241 client.organizations.invitations.create(
32242 id="id",
32243 inviter=OrganizationInvitationInviter(
32244 name="name",
32245 ),
32246 invitee=OrganizationInvitationInvitee(
32247 email="email",
32248 ),
32249 client_id="client_id",
32250 )
32251
32252 ```
32253 </dd>
32254 </dl>
32255 </dd>
32256 </dl>
32257
32258 #### ⚙️ Parameters
32259
32260 <dl>
32261 <dd>
32262
32263 <dl>
32264 <dd>
32265
32266 **id:** `str` — Organization identifier.
32267
32268 </dd>
32269 </dl>
32270
32271 <dl>
32272 <dd>
32273
32274 **inviter:** `OrganizationInvitationInviter`
32275
32276 </dd>
32277 </dl>
32278
32279 <dl>
32280 <dd>
32281
32282 **invitee:** `OrganizationInvitationInvitee`
32283
32284 </dd>
32285 </dl>
32286
32287 <dl>
32288 <dd>
32289
32290 **client_id:** `str` — Auth0 client ID. Used to resolve the application's login initiation endpoint.
32291
32292 </dd>
32293 </dl>
32294
32295 <dl>
32296 <dd>
32297
32298 **connection_id:** `typing.Optional[str]` — The id of the connection to force invitee to authenticate with.
32299
32300 </dd>
32301 </dl>
32302
32303 <dl>
32304 <dd>
32305
32306 **app_metadata:** `typing.Optional[AppMetadata]`
32307
32308 </dd>
32309 </dl>
32310
32311 <dl>
32312 <dd>
32313
32314 **user_metadata:** `typing.Optional[UserMetadata]`
32315
32316 </dd>
32317 </dl>
32318
32319 <dl>
32320 <dd>
32321
32322 **ttl_sec:** `typing.Optional[int]` — Number of seconds for which the invitation is valid before expiration. If unspecified or set to 0, this value defaults to 604800 seconds (7 days). Max value: 2592000 seconds (30 days).
32323
32324 </dd>
32325 </dl>
32326
32327 <dl>
32328 <dd>
32329
32330 **roles:** `typing.Optional[typing.List[str]]` — List of roles IDs to associated with the user.
32331
32332 </dd>
32333 </dl>
32334
32335 <dl>
32336 <dd>
32337
32338 **send_invitation_email:** `typing.Optional[bool]` — Whether the user will receive an invitation email (true) or no email (false), true by default
32339
32340 </dd>
32341 </dl>
32342
32343 <dl>
32344 <dd>
32345
32346 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
32347
32348 </dd>
32349 </dl>
32350 </dd>
32351 </dl>
32352
32353
32354 </dd>
32355 </dl>
32356 </details>
32357
32358 <details><summary><code>client.organizations.invitations.<a href="src/auth0.management/organizations/invitations/client.py">get</a>(...) -> GetOrganizationInvitationResponseContent</code></summary>
32359 <dl>
32360 <dd>
32361
32362 #### 🔌 Usage
32363
32364 <dl>
32365 <dd>
32366
32367 <dl>
32368 <dd>
32369
32370 ```python
32371 from auth0.management import Auth0
32372 from auth0.management.environment import Auth0Environment
32373
32374 client = Auth0(
32375 token="<token>",
32376 environment=Auth0Environment.DEFAULT,
32377 )
32378
32379 client.organizations.invitations.get(
32380 id="id",
32381 invitation_id="invitation_id",
32382 fields="fields",
32383 include_fields=True,
32384 )
32385
32386 ```
32387 </dd>
32388 </dl>
32389 </dd>
32390 </dl>
32391
32392 #### ⚙️ Parameters
32393
32394 <dl>
32395 <dd>
32396
32397 <dl>
32398 <dd>
32399
32400 **id:** `str` — Organization identifier.
32401
32402 </dd>
32403 </dl>
32404
32405 <dl>
32406 <dd>
32407
32408 **invitation_id:** `str` — The id of the user invitation.
32409
32410 </dd>
32411 </dl>
32412
32413 <dl>
32414 <dd>
32415
32416 **fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.
32417
32418 </dd>
32419 </dl>
32420
32421 <dl>
32422 <dd>
32423
32424 **include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). Defaults to true.
32425
32426 </dd>
32427 </dl>
32428
32429 <dl>
32430 <dd>
32431
32432 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
32433
32434 </dd>
32435 </dl>
32436 </dd>
32437 </dl>
32438
32439
32440 </dd>
32441 </dl>
32442 </details>
32443
32444 <details><summary><code>client.organizations.invitations.<a href="src/auth0.management/organizations/invitations/client.py">delete</a>(...)</code></summary>
32445 <dl>
32446 <dd>
32447
32448 #### 🔌 Usage
32449
32450 <dl>
32451 <dd>
32452
32453 <dl>
32454 <dd>
32455
32456 ```python
32457 from auth0.management import Auth0
32458 from auth0.management.environment import Auth0Environment
32459
32460 client = Auth0(
32461 token="<token>",
32462 environment=Auth0Environment.DEFAULT,
32463 )
32464
32465 client.organizations.invitations.delete(
32466 id="id",
32467 invitation_id="invitation_id",
32468 )
32469
32470 ```
32471 </dd>
32472 </dl>
32473 </dd>
32474 </dl>
32475
32476 #### ⚙️ Parameters
32477
32478 <dl>
32479 <dd>
32480
32481 <dl>
32482 <dd>
32483
32484 **id:** `str` — Organization identifier.
32485
32486 </dd>
32487 </dl>
32488
32489 <dl>
32490 <dd>
32491
32492 **invitation_id:** `str` — The id of the user invitation.
32493
32494 </dd>
32495 </dl>
32496
32497 <dl>
32498 <dd>
32499
32500 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
32501
32502 </dd>
32503 </dl>
32504 </dd>
32505 </dl>
32506
32507
32508 </dd>
32509 </dl>
32510 </details>
32511
32512 ## Organizations Members
32513 <details><summary><code>client.organizations.members.<a href="src/auth0.management/organizations/members/client.py">list</a>(...) -> ListOrganizationMembersPaginatedResponseContent</code></summary>
32514 <dl>
32515 <dd>
32516
32517 #### 📝 Description
32518
32519 <dl>
32520 <dd>
32521
32522 <dl>
32523 <dd>
32524
32525 List organization members.
32526 This endpoint is subject to eventual consistency. New users may not be immediately included in the response and deleted users may not be immediately removed from it.
32527
32528 - Use the `fields` parameter to optionally define the specific member details retrieved. If `fields` is left blank, all fields (except roles) are returned.
32529 - Member roles are not sent by default. Use `fields=roles` to retrieve the roles assigned to each listed member. To use this parameter, you must include the `read:organization_member_roles` scope in the token.
32530
32531 This endpoint supports two types of pagination:
32532
32533 - Offset pagination
32534 - Checkpoint pagination
32535
32536 Checkpoint pagination must be used if you need to retrieve more than 1000 organization members.
32537
32538 **Checkpoint Pagination**
32539
32540 To search by checkpoint, use the following parameters: - from: Optional id from which to start selection. - take: The total amount of entries to retrieve when using the from parameter. Defaults to 50. Note: The first time you call this endpoint using Checkpoint Pagination, you should omit the `from` parameter. If there are more results, a `next` value will be included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, this indicates there are no more pages remaining.
32541 </dd>
32542 </dl>
32543 </dd>
32544 </dl>
32545
32546 #### 🔌 Usage
32547
32548 <dl>
32549 <dd>
32550
32551 <dl>
32552 <dd>
32553
32554 ```python
32555 from auth0.management import Auth0
32556 from auth0.management.environment import Auth0Environment
32557
32558 client = Auth0(
32559 token="<token>",
32560 environment=Auth0Environment.DEFAULT,
32561 )
32562
32563 client.organizations.members.list(
32564 id="id",
32565 from_="from",
32566 take=1,
32567 fields="fields",
32568 include_fields=True,
32569 )
32570
32571 ```
32572 </dd>
32573 </dl>
32574 </dd>
32575 </dl>
32576
32577 #### ⚙️ Parameters
32578
32579 <dl>
32580 <dd>
32581
32582 <dl>
32583 <dd>
32584
32585 **id:** `str` — Organization identifier.
32586
32587 </dd>
32588 </dl>
32589
32590 <dl>
32591 <dd>
32592
32593 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
32594
32595 </dd>
32596 </dl>
32597
32598 <dl>
32599 <dd>
32600
32601 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
32602
32603 </dd>
32604 </dl>
32605
32606 <dl>
32607 <dd>
32608
32609 **fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.
32610
32611 </dd>
32612 </dl>
32613
32614 <dl>
32615 <dd>
32616
32617 **include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
32618
32619 </dd>
32620 </dl>
32621
32622 <dl>
32623 <dd>
32624
32625 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
32626
32627 </dd>
32628 </dl>
32629 </dd>
32630 </dl>
32631
32632
32633 </dd>
32634 </dl>
32635 </details>
32636
32637 <details><summary><code>client.organizations.members.<a href="src/auth0.management/organizations/members/client.py">create</a>(...)</code></summary>
32638 <dl>
32639 <dd>
32640
32641 #### 📝 Description
32642
32643 <dl>
32644 <dd>
32645
32646 <dl>
32647 <dd>
32648
32649 Set one or more existing users as members of a specific [Organization](https://auth0.com/docs/manage-users/organizations).
32650
32651 To add a user to an Organization through this action, the user must already exist in your tenant. If a user does not yet exist, you can [invite them to create an account](https://auth0.com/docs/manage-users/organizations/configure-organizations/invite-members), manually create them through the Auth0 Dashboard, or use the Management API.
32652 </dd>
32653 </dl>
32654 </dd>
32655 </dl>
32656
32657 #### 🔌 Usage
32658
32659 <dl>
32660 <dd>
32661
32662 <dl>
32663 <dd>
32664
32665 ```python
32666 from auth0.management import Auth0
32667 from auth0.management.environment import Auth0Environment
32668
32669 client = Auth0(
32670 token="<token>",
32671 environment=Auth0Environment.DEFAULT,
32672 )
32673
32674 client.organizations.members.create(
32675 id="id",
32676 members=[
32677 "members"
32678 ],
32679 )
32680
32681 ```
32682 </dd>
32683 </dl>
32684 </dd>
32685 </dl>
32686
32687 #### ⚙️ Parameters
32688
32689 <dl>
32690 <dd>
32691
32692 <dl>
32693 <dd>
32694
32695 **id:** `str` — Organization identifier.
32696
32697 </dd>
32698 </dl>
32699
32700 <dl>
32701 <dd>
32702
32703 **members:** `typing.List[str]` — List of user IDs to add to the organization as members.
32704
32705 </dd>
32706 </dl>
32707
32708 <dl>
32709 <dd>
32710
32711 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
32712
32713 </dd>
32714 </dl>
32715 </dd>
32716 </dl>
32717
32718
32719 </dd>
32720 </dl>
32721 </details>
32722
32723 <details><summary><code>client.organizations.members.<a href="src/auth0.management/organizations/members/client.py">delete</a>(...)</code></summary>
32724 <dl>
32725 <dd>
32726
32727 #### 🔌 Usage
32728
32729 <dl>
32730 <dd>
32731
32732 <dl>
32733 <dd>
32734
32735 ```python
32736 from auth0.management import Auth0
32737 from auth0.management.environment import Auth0Environment
32738
32739 client = Auth0(
32740 token="<token>",
32741 environment=Auth0Environment.DEFAULT,
32742 )
32743
32744 client.organizations.members.delete(
32745 id="id",
32746 members=[
32747 "members"
32748 ],
32749 )
32750
32751 ```
32752 </dd>
32753 </dl>
32754 </dd>
32755 </dl>
32756
32757 #### ⚙️ Parameters
32758
32759 <dl>
32760 <dd>
32761
32762 <dl>
32763 <dd>
32764
32765 **id:** `str` — Organization identifier.
32766
32767 </dd>
32768 </dl>
32769
32770 <dl>
32771 <dd>
32772
32773 **members:** `typing.List[str]` — List of user IDs to remove from the organization.
32774
32775 </dd>
32776 </dl>
32777
32778 <dl>
32779 <dd>
32780
32781 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
32782
32783 </dd>
32784 </dl>
32785 </dd>
32786 </dl>
32787
32788
32789 </dd>
32790 </dl>
32791 </details>
32792
32793 ## Organizations Groups
32794 <details><summary><code>client.organizations.groups.<a href="src/auth0.management/organizations/groups/client.py">list</a>(...) -> ListOrganizationGroupsResponseContent</code></summary>
32795 <dl>
32796 <dd>
32797
32798 #### 📝 Description
32799
32800 <dl>
32801 <dd>
32802
32803 <dl>
32804 <dd>
32805
32806 Lists the groups that are assigned to the specified organization.
32807 </dd>
32808 </dl>
32809 </dd>
32810 </dl>
32811
32812 #### 🔌 Usage
32813
32814 <dl>
32815 <dd>
32816
32817 <dl>
32818 <dd>
32819
32820 ```python
32821 from auth0.management import Auth0
32822 from auth0.management.environment import Auth0Environment
32823
32824 client = Auth0(
32825 token="<token>",
32826 environment=Auth0Environment.DEFAULT,
32827 )
32828
32829 client.organizations.groups.list(
32830 organization_id="organization_id",
32831 from_="from",
32832 take=1,
32833 )
32834
32835 ```
32836 </dd>
32837 </dl>
32838 </dd>
32839 </dl>
32840
32841 #### ⚙️ Parameters
32842
32843 <dl>
32844 <dd>
32845
32846 <dl>
32847 <dd>
32848
32849 **organization_id:** `str` — ID of the organization
32850
32851 </dd>
32852 </dl>
32853
32854 <dl>
32855 <dd>
32856
32857 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
32858
32859 </dd>
32860 </dl>
32861
32862 <dl>
32863 <dd>
32864
32865 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
32866
32867 </dd>
32868 </dl>
32869
32870 <dl>
32871 <dd>
32872
32873 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
32874
32875 </dd>
32876 </dl>
32877 </dd>
32878 </dl>
32879
32880
32881 </dd>
32882 </dl>
32883 </details>
32884
32885 ## Organizations Groups Roles
32886 <details><summary><code>client.organizations.groups.roles.<a href="src/auth0.management/organizations/groups/roles/client.py">list</a>(...) -> ListOrganizationGroupRolesResponseContent</code></summary>
32887 <dl>
32888 <dd>
32889
32890 #### 📝 Description
32891
32892 <dl>
32893 <dd>
32894
32895 <dl>
32896 <dd>
32897
32898 Lists the roles assigned to the specified group in the context of an organization.
32899 </dd>
32900 </dl>
32901 </dd>
32902 </dl>
32903
32904 #### 🔌 Usage
32905
32906 <dl>
32907 <dd>
32908
32909 <dl>
32910 <dd>
32911
32912 ```python
32913 from auth0.management import Auth0
32914 from auth0.management.environment import Auth0Environment
32915
32916 client = Auth0(
32917 token="<token>",
32918 environment=Auth0Environment.DEFAULT,
32919 )
32920
32921 client.organizations.groups.roles.list(
32922 organization_id="organization_id",
32923 group_id="group_id",
32924 from_="from",
32925 take=1,
32926 )
32927
32928 ```
32929 </dd>
32930 </dl>
32931 </dd>
32932 </dl>
32933
32934 #### ⚙️ Parameters
32935
32936 <dl>
32937 <dd>
32938
32939 <dl>
32940 <dd>
32941
32942 **organization_id:** `str` — ID of the organization
32943
32944 </dd>
32945 </dl>
32946
32947 <dl>
32948 <dd>
32949
32950 **group_id:** `str` — ID of the group
32951
32952 </dd>
32953 </dl>
32954
32955 <dl>
32956 <dd>
32957
32958 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
32959
32960 </dd>
32961 </dl>
32962
32963 <dl>
32964 <dd>
32965
32966 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
32967
32968 </dd>
32969 </dl>
32970
32971 <dl>
32972 <dd>
32973
32974 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
32975
32976 </dd>
32977 </dl>
32978 </dd>
32979 </dl>
32980
32981
32982 </dd>
32983 </dl>
32984 </details>
32985
32986 <details><summary><code>client.organizations.groups.roles.<a href="src/auth0.management/organizations/groups/roles/client.py">create</a>(...)</code></summary>
32987 <dl>
32988 <dd>
32989
32990 #### 📝 Description
32991
32992 <dl>
32993 <dd>
32994
32995 <dl>
32996 <dd>
32997
32998 Assign one or more roles to a specified group in the context of an organization.
32999 </dd>
33000 </dl>
33001 </dd>
33002 </dl>
33003
33004 #### 🔌 Usage
33005
33006 <dl>
33007 <dd>
33008
33009 <dl>
33010 <dd>
33011
33012 ```python
33013 from auth0.management import Auth0
33014 from auth0.management.environment import Auth0Environment
33015
33016 client = Auth0(
33017 token="<token>",
33018 environment=Auth0Environment.DEFAULT,
33019 )
33020
33021 client.organizations.groups.roles.create(
33022 organization_id="organization_id",
33023 group_id="group_id",
33024 roles=[
33025 "roles"
33026 ],
33027 )
33028
33029 ```
33030 </dd>
33031 </dl>
33032 </dd>
33033 </dl>
33034
33035 #### ⚙️ Parameters
33036
33037 <dl>
33038 <dd>
33039
33040 <dl>
33041 <dd>
33042
33043 **organization_id:** `str` — ID of the organization
33044
33045 </dd>
33046 </dl>
33047
33048 <dl>
33049 <dd>
33050
33051 **group_id:** `str` — ID of the group
33052
33053 </dd>
33054 </dl>
33055
33056 <dl>
33057 <dd>
33058
33059 **roles:** `typing.List[str]` — Array of role IDs to assign to organization group.
33060
33061 </dd>
33062 </dl>
33063
33064 <dl>
33065 <dd>
33066
33067 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
33068
33069 </dd>
33070 </dl>
33071 </dd>
33072 </dl>
33073
33074
33075 </dd>
33076 </dl>
33077 </details>
33078
33079 <details><summary><code>client.organizations.groups.roles.<a href="src/auth0.management/organizations/groups/roles/client.py">delete</a>(...)</code></summary>
33080 <dl>
33081 <dd>
33082
33083 #### 📝 Description
33084
33085 <dl>
33086 <dd>
33087
33088 <dl>
33089 <dd>
33090
33091 Unassign one or more roles from a specified group in the context of an organization.
33092 </dd>
33093 </dl>
33094 </dd>
33095 </dl>
33096
33097 #### 🔌 Usage
33098
33099 <dl>
33100 <dd>
33101
33102 <dl>
33103 <dd>
33104
33105 ```python
33106 from auth0.management import Auth0
33107 from auth0.management.environment import Auth0Environment
33108
33109 client = Auth0(
33110 token="<token>",
33111 environment=Auth0Environment.DEFAULT,
33112 )
33113
33114 client.organizations.groups.roles.delete(
33115 organization_id="organization_id",
33116 group_id="group_id",
33117 roles=[
33118 "roles"
33119 ],
33120 )
33121
33122 ```
33123 </dd>
33124 </dl>
33125 </dd>
33126 </dl>
33127
33128 #### ⚙️ Parameters
33129
33130 <dl>
33131 <dd>
33132
33133 <dl>
33134 <dd>
33135
33136 **organization_id:** `str` — ID of the organization
33137
33138 </dd>
33139 </dl>
33140
33141 <dl>
33142 <dd>
33143
33144 **group_id:** `str` — ID of the group
33145
33146 </dd>
33147 </dl>
33148
33149 <dl>
33150 <dd>
33151
33152 **roles:** `typing.List[str]` — Array of role IDs to delete from organization group.
33153
33154 </dd>
33155 </dl>
33156
33157 <dl>
33158 <dd>
33159
33160 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
33161
33162 </dd>
33163 </dl>
33164 </dd>
33165 </dl>
33166
33167
33168 </dd>
33169 </dl>
33170 </details>
33171
33172 ## Organizations Members EffectiveRoles
33173 <details><summary><code>client.organizations.members.effective_roles.<a href="src/auth0.management/organizations/members/effective_roles/client.py">list</a>(...) -> ListOrganizationMemberEffectiveRolesResponseContent</code></summary>
33174 <dl>
33175 <dd>
33176
33177 #### 📝 Description
33178
33179 <dl>
33180 <dd>
33181
33182 <dl>
33183 <dd>
33184
33185 Lists the roles assigned to an organization member directly or through group membership.
33186 </dd>
33187 </dl>
33188 </dd>
33189 </dl>
33190
33191 #### 🔌 Usage
33192
33193 <dl>
33194 <dd>
33195
33196 <dl>
33197 <dd>
33198
33199 ```python
33200 from auth0.management import Auth0
33201 from auth0.management.environment import Auth0Environment
33202
33203 client = Auth0(
33204 token="<token>",
33205 environment=Auth0Environment.DEFAULT,
33206 )
33207
33208 client.organizations.members.effective_roles.list(
33209 id="id",
33210 user_id="user_id",
33211 from_="from",
33212 take=1,
33213 )
33214
33215 ```
33216 </dd>
33217 </dl>
33218 </dd>
33219 </dl>
33220
33221 #### ⚙️ Parameters
33222
33223 <dl>
33224 <dd>
33225
33226 <dl>
33227 <dd>
33228
33229 **id:** `str` — Organization identifier.
33230
33231 </dd>
33232 </dl>
33233
33234 <dl>
33235 <dd>
33236
33237 **user_id:** `str` — ID of the user to list effective roles for.
33238
33239 </dd>
33240 </dl>
33241
33242 <dl>
33243 <dd>
33244
33245 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
33246
33247 </dd>
33248 </dl>
33249
33250 <dl>
33251 <dd>
33252
33253 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
33254
33255 </dd>
33256 </dl>
33257
33258 <dl>
33259 <dd>
33260
33261 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
33262
33263 </dd>
33264 </dl>
33265 </dd>
33266 </dl>
33267
33268
33269 </dd>
33270 </dl>
33271 </details>
33272
33273 ## Organizations Members Roles
33274 <details><summary><code>client.organizations.members.roles.<a href="src/auth0.management/organizations/members/roles/client.py">list</a>(...) -> ListOrganizationMemberRolesOffsetPaginatedResponseContent</code></summary>
33275 <dl>
33276 <dd>
33277
33278 #### 📝 Description
33279
33280 <dl>
33281 <dd>
33282
33283 <dl>
33284 <dd>
33285
33286 Retrieve detailed list of roles assigned to a given user within the context of a specific Organization.
33287
33288 Users can be members of multiple Organizations with unique roles assigned for each membership. This action only returns the roles associated with the specified Organization; any roles assigned to the user within other Organizations are not included.
33289 </dd>
33290 </dl>
33291 </dd>
33292 </dl>
33293
33294 #### 🔌 Usage
33295
33296 <dl>
33297 <dd>
33298
33299 <dl>
33300 <dd>
33301
33302 ```python
33303 from auth0.management import Auth0
33304 from auth0.management.environment import Auth0Environment
33305
33306 client = Auth0(
33307 token="<token>",
33308 environment=Auth0Environment.DEFAULT,
33309 )
33310
33311 client.organizations.members.roles.list(
33312 id="id",
33313 user_id="user_id",
33314 page=1,
33315 per_page=1,
33316 include_totals=True,
33317 )
33318
33319 ```
33320 </dd>
33321 </dl>
33322 </dd>
33323 </dl>
33324
33325 #### ⚙️ Parameters
33326
33327 <dl>
33328 <dd>
33329
33330 <dl>
33331 <dd>
33332
33333 **id:** `str` — Organization identifier.
33334
33335 </dd>
33336 </dl>
33337
33338 <dl>
33339 <dd>
33340
33341 **user_id:** `str` — ID of the user to associate roles with.
33342
33343 </dd>
33344 </dl>
33345
33346 <dl>
33347 <dd>
33348
33349 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
33350
33351 </dd>
33352 </dl>
33353
33354 <dl>
33355 <dd>
33356
33357 **per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
33358
33359 </dd>
33360 </dl>
33361
33362 <dl>
33363 <dd>
33364
33365 **include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
33366
33367 </dd>
33368 </dl>
33369
33370 <dl>
33371 <dd>
33372
33373 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
33374
33375 </dd>
33376 </dl>
33377 </dd>
33378 </dl>
33379
33380
33381 </dd>
33382 </dl>
33383 </details>
33384
33385 <details><summary><code>client.organizations.members.roles.<a href="src/auth0.management/organizations/members/roles/client.py">assign</a>(...)</code></summary>
33386 <dl>
33387 <dd>
33388
33389 #### 📝 Description
33390
33391 <dl>
33392 <dd>
33393
33394 <dl>
33395 <dd>
33396
33397 Assign one or more [roles](https://auth0.com/docs/manage-users/access-control/rbac) to a user to determine their access for a specific Organization.
33398
33399 Users can be members of multiple Organizations with unique roles assigned for each membership. This action assigns roles to a user only for the specified Organization. Roles cannot be assigned to a user across multiple Organizations in the same call.
33400 </dd>
33401 </dl>
33402 </dd>
33403 </dl>
33404
33405 #### 🔌 Usage
33406
33407 <dl>
33408 <dd>
33409
33410 <dl>
33411 <dd>
33412
33413 ```python
33414 from auth0.management import Auth0
33415 from auth0.management.environment import Auth0Environment
33416
33417 client = Auth0(
33418 token="<token>",
33419 environment=Auth0Environment.DEFAULT,
33420 )
33421
33422 client.organizations.members.roles.assign(
33423 id="id",
33424 user_id="user_id",
33425 roles=[
33426 "roles"
33427 ],
33428 )
33429
33430 ```
33431 </dd>
33432 </dl>
33433 </dd>
33434 </dl>
33435
33436 #### ⚙️ Parameters
33437
33438 <dl>
33439 <dd>
33440
33441 <dl>
33442 <dd>
33443
33444 **id:** `str` — Organization identifier.
33445
33446 </dd>
33447 </dl>
33448
33449 <dl>
33450 <dd>
33451
33452 **user_id:** `str` — ID of the user to associate roles with.
33453
33454 </dd>
33455 </dl>
33456
33457 <dl>
33458 <dd>
33459
33460 **roles:** `typing.List[str]` — List of roles IDs to associated with the user.
33461
33462 </dd>
33463 </dl>
33464
33465 <dl>
33466 <dd>
33467
33468 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
33469
33470 </dd>
33471 </dl>
33472 </dd>
33473 </dl>
33474
33475
33476 </dd>
33477 </dl>
33478 </details>
33479
33480 <details><summary><code>client.organizations.members.roles.<a href="src/auth0.management/organizations/members/roles/client.py">delete</a>(...)</code></summary>
33481 <dl>
33482 <dd>
33483
33484 #### 📝 Description
33485
33486 <dl>
33487 <dd>
33488
33489 <dl>
33490 <dd>
33491
33492 Remove one or more Organization-specific [roles](https://auth0.com/docs/manage-users/access-control/rbac) from a given user.
33493
33494 Users can be members of multiple Organizations with unique roles assigned for each membership. This action removes roles from a user in relation to the specified Organization. Roles assigned to the user within a different Organization cannot be managed in the same call.
33495 </dd>
33496 </dl>
33497 </dd>
33498 </dl>
33499
33500 #### 🔌 Usage
33501
33502 <dl>
33503 <dd>
33504
33505 <dl>
33506 <dd>
33507
33508 ```python
33509 from auth0.management import Auth0
33510 from auth0.management.environment import Auth0Environment
33511
33512 client = Auth0(
33513 token="<token>",
33514 environment=Auth0Environment.DEFAULT,
33515 )
33516
33517 client.organizations.members.roles.delete(
33518 id="id",
33519 user_id="user_id",
33520 roles=[
33521 "roles"
33522 ],
33523 )
33524
33525 ```
33526 </dd>
33527 </dl>
33528 </dd>
33529 </dl>
33530
33531 #### ⚙️ Parameters
33532
33533 <dl>
33534 <dd>
33535
33536 <dl>
33537 <dd>
33538
33539 **id:** `str` — Organization identifier.
33540
33541 </dd>
33542 </dl>
33543
33544 <dl>
33545 <dd>
33546
33547 **user_id:** `str` — User ID of the organization member to remove roles from.
33548
33549 </dd>
33550 </dl>
33551
33552 <dl>
33553 <dd>
33554
33555 **roles:** `typing.List[str]` — List of roles IDs associated with the organization member to remove.
33556
33557 </dd>
33558 </dl>
33559
33560 <dl>
33561 <dd>
33562
33563 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
33564
33565 </dd>
33566 </dl>
33567 </dd>
33568 </dl>
33569
33570
33571 </dd>
33572 </dl>
33573 </details>
33574
33575 ## Organizations Members EffectiveRoles Sources Groups
33576 <details><summary><code>client.organizations.members.effective_roles.sources.groups.<a href="src/auth0.management/organizations/members/effective_roles/sources/groups/client.py">list</a>(...) -> ListOrganizationMemberRoleSourceGroupsResponseContent</code></summary>
33577 <dl>
33578 <dd>
33579
33580 #### 📝 Description
33581
33582 <dl>
33583 <dd>
33584
33585 <dl>
33586 <dd>
33587
33588 Lists the groups which grant the org member a given role.
33589 </dd>
33590 </dl>
33591 </dd>
33592 </dl>
33593
33594 #### 🔌 Usage
33595
33596 <dl>
33597 <dd>
33598
33599 <dl>
33600 <dd>
33601
33602 ```python
33603 from auth0.management import Auth0
33604 from auth0.management.environment import Auth0Environment
33605
33606 client = Auth0(
33607 token="<token>",
33608 environment=Auth0Environment.DEFAULT,
33609 )
33610
33611 client.organizations.members.effective_roles.sources.groups.list(
33612 id="id",
33613 user_id="user_id",
33614 from_="from",
33615 take=1,
33616 role_id="role_id",
33617 )
33618
33619 ```
33620 </dd>
33621 </dl>
33622 </dd>
33623 </dl>
33624
33625 #### ⚙️ Parameters
33626
33627 <dl>
33628 <dd>
33629
33630 <dl>
33631 <dd>
33632
33633 **id:** `str` — Organization identifier.
33634
33635 </dd>
33636 </dl>
33637
33638 <dl>
33639 <dd>
33640
33641 **user_id:** `str` — ID of the user to list role source groups for.
33642
33643 </dd>
33644 </dl>
33645
33646 <dl>
33647 <dd>
33648
33649 **role_id:** `str` — The role ID to get group sources for.
33650
33651 </dd>
33652 </dl>
33653
33654 <dl>
33655 <dd>
33656
33657 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
33658
33659 </dd>
33660 </dl>
33661
33662 <dl>
33663 <dd>
33664
33665 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
33666
33667 </dd>
33668 </dl>
33669
33670 <dl>
33671 <dd>
33672
33673 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
33674
33675 </dd>
33676 </dl>
33677 </dd>
33678 </dl>
33679
33680
33681 </dd>
33682 </dl>
33683 </details>
33684
33685 ## Organizations Roles Members
33686 <details><summary><code>client.organizations.roles.members.<a href="src/auth0.management/organizations/roles/members/client.py">list</a>(...) -> ListOrganizationRoleMembersResponseContent</code></summary>
33687 <dl>
33688 <dd>
33689
33690 #### 📝 Description
33691
33692 <dl>
33693 <dd>
33694
33695 <dl>
33696 <dd>
33697
33698 List the organization members assigned a specific role within the context of an organization.
33699 </dd>
33700 </dl>
33701 </dd>
33702 </dl>
33703
33704 #### 🔌 Usage
33705
33706 <dl>
33707 <dd>
33708
33709 <dl>
33710 <dd>
33711
33712 ```python
33713 from auth0.management import Auth0
33714 from auth0.management.environment import Auth0Environment
33715
33716 client = Auth0(
33717 token="<token>",
33718 environment=Auth0Environment.DEFAULT,
33719 )
33720
33721 client.organizations.roles.members.list(
33722 id="id",
33723 role_id="role_id",
33724 from_="from",
33725 take=1,
33726 fields="fields",
33727 include_fields=True,
33728 )
33729
33730 ```
33731 </dd>
33732 </dl>
33733 </dd>
33734 </dl>
33735
33736 #### ⚙️ Parameters
33737
33738 <dl>
33739 <dd>
33740
33741 <dl>
33742 <dd>
33743
33744 **id:** `str` — ID of the organization.
33745
33746 </dd>
33747 </dl>
33748
33749 <dl>
33750 <dd>
33751
33752 **role_id:** `str` — ID of the role to retrieve the assigned members for.
33753
33754 </dd>
33755 </dl>
33756
33757 <dl>
33758 <dd>
33759
33760 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
33761
33762 </dd>
33763 </dl>
33764
33765 <dl>
33766 <dd>
33767
33768 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. Values above the maximum permitted size are capped.
33769
33770 </dd>
33771 </dl>
33772
33773 <dl>
33774 <dd>
33775
33776 **fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.
33777
33778 </dd>
33779 </dl>
33780
33781 <dl>
33782 <dd>
33783
33784 **include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). Defaults to true.
33785
33786 </dd>
33787 </dl>
33788
33789 <dl>
33790 <dd>
33791
33792 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
33793
33794 </dd>
33795 </dl>
33796 </dd>
33797 </dl>
33798
33799
33800 </dd>
33801 </dl>
33802 </details>
33803
33804 ## Prompts Rendering
33805 <details><summary><code>client.prompts.rendering.<a href="src/auth0.management/prompts/rendering/client.py">list</a>(...) -> ListAculsOffsetPaginatedResponseContent</code></summary>
33806 <dl>
33807 <dd>
33808
33809 #### 📝 Description
33810
33811 <dl>
33812 <dd>
33813
33814 <dl>
33815 <dd>
33816
33817 Get render setting configurations for all screens.
33818 </dd>
33819 </dl>
33820 </dd>
33821 </dl>
33822
33823 #### 🔌 Usage
33824
33825 <dl>
33826 <dd>
33827
33828 <dl>
33829 <dd>
33830
33831 ```python
33832 from auth0.management import Auth0
33833 from auth0.management.environment import Auth0Environment
33834
33835 client = Auth0(
33836 token="<token>",
33837 environment=Auth0Environment.DEFAULT,
33838 )
33839
33840 client.prompts.rendering.list(
33841 fields="fields",
33842 include_fields=True,
33843 page=1,
33844 per_page=1,
33845 include_totals=True,
33846 prompt="prompt",
33847 screen="screen",
33848 rendering_mode="advanced",
33849 )
33850
33851 ```
33852 </dd>
33853 </dl>
33854 </dd>
33855 </dl>
33856
33857 #### ⚙️ Parameters
33858
33859 <dl>
33860 <dd>
33861
33862 <dl>
33863 <dd>
33864
33865 **fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.
33866
33867 </dd>
33868 </dl>
33869
33870 <dl>
33871 <dd>
33872
33873 **include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (default: true) or excluded (false).
33874
33875 </dd>
33876 </dl>
33877
33878 <dl>
33879 <dd>
33880
33881 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
33882
33883 </dd>
33884 </dl>
33885
33886 <dl>
33887 <dd>
33888
33889 **per_page:** `typing.Optional[int]` — Number of results per page. Maximum value is 100, default value is 50.
33890
33891 </dd>
33892 </dl>
33893
33894 <dl>
33895 <dd>
33896
33897 **include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total configuration count (true) or as a direct array of results (false, default).
33898
33899 </dd>
33900 </dl>
33901
33902 <dl>
33903 <dd>
33904
33905 **prompt:** `typing.Optional[str]` — Name of the prompt to filter by
33906
33907 </dd>
33908 </dl>
33909
33910 <dl>
33911 <dd>
33912
33913 **screen:** `typing.Optional[str]` — Name of the screen to filter by
33914
33915 </dd>
33916 </dl>
33917
33918 <dl>
33919 <dd>
33920
33921 **rendering_mode:** `typing.Optional[AculRenderingModeEnum]` — Rendering mode to filter by
33922
33923 </dd>
33924 </dl>
33925
33926 <dl>
33927 <dd>
33928
33929 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
33930
33931 </dd>
33932 </dl>
33933 </dd>
33934 </dl>
33935
33936
33937 </dd>
33938 </dl>
33939 </details>
33940
33941 <details><summary><code>client.prompts.rendering.<a href="src/auth0.management/prompts/rendering/client.py">bulk_update</a>(...) -> BulkUpdateAculResponseContent</code></summary>
33942 <dl>
33943 <dd>
33944
33945 #### 📝 Description
33946
33947 <dl>
33948 <dd>
33949
33950 <dl>
33951 <dd>
33952
33953 Learn more about [configuring render settings](https://auth0.com/docs/customize/login-pages/advanced-customizations/getting-started/configure-acul-screens) for advanced customization.
33954 </dd>
33955 </dl>
33956 </dd>
33957 </dl>
33958
33959 #### 🔌 Usage
33960
33961 <dl>
33962 <dd>
33963
33964 <dl>
33965 <dd>
33966
33967 ```python
33968 from auth0.management import Auth0, AculConfigsItem
33969 from auth0.management.environment import Auth0Environment
33970
33971 client = Auth0(
33972 token="<token>",
33973 environment=Auth0Environment.DEFAULT,
33974 )
33975
33976 client.prompts.rendering.bulk_update(
33977 configs=[
33978 AculConfigsItem(
33979 prompt="login",
33980 screen="login",
33981 )
33982 ],
33983 )
33984
33985 ```
33986 </dd>
33987 </dl>
33988 </dd>
33989 </dl>
33990
33991 #### ⚙️ Parameters
33992
33993 <dl>
33994 <dd>
33995
33996 <dl>
33997 <dd>
33998
33999 **configs:** `AculConfigs`
34000
34001 </dd>
34002 </dl>
34003
34004 <dl>
34005 <dd>
34006
34007 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
34008
34009 </dd>
34010 </dl>
34011 </dd>
34012 </dl>
34013
34014
34015 </dd>
34016 </dl>
34017 </details>
34018
34019 <details><summary><code>client.prompts.rendering.<a href="src/auth0.management/prompts/rendering/client.py">get</a>(...) -> GetAculResponseContent</code></summary>
34020 <dl>
34021 <dd>
34022
34023 #### 📝 Description
34024
34025 <dl>
34026 <dd>
34027
34028 <dl>
34029 <dd>
34030
34031 Get render settings for a screen.
34032 </dd>
34033 </dl>
34034 </dd>
34035 </dl>
34036
34037 #### 🔌 Usage
34038
34039 <dl>
34040 <dd>
34041
34042 <dl>
34043 <dd>
34044
34045 ```python
34046 from auth0.management import Auth0
34047 from auth0.management.environment import Auth0Environment
34048
34049 client = Auth0(
34050 token="<token>",
34051 environment=Auth0Environment.DEFAULT,
34052 )
34053
34054 client.prompts.rendering.get(
34055 prompt="login",
34056 screen="login",
34057 )
34058
34059 ```
34060 </dd>
34061 </dl>
34062 </dd>
34063 </dl>
34064
34065 #### ⚙️ Parameters
34066
34067 <dl>
34068 <dd>
34069
34070 <dl>
34071 <dd>
34072
34073 **prompt:** `PromptGroupNameEnum` — Name of the prompt
34074
34075 </dd>
34076 </dl>
34077
34078 <dl>
34079 <dd>
34080
34081 **screen:** `ScreenGroupNameEnum` — Name of the screen
34082
34083 </dd>
34084 </dl>
34085
34086 <dl>
34087 <dd>
34088
34089 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
34090
34091 </dd>
34092 </dl>
34093 </dd>
34094 </dl>
34095
34096
34097 </dd>
34098 </dl>
34099 </details>
34100
34101 <details><summary><code>client.prompts.rendering.<a href="src/auth0.management/prompts/rendering/client.py">update</a>(...) -> UpdateAculResponseContent</code></summary>
34102 <dl>
34103 <dd>
34104
34105 #### 📝 Description
34106
34107 <dl>
34108 <dd>
34109
34110 <dl>
34111 <dd>
34112
34113 Learn more about [configuring render settings](https://auth0.com/docs/customize/login-pages/advanced-customizations/getting-started/configure-acul-screens) for advanced customization.
34114 </dd>
34115 </dl>
34116 </dd>
34117 </dl>
34118
34119 #### 🔌 Usage
34120
34121 <dl>
34122 <dd>
34123
34124 <dl>
34125 <dd>
34126
34127 ```python
34128 from auth0.management import Auth0
34129 from auth0.management.environment import Auth0Environment
34130
34131 client = Auth0(
34132 token="<token>",
34133 environment=Auth0Environment.DEFAULT,
34134 )
34135
34136 client.prompts.rendering.update(
34137 prompt="login",
34138 screen="login",
34139 )
34140
34141 ```
34142 </dd>
34143 </dl>
34144 </dd>
34145 </dl>
34146
34147 #### ⚙️ Parameters
34148
34149 <dl>
34150 <dd>
34151
34152 <dl>
34153 <dd>
34154
34155 **prompt:** `PromptGroupNameEnum` — Name of the prompt
34156
34157 </dd>
34158 </dl>
34159
34160 <dl>
34161 <dd>
34162
34163 **screen:** `ScreenGroupNameEnum` — Name of the screen
34164
34165 </dd>
34166 </dl>
34167
34168 <dl>
34169 <dd>
34170
34171 **rendering_mode:** `typing.Optional[AculRenderingModeEnum]` — Rendering mode
34172
34173 </dd>
34174 </dl>
34175
34176 <dl>
34177 <dd>
34178
34179 **context_configuration:** `typing.Optional[AculContextConfiguration]`
34180
34181 </dd>
34182 </dl>
34183
34184 <dl>
34185 <dd>
34186
34187 **default_head_tags_disabled:** `typing.Optional[bool]` — Override Universal Login default head tags
34188
34189 </dd>
34190 </dl>
34191
34192 <dl>
34193 <dd>
34194
34195 **use_page_template:** `typing.Optional[bool]` — Use page template with ACUL
34196
34197 </dd>
34198 </dl>
34199
34200 <dl>
34201 <dd>
34202
34203 **head_tags:** `typing.Optional[typing.List[AculHeadTag]]` — An array of head tags
34204
34205 </dd>
34206 </dl>
34207
34208 <dl>
34209 <dd>
34210
34211 **filters:** `typing.Optional[AculFilters]`
34212
34213 </dd>
34214 </dl>
34215
34216 <dl>
34217 <dd>
34218
34219 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
34220
34221 </dd>
34222 </dl>
34223 </dd>
34224 </dl>
34225
34226
34227 </dd>
34228 </dl>
34229 </details>
34230
34231 ## Prompts CustomText
34232 <details><summary><code>client.prompts.custom_text.<a href="src/auth0.management/prompts/custom_text/client.py">get</a>(...) -> GetCustomTextsByLanguageResponseContent</code></summary>
34233 <dl>
34234 <dd>
34235
34236 #### 📝 Description
34237
34238 <dl>
34239 <dd>
34240
34241 <dl>
34242 <dd>
34243
34244 Retrieve custom text for a specific prompt and language.
34245 </dd>
34246 </dl>
34247 </dd>
34248 </dl>
34249
34250 #### 🔌 Usage
34251
34252 <dl>
34253 <dd>
34254
34255 <dl>
34256 <dd>
34257
34258 ```python
34259 from auth0.management import Auth0
34260 from auth0.management.environment import Auth0Environment
34261
34262 client = Auth0(
34263 token="<token>",
34264 environment=Auth0Environment.DEFAULT,
34265 )
34266
34267 client.prompts.custom_text.get(
34268 prompt="login",
34269 language="am",
34270 )
34271
34272 ```
34273 </dd>
34274 </dl>
34275 </dd>
34276 </dl>
34277
34278 #### ⚙️ Parameters
34279
34280 <dl>
34281 <dd>
34282
34283 <dl>
34284 <dd>
34285
34286 **prompt:** `PromptGroupNameEnum` — Name of the prompt.
34287
34288 </dd>
34289 </dl>
34290
34291 <dl>
34292 <dd>
34293
34294 **language:** `PromptLanguageEnum` — Language to update.
34295
34296 </dd>
34297 </dl>
34298
34299 <dl>
34300 <dd>
34301
34302 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
34303
34304 </dd>
34305 </dl>
34306 </dd>
34307 </dl>
34308
34309
34310 </dd>
34311 </dl>
34312 </details>
34313
34314 <details><summary><code>client.prompts.custom_text.<a href="src/auth0.management/prompts/custom_text/client.py">set</a>(...)</code></summary>
34315 <dl>
34316 <dd>
34317
34318 #### 📝 Description
34319
34320 <dl>
34321 <dd>
34322
34323 <dl>
34324 <dd>
34325
34326 Set custom text for a specific prompt. Existing texts will be overwritten.
34327 </dd>
34328 </dl>
34329 </dd>
34330 </dl>
34331
34332 #### 🔌 Usage
34333
34334 <dl>
34335 <dd>
34336
34337 <dl>
34338 <dd>
34339
34340 ```python
34341 from auth0.management import Auth0
34342 from auth0.management.environment import Auth0Environment
34343
34344 client = Auth0(
34345 token="<token>",
34346 environment=Auth0Environment.DEFAULT,
34347 )
34348
34349 client.prompts.custom_text.set(
34350 prompt="login",
34351 language="am",
34352 request={
34353 "key": "value"
34354 },
34355 )
34356
34357 ```
34358 </dd>
34359 </dl>
34360 </dd>
34361 </dl>
34362
34363 #### ⚙️ Parameters
34364
34365 <dl>
34366 <dd>
34367
34368 <dl>
34369 <dd>
34370
34371 **prompt:** `PromptGroupNameEnum` — Name of the prompt.
34372
34373 </dd>
34374 </dl>
34375
34376 <dl>
34377 <dd>
34378
34379 **language:** `PromptLanguageEnum` — Language to update.
34380
34381 </dd>
34382 </dl>
34383
34384 <dl>
34385 <dd>
34386
34387 **request:** `SetsCustomTextsByLanguageRequestContent`
34388
34389 </dd>
34390 </dl>
34391
34392 <dl>
34393 <dd>
34394
34395 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
34396
34397 </dd>
34398 </dl>
34399 </dd>
34400 </dl>
34401
34402
34403 </dd>
34404 </dl>
34405 </details>
34406
34407 ## Prompts Partials
34408 <details><summary><code>client.prompts.partials.<a href="src/auth0.management/prompts/partials/client.py">get</a>(...) -> GetPartialsResponseContent</code></summary>
34409 <dl>
34410 <dd>
34411
34412 #### 📝 Description
34413
34414 <dl>
34415 <dd>
34416
34417 <dl>
34418 <dd>
34419
34420 Get template partials for a prompt
34421 </dd>
34422 </dl>
34423 </dd>
34424 </dl>
34425
34426 #### 🔌 Usage
34427
34428 <dl>
34429 <dd>
34430
34431 <dl>
34432 <dd>
34433
34434 ```python
34435 from auth0.management import Auth0
34436 from auth0.management.environment import Auth0Environment
34437
34438 client = Auth0(
34439 token="<token>",
34440 environment=Auth0Environment.DEFAULT,
34441 )
34442
34443 client.prompts.partials.get(
34444 prompt="login",
34445 )
34446
34447 ```
34448 </dd>
34449 </dl>
34450 </dd>
34451 </dl>
34452
34453 #### ⚙️ Parameters
34454
34455 <dl>
34456 <dd>
34457
34458 <dl>
34459 <dd>
34460
34461 **prompt:** `PartialGroupsEnum` — Name of the prompt.
34462
34463 </dd>
34464 </dl>
34465
34466 <dl>
34467 <dd>
34468
34469 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
34470
34471 </dd>
34472 </dl>
34473 </dd>
34474 </dl>
34475
34476
34477 </dd>
34478 </dl>
34479 </details>
34480
34481 <details><summary><code>client.prompts.partials.<a href="src/auth0.management/prompts/partials/client.py">set</a>(...)</code></summary>
34482 <dl>
34483 <dd>
34484
34485 #### 📝 Description
34486
34487 <dl>
34488 <dd>
34489
34490 <dl>
34491 <dd>
34492
34493 Set template partials for a prompt
34494 </dd>
34495 </dl>
34496 </dd>
34497 </dl>
34498
34499 #### 🔌 Usage
34500
34501 <dl>
34502 <dd>
34503
34504 <dl>
34505 <dd>
34506
34507 ```python
34508 from auth0.management import Auth0
34509 from auth0.management.environment import Auth0Environment
34510
34511 client = Auth0(
34512 token="<token>",
34513 environment=Auth0Environment.DEFAULT,
34514 )
34515
34516 client.prompts.partials.set(
34517 prompt="login",
34518 request={
34519 "key": "value"
34520 },
34521 )
34522
34523 ```
34524 </dd>
34525 </dl>
34526 </dd>
34527 </dl>
34528
34529 #### ⚙️ Parameters
34530
34531 <dl>
34532 <dd>
34533
34534 <dl>
34535 <dd>
34536
34537 **prompt:** `PartialGroupsEnum` — Name of the prompt.
34538
34539 </dd>
34540 </dl>
34541
34542 <dl>
34543 <dd>
34544
34545 **request:** `SetPartialsRequestContent`
34546
34547 </dd>
34548 </dl>
34549
34550 <dl>
34551 <dd>
34552
34553 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
34554
34555 </dd>
34556 </dl>
34557 </dd>
34558 </dl>
34559
34560
34561 </dd>
34562 </dl>
34563 </details>
34564
34565 ## RiskAssessments Settings
34566 <details><summary><code>client.risk_assessments.settings.<a href="src/auth0.management/risk_assessments/settings/client.py">get</a>() -> GetRiskAssessmentsSettingsResponseContent</code></summary>
34567 <dl>
34568 <dd>
34569
34570 #### 📝 Description
34571
34572 <dl>
34573 <dd>
34574
34575 <dl>
34576 <dd>
34577
34578 Gets the tenant settings for risk assessments
34579 </dd>
34580 </dl>
34581 </dd>
34582 </dl>
34583
34584 #### 🔌 Usage
34585
34586 <dl>
34587 <dd>
34588
34589 <dl>
34590 <dd>
34591
34592 ```python
34593 from auth0.management import Auth0
34594 from auth0.management.environment import Auth0Environment
34595
34596 client = Auth0(
34597 token="<token>",
34598 environment=Auth0Environment.DEFAULT,
34599 )
34600
34601 client.risk_assessments.settings.get()
34602
34603 ```
34604 </dd>
34605 </dl>
34606 </dd>
34607 </dl>
34608
34609 #### ⚙️ Parameters
34610
34611 <dl>
34612 <dd>
34613
34614 <dl>
34615 <dd>
34616
34617 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
34618
34619 </dd>
34620 </dl>
34621 </dd>
34622 </dl>
34623
34624
34625 </dd>
34626 </dl>
34627 </details>
34628
34629 <details><summary><code>client.risk_assessments.settings.<a href="src/auth0.management/risk_assessments/settings/client.py">update</a>(...) -> UpdateRiskAssessmentsSettingsResponseContent</code></summary>
34630 <dl>
34631 <dd>
34632
34633 #### 📝 Description
34634
34635 <dl>
34636 <dd>
34637
34638 <dl>
34639 <dd>
34640
34641 Updates the tenant settings for risk assessments
34642 </dd>
34643 </dl>
34644 </dd>
34645 </dl>
34646
34647 #### 🔌 Usage
34648
34649 <dl>
34650 <dd>
34651
34652 <dl>
34653 <dd>
34654
34655 ```python
34656 from auth0.management import Auth0
34657 from auth0.management.environment import Auth0Environment
34658
34659 client = Auth0(
34660 token="<token>",
34661 environment=Auth0Environment.DEFAULT,
34662 )
34663
34664 client.risk_assessments.settings.update(
34665 enabled=True,
34666 )
34667
34668 ```
34669 </dd>
34670 </dl>
34671 </dd>
34672 </dl>
34673
34674 #### ⚙️ Parameters
34675
34676 <dl>
34677 <dd>
34678
34679 <dl>
34680 <dd>
34681
34682 **enabled:** `bool` — Whether or not risk assessment is enabled.
34683
34684 </dd>
34685 </dl>
34686
34687 <dl>
34688 <dd>
34689
34690 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
34691
34692 </dd>
34693 </dl>
34694 </dd>
34695 </dl>
34696
34697
34698 </dd>
34699 </dl>
34700 </details>
34701
34702 ## RiskAssessments Settings NewDevice
34703 <details><summary><code>client.risk_assessments.settings.new_device.<a href="src/auth0.management/risk_assessments/settings/new_device/client.py">get</a>() -> GetRiskAssessmentsSettingsNewDeviceResponseContent</code></summary>
34704 <dl>
34705 <dd>
34706
34707 #### 📝 Description
34708
34709 <dl>
34710 <dd>
34711
34712 <dl>
34713 <dd>
34714
34715 Gets the risk assessment settings for the new device assessor
34716 </dd>
34717 </dl>
34718 </dd>
34719 </dl>
34720
34721 #### 🔌 Usage
34722
34723 <dl>
34724 <dd>
34725
34726 <dl>
34727 <dd>
34728
34729 ```python
34730 from auth0.management import Auth0
34731 from auth0.management.environment import Auth0Environment
34732
34733 client = Auth0(
34734 token="<token>",
34735 environment=Auth0Environment.DEFAULT,
34736 )
34737
34738 client.risk_assessments.settings.new_device.get()
34739
34740 ```
34741 </dd>
34742 </dl>
34743 </dd>
34744 </dl>
34745
34746 #### ⚙️ Parameters
34747
34748 <dl>
34749 <dd>
34750
34751 <dl>
34752 <dd>
34753
34754 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
34755
34756 </dd>
34757 </dl>
34758 </dd>
34759 </dl>
34760
34761
34762 </dd>
34763 </dl>
34764 </details>
34765
34766 <details><summary><code>client.risk_assessments.settings.new_device.<a href="src/auth0.management/risk_assessments/settings/new_device/client.py">update</a>(...) -> UpdateRiskAssessmentsSettingsNewDeviceResponseContent</code></summary>
34767 <dl>
34768 <dd>
34769
34770 #### 📝 Description
34771
34772 <dl>
34773 <dd>
34774
34775 <dl>
34776 <dd>
34777
34778 Updates the risk assessment settings for the new device assessor
34779 </dd>
34780 </dl>
34781 </dd>
34782 </dl>
34783
34784 #### 🔌 Usage
34785
34786 <dl>
34787 <dd>
34788
34789 <dl>
34790 <dd>
34791
34792 ```python
34793 from auth0.management import Auth0
34794 from auth0.management.environment import Auth0Environment
34795
34796 client = Auth0(
34797 token="<token>",
34798 environment=Auth0Environment.DEFAULT,
34799 )
34800
34801 client.risk_assessments.settings.new_device.update(
34802 remember_for=1,
34803 )
34804
34805 ```
34806 </dd>
34807 </dl>
34808 </dd>
34809 </dl>
34810
34811 #### ⚙️ Parameters
34812
34813 <dl>
34814 <dd>
34815
34816 <dl>
34817 <dd>
34818
34819 **remember_for:** `int` — Length of time to remember devices for, in days.
34820
34821 </dd>
34822 </dl>
34823
34824 <dl>
34825 <dd>
34826
34827 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
34828
34829 </dd>
34830 </dl>
34831 </dd>
34832 </dl>
34833
34834
34835 </dd>
34836 </dl>
34837 </details>
34838
34839 ## Roles Groups
34840 <details><summary><code>client.roles.groups.<a href="src/auth0.management/roles/groups/client.py">get</a>(...) -> ListRoleGroupsResponseContent</code></summary>
34841 <dl>
34842 <dd>
34843
34844 #### 📝 Description
34845
34846 <dl>
34847 <dd>
34848
34849 <dl>
34850 <dd>
34851
34852 Lists the groups to which the specified role is assigned.
34853 </dd>
34854 </dl>
34855 </dd>
34856 </dl>
34857
34858 #### 🔌 Usage
34859
34860 <dl>
34861 <dd>
34862
34863 <dl>
34864 <dd>
34865
34866 ```python
34867 from auth0.management import Auth0
34868 from auth0.management.environment import Auth0Environment
34869
34870 client = Auth0(
34871 token="<token>",
34872 environment=Auth0Environment.DEFAULT,
34873 )
34874
34875 client.roles.groups.get(
34876 id="id",
34877 from_="from",
34878 take=1,
34879 )
34880
34881 ```
34882 </dd>
34883 </dl>
34884 </dd>
34885 </dl>
34886
34887 #### ⚙️ Parameters
34888
34889 <dl>
34890 <dd>
34891
34892 <dl>
34893 <dd>
34894
34895 **id:** `str` — Unique identifier for the role (service-generated).
34896
34897 </dd>
34898 </dl>
34899
34900 <dl>
34901 <dd>
34902
34903 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
34904
34905 </dd>
34906 </dl>
34907
34908 <dl>
34909 <dd>
34910
34911 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
34912
34913 </dd>
34914 </dl>
34915
34916 <dl>
34917 <dd>
34918
34919 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
34920
34921 </dd>
34922 </dl>
34923 </dd>
34924 </dl>
34925
34926
34927 </dd>
34928 </dl>
34929 </details>
34930
34931 <details><summary><code>client.roles.groups.<a href="src/auth0.management/roles/groups/client.py">create</a>(...)</code></summary>
34932 <dl>
34933 <dd>
34934
34935 #### 📝 Description
34936
34937 <dl>
34938 <dd>
34939
34940 <dl>
34941 <dd>
34942
34943 Assign one or more groups to a specified role.
34944 </dd>
34945 </dl>
34946 </dd>
34947 </dl>
34948
34949 #### 🔌 Usage
34950
34951 <dl>
34952 <dd>
34953
34954 <dl>
34955 <dd>
34956
34957 ```python
34958 from auth0.management import Auth0
34959 from auth0.management.environment import Auth0Environment
34960
34961 client = Auth0(
34962 token="<token>",
34963 environment=Auth0Environment.DEFAULT,
34964 )
34965
34966 client.roles.groups.create(
34967 id="id",
34968 groups=[
34969 "groups"
34970 ],
34971 )
34972
34973 ```
34974 </dd>
34975 </dl>
34976 </dd>
34977 </dl>
34978
34979 #### ⚙️ Parameters
34980
34981 <dl>
34982 <dd>
34983
34984 <dl>
34985 <dd>
34986
34987 **id:** `str` — Unique identifier for the role (service-generated).
34988
34989 </dd>
34990 </dl>
34991
34992 <dl>
34993 <dd>
34994
34995 **groups:** `typing.List[str]` — Array of group IDs to assign to the role.
34996
34997 </dd>
34998 </dl>
34999
35000 <dl>
35001 <dd>
35002
35003 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
35004
35005 </dd>
35006 </dl>
35007 </dd>
35008 </dl>
35009
35010
35011 </dd>
35012 </dl>
35013 </details>
35014
35015 <details><summary><code>client.roles.groups.<a href="src/auth0.management/roles/groups/client.py">delete</a>(...)</code></summary>
35016 <dl>
35017 <dd>
35018
35019 #### 📝 Description
35020
35021 <dl>
35022 <dd>
35023
35024 <dl>
35025 <dd>
35026
35027 Unassign one or more groups from a specified role.
35028 </dd>
35029 </dl>
35030 </dd>
35031 </dl>
35032
35033 #### 🔌 Usage
35034
35035 <dl>
35036 <dd>
35037
35038 <dl>
35039 <dd>
35040
35041 ```python
35042 from auth0.management import Auth0
35043 from auth0.management.environment import Auth0Environment
35044
35045 client = Auth0(
35046 token="<token>",
35047 environment=Auth0Environment.DEFAULT,
35048 )
35049
35050 client.roles.groups.delete(
35051 id="id",
35052 groups=[
35053 "groups"
35054 ],
35055 )
35056
35057 ```
35058 </dd>
35059 </dl>
35060 </dd>
35061 </dl>
35062
35063 #### ⚙️ Parameters
35064
35065 <dl>
35066 <dd>
35067
35068 <dl>
35069 <dd>
35070
35071 **id:** `str` — Unique identifier for the role (service-generated).
35072
35073 </dd>
35074 </dl>
35075
35076 <dl>
35077 <dd>
35078
35079 **groups:** `typing.List[str]` — Array of group IDs to remove from the role.
35080
35081 </dd>
35082 </dl>
35083
35084 <dl>
35085 <dd>
35086
35087 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
35088
35089 </dd>
35090 </dl>
35091 </dd>
35092 </dl>
35093
35094
35095 </dd>
35096 </dl>
35097 </details>
35098
35099 ## Roles Permissions
35100 <details><summary><code>client.roles.permissions.<a href="src/auth0.management/roles/permissions/client.py">list</a>(...) -> ListRolePermissionsOffsetPaginatedResponseContent</code></summary>
35101 <dl>
35102 <dd>
35103
35104 #### 📝 Description
35105
35106 <dl>
35107 <dd>
35108
35109 <dl>
35110 <dd>
35111
35112 Retrieve detailed list (name, description, resource server) of permissions granted by a specified user role.
35113 </dd>
35114 </dl>
35115 </dd>
35116 </dl>
35117
35118 #### 🔌 Usage
35119
35120 <dl>
35121 <dd>
35122
35123 <dl>
35124 <dd>
35125
35126 ```python
35127 from auth0.management import Auth0
35128 from auth0.management.environment import Auth0Environment
35129
35130 client = Auth0(
35131 token="<token>",
35132 environment=Auth0Environment.DEFAULT,
35133 )
35134
35135 client.roles.permissions.list(
35136 id="id",
35137 per_page=1,
35138 page=1,
35139 include_totals=True,
35140 )
35141
35142 ```
35143 </dd>
35144 </dl>
35145 </dd>
35146 </dl>
35147
35148 #### ⚙️ Parameters
35149
35150 <dl>
35151 <dd>
35152
35153 <dl>
35154 <dd>
35155
35156 **id:** `str` — ID of the role to list granted permissions.
35157
35158 </dd>
35159 </dl>
35160
35161 <dl>
35162 <dd>
35163
35164 **per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
35165
35166 </dd>
35167 </dl>
35168
35169 <dl>
35170 <dd>
35171
35172 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
35173
35174 </dd>
35175 </dl>
35176
35177 <dl>
35178 <dd>
35179
35180 **include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
35181
35182 </dd>
35183 </dl>
35184
35185 <dl>
35186 <dd>
35187
35188 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
35189
35190 </dd>
35191 </dl>
35192 </dd>
35193 </dl>
35194
35195
35196 </dd>
35197 </dl>
35198 </details>
35199
35200 <details><summary><code>client.roles.permissions.<a href="src/auth0.management/roles/permissions/client.py">add</a>(...)</code></summary>
35201 <dl>
35202 <dd>
35203
35204 #### 📝 Description
35205
35206 <dl>
35207 <dd>
35208
35209 <dl>
35210 <dd>
35211
35212 Add one or more [permissions](https://auth0.com/docs/manage-users/access-control/configure-core-rbac/manage-permissions) to a specified user role.
35213 </dd>
35214 </dl>
35215 </dd>
35216 </dl>
35217
35218 #### 🔌 Usage
35219
35220 <dl>
35221 <dd>
35222
35223 <dl>
35224 <dd>
35225
35226 ```python
35227 from auth0.management import Auth0, PermissionRequestPayload
35228 from auth0.management.environment import Auth0Environment
35229
35230 client = Auth0(
35231 token="<token>",
35232 environment=Auth0Environment.DEFAULT,
35233 )
35234
35235 client.roles.permissions.add(
35236 id="id",
35237 permissions=[
35238 PermissionRequestPayload(
35239 resource_server_identifier="resource_server_identifier",
35240 permission_name="permission_name",
35241 )
35242 ],
35243 )
35244
35245 ```
35246 </dd>
35247 </dl>
35248 </dd>
35249 </dl>
35250
35251 #### ⚙️ Parameters
35252
35253 <dl>
35254 <dd>
35255
35256 <dl>
35257 <dd>
35258
35259 **id:** `str` — ID of the role to add permissions to.
35260
35261 </dd>
35262 </dl>
35263
35264 <dl>
35265 <dd>
35266
35267 **permissions:** `typing.List[PermissionRequestPayload]` — array of resource_server_identifier, permission_name pairs.
35268
35269 </dd>
35270 </dl>
35271
35272 <dl>
35273 <dd>
35274
35275 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
35276
35277 </dd>
35278 </dl>
35279 </dd>
35280 </dl>
35281
35282
35283 </dd>
35284 </dl>
35285 </details>
35286
35287 <details><summary><code>client.roles.permissions.<a href="src/auth0.management/roles/permissions/client.py">delete</a>(...)</code></summary>
35288 <dl>
35289 <dd>
35290
35291 #### 📝 Description
35292
35293 <dl>
35294 <dd>
35295
35296 <dl>
35297 <dd>
35298
35299 Remove one or more [permissions](https://auth0.com/docs/manage-users/access-control/configure-core-rbac/manage-permissions) from a specified user role.
35300 </dd>
35301 </dl>
35302 </dd>
35303 </dl>
35304
35305 #### 🔌 Usage
35306
35307 <dl>
35308 <dd>
35309
35310 <dl>
35311 <dd>
35312
35313 ```python
35314 from auth0.management import Auth0, PermissionRequestPayload
35315 from auth0.management.environment import Auth0Environment
35316
35317 client = Auth0(
35318 token="<token>",
35319 environment=Auth0Environment.DEFAULT,
35320 )
35321
35322 client.roles.permissions.delete(
35323 id="id",
35324 permissions=[
35325 PermissionRequestPayload(
35326 resource_server_identifier="resource_server_identifier",
35327 permission_name="permission_name",
35328 )
35329 ],
35330 )
35331
35332 ```
35333 </dd>
35334 </dl>
35335 </dd>
35336 </dl>
35337
35338 #### ⚙️ Parameters
35339
35340 <dl>
35341 <dd>
35342
35343 <dl>
35344 <dd>
35345
35346 **id:** `str` — ID of the role to remove permissions from.
35347
35348 </dd>
35349 </dl>
35350
35351 <dl>
35352 <dd>
35353
35354 **permissions:** `typing.List[PermissionRequestPayload]` — array of resource_server_identifier, permission_name pairs.
35355
35356 </dd>
35357 </dl>
35358
35359 <dl>
35360 <dd>
35361
35362 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
35363
35364 </dd>
35365 </dl>
35366 </dd>
35367 </dl>
35368
35369
35370 </dd>
35371 </dl>
35372 </details>
35373
35374 ## Roles Users
35375 <details><summary><code>client.roles.users.<a href="src/auth0.management/roles/users/client.py">list</a>(...) -> ListRoleUsersPaginatedResponseContent</code></summary>
35376 <dl>
35377 <dd>
35378
35379 #### 📝 Description
35380
35381 <dl>
35382 <dd>
35383
35384 <dl>
35385 <dd>
35386
35387 Retrieve list of users associated with a specific role. For Dashboard instructions, review [View Users Assigned to Roles](https://auth0.com/docs/manage-users/access-control/configure-core-rbac/roles/view-users-assigned-to-roles).
35388
35389 This endpoint supports two types of pagination:
35390
35391 - Offset pagination
35392 - Checkpoint pagination
35393
35394 Checkpoint pagination must be used if you need to retrieve more than 1000 organization members.
35395
35396 **Checkpoint Pagination**
35397
35398 To search by checkpoint, use the following parameters:
35399
35400 - `from`: Optional id from which to start selection.
35401 - `take`: The total amount of entries to retrieve when using the from parameter. Defaults to 50.
35402
35403 **Note**: The first time you call this endpoint using checkpoint pagination, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no pages are remaining.
35404 </dd>
35405 </dl>
35406 </dd>
35407 </dl>
35408
35409 #### 🔌 Usage
35410
35411 <dl>
35412 <dd>
35413
35414 <dl>
35415 <dd>
35416
35417 ```python
35418 from auth0.management import Auth0
35419 from auth0.management.environment import Auth0Environment
35420
35421 client = Auth0(
35422 token="<token>",
35423 environment=Auth0Environment.DEFAULT,
35424 )
35425
35426 client.roles.users.list(
35427 id="id",
35428 from_="from",
35429 take=1,
35430 )
35431
35432 ```
35433 </dd>
35434 </dl>
35435 </dd>
35436 </dl>
35437
35438 #### ⚙️ Parameters
35439
35440 <dl>
35441 <dd>
35442
35443 <dl>
35444 <dd>
35445
35446 **id:** `str` — ID of the role to retrieve a list of users associated with.
35447
35448 </dd>
35449 </dl>
35450
35451 <dl>
35452 <dd>
35453
35454 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
35455
35456 </dd>
35457 </dl>
35458
35459 <dl>
35460 <dd>
35461
35462 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
35463
35464 </dd>
35465 </dl>
35466
35467 <dl>
35468 <dd>
35469
35470 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
35471
35472 </dd>
35473 </dl>
35474 </dd>
35475 </dl>
35476
35477
35478 </dd>
35479 </dl>
35480 </details>
35481
35482 <details><summary><code>client.roles.users.<a href="src/auth0.management/roles/users/client.py">assign</a>(...)</code></summary>
35483 <dl>
35484 <dd>
35485
35486 #### 📝 Description
35487
35488 <dl>
35489 <dd>
35490
35491 <dl>
35492 <dd>
35493
35494 Assign one or more users to an existing user role. To learn more, review [Role-Based Access Control](https://auth0.com/docs/manage-users/access-control/rbac).
35495
35496 **Note**: New roles cannot be created through this action.
35497 </dd>
35498 </dl>
35499 </dd>
35500 </dl>
35501
35502 #### 🔌 Usage
35503
35504 <dl>
35505 <dd>
35506
35507 <dl>
35508 <dd>
35509
35510 ```python
35511 from auth0.management import Auth0
35512 from auth0.management.environment import Auth0Environment
35513
35514 client = Auth0(
35515 token="<token>",
35516 environment=Auth0Environment.DEFAULT,
35517 )
35518
35519 client.roles.users.assign(
35520 id="id",
35521 users=[
35522 "users"
35523 ],
35524 )
35525
35526 ```
35527 </dd>
35528 </dl>
35529 </dd>
35530 </dl>
35531
35532 #### ⚙️ Parameters
35533
35534 <dl>
35535 <dd>
35536
35537 <dl>
35538 <dd>
35539
35540 **id:** `str` — ID of the role to assign users to.
35541
35542 </dd>
35543 </dl>
35544
35545 <dl>
35546 <dd>
35547
35548 **users:** `typing.List[str]` — user_id's of the users to assign the role to.
35549
35550 </dd>
35551 </dl>
35552
35553 <dl>
35554 <dd>
35555
35556 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
35557
35558 </dd>
35559 </dl>
35560 </dd>
35561 </dl>
35562
35563
35564 </dd>
35565 </dl>
35566 </details>
35567
35568 ## SelfServiceProfiles CustomText
35569 <details><summary><code>client.self_service_profiles.custom_text.<a href="src/auth0.management/self_service_profiles/custom_text/client.py">list</a>(...) -> ListSelfServiceProfileCustomTextResponseContent</code></summary>
35570 <dl>
35571 <dd>
35572
35573 #### 📝 Description
35574
35575 <dl>
35576 <dd>
35577
35578 <dl>
35579 <dd>
35580
35581 Retrieves text customizations for a given self-service profile, language and Self-Service Enterprise Configuration flow page.
35582 </dd>
35583 </dl>
35584 </dd>
35585 </dl>
35586
35587 #### 🔌 Usage
35588
35589 <dl>
35590 <dd>
35591
35592 <dl>
35593 <dd>
35594
35595 ```python
35596 from auth0.management import Auth0
35597 from auth0.management.environment import Auth0Environment
35598
35599 client = Auth0(
35600 token="<token>",
35601 environment=Auth0Environment.DEFAULT,
35602 )
35603
35604 client.self_service_profiles.custom_text.list(
35605 id="id",
35606 language="en",
35607 page="get-started",
35608 )
35609
35610 ```
35611 </dd>
35612 </dl>
35613 </dd>
35614 </dl>
35615
35616 #### ⚙️ Parameters
35617
35618 <dl>
35619 <dd>
35620
35621 <dl>
35622 <dd>
35623
35624 **id:** `str` — The id of the self-service profile.
35625
35626 </dd>
35627 </dl>
35628
35629 <dl>
35630 <dd>
35631
35632 **language:** `SelfServiceProfileCustomTextLanguageEnum` — The language of the custom text.
35633
35634 </dd>
35635 </dl>
35636
35637 <dl>
35638 <dd>
35639
35640 **page:** `SelfServiceProfileCustomTextPageEnum` — The page where the custom text is shown.
35641
35642 </dd>
35643 </dl>
35644
35645 <dl>
35646 <dd>
35647
35648 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
35649
35650 </dd>
35651 </dl>
35652 </dd>
35653 </dl>
35654
35655
35656 </dd>
35657 </dl>
35658 </details>
35659
35660 <details><summary><code>client.self_service_profiles.custom_text.<a href="src/auth0.management/self_service_profiles/custom_text/client.py">set</a>(...) -> SetSelfServiceProfileCustomTextResponseContent</code></summary>
35661 <dl>
35662 <dd>
35663
35664 #### 📝 Description
35665
35666 <dl>
35667 <dd>
35668
35669 <dl>
35670 <dd>
35671
35672 Updates text customizations for a given self-service profile, language and Self-Service Enterprise Configuration flow page.
35673 </dd>
35674 </dl>
35675 </dd>
35676 </dl>
35677
35678 #### 🔌 Usage
35679
35680 <dl>
35681 <dd>
35682
35683 <dl>
35684 <dd>
35685
35686 ```python
35687 from auth0.management import Auth0
35688 from auth0.management.environment import Auth0Environment
35689
35690 client = Auth0(
35691 token="<token>",
35692 environment=Auth0Environment.DEFAULT,
35693 )
35694
35695 client.self_service_profiles.custom_text.set(
35696 id="id",
35697 language="en",
35698 page="get-started",
35699 request={
35700 "key": "value"
35701 },
35702 )
35703
35704 ```
35705 </dd>
35706 </dl>
35707 </dd>
35708 </dl>
35709
35710 #### ⚙️ Parameters
35711
35712 <dl>
35713 <dd>
35714
35715 <dl>
35716 <dd>
35717
35718 **id:** `str` — The id of the self-service profile.
35719
35720 </dd>
35721 </dl>
35722
35723 <dl>
35724 <dd>
35725
35726 **language:** `SelfServiceProfileCustomTextLanguageEnum` — The language of the custom text.
35727
35728 </dd>
35729 </dl>
35730
35731 <dl>
35732 <dd>
35733
35734 **page:** `SelfServiceProfileCustomTextPageEnum` — The page where the custom text is shown.
35735
35736 </dd>
35737 </dl>
35738
35739 <dl>
35740 <dd>
35741
35742 **request:** `SetSelfServiceProfileCustomTextRequestContent`
35743
35744 </dd>
35745 </dl>
35746
35747 <dl>
35748 <dd>
35749
35750 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
35751
35752 </dd>
35753 </dl>
35754 </dd>
35755 </dl>
35756
35757
35758 </dd>
35759 </dl>
35760 </details>
35761
35762 ## SelfServiceProfiles SsoTicket
35763 <details><summary><code>client.self_service_profiles.sso_ticket.<a href="src/auth0.management/self_service_profiles/sso_ticket/client.py">create</a>(...) -> CreateSelfServiceProfileSsoTicketResponseContent</code></summary>
35764 <dl>
35765 <dd>
35766
35767 #### 📝 Description
35768
35769 <dl>
35770 <dd>
35771
35772 <dl>
35773 <dd>
35774
35775 Creates an access ticket to initiate the Self-Service Enterprise Configuration flow using a self-service profile.
35776 </dd>
35777 </dl>
35778 </dd>
35779 </dl>
35780
35781 #### 🔌 Usage
35782
35783 <dl>
35784 <dd>
35785
35786 <dl>
35787 <dd>
35788
35789 ```python
35790 from auth0.management import Auth0
35791 from auth0.management.environment import Auth0Environment
35792
35793 client = Auth0(
35794 token="<token>",
35795 environment=Auth0Environment.DEFAULT,
35796 )
35797
35798 client.self_service_profiles.sso_ticket.create(
35799 id="id",
35800 )
35801
35802 ```
35803 </dd>
35804 </dl>
35805 </dd>
35806 </dl>
35807
35808 #### ⚙️ Parameters
35809
35810 <dl>
35811 <dd>
35812
35813 <dl>
35814 <dd>
35815
35816 **id:** `str` — The id of the self-service profile to retrieve
35817
35818 </dd>
35819 </dl>
35820
35821 <dl>
35822 <dd>
35823
35824 **connection_id:** `typing.Optional[str]` — If provided, this will allow editing of the provided connection during the Self-Service Enterprise Configuration flow
35825
35826 </dd>
35827 </dl>
35828
35829 <dl>
35830 <dd>
35831
35832 **connection_config:** `typing.Optional[SelfServiceProfileSsoTicketConnectionConfig]`
35833
35834 </dd>
35835 </dl>
35836
35837 <dl>
35838 <dd>
35839
35840 **enabled_clients:** `typing.Optional[typing.List[str]]` — List of client_ids that the connection will be enabled for.
35841
35842 </dd>
35843 </dl>
35844
35845 <dl>
35846 <dd>
35847
35848 **enabled_organizations:** `typing.Optional[typing.List[SelfServiceProfileSsoTicketEnabledOrganization]]` — List of organizations that the connection will be enabled for.
35849
35850 </dd>
35851 </dl>
35852
35853 <dl>
35854 <dd>
35855
35856 **ttl_sec:** `typing.Optional[int]` — Number of seconds for which the ticket is valid before expiration. If unspecified or set to 0, this value defaults to 432000 seconds (5 days).
35857
35858 </dd>
35859 </dl>
35860
35861 <dl>
35862 <dd>
35863
35864 **domain_aliases_config:** `typing.Optional[SelfServiceProfileSsoTicketDomainAliasesConfig]`
35865
35866 </dd>
35867 </dl>
35868
35869 <dl>
35870 <dd>
35871
35872 **provisioning_config:** `typing.Optional[SelfServiceProfileSsoTicketProvisioningConfig]`
35873
35874 </dd>
35875 </dl>
35876
35877 <dl>
35878 <dd>
35879
35880 **use_for_organization_discovery:** `typing.Optional[bool]` — Indicates whether a verified domain should be used for organization discovery during authentication.
35881
35882 </dd>
35883 </dl>
35884
35885 <dl>
35886 <dd>
35887
35888 **third_party_client_access_config:** `typing.Optional[ThirdPartyClientAccessConfig]`
35889
35890 </dd>
35891 </dl>
35892
35893 <dl>
35894 <dd>
35895
35896 **enabled_features:** `typing.Optional[SelfServiceProfileSsoTicketEnabledFeatures]`
35897
35898 </dd>
35899 </dl>
35900
35901 <dl>
35902 <dd>
35903
35904 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
35905
35906 </dd>
35907 </dl>
35908 </dd>
35909 </dl>
35910
35911
35912 </dd>
35913 </dl>
35914 </details>
35915
35916 <details><summary><code>client.self_service_profiles.sso_ticket.<a href="src/auth0.management/self_service_profiles/sso_ticket/client.py">revoke</a>(...)</code></summary>
35917 <dl>
35918 <dd>
35919
35920 #### 📝 Description
35921
35922 <dl>
35923 <dd>
35924
35925 <dl>
35926 <dd>
35927
35928 Revokes a Self-Service Enterprise Configuration access ticket and invalidates associated sessions. The ticket will no longer be accepted to initiate a Self-Service Enterprise Configuration session. If any users have already started a session through this ticket, their session will be terminated. Clients should expect a `202 Accepted` response upon successful processing, indicating that the request has been acknowledged and that the revocation is underway but may not be fully completed at the time of response. If the specified ticket does not exist, a `202 Accepted` response is also returned, signaling that no further action is required.
35929 Clients should treat these `202` responses as an acknowledgment that the request has been accepted and is in progress, even if the ticket was not found.
35930 </dd>
35931 </dl>
35932 </dd>
35933 </dl>
35934
35935 #### 🔌 Usage
35936
35937 <dl>
35938 <dd>
35939
35940 <dl>
35941 <dd>
35942
35943 ```python
35944 from auth0.management import Auth0
35945 from auth0.management.environment import Auth0Environment
35946
35947 client = Auth0(
35948 token="<token>",
35949 environment=Auth0Environment.DEFAULT,
35950 )
35951
35952 client.self_service_profiles.sso_ticket.revoke(
35953 profile_id="profileId",
35954 id="id",
35955 )
35956
35957 ```
35958 </dd>
35959 </dl>
35960 </dd>
35961 </dl>
35962
35963 #### ⚙️ Parameters
35964
35965 <dl>
35966 <dd>
35967
35968 <dl>
35969 <dd>
35970
35971 **profile_id:** `str` — The id of the self-service profile
35972
35973 </dd>
35974 </dl>
35975
35976 <dl>
35977 <dd>
35978
35979 **id:** `str` — The id of the ticket to revoke
35980
35981 </dd>
35982 </dl>
35983
35984 <dl>
35985 <dd>
35986
35987 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
35988
35989 </dd>
35990 </dl>
35991 </dd>
35992 </dl>
35993
35994
35995 </dd>
35996 </dl>
35997 </details>
35998
35999 ## Tenants Settings
36000 <details><summary><code>client.tenants.settings.<a href="src/auth0.management/tenants/settings/client.py">get</a>(...) -> GetTenantSettingsResponseContent</code></summary>
36001 <dl>
36002 <dd>
36003
36004 #### 📝 Description
36005
36006 <dl>
36007 <dd>
36008
36009 <dl>
36010 <dd>
36011
36012 Retrieve tenant settings. A list of fields to include or exclude may also be specified.
36013 </dd>
36014 </dl>
36015 </dd>
36016 </dl>
36017
36018 #### 🔌 Usage
36019
36020 <dl>
36021 <dd>
36022
36023 <dl>
36024 <dd>
36025
36026 ```python
36027 from auth0.management import Auth0
36028 from auth0.management.environment import Auth0Environment
36029
36030 client = Auth0(
36031 token="<token>",
36032 environment=Auth0Environment.DEFAULT,
36033 )
36034
36035 client.tenants.settings.get(
36036 fields="fields",
36037 include_fields=True,
36038 )
36039
36040 ```
36041 </dd>
36042 </dl>
36043 </dd>
36044 </dl>
36045
36046 #### ⚙️ Parameters
36047
36048 <dl>
36049 <dd>
36050
36051 <dl>
36052 <dd>
36053
36054 **fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.
36055
36056 </dd>
36057 </dl>
36058
36059 <dl>
36060 <dd>
36061
36062 **include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
36063
36064 </dd>
36065 </dl>
36066
36067 <dl>
36068 <dd>
36069
36070 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
36071
36072 </dd>
36073 </dl>
36074 </dd>
36075 </dl>
36076
36077
36078 </dd>
36079 </dl>
36080 </details>
36081
36082 <details><summary><code>client.tenants.settings.<a href="src/auth0.management/tenants/settings/client.py">update</a>(...) -> UpdateTenantSettingsResponseContent</code></summary>
36083 <dl>
36084 <dd>
36085
36086 #### 📝 Description
36087
36088 <dl>
36089 <dd>
36090
36091 <dl>
36092 <dd>
36093
36094 Update settings for a tenant.
36095 </dd>
36096 </dl>
36097 </dd>
36098 </dl>
36099
36100 #### 🔌 Usage
36101
36102 <dl>
36103 <dd>
36104
36105 <dl>
36106 <dd>
36107
36108 ```python
36109 from auth0.management import Auth0
36110 from auth0.management.environment import Auth0Environment
36111
36112 client = Auth0(
36113 token="<token>",
36114 environment=Auth0Environment.DEFAULT,
36115 )
36116
36117 client.tenants.settings.update()
36118
36119 ```
36120 </dd>
36121 </dl>
36122 </dd>
36123 </dl>
36124
36125 #### ⚙️ Parameters
36126
36127 <dl>
36128 <dd>
36129
36130 <dl>
36131 <dd>
36132
36133 **change_password:** `typing.Optional[TenantSettingsPasswordPage]`
36134
36135 </dd>
36136 </dl>
36137
36138 <dl>
36139 <dd>
36140
36141 **device_flow:** `typing.Optional[TenantSettingsDeviceFlow]` — Device Flow configuration.
36142
36143 </dd>
36144 </dl>
36145
36146 <dl>
36147 <dd>
36148
36149 **guardian_mfa_page:** `typing.Optional[TenantSettingsGuardianPage]`
36150
36151 </dd>
36152 </dl>
36153
36154 <dl>
36155 <dd>
36156
36157 **default_audience:** `typing.Optional[str]` — Default audience for API Authorization.
36158
36159 </dd>
36160 </dl>
36161
36162 <dl>
36163 <dd>
36164
36165 **default_directory:** `typing.Optional[str]` — Name of connection used for password grants at the `/token` endpoint. The following connection types are supported: LDAP, AD, Database Connections, Passwordless, Windows Azure Active Directory, ADFS.
36166
36167 </dd>
36168 </dl>
36169
36170 <dl>
36171 <dd>
36172
36173 **error_page:** `typing.Optional[TenantSettingsErrorPage]`
36174
36175 </dd>
36176 </dl>
36177
36178 <dl>
36179 <dd>
36180
36181 **default_token_quota:** `typing.Optional[DefaultTokenQuota]`
36182
36183 </dd>
36184 </dl>
36185
36186 <dl>
36187 <dd>
36188
36189 **flags:** `typing.Optional[TenantSettingsFlags]`
36190
36191 </dd>
36192 </dl>
36193
36194 <dl>
36195 <dd>
36196
36197 **friendly_name:** `typing.Optional[str]` — Friendly name for this tenant.
36198
36199 </dd>
36200 </dl>
36201
36202 <dl>
36203 <dd>
36204
36205 **picture_url:** `typing.Optional[str]` — URL of logo to be shown for this tenant (recommended size: 150x150)
36206
36207 </dd>
36208 </dl>
36209
36210 <dl>
36211 <dd>
36212
36213 **support_email:** `typing.Optional[str]` — End-user support email.
36214
36215 </dd>
36216 </dl>
36217
36218 <dl>
36219 <dd>
36220
36221 **support_url:** `typing.Optional[str]` — End-user support url.
36222
36223 </dd>
36224 </dl>
36225
36226 <dl>
36227 <dd>
36228
36229 **allowed_logout_urls:** `typing.Optional[typing.List[str]]` — URLs that are valid to redirect to after logout from Auth0.
36230
36231 </dd>
36232 </dl>
36233
36234 <dl>
36235 <dd>
36236
36237 **session_lifetime:** `typing.Optional[int]` — Number of hours a session will stay valid.
36238
36239 </dd>
36240 </dl>
36241
36242 <dl>
36243 <dd>
36244
36245 **session_lifetime_in_minutes:** `typing.Optional[int]` — Number of minutes a session will stay valid. Cannot be specified together with `session_lifetime`.
36246
36247 </dd>
36248 </dl>
36249
36250 <dl>
36251 <dd>
36252
36253 **idle_session_lifetime:** `typing.Optional[int]` — Number of hours for which a session can be inactive before the user must log in again.
36254
36255 </dd>
36256 </dl>
36257
36258 <dl>
36259 <dd>
36260
36261 **idle_session_lifetime_in_minutes:** `typing.Optional[int]` — Number of minutes a session can be inactive before the user must log in again. Cannot be specified together with `idle_session_lifetime`.
36262
36263 </dd>
36264 </dl>
36265
36266 <dl>
36267 <dd>
36268
36269 **ephemeral_session_lifetime:** `typing.Optional[int]` — Number of hours an ephemeral (non-persistent) session will stay valid.
36270
36271 </dd>
36272 </dl>
36273
36274 <dl>
36275 <dd>
36276
36277 **idle_ephemeral_session_lifetime:** `typing.Optional[int]` — Number of hours for which an ephemeral (non-persistent) session can be inactive before the user must log in again.
36278
36279 </dd>
36280 </dl>
36281
36282 <dl>
36283 <dd>
36284
36285 **ephemeral_session_lifetime_in_minutes:** `typing.Optional[int]` — Number of minutes an ephemeral (non-persistent) session will stay valid. Cannot be specified together with `ephemeral_session_lifetime`.
36286
36287 </dd>
36288 </dl>
36289
36290 <dl>
36291 <dd>
36292
36293 **idle_ephemeral_session_lifetime_in_minutes:** `typing.Optional[int]` — Number of minutes an ephemeral (non-persistent) session can be inactive before the user must log in again. Cannot be specified together with `idle_ephemeral_session_lifetime`.
36294
36295 </dd>
36296 </dl>
36297
36298 <dl>
36299 <dd>
36300
36301 **sandbox_version:** `typing.Optional[str]` — Selected sandbox version for the extensibility environment
36302
36303 </dd>
36304 </dl>
36305
36306 <dl>
36307 <dd>
36308
36309 **legacy_sandbox_version:** `typing.Optional[str]` — Selected legacy sandbox version for the extensibility environment
36310
36311 </dd>
36312 </dl>
36313
36314 <dl>
36315 <dd>
36316
36317 **default_redirection_uri:** `typing.Optional[str]` — The default absolute redirection uri, must be https
36318
36319 </dd>
36320 </dl>
36321
36322 <dl>
36323 <dd>
36324
36325 **enabled_locales:** `typing.Optional[typing.List[TenantSettingsSupportedLocalesEnum]]` — Supported locales for the user interface
36326
36327 </dd>
36328 </dl>
36329
36330 <dl>
36331 <dd>
36332
36333 **security_headers:** `typing.Optional[TenantSettingsNullableSecurityHeaders]`
36334
36335 </dd>
36336 </dl>
36337
36338 <dl>
36339 <dd>
36340
36341 **session_cookie:** `typing.Optional[SessionCookieSchema]`
36342
36343 </dd>
36344 </dl>
36345
36346 <dl>
36347 <dd>
36348
36349 **sessions:** `typing.Optional[TenantSettingsSessions]`
36350
36351 </dd>
36352 </dl>
36353
36354 <dl>
36355 <dd>
36356
36357 **oidc_logout:** `typing.Optional[TenantOidcLogoutSettings]`
36358
36359 </dd>
36360 </dl>
36361
36362 <dl>
36363 <dd>
36364
36365 **customize_mfa_in_postlogin_action:** `typing.Optional[bool]` — Whether to enable flexible factors for MFA in the PostLogin action
36366
36367 </dd>
36368 </dl>
36369
36370 <dl>
36371 <dd>
36372
36373 **allow_organization_name_in_authentication_api:** `typing.Optional[bool]` — Whether to accept an organization name instead of an ID on auth endpoints
36374
36375 </dd>
36376 </dl>
36377
36378 <dl>
36379 <dd>
36380
36381 **acr_values_supported:** `typing.Optional[typing.List[str]]` — Supported ACR values
36382
36383 </dd>
36384 </dl>
36385
36386 <dl>
36387 <dd>
36388
36389 **mtls:** `typing.Optional[TenantSettingsMtls]`
36390
36391 </dd>
36392 </dl>
36393
36394 <dl>
36395 <dd>
36396
36397 **pushed_authorization_requests_supported:** `typing.Optional[bool]` — Enables the use of Pushed Authorization Requests
36398
36399 </dd>
36400 </dl>
36401
36402 <dl>
36403 <dd>
36404
36405 **authorization_response_iss_parameter_supported:** `typing.Optional[bool]` — Supports iss parameter in authorization responses
36406
36407 </dd>
36408 </dl>
36409
36410 <dl>
36411 <dd>
36412
36413 **skip_non_verifiable_callback_uri_confirmation_prompt:** `typing.Optional[bool]`
36414
36415 Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`).
36416 If set to true, a confirmation prompt will not be shown. We recommend that this is set to false for improved protection from malicious apps.
36417 See https://auth0.com/docs/secure/security-guidance/measures-against-app-impersonation for more information.
36418
36419 </dd>
36420 </dl>
36421
36422 <dl>
36423 <dd>
36424
36425 **resource_parameter_profile:** `typing.Optional[TenantSettingsResourceParameterProfile]`
36426
36427 </dd>
36428 </dl>
36429
36430 <dl>
36431 <dd>
36432
36433 **client_id_metadata_document_supported:** `typing.Optional[bool]` — Whether the authorization server supports retrieving client metadata from a client_id URL.
36434
36435 </dd>
36436 </dl>
36437
36438 <dl>
36439 <dd>
36440
36441 **enable_ai_guide:** `typing.Optional[bool]` — Whether Auth0 Guide (AI-powered assistance) is enabled for this tenant.
36442
36443 </dd>
36444 </dl>
36445
36446 <dl>
36447 <dd>
36448
36449 **phone_consolidated_experience:** `typing.Optional[bool]` — Whether Phone Consolidated Experience is enabled for this tenant.
36450
36451 </dd>
36452 </dl>
36453
36454 <dl>
36455 <dd>
36456
36457 **include_session_metadata_in_tenant_logs:** `typing.Optional[bool]` — Whether session metadata is included in specific tenant logs (slo, oidc_backchannel_logout_failed, oidc_backchannel_logout_succeeded).
36458
36459 </dd>
36460 </dl>
36461
36462 <dl>
36463 <dd>
36464
36465 **dynamic_client_registration_security_mode:** `typing.Optional[TenantSettingsDynamicClientRegistrationSecurityMode]`
36466
36467 </dd>
36468 </dl>
36469
36470 <dl>
36471 <dd>
36472
36473 **country_codes:** `typing.Optional[TenantSettingsCountryCodes]`
36474
36475 </dd>
36476 </dl>
36477
36478 <dl>
36479 <dd>
36480
36481 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
36482
36483 </dd>
36484 </dl>
36485 </dd>
36486 </dl>
36487
36488
36489 </dd>
36490 </dl>
36491 </details>
36492
36493 ## Users AuthenticationMethods
36494 <details><summary><code>client.users.authentication_methods.<a href="src/auth0.management/users/authentication_methods/client.py">list</a>(...) -> ListUserAuthenticationMethodsOffsetPaginatedResponseContent</code></summary>
36495 <dl>
36496 <dd>
36497
36498 #### 📝 Description
36499
36500 <dl>
36501 <dd>
36502
36503 <dl>
36504 <dd>
36505
36506 Retrieve detailed list of authentication methods associated with a specified user.
36507 </dd>
36508 </dl>
36509 </dd>
36510 </dl>
36511
36512 #### 🔌 Usage
36513
36514 <dl>
36515 <dd>
36516
36517 <dl>
36518 <dd>
36519
36520 ```python
36521 from auth0.management import Auth0
36522 from auth0.management.environment import Auth0Environment
36523
36524 client = Auth0(
36525 token="<token>",
36526 environment=Auth0Environment.DEFAULT,
36527 )
36528
36529 client.users.authentication_methods.list(
36530 id="id",
36531 page=1,
36532 per_page=1,
36533 include_totals=True,
36534 )
36535
36536 ```
36537 </dd>
36538 </dl>
36539 </dd>
36540 </dl>
36541
36542 #### ⚙️ Parameters
36543
36544 <dl>
36545 <dd>
36546
36547 <dl>
36548 <dd>
36549
36550 **id:** `str` — The ID of the user in question.
36551
36552 </dd>
36553 </dl>
36554
36555 <dl>
36556 <dd>
36557
36558 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. Default is 0.
36559
36560 </dd>
36561 </dl>
36562
36563 <dl>
36564 <dd>
36565
36566 **per_page:** `typing.Optional[int]` — Number of results per page. Default is 50.
36567
36568 </dd>
36569 </dl>
36570
36571 <dl>
36572 <dd>
36573
36574 **include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
36575
36576 </dd>
36577 </dl>
36578
36579 <dl>
36580 <dd>
36581
36582 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
36583
36584 </dd>
36585 </dl>
36586 </dd>
36587 </dl>
36588
36589
36590 </dd>
36591 </dl>
36592 </details>
36593
36594 <details><summary><code>client.users.authentication_methods.<a href="src/auth0.management/users/authentication_methods/client.py">create</a>(...) -> CreateUserAuthenticationMethodResponseContent</code></summary>
36595 <dl>
36596 <dd>
36597
36598 #### 📝 Description
36599
36600 <dl>
36601 <dd>
36602
36603 <dl>
36604 <dd>
36605
36606 Create an authentication method. Authentication methods created via this endpoint will be auto confirmed and should already have verification completed.
36607 </dd>
36608 </dl>
36609 </dd>
36610 </dl>
36611
36612 #### 🔌 Usage
36613
36614 <dl>
36615 <dd>
36616
36617 <dl>
36618 <dd>
36619
36620 ```python
36621 from auth0.management import Auth0
36622 from auth0.management.environment import Auth0Environment
36623
36624 client = Auth0(
36625 token="<token>",
36626 environment=Auth0Environment.DEFAULT,
36627 )
36628
36629 client.users.authentication_methods.create(
36630 id="id",
36631 type="phone",
36632 )
36633
36634 ```
36635 </dd>
36636 </dl>
36637 </dd>
36638 </dl>
36639
36640 #### ⚙️ Parameters
36641
36642 <dl>
36643 <dd>
36644
36645 <dl>
36646 <dd>
36647
36648 **id:** `str` — The ID of the user to whom the new authentication method will be assigned.
36649
36650 </dd>
36651 </dl>
36652
36653 <dl>
36654 <dd>
36655
36656 **type:** `CreatedUserAuthenticationMethodTypeEnum`
36657
36658 </dd>
36659 </dl>
36660
36661 <dl>
36662 <dd>
36663
36664 **name:** `typing.Optional[str]` — A human-readable label to identify the authentication method.
36665
36666 </dd>
36667 </dl>
36668
36669 <dl>
36670 <dd>
36671
36672 **totp_secret:** `typing.Optional[str]` — Base32 encoded secret for TOTP generation.
36673
36674 </dd>
36675 </dl>
36676
36677 <dl>
36678 <dd>
36679
36680 **phone_number:** `typing.Optional[str]` — Applies to phone authentication methods only. The destination phone number used to send verification codes via text and voice.
36681
36682 </dd>
36683 </dl>
36684
36685 <dl>
36686 <dd>
36687
36688 **email:** `typing.Optional[str]` — Applies to email authentication methods only. The email address used to send verification messages.
36689
36690 </dd>
36691 </dl>
36692
36693 <dl>
36694 <dd>
36695
36696 **preferred_authentication_method:** `typing.Optional[PreferredAuthenticationMethodEnum]`
36697
36698 </dd>
36699 </dl>
36700
36701 <dl>
36702 <dd>
36703
36704 **key_id:** `typing.Optional[str]` — Applies to webauthn/passkey authentication methods only. The id of the credential.
36705
36706 </dd>
36707 </dl>
36708
36709 <dl>
36710 <dd>
36711
36712 **public_key:** `typing.Optional[str]` — Applies to webauthn/passkey authentication methods only. The public key, which is encoded as base64.
36713
36714 </dd>
36715 </dl>
36716
36717 <dl>
36718 <dd>
36719
36720 **aaguid:** `typing.Optional[str]` — Applies to passkeys only. Authenticator Attestation Globally Unique Identifier
36721
36722 </dd>
36723 </dl>
36724
36725 <dl>
36726 <dd>
36727
36728 **relying_party_identifier:** `typing.Optional[str]` — Applies to webauthn authentication methods only. The relying party identifier.
36729
36730 </dd>
36731 </dl>
36732
36733 <dl>
36734 <dd>
36735
36736 **credential_device_type:** `typing.Optional[CredentialDeviceTypeEnum]`
36737
36738 </dd>
36739 </dl>
36740
36741 <dl>
36742 <dd>
36743
36744 **credential_backed_up:** `typing.Optional[bool]` — Applies to passkeys only. Whether the credential was backed up.
36745
36746 </dd>
36747 </dl>
36748
36749 <dl>
36750 <dd>
36751
36752 **identity_user_id:** `typing.Optional[str]` — Applies to passkeys only. The ID of the user identity linked with the authentication method.
36753
36754 </dd>
36755 </dl>
36756
36757 <dl>
36758 <dd>
36759
36760 **user_agent:** `typing.Optional[str]` — Applies to passkeys only. The user-agent of the browser used to create the passkey.
36761
36762 </dd>
36763 </dl>
36764
36765 <dl>
36766 <dd>
36767
36768 **user_handle:** `typing.Optional[str]` — Applies to passkeys only. The user handle of the user identity.
36769
36770 </dd>
36771 </dl>
36772
36773 <dl>
36774 <dd>
36775
36776 **transports:** `typing.Optional[typing.List[str]]` — Applies to passkeys only. The transports used by clients to communicate with the authenticator.
36777
36778 </dd>
36779 </dl>
36780
36781 <dl>
36782 <dd>
36783
36784 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
36785
36786 </dd>
36787 </dl>
36788 </dd>
36789 </dl>
36790
36791
36792 </dd>
36793 </dl>
36794 </details>
36795
36796 <details><summary><code>client.users.authentication_methods.<a href="src/auth0.management/users/authentication_methods/client.py">set</a>(...) -> typing.List[SetUserAuthenticationMethodResponseContent]</code></summary>
36797 <dl>
36798 <dd>
36799
36800 #### 📝 Description
36801
36802 <dl>
36803 <dd>
36804
36805 <dl>
36806 <dd>
36807
36808 Replace the specified user <a href="https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors"> authentication methods</a> with supplied values.
36809
36810 <b>Note</b>: Authentication methods supplied through this action do not iterate on existing methods. Instead, any methods passed will overwrite the user&#8217s existing settings.
36811 </dd>
36812 </dl>
36813 </dd>
36814 </dl>
36815
36816 #### 🔌 Usage
36817
36818 <dl>
36819 <dd>
36820
36821 <dl>
36822 <dd>
36823
36824 ```python
36825 from auth0.management import Auth0, SetUserAuthenticationMethods
36826 from auth0.management.environment import Auth0Environment
36827
36828 client = Auth0(
36829 token="<token>",
36830 environment=Auth0Environment.DEFAULT,
36831 )
36832
36833 client.users.authentication_methods.set(
36834 id="id",
36835 request=[
36836 SetUserAuthenticationMethods(
36837 type="phone",
36838 )
36839 ],
36840 )
36841
36842 ```
36843 </dd>
36844 </dl>
36845 </dd>
36846 </dl>
36847
36848 #### ⚙️ Parameters
36849
36850 <dl>
36851 <dd>
36852
36853 <dl>
36854 <dd>
36855
36856 **id:** `str` — The ID of the user in question.
36857
36858 </dd>
36859 </dl>
36860
36861 <dl>
36862 <dd>
36863
36864 **request:** `SetUserAuthenticationMethodsRequestContent`
36865
36866 </dd>
36867 </dl>
36868
36869 <dl>
36870 <dd>
36871
36872 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
36873
36874 </dd>
36875 </dl>
36876 </dd>
36877 </dl>
36878
36879
36880 </dd>
36881 </dl>
36882 </details>
36883
36884 <details><summary><code>client.users.authentication_methods.<a href="src/auth0.management/users/authentication_methods/client.py">delete_all</a>(...)</code></summary>
36885 <dl>
36886 <dd>
36887
36888 #### 📝 Description
36889
36890 <dl>
36891 <dd>
36892
36893 <dl>
36894 <dd>
36895
36896 Remove all authentication methods (i.e., enrolled MFA factors) from the specified user account. This action cannot be undone.
36897 </dd>
36898 </dl>
36899 </dd>
36900 </dl>
36901
36902 #### 🔌 Usage
36903
36904 <dl>
36905 <dd>
36906
36907 <dl>
36908 <dd>
36909
36910 ```python
36911 from auth0.management import Auth0
36912 from auth0.management.environment import Auth0Environment
36913
36914 client = Auth0(
36915 token="<token>",
36916 environment=Auth0Environment.DEFAULT,
36917 )
36918
36919 client.users.authentication_methods.delete_all(
36920 id="id",
36921 )
36922
36923 ```
36924 </dd>
36925 </dl>
36926 </dd>
36927 </dl>
36928
36929 #### ⚙️ Parameters
36930
36931 <dl>
36932 <dd>
36933
36934 <dl>
36935 <dd>
36936
36937 **id:** `str` — The ID of the user in question.
36938
36939 </dd>
36940 </dl>
36941
36942 <dl>
36943 <dd>
36944
36945 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
36946
36947 </dd>
36948 </dl>
36949 </dd>
36950 </dl>
36951
36952
36953 </dd>
36954 </dl>
36955 </details>
36956
36957 <details><summary><code>client.users.authentication_methods.<a href="src/auth0.management/users/authentication_methods/client.py">get</a>(...) -> GetUserAuthenticationMethodResponseContent</code></summary>
36958 <dl>
36959 <dd>
36960
36961 #### 🔌 Usage
36962
36963 <dl>
36964 <dd>
36965
36966 <dl>
36967 <dd>
36968
36969 ```python
36970 from auth0.management import Auth0
36971 from auth0.management.environment import Auth0Environment
36972
36973 client = Auth0(
36974 token="<token>",
36975 environment=Auth0Environment.DEFAULT,
36976 )
36977
36978 client.users.authentication_methods.get(
36979 id="id",
36980 authentication_method_id="authentication_method_id",
36981 )
36982
36983 ```
36984 </dd>
36985 </dl>
36986 </dd>
36987 </dl>
36988
36989 #### ⚙️ Parameters
36990
36991 <dl>
36992 <dd>
36993
36994 <dl>
36995 <dd>
36996
36997 **id:** `str` — The ID of the user in question.
36998
36999 </dd>
37000 </dl>
37001
37002 <dl>
37003 <dd>
37004
37005 **authentication_method_id:** `str` — The ID of the authentication methods in question.
37006
37007 </dd>
37008 </dl>
37009
37010 <dl>
37011 <dd>
37012
37013 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
37014
37015 </dd>
37016 </dl>
37017 </dd>
37018 </dl>
37019
37020
37021 </dd>
37022 </dl>
37023 </details>
37024
37025 <details><summary><code>client.users.authentication_methods.<a href="src/auth0.management/users/authentication_methods/client.py">delete</a>(...)</code></summary>
37026 <dl>
37027 <dd>
37028
37029 #### 📝 Description
37030
37031 <dl>
37032 <dd>
37033
37034 <dl>
37035 <dd>
37036
37037 Remove the authentication method with the given ID from the specified user. For more information, review <a href="https://auth0.com/docs/secure/multi-factor-authentication/manage-mfa-auth0-apis/manage-authentication-methods-with-management-api">Manage Authentication Methods with Management API</a>.
37038 </dd>
37039 </dl>
37040 </dd>
37041 </dl>
37042
37043 #### 🔌 Usage
37044
37045 <dl>
37046 <dd>
37047
37048 <dl>
37049 <dd>
37050
37051 ```python
37052 from auth0.management import Auth0
37053 from auth0.management.environment import Auth0Environment
37054
37055 client = Auth0(
37056 token="<token>",
37057 environment=Auth0Environment.DEFAULT,
37058 )
37059
37060 client.users.authentication_methods.delete(
37061 id="id",
37062 authentication_method_id="authentication_method_id",
37063 )
37064
37065 ```
37066 </dd>
37067 </dl>
37068 </dd>
37069 </dl>
37070
37071 #### ⚙️ Parameters
37072
37073 <dl>
37074 <dd>
37075
37076 <dl>
37077 <dd>
37078
37079 **id:** `str` — The ID of the user in question.
37080
37081 </dd>
37082 </dl>
37083
37084 <dl>
37085 <dd>
37086
37087 **authentication_method_id:** `str` — The ID of the authentication method to delete.
37088
37089 </dd>
37090 </dl>
37091
37092 <dl>
37093 <dd>
37094
37095 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
37096
37097 </dd>
37098 </dl>
37099 </dd>
37100 </dl>
37101
37102
37103 </dd>
37104 </dl>
37105 </details>
37106
37107 <details><summary><code>client.users.authentication_methods.<a href="src/auth0.management/users/authentication_methods/client.py">update</a>(...) -> UpdateUserAuthenticationMethodResponseContent</code></summary>
37108 <dl>
37109 <dd>
37110
37111 #### 📝 Description
37112
37113 <dl>
37114 <dd>
37115
37116 <dl>
37117 <dd>
37118
37119 Modify the authentication method with the given ID from the specified user. For more information, review <a href="https://auth0.com/docs/secure/multi-factor-authentication/manage-mfa-auth0-apis/manage-authentication-methods-with-management-api">Manage Authentication Methods with Management API</a>.
37120 </dd>
37121 </dl>
37122 </dd>
37123 </dl>
37124
37125 #### 🔌 Usage
37126
37127 <dl>
37128 <dd>
37129
37130 <dl>
37131 <dd>
37132
37133 ```python
37134 from auth0.management import Auth0
37135 from auth0.management.environment import Auth0Environment
37136
37137 client = Auth0(
37138 token="<token>",
37139 environment=Auth0Environment.DEFAULT,
37140 )
37141
37142 client.users.authentication_methods.update(
37143 id="id",
37144 authentication_method_id="authentication_method_id",
37145 )
37146
37147 ```
37148 </dd>
37149 </dl>
37150 </dd>
37151 </dl>
37152
37153 #### ⚙️ Parameters
37154
37155 <dl>
37156 <dd>
37157
37158 <dl>
37159 <dd>
37160
37161 **id:** `str` — The ID of the user in question.
37162
37163 </dd>
37164 </dl>
37165
37166 <dl>
37167 <dd>
37168
37169 **authentication_method_id:** `str` — The ID of the authentication method to update.
37170
37171 </dd>
37172 </dl>
37173
37174 <dl>
37175 <dd>
37176
37177 **name:** `typing.Optional[str]` — A human-readable label to identify the authentication method.
37178
37179 </dd>
37180 </dl>
37181
37182 <dl>
37183 <dd>
37184
37185 **preferred_authentication_method:** `typing.Optional[PreferredAuthenticationMethodEnum]` — Preferred phone authentication method
37186
37187 </dd>
37188 </dl>
37189
37190 <dl>
37191 <dd>
37192
37193 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
37194
37195 </dd>
37196 </dl>
37197 </dd>
37198 </dl>
37199
37200
37201 </dd>
37202 </dl>
37203 </details>
37204
37205 ## Users Authenticators
37206 <details><summary><code>client.users.authenticators.<a href="src/auth0.management/users/authenticators/client.py">delete_all</a>(...)</code></summary>
37207 <dl>
37208 <dd>
37209
37210 #### 📝 Description
37211
37212 <dl>
37213 <dd>
37214
37215 <dl>
37216 <dd>
37217
37218 Remove all authenticators registered to a given user ID, such as OTP, email, phone, and push-notification. This action cannot be undone. For more information, review [Manage Authentication Methods with Management API](https://auth0.com/docs/secure/multi-factor-authentication/manage-mfa-auth0-apis/manage-authentication-methods-with-management-api).
37219 </dd>
37220 </dl>
37221 </dd>
37222 </dl>
37223
37224 #### 🔌 Usage
37225
37226 <dl>
37227 <dd>
37228
37229 <dl>
37230 <dd>
37231
37232 ```python
37233 from auth0.management import Auth0
37234 from auth0.management.environment import Auth0Environment
37235
37236 client = Auth0(
37237 token="<token>",
37238 environment=Auth0Environment.DEFAULT,
37239 )
37240
37241 client.users.authenticators.delete_all(
37242 id="id",
37243 )
37244
37245 ```
37246 </dd>
37247 </dl>
37248 </dd>
37249 </dl>
37250
37251 #### ⚙️ Parameters
37252
37253 <dl>
37254 <dd>
37255
37256 <dl>
37257 <dd>
37258
37259 **id:** `str` — ID of the user to delete.
37260
37261 </dd>
37262 </dl>
37263
37264 <dl>
37265 <dd>
37266
37267 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
37268
37269 </dd>
37270 </dl>
37271 </dd>
37272 </dl>
37273
37274
37275 </dd>
37276 </dl>
37277 </details>
37278
37279 ## Users ConnectedAccounts
37280 <details><summary><code>client.users.connected_accounts.<a href="src/auth0.management/users/connected_accounts/client.py">list</a>(...) -> ListUserConnectedAccountsResponseContent</code></summary>
37281 <dl>
37282 <dd>
37283
37284 #### 📝 Description
37285
37286 <dl>
37287 <dd>
37288
37289 <dl>
37290 <dd>
37291
37292 Retrieve all connected accounts associated with the user.
37293 </dd>
37294 </dl>
37295 </dd>
37296 </dl>
37297
37298 #### 🔌 Usage
37299
37300 <dl>
37301 <dd>
37302
37303 <dl>
37304 <dd>
37305
37306 ```python
37307 from auth0.management import Auth0
37308 from auth0.management.environment import Auth0Environment
37309
37310 client = Auth0(
37311 token="<token>",
37312 environment=Auth0Environment.DEFAULT,
37313 )
37314
37315 client.users.connected_accounts.list(
37316 id="id",
37317 from_="from",
37318 take=1,
37319 )
37320
37321 ```
37322 </dd>
37323 </dl>
37324 </dd>
37325 </dl>
37326
37327 #### ⚙️ Parameters
37328
37329 <dl>
37330 <dd>
37331
37332 <dl>
37333 <dd>
37334
37335 **id:** `str` — ID of the user to list connected accounts for.
37336
37337 </dd>
37338 </dl>
37339
37340 <dl>
37341 <dd>
37342
37343 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
37344
37345 </dd>
37346 </dl>
37347
37348 <dl>
37349 <dd>
37350
37351 **take:** `typing.Optional[int]` — Number of results to return. Defaults to 10 with a maximum of 20
37352
37353 </dd>
37354 </dl>
37355
37356 <dl>
37357 <dd>
37358
37359 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
37360
37361 </dd>
37362 </dl>
37363 </dd>
37364 </dl>
37365
37366
37367 </dd>
37368 </dl>
37369 </details>
37370
37371 ## Users EffectivePermissions
37372 <details><summary><code>client.users.effective_permissions.<a href="src/auth0.management/users/effective_permissions/client.py">list</a>(...) -> ListUserEffectivePermissionsResponseContent</code></summary>
37373 <dl>
37374 <dd>
37375
37376 #### 📝 Description
37377
37378 <dl>
37379 <dd>
37380
37381 <dl>
37382 <dd>
37383
37384 Returns the list of effective permissions for a user, taking into account permissions granted directly to the user, as well as those inherited through roles and group memberships.
37385 </dd>
37386 </dl>
37387 </dd>
37388 </dl>
37389
37390 #### 🔌 Usage
37391
37392 <dl>
37393 <dd>
37394
37395 <dl>
37396 <dd>
37397
37398 ```python
37399 from auth0.management import Auth0
37400 from auth0.management.environment import Auth0Environment
37401
37402 client = Auth0(
37403 token="<token>",
37404 environment=Auth0Environment.DEFAULT,
37405 )
37406
37407 client.users.effective_permissions.list(
37408 id="id",
37409 from_="from",
37410 take=1,
37411 resource_server_identifier="resource_server_identifier",
37412 )
37413
37414 ```
37415 </dd>
37416 </dl>
37417 </dd>
37418 </dl>
37419
37420 #### ⚙️ Parameters
37421
37422 <dl>
37423 <dd>
37424
37425 <dl>
37426 <dd>
37427
37428 **id:** `str` — ID of the user to retrieve the permissions for.
37429
37430 </dd>
37431 </dl>
37432
37433 <dl>
37434 <dd>
37435
37436 **resource_server_identifier:** `str` — The identifier of the resource server for which to calculate user permissions.
37437
37438 </dd>
37439 </dl>
37440
37441 <dl>
37442 <dd>
37443
37444 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
37445
37446 </dd>
37447 </dl>
37448
37449 <dl>
37450 <dd>
37451
37452 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
37453
37454 </dd>
37455 </dl>
37456
37457 <dl>
37458 <dd>
37459
37460 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
37461
37462 </dd>
37463 </dl>
37464 </dd>
37465 </dl>
37466
37467
37468 </dd>
37469 </dl>
37470 </details>
37471
37472 ## Users EffectiveRoles
37473 <details><summary><code>client.users.effective_roles.<a href="src/auth0.management/users/effective_roles/client.py">list</a>(...) -> ListUserEffectiveRolesResponseContent</code></summary>
37474 <dl>
37475 <dd>
37476
37477 #### 📝 Description
37478
37479 <dl>
37480 <dd>
37481
37482 <dl>
37483 <dd>
37484
37485 Retrieve detailed list of effective roles for a user, including roles assigned directly and through group memberships.
37486 </dd>
37487 </dl>
37488 </dd>
37489 </dl>
37490
37491 #### 🔌 Usage
37492
37493 <dl>
37494 <dd>
37495
37496 <dl>
37497 <dd>
37498
37499 ```python
37500 from auth0.management import Auth0
37501 from auth0.management.environment import Auth0Environment
37502
37503 client = Auth0(
37504 token="<token>",
37505 environment=Auth0Environment.DEFAULT,
37506 )
37507
37508 client.users.effective_roles.list(
37509 id="id",
37510 from_="from",
37511 take=1,
37512 )
37513
37514 ```
37515 </dd>
37516 </dl>
37517 </dd>
37518 </dl>
37519
37520 #### ⚙️ Parameters
37521
37522 <dl>
37523 <dd>
37524
37525 <dl>
37526 <dd>
37527
37528 **id:** `str` — ID of the user to list effective roles for.
37529
37530 </dd>
37531 </dl>
37532
37533 <dl>
37534 <dd>
37535
37536 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
37537
37538 </dd>
37539 </dl>
37540
37541 <dl>
37542 <dd>
37543
37544 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
37545
37546 </dd>
37547 </dl>
37548
37549 <dl>
37550 <dd>
37551
37552 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
37553
37554 </dd>
37555 </dl>
37556 </dd>
37557 </dl>
37558
37559
37560 </dd>
37561 </dl>
37562 </details>
37563
37564 ## Users Enrollments
37565 <details><summary><code>client.users.enrollments.<a href="src/auth0.management/users/enrollments/client.py">get</a>(...) -> typing.List[UsersEnrollment]</code></summary>
37566 <dl>
37567 <dd>
37568
37569 #### 📝 Description
37570
37571 <dl>
37572 <dd>
37573
37574 <dl>
37575 <dd>
37576
37577 Retrieve the first [multi-factor authentication](https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors) enrollment that a specific user has confirmed.
37578 </dd>
37579 </dl>
37580 </dd>
37581 </dl>
37582
37583 #### 🔌 Usage
37584
37585 <dl>
37586 <dd>
37587
37588 <dl>
37589 <dd>
37590
37591 ```python
37592 from auth0.management import Auth0
37593 from auth0.management.environment import Auth0Environment
37594
37595 client = Auth0(
37596 token="<token>",
37597 environment=Auth0Environment.DEFAULT,
37598 )
37599
37600 client.users.enrollments.get(
37601 id="id",
37602 )
37603
37604 ```
37605 </dd>
37606 </dl>
37607 </dd>
37608 </dl>
37609
37610 #### ⚙️ Parameters
37611
37612 <dl>
37613 <dd>
37614
37615 <dl>
37616 <dd>
37617
37618 **id:** `str` — ID of the user to list enrollments for.
37619
37620 </dd>
37621 </dl>
37622
37623 <dl>
37624 <dd>
37625
37626 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
37627
37628 </dd>
37629 </dl>
37630 </dd>
37631 </dl>
37632
37633
37634 </dd>
37635 </dl>
37636 </details>
37637
37638 ## Users Groups
37639 <details><summary><code>client.users.groups.<a href="src/auth0.management/users/groups/client.py">get</a>(...) -> GetUserGroupsPaginatedResponseContent</code></summary>
37640 <dl>
37641 <dd>
37642
37643 #### 📝 Description
37644
37645 <dl>
37646 <dd>
37647
37648 <dl>
37649 <dd>
37650
37651 List all groups to which this user belongs.
37652 </dd>
37653 </dl>
37654 </dd>
37655 </dl>
37656
37657 #### 🔌 Usage
37658
37659 <dl>
37660 <dd>
37661
37662 <dl>
37663 <dd>
37664
37665 ```python
37666 from auth0.management import Auth0
37667 from auth0.management.environment import Auth0Environment
37668
37669 client = Auth0(
37670 token="<token>",
37671 environment=Auth0Environment.DEFAULT,
37672 )
37673
37674 client.users.groups.get(
37675 id="id",
37676 fields="fields",
37677 include_fields=True,
37678 from_="from",
37679 take=1,
37680 )
37681
37682 ```
37683 </dd>
37684 </dl>
37685 </dd>
37686 </dl>
37687
37688 #### ⚙️ Parameters
37689
37690 <dl>
37691 <dd>
37692
37693 <dl>
37694 <dd>
37695
37696 **id:** `str` — ID of the user to list groups for.
37697
37698 </dd>
37699 </dl>
37700
37701 <dl>
37702 <dd>
37703
37704 **fields:** `typing.Optional[str]` — A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields
37705
37706 </dd>
37707 </dl>
37708
37709 <dl>
37710 <dd>
37711
37712 **include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
37713
37714 </dd>
37715 </dl>
37716
37717 <dl>
37718 <dd>
37719
37720 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
37721
37722 </dd>
37723 </dl>
37724
37725 <dl>
37726 <dd>
37727
37728 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
37729
37730 </dd>
37731 </dl>
37732
37733 <dl>
37734 <dd>
37735
37736 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
37737
37738 </dd>
37739 </dl>
37740 </dd>
37741 </dl>
37742
37743
37744 </dd>
37745 </dl>
37746 </details>
37747
37748 ## Users Identities
37749 <details><summary><code>client.users.identities.<a href="src/auth0.management/users/identities/client.py">link</a>(...) -> typing.List[UserIdentity]</code></summary>
37750 <dl>
37751 <dd>
37752
37753 #### 📝 Description
37754
37755 <dl>
37756 <dd>
37757
37758 <dl>
37759 <dd>
37760
37761 Link two user accounts together forming a primary and secondary relationship. On successful linking, the endpoint returns the new array of the primary account identities.
37762
37763 Note: There are two ways of invoking the endpoint:
37764
37765 - With the authenticated primary account's JWT in the Authorization header, which has the `update:current_user_identities` scope:
37766
37767 ```http
37768 POST /api/v2/users/PRIMARY_ACCOUNT_USER_ID/identities
37769 Authorization: "Bearer PRIMARY_ACCOUNT_JWT"
37770 {
37771 "link_with": "SECONDARY_ACCOUNT_JWT"
37772 }
37773 ```
37774
37775 In this case, only the `link_with` param is required in the body, which also contains the JWT obtained upon the secondary account's authentication.
37776
37777 - With a token generated by the API V2 containing the `update:users` scope:
37778
37779 ```http
37780 POST /api/v2/users/PRIMARY_ACCOUNT_USER_ID/identities
37781 Authorization: "Bearer YOUR_API_V2_TOKEN"
37782 {
37783 "provider": "SECONDARY_ACCOUNT_PROVIDER",
37784 "connection_id": "SECONDARY_ACCOUNT_CONNECTION_ID(OPTIONAL)",
37785 "user_id": "SECONDARY_ACCOUNT_USER_ID"
37786 }
37787 ```
37788
37789 In this case you need to send `provider` and `user_id` in the body. Optionally you can also send the `connection_id` param which is suitable for identifying a particular database connection for the 'auth0' provider.
37790 </dd>
37791 </dl>
37792 </dd>
37793 </dl>
37794
37795 #### 🔌 Usage
37796
37797 <dl>
37798 <dd>
37799
37800 <dl>
37801 <dd>
37802
37803 ```python
37804 from auth0.management import Auth0
37805 from auth0.management.environment import Auth0Environment
37806
37807 client = Auth0(
37808 token="<token>",
37809 environment=Auth0Environment.DEFAULT,
37810 )
37811
37812 client.users.identities.link(
37813 id="id",
37814 )
37815
37816 ```
37817 </dd>
37818 </dl>
37819 </dd>
37820 </dl>
37821
37822 #### ⚙️ Parameters
37823
37824 <dl>
37825 <dd>
37826
37827 <dl>
37828 <dd>
37829
37830 **id:** `str` — ID of the primary user account to link a second user account to.
37831
37832 </dd>
37833 </dl>
37834
37835 <dl>
37836 <dd>
37837
37838 **provider:** `typing.Optional[UserIdentityProviderEnum]` — Identity provider of the secondary user account being linked.
37839
37840 </dd>
37841 </dl>
37842
37843 <dl>
37844 <dd>
37845
37846 **connection_id:** `typing.Optional[str]` — connection_id of the secondary user account being linked when more than one `auth0` database provider exists.
37847
37848 </dd>
37849 </dl>
37850
37851 <dl>
37852 <dd>
37853
37854 **user_id:** `typing.Optional[UserId]` — user_id of the secondary user account being linked.
37855
37856 </dd>
37857 </dl>
37858
37859 <dl>
37860 <dd>
37861
37862 **link_with:** `typing.Optional[str]` — JWT for the secondary account being linked. If sending this parameter, `provider`, `user_id`, and `connection_id` must not be sent.
37863
37864 </dd>
37865 </dl>
37866
37867 <dl>
37868 <dd>
37869
37870 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
37871
37872 </dd>
37873 </dl>
37874 </dd>
37875 </dl>
37876
37877
37878 </dd>
37879 </dl>
37880 </details>
37881
37882 <details><summary><code>client.users.identities.<a href="src/auth0.management/users/identities/client.py">delete</a>(...) -> DeleteUserIdentityResponseContent</code></summary>
37883 <dl>
37884 <dd>
37885
37886 #### 📝 Description
37887
37888 <dl>
37889 <dd>
37890
37891 <dl>
37892 <dd>
37893
37894 Unlink a specific secondary account from a target user. This action requires the ID of both the target user and the secondary account.
37895
37896 Unlinking the secondary account removes it from the identities array of the target user and creates a new standalone profile for the secondary account. To learn more, review [Unlink User Accounts](https://auth0.com/docs/manage-users/user-accounts/user-account-linking/unlink-user-accounts).
37897 </dd>
37898 </dl>
37899 </dd>
37900 </dl>
37901
37902 #### 🔌 Usage
37903
37904 <dl>
37905 <dd>
37906
37907 <dl>
37908 <dd>
37909
37910 ```python
37911 from auth0.management import Auth0
37912 from auth0.management.environment import Auth0Environment
37913
37914 client = Auth0(
37915 token="<token>",
37916 environment=Auth0Environment.DEFAULT,
37917 )
37918
37919 client.users.identities.delete(
37920 id="id",
37921 provider="ad",
37922 user_id="user_id",
37923 )
37924
37925 ```
37926 </dd>
37927 </dl>
37928 </dd>
37929 </dl>
37930
37931 #### ⚙️ Parameters
37932
37933 <dl>
37934 <dd>
37935
37936 <dl>
37937 <dd>
37938
37939 **id:** `str` — ID of the primary user account.
37940
37941 </dd>
37942 </dl>
37943
37944 <dl>
37945 <dd>
37946
37947 **provider:** `UserIdentityProviderEnum` — Identity provider name of the secondary linked account (e.g. `google-oauth2`).
37948
37949 </dd>
37950 </dl>
37951
37952 <dl>
37953 <dd>
37954
37955 **user_id:** `str` — ID of the secondary linked account (e.g. `123456789081523216417` part after the `|` in `google-oauth2|123456789081523216417`).
37956
37957 </dd>
37958 </dl>
37959
37960 <dl>
37961 <dd>
37962
37963 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
37964
37965 </dd>
37966 </dl>
37967 </dd>
37968 </dl>
37969
37970
37971 </dd>
37972 </dl>
37973 </details>
37974
37975 ## Users Logs
37976 <details><summary><code>client.users.logs.<a href="src/auth0.management/users/logs/client.py">list</a>(...) -> UserListLogOffsetPaginatedResponseContent</code></summary>
37977 <dl>
37978 <dd>
37979
37980 #### 📝 Description
37981
37982 <dl>
37983 <dd>
37984
37985 <dl>
37986 <dd>
37987
37988 Retrieve log events for a specific user.
37989
37990 Note: For more information on all possible event types, their respective acronyms and descriptions, see <a href="https://auth0.com/docs/logs/log-event-type-codes">Log Event Type Codes</a>.
37991
37992 For more information on the list of fields that can be used in `sort`, see <a href="https://auth0.com/docs/logs/log-search-query-syntax#searchable-fields">Searchable Fields</a>.
37993
37994 Auth0 <a href="https://auth0.com/docs/logs/retrieve-log-events-using-mgmt-api#limitations">limits the number of logs</a> you can return by search criteria to 100 logs per request. Furthermore, you may only paginate through up to 1,000 search results. If you exceed this threshold, please redefine your search.
37995 </dd>
37996 </dl>
37997 </dd>
37998 </dl>
37999
38000 #### 🔌 Usage
38001
38002 <dl>
38003 <dd>
38004
38005 <dl>
38006 <dd>
38007
38008 ```python
38009 from auth0.management import Auth0
38010 from auth0.management.environment import Auth0Environment
38011
38012 client = Auth0(
38013 token="<token>",
38014 environment=Auth0Environment.DEFAULT,
38015 )
38016
38017 client.users.logs.list(
38018 id="id",
38019 page=1,
38020 per_page=1,
38021 sort="sort",
38022 include_totals=True,
38023 )
38024
38025 ```
38026 </dd>
38027 </dl>
38028 </dd>
38029 </dl>
38030
38031 #### ⚙️ Parameters
38032
38033 <dl>
38034 <dd>
38035
38036 <dl>
38037 <dd>
38038
38039 **id:** `str` — ID of the user of the logs to retrieve
38040
38041 </dd>
38042 </dl>
38043
38044 <dl>
38045 <dd>
38046
38047 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
38048
38049 </dd>
38050 </dl>
38051
38052 <dl>
38053 <dd>
38054
38055 **per_page:** `typing.Optional[int]` — Number of results per page. Paging is disabled if parameter not sent.
38056
38057 </dd>
38058 </dl>
38059
38060 <dl>
38061 <dd>
38062
38063 **sort:** `typing.Optional[str]` — Field to sort by. Use `fieldname:1` for ascending order and `fieldname:-1` for descending.
38064
38065 </dd>
38066 </dl>
38067
38068 <dl>
38069 <dd>
38070
38071 **include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
38072
38073 </dd>
38074 </dl>
38075
38076 <dl>
38077 <dd>
38078
38079 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
38080
38081 </dd>
38082 </dl>
38083 </dd>
38084 </dl>
38085
38086
38087 </dd>
38088 </dl>
38089 </details>
38090
38091 ## Users Multifactor
38092 <details><summary><code>client.users.multifactor.<a href="src/auth0.management/users/multifactor/client.py">invalidate_remember_browser</a>(...)</code></summary>
38093 <dl>
38094 <dd>
38095
38096 #### 📝 Description
38097
38098 <dl>
38099 <dd>
38100
38101 <dl>
38102 <dd>
38103
38104 Invalidate all remembered browsers across all [authentication factors](https://auth0.com/docs/multifactor-authentication) for a user.
38105 </dd>
38106 </dl>
38107 </dd>
38108 </dl>
38109
38110 #### 🔌 Usage
38111
38112 <dl>
38113 <dd>
38114
38115 <dl>
38116 <dd>
38117
38118 ```python
38119 from auth0.management import Auth0
38120 from auth0.management.environment import Auth0Environment
38121
38122 client = Auth0(
38123 token="<token>",
38124 environment=Auth0Environment.DEFAULT,
38125 )
38126
38127 client.users.multifactor.invalidate_remember_browser(
38128 id="id",
38129 )
38130
38131 ```
38132 </dd>
38133 </dl>
38134 </dd>
38135 </dl>
38136
38137 #### ⚙️ Parameters
38138
38139 <dl>
38140 <dd>
38141
38142 <dl>
38143 <dd>
38144
38145 **id:** `str` — ID of the user to invalidate all remembered browsers and authentication factors for.
38146
38147 </dd>
38148 </dl>
38149
38150 <dl>
38151 <dd>
38152
38153 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
38154
38155 </dd>
38156 </dl>
38157 </dd>
38158 </dl>
38159
38160
38161 </dd>
38162 </dl>
38163 </details>
38164
38165 <details><summary><code>client.users.multifactor.<a href="src/auth0.management/users/multifactor/client.py">delete_provider</a>(...)</code></summary>
38166 <dl>
38167 <dd>
38168
38169 #### 📝 Description
38170
38171 <dl>
38172 <dd>
38173
38174 <dl>
38175 <dd>
38176
38177 Remove a [multifactor](https://auth0.com/docs/multifactor-authentication) authentication configuration from a user's account. This forces the user to manually reconfigure the multi-factor provider.
38178 </dd>
38179 </dl>
38180 </dd>
38181 </dl>
38182
38183 #### 🔌 Usage
38184
38185 <dl>
38186 <dd>
38187
38188 <dl>
38189 <dd>
38190
38191 ```python
38192 from auth0.management import Auth0
38193 from auth0.management.environment import Auth0Environment
38194
38195 client = Auth0(
38196 token="<token>",
38197 environment=Auth0Environment.DEFAULT,
38198 )
38199
38200 client.users.multifactor.delete_provider(
38201 id="id",
38202 provider="duo",
38203 )
38204
38205 ```
38206 </dd>
38207 </dl>
38208 </dd>
38209 </dl>
38210
38211 #### ⚙️ Parameters
38212
38213 <dl>
38214 <dd>
38215
38216 <dl>
38217 <dd>
38218
38219 **id:** `str` — ID of the user to remove a multifactor configuration from.
38220
38221 </dd>
38222 </dl>
38223
38224 <dl>
38225 <dd>
38226
38227 **provider:** `UserMultifactorProviderEnum` — The multi-factor provider. Supported values 'duo' or 'google-authenticator'
38228
38229 </dd>
38230 </dl>
38231
38232 <dl>
38233 <dd>
38234
38235 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
38236
38237 </dd>
38238 </dl>
38239 </dd>
38240 </dl>
38241
38242
38243 </dd>
38244 </dl>
38245 </details>
38246
38247 ## Users Organizations
38248 <details><summary><code>client.users.organizations.<a href="src/auth0.management/users/organizations/client.py">list</a>(...) -> ListUserOrganizationsOffsetPaginatedResponseContent</code></summary>
38249 <dl>
38250 <dd>
38251
38252 #### 📝 Description
38253
38254 <dl>
38255 <dd>
38256
38257 <dl>
38258 <dd>
38259
38260 Retrieve list of the specified user's current Organization memberships. User must be specified by user ID. For more information, review [Auth0 Organizations](https://auth0.com/docs/manage-users/organizations).
38261 </dd>
38262 </dl>
38263 </dd>
38264 </dl>
38265
38266 #### 🔌 Usage
38267
38268 <dl>
38269 <dd>
38270
38271 <dl>
38272 <dd>
38273
38274 ```python
38275 from auth0.management import Auth0
38276 from auth0.management.environment import Auth0Environment
38277
38278 client = Auth0(
38279 token="<token>",
38280 environment=Auth0Environment.DEFAULT,
38281 )
38282
38283 client.users.organizations.list(
38284 id="id",
38285 page=1,
38286 per_page=1,
38287 include_totals=True,
38288 )
38289
38290 ```
38291 </dd>
38292 </dl>
38293 </dd>
38294 </dl>
38295
38296 #### ⚙️ Parameters
38297
38298 <dl>
38299 <dd>
38300
38301 <dl>
38302 <dd>
38303
38304 **id:** `str` — ID of the user to retrieve the organizations for.
38305
38306 </dd>
38307 </dl>
38308
38309 <dl>
38310 <dd>
38311
38312 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
38313
38314 </dd>
38315 </dl>
38316
38317 <dl>
38318 <dd>
38319
38320 **per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
38321
38322 </dd>
38323 </dl>
38324
38325 <dl>
38326 <dd>
38327
38328 **include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
38329
38330 </dd>
38331 </dl>
38332
38333 <dl>
38334 <dd>
38335
38336 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
38337
38338 </dd>
38339 </dl>
38340 </dd>
38341 </dl>
38342
38343
38344 </dd>
38345 </dl>
38346 </details>
38347
38348 ## Users Permissions
38349 <details><summary><code>client.users.permissions.<a href="src/auth0.management/users/permissions/client.py">list</a>(...) -> ListUserPermissionsOffsetPaginatedResponseContent</code></summary>
38350 <dl>
38351 <dd>
38352
38353 #### 📝 Description
38354
38355 <dl>
38356 <dd>
38357
38358 <dl>
38359 <dd>
38360
38361 Retrieve all permissions associated with the user.
38362 </dd>
38363 </dl>
38364 </dd>
38365 </dl>
38366
38367 #### 🔌 Usage
38368
38369 <dl>
38370 <dd>
38371
38372 <dl>
38373 <dd>
38374
38375 ```python
38376 from auth0.management import Auth0
38377 from auth0.management.environment import Auth0Environment
38378
38379 client = Auth0(
38380 token="<token>",
38381 environment=Auth0Environment.DEFAULT,
38382 )
38383
38384 client.users.permissions.list(
38385 id="id",
38386 per_page=1,
38387 page=1,
38388 include_totals=True,
38389 )
38390
38391 ```
38392 </dd>
38393 </dl>
38394 </dd>
38395 </dl>
38396
38397 #### ⚙️ Parameters
38398
38399 <dl>
38400 <dd>
38401
38402 <dl>
38403 <dd>
38404
38405 **id:** `str` — ID of the user to retrieve the permissions for.
38406
38407 </dd>
38408 </dl>
38409
38410 <dl>
38411 <dd>
38412
38413 **per_page:** `typing.Optional[int]` — Number of results per page.
38414
38415 </dd>
38416 </dl>
38417
38418 <dl>
38419 <dd>
38420
38421 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
38422
38423 </dd>
38424 </dl>
38425
38426 <dl>
38427 <dd>
38428
38429 **include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
38430
38431 </dd>
38432 </dl>
38433
38434 <dl>
38435 <dd>
38436
38437 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
38438
38439 </dd>
38440 </dl>
38441 </dd>
38442 </dl>
38443
38444
38445 </dd>
38446 </dl>
38447 </details>
38448
38449 <details><summary><code>client.users.permissions.<a href="src/auth0.management/users/permissions/client.py">create</a>(...)</code></summary>
38450 <dl>
38451 <dd>
38452
38453 #### 📝 Description
38454
38455 <dl>
38456 <dd>
38457
38458 <dl>
38459 <dd>
38460
38461 Assign permissions to a user.
38462 </dd>
38463 </dl>
38464 </dd>
38465 </dl>
38466
38467 #### 🔌 Usage
38468
38469 <dl>
38470 <dd>
38471
38472 <dl>
38473 <dd>
38474
38475 ```python
38476 from auth0.management import Auth0, PermissionRequestPayload
38477 from auth0.management.environment import Auth0Environment
38478
38479 client = Auth0(
38480 token="<token>",
38481 environment=Auth0Environment.DEFAULT,
38482 )
38483
38484 client.users.permissions.create(
38485 id="id",
38486 permissions=[
38487 PermissionRequestPayload(
38488 resource_server_identifier="resource_server_identifier",
38489 permission_name="permission_name",
38490 )
38491 ],
38492 )
38493
38494 ```
38495 </dd>
38496 </dl>
38497 </dd>
38498 </dl>
38499
38500 #### ⚙️ Parameters
38501
38502 <dl>
38503 <dd>
38504
38505 <dl>
38506 <dd>
38507
38508 **id:** `str` — ID of the user to assign permissions to.
38509
38510 </dd>
38511 </dl>
38512
38513 <dl>
38514 <dd>
38515
38516 **permissions:** `typing.List[PermissionRequestPayload]` — List of permissions to add to this user.
38517
38518 </dd>
38519 </dl>
38520
38521 <dl>
38522 <dd>
38523
38524 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
38525
38526 </dd>
38527 </dl>
38528 </dd>
38529 </dl>
38530
38531
38532 </dd>
38533 </dl>
38534 </details>
38535
38536 <details><summary><code>client.users.permissions.<a href="src/auth0.management/users/permissions/client.py">delete</a>(...)</code></summary>
38537 <dl>
38538 <dd>
38539
38540 #### 📝 Description
38541
38542 <dl>
38543 <dd>
38544
38545 <dl>
38546 <dd>
38547
38548 Remove permissions from a user.
38549 </dd>
38550 </dl>
38551 </dd>
38552 </dl>
38553
38554 #### 🔌 Usage
38555
38556 <dl>
38557 <dd>
38558
38559 <dl>
38560 <dd>
38561
38562 ```python
38563 from auth0.management import Auth0, PermissionRequestPayload
38564 from auth0.management.environment import Auth0Environment
38565
38566 client = Auth0(
38567 token="<token>",
38568 environment=Auth0Environment.DEFAULT,
38569 )
38570
38571 client.users.permissions.delete(
38572 id="id",
38573 permissions=[
38574 PermissionRequestPayload(
38575 resource_server_identifier="resource_server_identifier",
38576 permission_name="permission_name",
38577 )
38578 ],
38579 )
38580
38581 ```
38582 </dd>
38583 </dl>
38584 </dd>
38585 </dl>
38586
38587 #### ⚙️ Parameters
38588
38589 <dl>
38590 <dd>
38591
38592 <dl>
38593 <dd>
38594
38595 **id:** `str` — ID of the user to remove permissions from.
38596
38597 </dd>
38598 </dl>
38599
38600 <dl>
38601 <dd>
38602
38603 **permissions:** `typing.List[PermissionRequestPayload]` — List of permissions to remove from this user.
38604
38605 </dd>
38606 </dl>
38607
38608 <dl>
38609 <dd>
38610
38611 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
38612
38613 </dd>
38614 </dl>
38615 </dd>
38616 </dl>
38617
38618
38619 </dd>
38620 </dl>
38621 </details>
38622
38623 ## Users RiskAssessments
38624 <details><summary><code>client.users.risk_assessments.<a href="src/auth0.management/users/risk_assessments/client.py">clear</a>(...)</code></summary>
38625 <dl>
38626 <dd>
38627
38628 #### 📝 Description
38629
38630 <dl>
38631 <dd>
38632
38633 <dl>
38634 <dd>
38635
38636 Clear risk assessment assessors for a specific user
38637 </dd>
38638 </dl>
38639 </dd>
38640 </dl>
38641
38642 #### 🔌 Usage
38643
38644 <dl>
38645 <dd>
38646
38647 <dl>
38648 <dd>
38649
38650 ```python
38651 from auth0.management import Auth0
38652 from auth0.management.environment import Auth0Environment
38653
38654 client = Auth0(
38655 token="<token>",
38656 environment=Auth0Environment.DEFAULT,
38657 )
38658
38659 client.users.risk_assessments.clear(
38660 id="id",
38661 connection="connection",
38662 assessors=[
38663 "new-device"
38664 ],
38665 )
38666
38667 ```
38668 </dd>
38669 </dl>
38670 </dd>
38671 </dl>
38672
38673 #### ⚙️ Parameters
38674
38675 <dl>
38676 <dd>
38677
38678 <dl>
38679 <dd>
38680
38681 **id:** `str` — ID of the user to clear assessors for.
38682
38683 </dd>
38684 </dl>
38685
38686 <dl>
38687 <dd>
38688
38689 **connection:** `str` — The name of the connection containing the user whose assessors should be cleared.
38690
38691 </dd>
38692 </dl>
38693
38694 <dl>
38695 <dd>
38696
38697 **assessors:** `typing.List[AssessorsTypeEnum]` — List of assessors to clear.
38698
38699 </dd>
38700 </dl>
38701
38702 <dl>
38703 <dd>
38704
38705 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
38706
38707 </dd>
38708 </dl>
38709 </dd>
38710 </dl>
38711
38712
38713 </dd>
38714 </dl>
38715 </details>
38716
38717 ## Users Roles
38718 <details><summary><code>client.users.roles.<a href="src/auth0.management/users/roles/client.py">list</a>(...) -> ListUserRolesOffsetPaginatedResponseContent</code></summary>
38719 <dl>
38720 <dd>
38721
38722 #### 📝 Description
38723
38724 <dl>
38725 <dd>
38726
38727 <dl>
38728 <dd>
38729
38730 Retrieve detailed list of all user roles currently assigned to a user.
38731
38732 **Note**: This action retrieves all roles assigned to a user in the context of your whole tenant. To retrieve Organization-specific roles, use the following endpoint: [Get user roles assigned to an Organization member](https://auth0.com/docs/api/management/v2/organizations/get-organization-member-roles).
38733 </dd>
38734 </dl>
38735 </dd>
38736 </dl>
38737
38738 #### 🔌 Usage
38739
38740 <dl>
38741 <dd>
38742
38743 <dl>
38744 <dd>
38745
38746 ```python
38747 from auth0.management import Auth0
38748 from auth0.management.environment import Auth0Environment
38749
38750 client = Auth0(
38751 token="<token>",
38752 environment=Auth0Environment.DEFAULT,
38753 )
38754
38755 client.users.roles.list(
38756 id="id",
38757 per_page=1,
38758 page=1,
38759 include_totals=True,
38760 )
38761
38762 ```
38763 </dd>
38764 </dl>
38765 </dd>
38766 </dl>
38767
38768 #### ⚙️ Parameters
38769
38770 <dl>
38771 <dd>
38772
38773 <dl>
38774 <dd>
38775
38776 **id:** `str` — ID of the user to list roles for.
38777
38778 </dd>
38779 </dl>
38780
38781 <dl>
38782 <dd>
38783
38784 **per_page:** `typing.Optional[int]` — Number of results per page.
38785
38786 </dd>
38787 </dl>
38788
38789 <dl>
38790 <dd>
38791
38792 **page:** `typing.Optional[int]` — Page index of the results to return. First page is 0.
38793
38794 </dd>
38795 </dl>
38796
38797 <dl>
38798 <dd>
38799
38800 **include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
38801
38802 </dd>
38803 </dl>
38804
38805 <dl>
38806 <dd>
38807
38808 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
38809
38810 </dd>
38811 </dl>
38812 </dd>
38813 </dl>
38814
38815
38816 </dd>
38817 </dl>
38818 </details>
38819
38820 <details><summary><code>client.users.roles.<a href="src/auth0.management/users/roles/client.py">assign</a>(...)</code></summary>
38821 <dl>
38822 <dd>
38823
38824 #### 📝 Description
38825
38826 <dl>
38827 <dd>
38828
38829 <dl>
38830 <dd>
38831
38832 Assign one or more existing user roles to a user. For more information, review [Role-Based Access Control](https://auth0.com/docs/manage-users/access-control/rbac).
38833
38834 **Note**: New roles cannot be created through this action. Additionally, this action is used to assign roles to a user in the context of your whole tenant. To assign roles in the context of a specific Organization, use the following endpoint: [Assign user roles to an Organization member](https://auth0.com/docs/api/management/v2/organizations/post-organization-member-roles).
38835 </dd>
38836 </dl>
38837 </dd>
38838 </dl>
38839
38840 #### 🔌 Usage
38841
38842 <dl>
38843 <dd>
38844
38845 <dl>
38846 <dd>
38847
38848 ```python
38849 from auth0.management import Auth0
38850 from auth0.management.environment import Auth0Environment
38851
38852 client = Auth0(
38853 token="<token>",
38854 environment=Auth0Environment.DEFAULT,
38855 )
38856
38857 client.users.roles.assign(
38858 id="id",
38859 roles=[
38860 "roles"
38861 ],
38862 )
38863
38864 ```
38865 </dd>
38866 </dl>
38867 </dd>
38868 </dl>
38869
38870 #### ⚙️ Parameters
38871
38872 <dl>
38873 <dd>
38874
38875 <dl>
38876 <dd>
38877
38878 **id:** `str` — ID of the user to associate roles with.
38879
38880 </dd>
38881 </dl>
38882
38883 <dl>
38884 <dd>
38885
38886 **roles:** `typing.List[str]` — List of roles IDs to associated with the user.
38887
38888 </dd>
38889 </dl>
38890
38891 <dl>
38892 <dd>
38893
38894 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
38895
38896 </dd>
38897 </dl>
38898 </dd>
38899 </dl>
38900
38901
38902 </dd>
38903 </dl>
38904 </details>
38905
38906 <details><summary><code>client.users.roles.<a href="src/auth0.management/users/roles/client.py">delete</a>(...)</code></summary>
38907 <dl>
38908 <dd>
38909
38910 #### 📝 Description
38911
38912 <dl>
38913 <dd>
38914
38915 <dl>
38916 <dd>
38917
38918 Remove one or more specified user roles assigned to a user.
38919
38920 **Note**: This action removes a role from a user in the context of your whole tenant. If you want to unassign a role from a user in the context of a specific Organization, use the following endpoint: [Delete user roles from an Organization member](https://auth0.com/docs/api/management/v2/organizations/delete-organization-member-roles).
38921 </dd>
38922 </dl>
38923 </dd>
38924 </dl>
38925
38926 #### 🔌 Usage
38927
38928 <dl>
38929 <dd>
38930
38931 <dl>
38932 <dd>
38933
38934 ```python
38935 from auth0.management import Auth0
38936 from auth0.management.environment import Auth0Environment
38937
38938 client = Auth0(
38939 token="<token>",
38940 environment=Auth0Environment.DEFAULT,
38941 )
38942
38943 client.users.roles.delete(
38944 id="id",
38945 roles=[
38946 "roles"
38947 ],
38948 )
38949
38950 ```
38951 </dd>
38952 </dl>
38953 </dd>
38954 </dl>
38955
38956 #### ⚙️ Parameters
38957
38958 <dl>
38959 <dd>
38960
38961 <dl>
38962 <dd>
38963
38964 **id:** `str` — ID of the user to remove roles from.
38965
38966 </dd>
38967 </dl>
38968
38969 <dl>
38970 <dd>
38971
38972 **roles:** `typing.List[str]` — List of roles IDs to remove from the user.
38973
38974 </dd>
38975 </dl>
38976
38977 <dl>
38978 <dd>
38979
38980 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
38981
38982 </dd>
38983 </dl>
38984 </dd>
38985 </dl>
38986
38987
38988 </dd>
38989 </dl>
38990 </details>
38991
38992 ## Users RefreshToken
38993 <details><summary><code>client.users.refresh_token.<a href="src/auth0.management/users/refresh_token/client.py">list</a>(...) -> ListRefreshTokensPaginatedResponseContent</code></summary>
38994 <dl>
38995 <dd>
38996
38997 #### 📝 Description
38998
38999 <dl>
39000 <dd>
39001
39002 <dl>
39003 <dd>
39004
39005 Retrieve details for a user's refresh tokens.
39006 </dd>
39007 </dl>
39008 </dd>
39009 </dl>
39010
39011 #### 🔌 Usage
39012
39013 <dl>
39014 <dd>
39015
39016 <dl>
39017 <dd>
39018
39019 ```python
39020 from auth0.management import Auth0
39021 from auth0.management.environment import Auth0Environment
39022
39023 client = Auth0(
39024 token="<token>",
39025 environment=Auth0Environment.DEFAULT,
39026 )
39027
39028 client.users.refresh_token.list(
39029 user_id="user_id",
39030 from_="from",
39031 take=1,
39032 )
39033
39034 ```
39035 </dd>
39036 </dl>
39037 </dd>
39038 </dl>
39039
39040 #### ⚙️ Parameters
39041
39042 <dl>
39043 <dd>
39044
39045 <dl>
39046 <dd>
39047
39048 **user_id:** `str` — ID of the user to get refresh tokens for
39049
39050 </dd>
39051 </dl>
39052
39053 <dl>
39054 <dd>
39055
39056 **from:** `typing.Optional[str]` — An optional cursor from which to start the selection (exclusive).
39057
39058 </dd>
39059 </dl>
39060
39061 <dl>
39062 <dd>
39063
39064 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
39065
39066 </dd>
39067 </dl>
39068
39069 <dl>
39070 <dd>
39071
39072 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
39073
39074 </dd>
39075 </dl>
39076 </dd>
39077 </dl>
39078
39079
39080 </dd>
39081 </dl>
39082 </details>
39083
39084 <details><summary><code>client.users.refresh_token.<a href="src/auth0.management/users/refresh_token/client.py">delete</a>(...)</code></summary>
39085 <dl>
39086 <dd>
39087
39088 #### 📝 Description
39089
39090 <dl>
39091 <dd>
39092
39093 <dl>
39094 <dd>
39095
39096 Delete all refresh tokens for a user.
39097 </dd>
39098 </dl>
39099 </dd>
39100 </dl>
39101
39102 #### 🔌 Usage
39103
39104 <dl>
39105 <dd>
39106
39107 <dl>
39108 <dd>
39109
39110 ```python
39111 from auth0.management import Auth0
39112 from auth0.management.environment import Auth0Environment
39113
39114 client = Auth0(
39115 token="<token>",
39116 environment=Auth0Environment.DEFAULT,
39117 )
39118
39119 client.users.refresh_token.delete(
39120 user_id="user_id",
39121 )
39122
39123 ```
39124 </dd>
39125 </dl>
39126 </dd>
39127 </dl>
39128
39129 #### ⚙️ Parameters
39130
39131 <dl>
39132 <dd>
39133
39134 <dl>
39135 <dd>
39136
39137 **user_id:** `str` — ID of the user to get remove refresh tokens for
39138
39139 </dd>
39140 </dl>
39141
39142 <dl>
39143 <dd>
39144
39145 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
39146
39147 </dd>
39148 </dl>
39149 </dd>
39150 </dl>
39151
39152
39153 </dd>
39154 </dl>
39155 </details>
39156
39157 ## Users Sessions
39158 <details><summary><code>client.users.sessions.<a href="src/auth0.management/users/sessions/client.py">list</a>(...) -> ListUserSessionsPaginatedResponseContent</code></summary>
39159 <dl>
39160 <dd>
39161
39162 #### 📝 Description
39163
39164 <dl>
39165 <dd>
39166
39167 <dl>
39168 <dd>
39169
39170 Retrieve details for a user's sessions.
39171 </dd>
39172 </dl>
39173 </dd>
39174 </dl>
39175
39176 #### 🔌 Usage
39177
39178 <dl>
39179 <dd>
39180
39181 <dl>
39182 <dd>
39183
39184 ```python
39185 from auth0.management import Auth0
39186 from auth0.management.environment import Auth0Environment
39187
39188 client = Auth0(
39189 token="<token>",
39190 environment=Auth0Environment.DEFAULT,
39191 )
39192
39193 client.users.sessions.list(
39194 user_id="user_id",
39195 from_="from",
39196 take=1,
39197 )
39198
39199 ```
39200 </dd>
39201 </dl>
39202 </dd>
39203 </dl>
39204
39205 #### ⚙️ Parameters
39206
39207 <dl>
39208 <dd>
39209
39210 <dl>
39211 <dd>
39212
39213 **user_id:** `str` — ID of the user to get sessions for
39214
39215 </dd>
39216 </dl>
39217
39218 <dl>
39219 <dd>
39220
39221 **from:** `typing.Optional[str]` — An optional cursor from which to start the selection (exclusive).
39222
39223 </dd>
39224 </dl>
39225
39226 <dl>
39227 <dd>
39228
39229 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
39230
39231 </dd>
39232 </dl>
39233
39234 <dl>
39235 <dd>
39236
39237 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
39238
39239 </dd>
39240 </dl>
39241 </dd>
39242 </dl>
39243
39244
39245 </dd>
39246 </dl>
39247 </details>
39248
39249 <details><summary><code>client.users.sessions.<a href="src/auth0.management/users/sessions/client.py">delete</a>(...)</code></summary>
39250 <dl>
39251 <dd>
39252
39253 #### 📝 Description
39254
39255 <dl>
39256 <dd>
39257
39258 <dl>
39259 <dd>
39260
39261 Delete all sessions for a user.
39262 </dd>
39263 </dl>
39264 </dd>
39265 </dl>
39266
39267 #### 🔌 Usage
39268
39269 <dl>
39270 <dd>
39271
39272 <dl>
39273 <dd>
39274
39275 ```python
39276 from auth0.management import Auth0
39277 from auth0.management.environment import Auth0Environment
39278
39279 client = Auth0(
39280 token="<token>",
39281 environment=Auth0Environment.DEFAULT,
39282 )
39283
39284 client.users.sessions.delete(
39285 user_id="user_id",
39286 )
39287
39288 ```
39289 </dd>
39290 </dl>
39291 </dd>
39292 </dl>
39293
39294 #### ⚙️ Parameters
39295
39296 <dl>
39297 <dd>
39298
39299 <dl>
39300 <dd>
39301
39302 **user_id:** `str` — ID of the user to get sessions for
39303
39304 </dd>
39305 </dl>
39306
39307 <dl>
39308 <dd>
39309
39310 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
39311
39312 </dd>
39313 </dl>
39314 </dd>
39315 </dl>
39316
39317
39318 </dd>
39319 </dl>
39320 </details>
39321
39322 ## Users EffectivePermissions Sources Roles
39323 <details><summary><code>client.users.effective_permissions.sources.roles.<a href="src/auth0.management/users/effective_permissions/sources/roles/client.py">list</a>(...) -> ListUserEffectivePermissionRoleSourcesResponseContent</code></summary>
39324 <dl>
39325 <dd>
39326
39327 #### 📝 Description
39328
39329 <dl>
39330 <dd>
39331
39332 <dl>
39333 <dd>
39334
39335 Lists the roles which grant the user a given permission, including roles assigned directly to the user and those inherited through group memberships.
39336 </dd>
39337 </dl>
39338 </dd>
39339 </dl>
39340
39341 #### 🔌 Usage
39342
39343 <dl>
39344 <dd>
39345
39346 <dl>
39347 <dd>
39348
39349 ```python
39350 from auth0.management import Auth0
39351 from auth0.management.environment import Auth0Environment
39352
39353 client = Auth0(
39354 token="<token>",
39355 environment=Auth0Environment.DEFAULT,
39356 )
39357
39358 client.users.effective_permissions.sources.roles.list(
39359 id="id",
39360 from_="from",
39361 take=1,
39362 resource_server_identifier="resource_server_identifier",
39363 permission_name="permission_name",
39364 )
39365
39366 ```
39367 </dd>
39368 </dl>
39369 </dd>
39370 </dl>
39371
39372 #### ⚙️ Parameters
39373
39374 <dl>
39375 <dd>
39376
39377 <dl>
39378 <dd>
39379
39380 **id:** `str` — ID of the user to retrieve the permissions for.
39381
39382 </dd>
39383 </dl>
39384
39385 <dl>
39386 <dd>
39387
39388 **resource_server_identifier:** `str` — The identifier of the resource server for which to calculate user permissions.
39389
39390 </dd>
39391 </dl>
39392
39393 <dl>
39394 <dd>
39395
39396 **permission_name:** `str` — Name of this permission
39397
39398 </dd>
39399 </dl>
39400
39401 <dl>
39402 <dd>
39403
39404 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
39405
39406 </dd>
39407 </dl>
39408
39409 <dl>
39410 <dd>
39411
39412 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
39413
39414 </dd>
39415 </dl>
39416
39417 <dl>
39418 <dd>
39419
39420 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
39421
39422 </dd>
39423 </dl>
39424 </dd>
39425 </dl>
39426
39427
39428 </dd>
39429 </dl>
39430 </details>
39431
39432 ## Users EffectiveRoles Sources Groups
39433 <details><summary><code>client.users.effective_roles.sources.groups.<a href="src/auth0.management/users/effective_roles/sources/groups/client.py">list</a>(...) -> ListUserRoleSourceGroupsResponseContent</code></summary>
39434 <dl>
39435 <dd>
39436
39437 #### 📝 Description
39438
39439 <dl>
39440 <dd>
39441
39442 <dl>
39443 <dd>
39444
39445 Lists the groups that grant a user a specific role.
39446 </dd>
39447 </dl>
39448 </dd>
39449 </dl>
39450
39451 #### 🔌 Usage
39452
39453 <dl>
39454 <dd>
39455
39456 <dl>
39457 <dd>
39458
39459 ```python
39460 from auth0.management import Auth0
39461 from auth0.management.environment import Auth0Environment
39462
39463 client = Auth0(
39464 token="<token>",
39465 environment=Auth0Environment.DEFAULT,
39466 )
39467
39468 client.users.effective_roles.sources.groups.list(
39469 id="id",
39470 role_id="role_id",
39471 from_="from",
39472 take=1,
39473 )
39474
39475 ```
39476 </dd>
39477 </dl>
39478 </dd>
39479 </dl>
39480
39481 #### ⚙️ Parameters
39482
39483 <dl>
39484 <dd>
39485
39486 <dl>
39487 <dd>
39488
39489 **id:** `str` — ID of the user to list role source groups for.
39490
39491 </dd>
39492 </dl>
39493
39494 <dl>
39495 <dd>
39496
39497 **role_id:** `str` — ID of the role to get source groups for.
39498
39499 </dd>
39500 </dl>
39501
39502 <dl>
39503 <dd>
39504
39505 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
39506
39507 </dd>
39508 </dl>
39509
39510 <dl>
39511 <dd>
39512
39513 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
39514
39515 </dd>
39516 </dl>
39517
39518 <dl>
39519 <dd>
39520
39521 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
39522
39523 </dd>
39524 </dl>
39525 </dd>
39526 </dl>
39527
39528
39529 </dd>
39530 </dl>
39531 </details>
39532
39533 ## VerifiableCredentials Verification Templates
39534 <details><summary><code>client.verifiable_credentials.verification.templates.<a href="src/auth0.management/verifiable_credentials/verification/templates/client.py">list</a>(...) -> ListVerifiableCredentialTemplatesPaginatedResponseContent</code></summary>
39535 <dl>
39536 <dd>
39537
39538 #### 📝 Description
39539
39540 <dl>
39541 <dd>
39542
39543 <dl>
39544 <dd>
39545
39546 List verifiable credential templates.
39547 </dd>
39548 </dl>
39549 </dd>
39550 </dl>
39551
39552 #### 🔌 Usage
39553
39554 <dl>
39555 <dd>
39556
39557 <dl>
39558 <dd>
39559
39560 ```python
39561 from auth0.management import Auth0
39562 from auth0.management.environment import Auth0Environment
39563
39564 client = Auth0(
39565 token="<token>",
39566 environment=Auth0Environment.DEFAULT,
39567 )
39568
39569 client.verifiable_credentials.verification.templates.list(
39570 from_="from",
39571 take=1,
39572 )
39573
39574 ```
39575 </dd>
39576 </dl>
39577 </dd>
39578 </dl>
39579
39580 #### ⚙️ Parameters
39581
39582 <dl>
39583 <dd>
39584
39585 <dl>
39586 <dd>
39587
39588 **from:** `typing.Optional[str]` — Optional Id from which to start selection.
39589
39590 </dd>
39591 </dl>
39592
39593 <dl>
39594 <dd>
39595
39596 **take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
39597
39598 </dd>
39599 </dl>
39600
39601 <dl>
39602 <dd>
39603
39604 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
39605
39606 </dd>
39607 </dl>
39608 </dd>
39609 </dl>
39610
39611
39612 </dd>
39613 </dl>
39614 </details>
39615
39616 <details><summary><code>client.verifiable_credentials.verification.templates.<a href="src/auth0.management/verifiable_credentials/verification/templates/client.py">create</a>(...) -> CreateVerifiableCredentialTemplateResponseContent</code></summary>
39617 <dl>
39618 <dd>
39619
39620 #### 📝 Description
39621
39622 <dl>
39623 <dd>
39624
39625 <dl>
39626 <dd>
39627
39628 Create a verifiable credential template.
39629 </dd>
39630 </dl>
39631 </dd>
39632 </dl>
39633
39634 #### 🔌 Usage
39635
39636 <dl>
39637 <dd>
39638
39639 <dl>
39640 <dd>
39641
39642 ```python
39643 from auth0.management import Auth0, MdlPresentationRequest, MdlPresentationRequestProperties, MdlPresentationProperties
39644 from auth0.management.environment import Auth0Environment
39645
39646 client = Auth0(
39647 token="<token>",
39648 environment=Auth0Environment.DEFAULT,
39649 )
39650
39651 client.verifiable_credentials.verification.templates.create(
39652 name="name",
39653 type="type",
39654 dialect="dialect",
39655 presentation=MdlPresentationRequest(
39656 org_iso_18013_5_1_m_dl=MdlPresentationRequestProperties(
39657 org_iso_18013_5_1=MdlPresentationProperties(),
39658 ),
39659 ),
39660 well_known_trusted_issuers="well_known_trusted_issuers",
39661 )
39662
39663 ```
39664 </dd>
39665 </dl>
39666 </dd>
39667 </dl>
39668
39669 #### ⚙️ Parameters
39670
39671 <dl>
39672 <dd>
39673
39674 <dl>
39675 <dd>
39676
39677 **name:** `str`
39678
39679 </dd>
39680 </dl>
39681
39682 <dl>
39683 <dd>
39684
39685 **type:** `str`
39686
39687 </dd>
39688 </dl>
39689
39690 <dl>
39691 <dd>
39692
39693 **dialect:** `str`
39694
39695 </dd>
39696 </dl>
39697
39698 <dl>
39699 <dd>
39700
39701 **presentation:** `MdlPresentationRequest`
39702
39703 </dd>
39704 </dl>
39705
39706 <dl>
39707 <dd>
39708
39709 **well_known_trusted_issuers:** `str`
39710
39711 </dd>
39712 </dl>
39713
39714 <dl>
39715 <dd>
39716
39717 **custom_certificate_authority:** `typing.Optional[str]`
39718
39719 </dd>
39720 </dl>
39721
39722 <dl>
39723 <dd>
39724
39725 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
39726
39727 </dd>
39728 </dl>
39729 </dd>
39730 </dl>
39731
39732
39733 </dd>
39734 </dl>
39735 </details>
39736
39737 <details><summary><code>client.verifiable_credentials.verification.templates.<a href="src/auth0.management/verifiable_credentials/verification/templates/client.py">get</a>(...) -> GetVerifiableCredentialTemplateResponseContent</code></summary>
39738 <dl>
39739 <dd>
39740
39741 #### 📝 Description
39742
39743 <dl>
39744 <dd>
39745
39746 <dl>
39747 <dd>
39748
39749 Get a verifiable credential template.
39750 </dd>
39751 </dl>
39752 </dd>
39753 </dl>
39754
39755 #### 🔌 Usage
39756
39757 <dl>
39758 <dd>
39759
39760 <dl>
39761 <dd>
39762
39763 ```python
39764 from auth0.management import Auth0
39765 from auth0.management.environment import Auth0Environment
39766
39767 client = Auth0(
39768 token="<token>",
39769 environment=Auth0Environment.DEFAULT,
39770 )
39771
39772 client.verifiable_credentials.verification.templates.get(
39773 id="id",
39774 )
39775
39776 ```
39777 </dd>
39778 </dl>
39779 </dd>
39780 </dl>
39781
39782 #### ⚙️ Parameters
39783
39784 <dl>
39785 <dd>
39786
39787 <dl>
39788 <dd>
39789
39790 **id:** `str` — ID of the template to retrieve.
39791
39792 </dd>
39793 </dl>
39794
39795 <dl>
39796 <dd>
39797
39798 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
39799
39800 </dd>
39801 </dl>
39802 </dd>
39803 </dl>
39804
39805
39806 </dd>
39807 </dl>
39808 </details>
39809
39810 <details><summary><code>client.verifiable_credentials.verification.templates.<a href="src/auth0.management/verifiable_credentials/verification/templates/client.py">delete</a>(...)</code></summary>
39811 <dl>
39812 <dd>
39813
39814 #### 📝 Description
39815
39816 <dl>
39817 <dd>
39818
39819 <dl>
39820 <dd>
39821
39822 Delete a verifiable credential template.
39823 </dd>
39824 </dl>
39825 </dd>
39826 </dl>
39827
39828 #### 🔌 Usage
39829
39830 <dl>
39831 <dd>
39832
39833 <dl>
39834 <dd>
39835
39836 ```python
39837 from auth0.management import Auth0
39838 from auth0.management.environment import Auth0Environment
39839
39840 client = Auth0(
39841 token="<token>",
39842 environment=Auth0Environment.DEFAULT,
39843 )
39844
39845 client.verifiable_credentials.verification.templates.delete(
39846 id="id",
39847 )
39848
39849 ```
39850 </dd>
39851 </dl>
39852 </dd>
39853 </dl>
39854
39855 #### ⚙️ Parameters
39856
39857 <dl>
39858 <dd>
39859
39860 <dl>
39861 <dd>
39862
39863 **id:** `str` — ID of the template to retrieve.
39864
39865 </dd>
39866 </dl>
39867
39868 <dl>
39869 <dd>
39870
39871 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
39872
39873 </dd>
39874 </dl>
39875 </dd>
39876 </dl>
39877
39878
39879 </dd>
39880 </dl>
39881 </details>
39882
39883 <details><summary><code>client.verifiable_credentials.verification.templates.<a href="src/auth0.management/verifiable_credentials/verification/templates/client.py">update</a>(...) -> UpdateVerifiableCredentialTemplateResponseContent</code></summary>
39884 <dl>
39885 <dd>
39886
39887 #### 📝 Description
39888
39889 <dl>
39890 <dd>
39891
39892 <dl>
39893 <dd>
39894
39895 Update a verifiable credential template.
39896 </dd>
39897 </dl>
39898 </dd>
39899 </dl>
39900
39901 #### 🔌 Usage
39902
39903 <dl>
39904 <dd>
39905
39906 <dl>
39907 <dd>
39908
39909 ```python
39910 from auth0.management import Auth0
39911 from auth0.management.environment import Auth0Environment
39912
39913 client = Auth0(
39914 token="<token>",
39915 environment=Auth0Environment.DEFAULT,
39916 )
39917
39918 client.verifiable_credentials.verification.templates.update(
39919 id="id",
39920 )
39921
39922 ```
39923 </dd>
39924 </dl>
39925 </dd>
39926 </dl>
39927
39928 #### ⚙️ Parameters
39929
39930 <dl>
39931 <dd>
39932
39933 <dl>
39934 <dd>
39935
39936 **id:** `str` — ID of the template to retrieve.
39937
39938 </dd>
39939 </dl>
39940
39941 <dl>
39942 <dd>
39943
39944 **name:** `typing.Optional[str]`
39945
39946 </dd>
39947 </dl>
39948
39949 <dl>
39950 <dd>
39951
39952 **type:** `typing.Optional[str]`
39953
39954 </dd>
39955 </dl>
39956
39957 <dl>
39958 <dd>
39959
39960 **dialect:** `typing.Optional[str]`
39961
39962 </dd>
39963 </dl>
39964
39965 <dl>
39966 <dd>
39967
39968 **presentation:** `typing.Optional[MdlPresentationRequest]`
39969
39970 </dd>
39971 </dl>
39972
39973 <dl>
39974 <dd>
39975
39976 **well_known_trusted_issuers:** `typing.Optional[str]`
39977
39978 </dd>
39979 </dl>
39980
39981 <dl>
39982 <dd>
39983
39984 **version:** `typing.Optional[float]`
39985
39986 </dd>
39987 </dl>
39988
39989 <dl>
39990 <dd>
39991
39992 **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
39993
39994 </dd>
39995 </dl>
39996 </dd>
39997 </dl>
39998
39999
40000 </dd>
40001 </dl>
40002 </details>
40003