ory-client 1.12.2__py3-none-any.whl → 1.17.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (301) hide show
  1. ory_client/__init__.py +16 -3
  2. ory_client/api/courier_api.py +21 -15
  3. ory_client/api/events_api.py +38 -26
  4. ory_client/api/frontend_api.py +1741 -1064
  5. ory_client/api/identity_api.py +197 -126
  6. ory_client/api/jwk_api.py +65 -44
  7. ory_client/api/metadata_api.py +11 -8
  8. ory_client/api/o_auth2_api.py +292 -191
  9. ory_client/api/oidc_api.py +68 -45
  10. ory_client/api/permission_api.py +343 -32
  11. ory_client/api/project_api.py +516 -145
  12. ory_client/api/relationship_api.py +56 -38
  13. ory_client/api/wellknown_api.py +14 -11
  14. ory_client/api/workspace_api.py +886 -34
  15. ory_client/api_client.py +71 -32
  16. ory_client/configuration.py +176 -42
  17. ory_client/exceptions.py +19 -2
  18. ory_client/models/__init__.py +15 -2
  19. ory_client/models/accept_o_auth2_consent_request.py +2 -2
  20. ory_client/models/accept_o_auth2_consent_request_session.py +2 -2
  21. ory_client/models/accept_o_auth2_login_request.py +2 -2
  22. ory_client/models/account_experience_colors.py +329 -0
  23. ory_client/models/account_experience_configuration.py +35 -13
  24. ory_client/models/account_experience_theme_variables.py +2 -2
  25. ory_client/models/active_project_in_console.py +2 -2
  26. ory_client/models/add_project_to_workspace_body.py +2 -2
  27. ory_client/models/attribute.py +2 -2
  28. ory_client/models/attribute_filter.py +2 -2
  29. ory_client/models/attributes_count_datapoint.py +2 -2
  30. ory_client/models/authenticator_assurance_level.py +2 -2
  31. ory_client/models/batch_check_permission_body.py +109 -0
  32. ory_client/models/batch_check_permission_result.py +109 -0
  33. ory_client/models/batch_patch_identities_response.py +5 -5
  34. ory_client/models/billing_period_bucket.py +5 -5
  35. ory_client/models/check_opl_syntax_result.py +5 -5
  36. ory_client/models/check_permission_result.py +2 -2
  37. ory_client/models/check_permission_result_with_error.py +103 -0
  38. ory_client/models/cloud_account.py +6 -4
  39. ory_client/models/consistency_request_parameters.py +2 -2
  40. ory_client/models/continue_with.py +35 -11
  41. ory_client/models/continue_with_recovery_ui.py +2 -2
  42. ory_client/models/continue_with_recovery_ui_flow.py +3 -3
  43. ory_client/models/continue_with_redirect_browser_to.py +110 -0
  44. ory_client/models/continue_with_set_ory_session_token.py +2 -2
  45. ory_client/models/continue_with_settings_ui.py +2 -2
  46. ory_client/models/continue_with_settings_ui_flow.py +7 -5
  47. ory_client/models/continue_with_verification_ui.py +2 -2
  48. ory_client/models/continue_with_verification_ui_flow.py +3 -3
  49. ory_client/models/courier_message_status.py +2 -2
  50. ory_client/models/courier_message_type.py +2 -2
  51. ory_client/models/create_custom_domain_body.py +2 -2
  52. ory_client/models/create_event_stream_body.py +2 -2
  53. ory_client/models/create_fedcm_flow_response.py +111 -0
  54. ory_client/models/create_identity_body.py +16 -9
  55. ory_client/models/create_invite_response.py +5 -5
  56. ory_client/models/create_json_web_key_set.py +2 -2
  57. ory_client/models/create_project_api_key_request.py +7 -4
  58. ory_client/models/create_project_body.py +5 -5
  59. ory_client/models/create_project_branding.py +2 -2
  60. ory_client/models/create_project_member_invite_body.py +2 -2
  61. ory_client/models/create_project_normalized_payload.py +60 -24
  62. ory_client/models/create_recovery_code_for_identity_body.py +2 -2
  63. ory_client/models/create_recovery_link_for_identity_body.py +2 -2
  64. ory_client/models/create_relationship_body.py +2 -2
  65. ory_client/models/create_subscription_body.py +2 -2
  66. ory_client/models/create_subscription_common.py +2 -2
  67. ory_client/models/create_verifiable_credential_request_body.py +2 -2
  68. ory_client/models/create_workspace_api_key_body.py +104 -0
  69. ory_client/models/create_workspace_body.py +2 -2
  70. ory_client/models/create_workspace_member_invite_body.py +16 -7
  71. ory_client/models/create_workspace_subscription_body.py +2 -2
  72. ory_client/models/credential_supported_draft00.py +2 -2
  73. ory_client/models/custom_domain.py +2 -2
  74. ory_client/models/delete_my_sessions_count.py +2 -2
  75. ory_client/models/email_template_data.py +2 -2
  76. ory_client/models/email_template_data_body.py +2 -2
  77. ory_client/models/error_authenticator_assurance_level_not_satisfied.py +2 -2
  78. ory_client/models/error_browser_location_change_required.py +2 -2
  79. ory_client/models/error_flow_replaced.py +2 -2
  80. ory_client/models/error_generic.py +2 -2
  81. ory_client/models/error_o_auth2.py +2 -2
  82. ory_client/models/event_stream.py +2 -2
  83. ory_client/models/expanded_permission_tree.py +5 -5
  84. ory_client/models/flow_error.py +2 -2
  85. ory_client/models/generic_error.py +2 -2
  86. ory_client/models/generic_error_content.py +2 -2
  87. ory_client/models/generic_usage.py +2 -2
  88. ory_client/models/get_attributes_count_response.py +5 -5
  89. ory_client/models/get_managed_identity_schema_location.py +2 -2
  90. ory_client/models/get_metrics_event_attributes_response.py +2 -2
  91. ory_client/models/get_metrics_event_types_response.py +2 -2
  92. ory_client/models/get_organization_response.py +2 -2
  93. ory_client/models/get_project_events_body.py +5 -5
  94. ory_client/models/get_project_events_response.py +5 -5
  95. ory_client/models/get_project_metrics_response.py +5 -5
  96. ory_client/models/get_session_activity_response.py +5 -5
  97. ory_client/models/get_version200_response.py +2 -2
  98. ory_client/models/health_not_ready_status.py +2 -2
  99. ory_client/models/health_status.py +2 -2
  100. ory_client/models/identity.py +11 -11
  101. ory_client/models/identity_credentials.py +5 -5
  102. ory_client/models/identity_credentials_code.py +14 -14
  103. ory_client/models/identity_credentials_code_address.py +103 -0
  104. ory_client/models/identity_credentials_oidc.py +5 -5
  105. ory_client/models/identity_credentials_oidc_provider.py +7 -5
  106. ory_client/models/identity_credentials_password.py +7 -5
  107. ory_client/models/identity_patch.py +2 -2
  108. ory_client/models/identity_patch_response.py +13 -6
  109. ory_client/models/identity_schema_container.py +2 -2
  110. ory_client/models/identity_schema_preset.py +2 -2
  111. ory_client/models/identity_with_credentials.py +2 -2
  112. ory_client/models/identity_with_credentials_oidc.py +2 -2
  113. ory_client/models/identity_with_credentials_oidc_config.py +5 -5
  114. ory_client/models/identity_with_credentials_oidc_config_provider.py +8 -6
  115. ory_client/models/identity_with_credentials_password.py +2 -2
  116. ory_client/models/identity_with_credentials_password_config.py +7 -5
  117. ory_client/models/internal_get_project_branding_body.py +2 -2
  118. ory_client/models/internal_is_ax_welcome_screen_enabled_for_project_body.py +2 -2
  119. ory_client/models/internal_is_owner_for_project_by_slug_body.py +3 -3
  120. ory_client/models/internal_is_owner_for_project_by_slug_response.py +2 -2
  121. ory_client/models/introspected_o_auth2_token.py +2 -2
  122. ory_client/models/invite_token_body.py +101 -0
  123. ory_client/models/invoice.py +3 -3
  124. ory_client/models/invoice_data_v1.py +12 -8
  125. ory_client/models/is_owner_for_project_by_slug.py +3 -3
  126. ory_client/models/json_patch.py +2 -2
  127. ory_client/models/json_web_key.py +2 -2
  128. ory_client/models/json_web_key_set.py +5 -5
  129. ory_client/models/keto_namespace.py +2 -2
  130. ory_client/models/line_item_v1.py +5 -5
  131. ory_client/models/list_event_streams.py +5 -5
  132. ory_client/models/list_invoices_response.py +5 -5
  133. ory_client/models/list_organizations_response.py +5 -5
  134. ory_client/models/list_workspace_projects.py +5 -5
  135. ory_client/models/list_workspaces.py +5 -5
  136. ory_client/models/login_flow.py +5 -5
  137. ory_client/models/login_flow_state.py +3 -3
  138. ory_client/models/logout_flow.py +2 -2
  139. ory_client/models/managed_identity_schema.py +2 -2
  140. ory_client/models/managed_identity_schema_validation_result.py +2 -2
  141. ory_client/models/member_invite.py +10 -3
  142. ory_client/models/message.py +5 -5
  143. ory_client/models/message_dispatch.py +2 -2
  144. ory_client/models/metrics_datapoint.py +2 -2
  145. ory_client/models/money.py +2 -2
  146. ory_client/models/namespace.py +2 -2
  147. ory_client/models/needs_privileged_session_error.py +2 -2
  148. ory_client/models/normalized_project.py +5 -5
  149. ory_client/models/normalized_project_revision.py +57 -21
  150. ory_client/models/normalized_project_revision_courier_channel.py +2 -2
  151. ory_client/models/normalized_project_revision_hook.py +2 -2
  152. ory_client/models/normalized_project_revision_identity_schema.py +2 -2
  153. ory_client/models/normalized_project_revision_saml_provider.py +148 -0
  154. ory_client/models/normalized_project_revision_third_party_provider.py +34 -3
  155. ory_client/models/normalized_project_revision_tokenizer_template.py +2 -2
  156. ory_client/models/o_auth2_client.py +3 -3
  157. ory_client/models/o_auth2_client_token_lifespans.py +2 -2
  158. ory_client/models/o_auth2_consent_request.py +6 -4
  159. ory_client/models/o_auth2_consent_request_open_id_connect_context.py +2 -2
  160. ory_client/models/o_auth2_consent_session.py +5 -3
  161. ory_client/models/o_auth2_consent_session_expires_at.py +2 -2
  162. ory_client/models/o_auth2_login_request.py +3 -3
  163. ory_client/models/o_auth2_logout_request.py +9 -4
  164. ory_client/models/o_auth2_redirect_to.py +2 -2
  165. ory_client/models/o_auth2_token_exchange.py +2 -2
  166. ory_client/models/oidc_configuration.py +5 -5
  167. ory_client/models/oidc_user_info.py +2 -2
  168. ory_client/models/organization.py +2 -2
  169. ory_client/models/organization_body.py +2 -2
  170. ory_client/models/pagination.py +2 -2
  171. ory_client/models/pagination_headers.py +2 -2
  172. ory_client/models/parse_error.py +2 -2
  173. ory_client/models/patch_identities_body.py +5 -5
  174. ory_client/models/perform_native_logout_body.py +2 -2
  175. ory_client/models/permissions_on_workspace.py +2 -2
  176. ory_client/models/plan.py +2 -2
  177. ory_client/models/plan_details.py +5 -5
  178. ory_client/models/post_check_permission_body.py +2 -2
  179. ory_client/models/post_check_permission_or_error_body.py +2 -2
  180. ory_client/models/project.py +5 -5
  181. ory_client/models/project_api_key.py +5 -3
  182. ory_client/models/project_branding.py +5 -5
  183. ory_client/models/project_branding_colors.py +2 -2
  184. ory_client/models/project_branding_theme.py +5 -5
  185. ory_client/models/project_cors.py +2 -2
  186. ory_client/models/project_events_datapoint.py +5 -5
  187. ory_client/models/project_host.py +2 -2
  188. ory_client/models/project_member.py +6 -4
  189. ory_client/models/project_metadata.py +5 -5
  190. ory_client/models/project_service_identity.py +2 -2
  191. ory_client/models/project_service_o_auth2.py +2 -2
  192. ory_client/models/project_service_permission.py +2 -2
  193. ory_client/models/project_services.py +2 -2
  194. ory_client/models/provider.py +113 -0
  195. ory_client/models/quota_usage.py +8 -6
  196. ory_client/models/recovery_code_for_identity.py +2 -2
  197. ory_client/models/recovery_flow.py +5 -5
  198. ory_client/models/recovery_flow_state.py +3 -3
  199. ory_client/models/recovery_identity_address.py +2 -2
  200. ory_client/models/recovery_link_for_identity.py +2 -2
  201. ory_client/models/registration_flow.py +5 -5
  202. ory_client/models/registration_flow_state.py +3 -3
  203. ory_client/models/reject_o_auth2_request.py +2 -2
  204. ory_client/models/relation_query.py +2 -2
  205. ory_client/models/relationship.py +2 -2
  206. ory_client/models/relationship_namespaces.py +5 -5
  207. ory_client/models/relationship_patch.py +2 -2
  208. ory_client/models/relationships.py +5 -5
  209. ory_client/models/rfc6749_error_json.py +2 -2
  210. ory_client/models/schema_patch.py +2 -2
  211. ory_client/models/self_service_flow_expired_error.py +2 -2
  212. ory_client/models/session.py +8 -8
  213. ory_client/models/session_activity_datapoint.py +2 -2
  214. ory_client/models/session_authentication_method.py +2 -2
  215. ory_client/models/session_device.py +2 -2
  216. ory_client/models/set_active_project_in_console_body.py +2 -2
  217. ory_client/models/set_custom_domain_body.py +2 -2
  218. ory_client/models/set_event_stream_body.py +2 -2
  219. ory_client/models/set_project.py +2 -2
  220. ory_client/models/set_project_branding_theme_body.py +2 -2
  221. ory_client/models/settings_flow.py +5 -5
  222. ory_client/models/settings_flow_state.py +3 -3
  223. ory_client/models/source_position.py +2 -2
  224. ory_client/models/subject_set.py +2 -2
  225. ory_client/models/subscription.py +2 -2
  226. ory_client/models/successful_code_exchange_response.py +2 -2
  227. ory_client/models/successful_native_login.py +5 -5
  228. ory_client/models/successful_native_registration.py +5 -5
  229. ory_client/models/successful_project_update.py +5 -5
  230. ory_client/models/tax_line_item.py +2 -2
  231. ory_client/models/time_interval.py +2 -2
  232. ory_client/models/token_pagination.py +2 -2
  233. ory_client/models/token_pagination_headers.py +2 -2
  234. ory_client/models/token_pagination_request_parameters.py +2 -2
  235. ory_client/models/token_pagination_response_headers.py +2 -2
  236. ory_client/models/trust_o_auth2_jwt_grant_issuer.py +2 -2
  237. ory_client/models/trusted_o_auth2_jwt_grant_issuer.py +2 -2
  238. ory_client/models/trusted_o_auth2_jwt_grant_json_web_key.py +2 -2
  239. ory_client/models/ui_container.py +8 -8
  240. ory_client/models/ui_node.py +8 -8
  241. ory_client/models/ui_node_anchor_attributes.py +2 -2
  242. ory_client/models/ui_node_attributes.py +4 -4
  243. ory_client/models/ui_node_image_attributes.py +2 -2
  244. ory_client/models/ui_node_input_attributes.py +32 -6
  245. ory_client/models/ui_node_meta.py +2 -2
  246. ory_client/models/ui_node_script_attributes.py +2 -2
  247. ory_client/models/ui_node_text_attributes.py +2 -2
  248. ory_client/models/ui_text.py +2 -2
  249. ory_client/models/update_fedcm_flow_body.py +105 -0
  250. ory_client/models/update_identity_body.py +2 -2
  251. ory_client/models/update_login_flow_body.py +35 -11
  252. ory_client/models/update_login_flow_with_code_method.py +5 -3
  253. ory_client/models/update_login_flow_with_identifier_first_method.py +107 -0
  254. ory_client/models/update_login_flow_with_lookup_secret_method.py +2 -2
  255. ory_client/models/update_login_flow_with_oidc_method.py +3 -3
  256. ory_client/models/update_login_flow_with_passkey_method.py +2 -2
  257. ory_client/models/update_login_flow_with_password_method.py +2 -2
  258. ory_client/models/update_login_flow_with_totp_method.py +2 -2
  259. ory_client/models/update_login_flow_with_web_authn_method.py +2 -2
  260. ory_client/models/update_recovery_flow_body.py +4 -4
  261. ory_client/models/update_recovery_flow_with_code_method.py +2 -2
  262. ory_client/models/update_recovery_flow_with_link_method.py +2 -2
  263. ory_client/models/update_registration_flow_body.py +36 -12
  264. ory_client/models/update_registration_flow_with_code_method.py +2 -2
  265. ory_client/models/update_registration_flow_with_oidc_method.py +3 -3
  266. ory_client/models/update_registration_flow_with_passkey_method.py +2 -2
  267. ory_client/models/update_registration_flow_with_password_method.py +2 -2
  268. ory_client/models/update_registration_flow_with_profile_method.py +14 -4
  269. ory_client/models/update_registration_flow_with_web_authn_method.py +2 -2
  270. ory_client/models/update_settings_flow_body.py +4 -4
  271. ory_client/models/update_settings_flow_with_lookup_method.py +2 -2
  272. ory_client/models/update_settings_flow_with_oidc_method.py +2 -2
  273. ory_client/models/update_settings_flow_with_passkey_method.py +2 -2
  274. ory_client/models/update_settings_flow_with_password_method.py +2 -2
  275. ory_client/models/update_settings_flow_with_profile_method.py +2 -2
  276. ory_client/models/update_settings_flow_with_totp_method.py +2 -2
  277. ory_client/models/update_settings_flow_with_web_authn_method.py +2 -2
  278. ory_client/models/update_subscription_body.py +2 -2
  279. ory_client/models/update_verification_flow_body.py +4 -4
  280. ory_client/models/update_verification_flow_with_code_method.py +2 -2
  281. ory_client/models/update_verification_flow_with_link_method.py +2 -2
  282. ory_client/models/update_workspace_body.py +2 -2
  283. ory_client/models/usage.py +2 -2
  284. ory_client/models/verifiable_credential_priming_response.py +2 -2
  285. ory_client/models/verifiable_credential_proof.py +2 -2
  286. ory_client/models/verifiable_credential_response.py +2 -2
  287. ory_client/models/verifiable_identity_address.py +2 -2
  288. ory_client/models/verification_flow.py +2 -2
  289. ory_client/models/verification_flow_state.py +3 -3
  290. ory_client/models/version.py +2 -2
  291. ory_client/models/warning.py +2 -2
  292. ory_client/models/workspace.py +2 -2
  293. ory_client/models/workspace_api_key.py +6 -4
  294. ory_client/rest.py +5 -3
  295. ory_client-1.17.1.dist-info/METADATA +18 -0
  296. ory_client-1.17.1.dist-info/RECORD +302 -0
  297. {ory_client-1.12.2.dist-info → ory_client-1.17.1.dist-info}/WHEEL +1 -1
  298. ory_client-1.12.2.dist-info/METADATA +0 -19
  299. ory_client-1.12.2.dist-info/RECORD +0 -289
  300. {ory_client-1.12.2.dist-info → ory_client-1.17.1.dist-info}/LICENSE +0 -0
  301. {ory_client-1.12.2.dist-info → ory_client-1.17.1.dist-info}/top_level.txt +0 -0
@@ -3,9 +3,9 @@
3
3
  """
4
4
  Ory APIs
5
5
 
6
- Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
6
+ # Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
7
7
 
8
- The version of the OpenAPI document: v1.12.2
8
+ The version of the OpenAPI document: v1.17.1
9
9
  Contact: support@ory.sh
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -18,7 +18,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union
18
18
  from typing_extensions import Annotated
19
19
 
20
20
  from pydantic import Field, StrictBool, StrictInt, StrictStr, field_validator
21
- from typing import List, Optional
21
+ from typing import Any, Dict, List, Optional
22
22
  from typing_extensions import Annotated
23
23
  from ory_client.models.batch_patch_identities_response import BatchPatchIdentitiesResponse
24
24
  from ory_client.models.create_identity_body import CreateIdentityBody
@@ -272,7 +272,9 @@ class IdentityApi:
272
272
  _query_params: List[Tuple[str, str]] = []
273
273
  _header_params: Dict[str, Optional[str]] = _headers or {}
274
274
  _form_params: List[Tuple[str, str]] = []
275
- _files: Dict[str, str] = {}
275
+ _files: Dict[
276
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
277
+ ] = {}
276
278
  _body_params: Optional[bytes] = None
277
279
 
278
280
  # process the path parameters
@@ -285,11 +287,12 @@ class IdentityApi:
285
287
 
286
288
 
287
289
  # set the HTTP header `Accept`
288
- _header_params['Accept'] = self.api_client.select_header_accept(
289
- [
290
- 'application/json'
291
- ]
292
- )
290
+ if 'Accept' not in _header_params:
291
+ _header_params['Accept'] = self.api_client.select_header_accept(
292
+ [
293
+ 'application/json'
294
+ ]
295
+ )
293
296
 
294
297
  # set the HTTP header `Content-Type`
295
298
  if _content_type:
@@ -549,7 +552,9 @@ class IdentityApi:
549
552
  _query_params: List[Tuple[str, str]] = []
550
553
  _header_params: Dict[str, Optional[str]] = _headers or {}
551
554
  _form_params: List[Tuple[str, str]] = []
552
- _files: Dict[str, str] = {}
555
+ _files: Dict[
556
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
557
+ ] = {}
553
558
  _body_params: Optional[bytes] = None
554
559
 
555
560
  # process the path parameters
@@ -562,11 +567,12 @@ class IdentityApi:
562
567
 
563
568
 
564
569
  # set the HTTP header `Accept`
565
- _header_params['Accept'] = self.api_client.select_header_accept(
566
- [
567
- 'application/json'
568
- ]
569
- )
570
+ if 'Accept' not in _header_params:
571
+ _header_params['Accept'] = self.api_client.select_header_accept(
572
+ [
573
+ 'application/json'
574
+ ]
575
+ )
570
576
 
571
577
  # set the HTTP header `Content-Type`
572
578
  if _content_type:
@@ -826,7 +832,9 @@ class IdentityApi:
826
832
  _query_params: List[Tuple[str, str]] = []
827
833
  _header_params: Dict[str, Optional[str]] = _headers or {}
828
834
  _form_params: List[Tuple[str, str]] = []
829
- _files: Dict[str, str] = {}
835
+ _files: Dict[
836
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
837
+ ] = {}
830
838
  _body_params: Optional[bytes] = None
831
839
 
832
840
  # process the path parameters
@@ -839,11 +847,12 @@ class IdentityApi:
839
847
 
840
848
 
841
849
  # set the HTTP header `Accept`
842
- _header_params['Accept'] = self.api_client.select_header_accept(
843
- [
844
- 'application/json'
845
- ]
846
- )
850
+ if 'Accept' not in _header_params:
851
+ _header_params['Accept'] = self.api_client.select_header_accept(
852
+ [
853
+ 'application/json'
854
+ ]
855
+ )
847
856
 
848
857
  # set the HTTP header `Content-Type`
849
858
  if _content_type:
@@ -1116,7 +1125,9 @@ class IdentityApi:
1116
1125
  _query_params: List[Tuple[str, str]] = []
1117
1126
  _header_params: Dict[str, Optional[str]] = _headers or {}
1118
1127
  _form_params: List[Tuple[str, str]] = []
1119
- _files: Dict[str, str] = {}
1128
+ _files: Dict[
1129
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1130
+ ] = {}
1120
1131
  _body_params: Optional[bytes] = None
1121
1132
 
1122
1133
  # process the path parameters
@@ -1133,11 +1144,12 @@ class IdentityApi:
1133
1144
 
1134
1145
 
1135
1146
  # set the HTTP header `Accept`
1136
- _header_params['Accept'] = self.api_client.select_header_accept(
1137
- [
1138
- 'application/json'
1139
- ]
1140
- )
1147
+ if 'Accept' not in _header_params:
1148
+ _header_params['Accept'] = self.api_client.select_header_accept(
1149
+ [
1150
+ 'application/json'
1151
+ ]
1152
+ )
1141
1153
 
1142
1154
  # set the HTTP header `Content-Type`
1143
1155
  if _content_type:
@@ -1394,7 +1406,9 @@ class IdentityApi:
1394
1406
  _query_params: List[Tuple[str, str]] = []
1395
1407
  _header_params: Dict[str, Optional[str]] = _headers or {}
1396
1408
  _form_params: List[Tuple[str, str]] = []
1397
- _files: Dict[str, str] = {}
1409
+ _files: Dict[
1410
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1411
+ ] = {}
1398
1412
  _body_params: Optional[bytes] = None
1399
1413
 
1400
1414
  # process the path parameters
@@ -1407,11 +1421,12 @@ class IdentityApi:
1407
1421
 
1408
1422
 
1409
1423
  # set the HTTP header `Accept`
1410
- _header_params['Accept'] = self.api_client.select_header_accept(
1411
- [
1412
- 'application/json'
1413
- ]
1414
- )
1424
+ if 'Accept' not in _header_params:
1425
+ _header_params['Accept'] = self.api_client.select_header_accept(
1426
+ [
1427
+ 'application/json'
1428
+ ]
1429
+ )
1415
1430
 
1416
1431
 
1417
1432
  # authentication setting
@@ -1441,7 +1456,7 @@ class IdentityApi:
1441
1456
  def delete_identity_credentials(
1442
1457
  self,
1443
1458
  id: Annotated[StrictStr, Field(description="ID is the identity's ID.")],
1444
- type: Annotated[StrictStr, Field(description="Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode")],
1459
+ type: Annotated[StrictStr, Field(description="Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile saml CredentialsTypeSAML link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode")],
1445
1460
  identifier: Annotated[Optional[StrictStr], Field(description="Identifier is the identifier of the OIDC credential to delete. Find the identifier by calling the `GET /admin/identities/{id}?include_credential=oidc` endpoint.")] = None,
1446
1461
  _request_timeout: Union[
1447
1462
  None,
@@ -1462,7 +1477,7 @@ class IdentityApi:
1462
1477
 
1463
1478
  :param id: ID is the identity's ID. (required)
1464
1479
  :type id: str
1465
- :param type: Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode (required)
1480
+ :param type: Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile saml CredentialsTypeSAML link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode (required)
1466
1481
  :type type: str
1467
1482
  :param identifier: Identifier is the identifier of the OIDC credential to delete. Find the identifier by calling the `GET /admin/identities/{id}?include_credential=oidc` endpoint.
1468
1483
  :type identifier: str
@@ -1517,7 +1532,7 @@ class IdentityApi:
1517
1532
  def delete_identity_credentials_with_http_info(
1518
1533
  self,
1519
1534
  id: Annotated[StrictStr, Field(description="ID is the identity's ID.")],
1520
- type: Annotated[StrictStr, Field(description="Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode")],
1535
+ type: Annotated[StrictStr, Field(description="Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile saml CredentialsTypeSAML link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode")],
1521
1536
  identifier: Annotated[Optional[StrictStr], Field(description="Identifier is the identifier of the OIDC credential to delete. Find the identifier by calling the `GET /admin/identities/{id}?include_credential=oidc` endpoint.")] = None,
1522
1537
  _request_timeout: Union[
1523
1538
  None,
@@ -1538,7 +1553,7 @@ class IdentityApi:
1538
1553
 
1539
1554
  :param id: ID is the identity's ID. (required)
1540
1555
  :type id: str
1541
- :param type: Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode (required)
1556
+ :param type: Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile saml CredentialsTypeSAML link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode (required)
1542
1557
  :type type: str
1543
1558
  :param identifier: Identifier is the identifier of the OIDC credential to delete. Find the identifier by calling the `GET /admin/identities/{id}?include_credential=oidc` endpoint.
1544
1559
  :type identifier: str
@@ -1593,7 +1608,7 @@ class IdentityApi:
1593
1608
  def delete_identity_credentials_without_preload_content(
1594
1609
  self,
1595
1610
  id: Annotated[StrictStr, Field(description="ID is the identity's ID.")],
1596
- type: Annotated[StrictStr, Field(description="Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode")],
1611
+ type: Annotated[StrictStr, Field(description="Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile saml CredentialsTypeSAML link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode")],
1597
1612
  identifier: Annotated[Optional[StrictStr], Field(description="Identifier is the identifier of the OIDC credential to delete. Find the identifier by calling the `GET /admin/identities/{id}?include_credential=oidc` endpoint.")] = None,
1598
1613
  _request_timeout: Union[
1599
1614
  None,
@@ -1614,7 +1629,7 @@ class IdentityApi:
1614
1629
 
1615
1630
  :param id: ID is the identity's ID. (required)
1616
1631
  :type id: str
1617
- :param type: Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode (required)
1632
+ :param type: Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile saml CredentialsTypeSAML link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode (required)
1618
1633
  :type type: str
1619
1634
  :param identifier: Identifier is the identifier of the OIDC credential to delete. Find the identifier by calling the `GET /admin/identities/{id}?include_credential=oidc` endpoint.
1620
1635
  :type identifier: str
@@ -1681,7 +1696,9 @@ class IdentityApi:
1681
1696
  _query_params: List[Tuple[str, str]] = []
1682
1697
  _header_params: Dict[str, Optional[str]] = _headers or {}
1683
1698
  _form_params: List[Tuple[str, str]] = []
1684
- _files: Dict[str, str] = {}
1699
+ _files: Dict[
1700
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1701
+ ] = {}
1685
1702
  _body_params: Optional[bytes] = None
1686
1703
 
1687
1704
  # process the path parameters
@@ -1700,11 +1717,12 @@ class IdentityApi:
1700
1717
 
1701
1718
 
1702
1719
  # set the HTTP header `Accept`
1703
- _header_params['Accept'] = self.api_client.select_header_accept(
1704
- [
1705
- 'application/json'
1706
- ]
1707
- )
1720
+ if 'Accept' not in _header_params:
1721
+ _header_params['Accept'] = self.api_client.select_header_accept(
1722
+ [
1723
+ 'application/json'
1724
+ ]
1725
+ )
1708
1726
 
1709
1727
 
1710
1728
  # authentication setting
@@ -1954,7 +1972,9 @@ class IdentityApi:
1954
1972
  _query_params: List[Tuple[str, str]] = []
1955
1973
  _header_params: Dict[str, Optional[str]] = _headers or {}
1956
1974
  _form_params: List[Tuple[str, str]] = []
1957
- _files: Dict[str, str] = {}
1975
+ _files: Dict[
1976
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1977
+ ] = {}
1958
1978
  _body_params: Optional[bytes] = None
1959
1979
 
1960
1980
  # process the path parameters
@@ -1967,11 +1987,12 @@ class IdentityApi:
1967
1987
 
1968
1988
 
1969
1989
  # set the HTTP header `Accept`
1970
- _header_params['Accept'] = self.api_client.select_header_accept(
1971
- [
1972
- 'application/json'
1973
- ]
1974
- )
1990
+ if 'Accept' not in _header_params:
1991
+ _header_params['Accept'] = self.api_client.select_header_accept(
1992
+ [
1993
+ 'application/json'
1994
+ ]
1995
+ )
1975
1996
 
1976
1997
 
1977
1998
  # authentication setting
@@ -2218,7 +2239,9 @@ class IdentityApi:
2218
2239
  _query_params: List[Tuple[str, str]] = []
2219
2240
  _header_params: Dict[str, Optional[str]] = _headers or {}
2220
2241
  _form_params: List[Tuple[str, str]] = []
2221
- _files: Dict[str, str] = {}
2242
+ _files: Dict[
2243
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2244
+ ] = {}
2222
2245
  _body_params: Optional[bytes] = None
2223
2246
 
2224
2247
  # process the path parameters
@@ -2231,11 +2254,12 @@ class IdentityApi:
2231
2254
 
2232
2255
 
2233
2256
  # set the HTTP header `Accept`
2234
- _header_params['Accept'] = self.api_client.select_header_accept(
2235
- [
2236
- 'application/json'
2237
- ]
2238
- )
2257
+ if 'Accept' not in _header_params:
2258
+ _header_params['Accept'] = self.api_client.select_header_accept(
2259
+ [
2260
+ 'application/json'
2261
+ ]
2262
+ )
2239
2263
 
2240
2264
 
2241
2265
  # authentication setting
@@ -2485,7 +2509,9 @@ class IdentityApi:
2485
2509
  _query_params: List[Tuple[str, str]] = []
2486
2510
  _header_params: Dict[str, Optional[str]] = _headers or {}
2487
2511
  _form_params: List[Tuple[str, str]] = []
2488
- _files: Dict[str, str] = {}
2512
+ _files: Dict[
2513
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2514
+ ] = {}
2489
2515
  _body_params: Optional[bytes] = None
2490
2516
 
2491
2517
  # process the path parameters
@@ -2498,11 +2524,12 @@ class IdentityApi:
2498
2524
 
2499
2525
 
2500
2526
  # set the HTTP header `Accept`
2501
- _header_params['Accept'] = self.api_client.select_header_accept(
2502
- [
2503
- 'application/json'
2504
- ]
2505
- )
2527
+ if 'Accept' not in _header_params:
2528
+ _header_params['Accept'] = self.api_client.select_header_accept(
2529
+ [
2530
+ 'application/json'
2531
+ ]
2532
+ )
2506
2533
 
2507
2534
 
2508
2535
  # authentication setting
@@ -2760,7 +2787,9 @@ class IdentityApi:
2760
2787
  _query_params: List[Tuple[str, str]] = []
2761
2788
  _header_params: Dict[str, Optional[str]] = _headers or {}
2762
2789
  _form_params: List[Tuple[str, str]] = []
2763
- _files: Dict[str, str] = {}
2790
+ _files: Dict[
2791
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2792
+ ] = {}
2764
2793
  _body_params: Optional[bytes] = None
2765
2794
 
2766
2795
  # process the path parameters
@@ -2777,11 +2806,12 @@ class IdentityApi:
2777
2806
 
2778
2807
 
2779
2808
  # set the HTTP header `Accept`
2780
- _header_params['Accept'] = self.api_client.select_header_accept(
2781
- [
2782
- 'application/json'
2783
- ]
2784
- )
2809
+ if 'Accept' not in _header_params:
2810
+ _header_params['Accept'] = self.api_client.select_header_accept(
2811
+ [
2812
+ 'application/json'
2813
+ ]
2814
+ )
2785
2815
 
2786
2816
 
2787
2817
  # authentication setting
@@ -3025,7 +3055,9 @@ class IdentityApi:
3025
3055
  _query_params: List[Tuple[str, str]] = []
3026
3056
  _header_params: Dict[str, Optional[str]] = _headers or {}
3027
3057
  _form_params: List[Tuple[str, str]] = []
3028
- _files: Dict[str, str] = {}
3058
+ _files: Dict[
3059
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
3060
+ ] = {}
3029
3061
  _body_params: Optional[bytes] = None
3030
3062
 
3031
3063
  # process the path parameters
@@ -3038,11 +3070,12 @@ class IdentityApi:
3038
3070
 
3039
3071
 
3040
3072
  # set the HTTP header `Accept`
3041
- _header_params['Accept'] = self.api_client.select_header_accept(
3042
- [
3043
- 'application/json'
3044
- ]
3045
- )
3073
+ if 'Accept' not in _header_params:
3074
+ _header_params['Accept'] = self.api_client.select_header_accept(
3075
+ [
3076
+ 'application/json'
3077
+ ]
3078
+ )
3046
3079
 
3047
3080
 
3048
3081
  # authentication setting
@@ -3299,7 +3332,9 @@ class IdentityApi:
3299
3332
  _query_params: List[Tuple[str, str]] = []
3300
3333
  _header_params: Dict[str, Optional[str]] = _headers or {}
3301
3334
  _form_params: List[Tuple[str, str]] = []
3302
- _files: Dict[str, str] = {}
3335
+ _files: Dict[
3336
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
3337
+ ] = {}
3303
3338
  _body_params: Optional[bytes] = None
3304
3339
 
3305
3340
  # process the path parameters
@@ -3316,11 +3351,12 @@ class IdentityApi:
3316
3351
 
3317
3352
 
3318
3353
  # set the HTTP header `Accept`
3319
- _header_params['Accept'] = self.api_client.select_header_accept(
3320
- [
3321
- 'application/json'
3322
- ]
3323
- )
3354
+ if 'Accept' not in _header_params:
3355
+ _header_params['Accept'] = self.api_client.select_header_accept(
3356
+ [
3357
+ 'application/json'
3358
+ ]
3359
+ )
3324
3360
 
3325
3361
 
3326
3362
  # authentication setting
@@ -3354,10 +3390,11 @@ class IdentityApi:
3354
3390
  page_size: Annotated[Optional[Annotated[int, Field(le=500, strict=True, ge=1)]], Field(description="Page Size This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).")] = None,
3355
3391
  page_token: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).")] = None,
3356
3392
  consistency: Annotated[Optional[StrictStr], Field(description="Read Consistency Level (preview) The read consistency level determines the consistency guarantee for reads: strong (slow): The read is guaranteed to return the most recent data committed at the start of the read. eventual (very fast): The result will return data that is about 4.8 seconds old. The default consistency guarantee can be changed in the Ory Network Console or using the Ory CLI with `ory patch project --replace '/previews/default_read_consistency_level=\"strong\"'`. Setting the default consistency level to `eventual` may cause regressions in the future as we add consistency controls to more APIs. Currently, the following APIs will be affected by this setting: `GET /admin/identities` This feature is in preview and only available in Ory Network. ConsistencyLevelUnset ConsistencyLevelUnset is the unset / default consistency level. strong ConsistencyLevelStrong ConsistencyLevelStrong is the strong consistency level. eventual ConsistencyLevelEventual ConsistencyLevelEventual is the eventual consistency level using follower read timestamps.")] = None,
3357
- ids: Annotated[Optional[List[StrictStr]], Field(description="List of ids used to filter identities. If this list is empty, then no filter will be applied.")] = None,
3393
+ ids: Annotated[Optional[List[StrictStr]], Field(description="Retrieve multiple identities by their IDs. This parameter has the following limitations: Duplicate or non-existent IDs are ignored. The order of returned IDs may be different from the request. This filter does not support pagination. You must implement your own pagination as the maximum number of items returned by this endpoint may not exceed a certain threshold (currently 500).")] = None,
3358
3394
  credentials_identifier: Annotated[Optional[StrictStr], Field(description="CredentialsIdentifier is the identifier (username, email) of the credentials to look up using exact match. Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used.")] = None,
3359
3395
  preview_credentials_identifier_similar: Annotated[Optional[StrictStr], Field(description="This is an EXPERIMENTAL parameter that WILL CHANGE. Do NOT rely on consistent, deterministic behavior. THIS PARAMETER WILL BE REMOVED IN AN UPCOMING RELEASE WITHOUT ANY MIGRATION PATH. CredentialsIdentifierSimilar is the (partial) identifier (username, email) of the credentials to look up using similarity search. Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used.")] = None,
3360
3396
  include_credential: Annotated[Optional[List[StrictStr]], Field(description="Include Credentials in Response Include any credential, for example `password` or `oidc`, in the response. When set to `oidc`, This will return the initial OAuth 2.0 Access Token, OAuth 2.0 Refresh Token and the OpenID Connect ID Token if available.")] = None,
3397
+ organization_id: Annotated[Optional[StrictStr], Field(description="List identities that belong to a specific organization.")] = None,
3361
3398
  _request_timeout: Union[
3362
3399
  None,
3363
3400
  Annotated[StrictFloat, Field(gt=0)],
@@ -3373,7 +3410,7 @@ class IdentityApi:
3373
3410
  ) -> List[Identity]:
3374
3411
  """List Identities
3375
3412
 
3376
- Lists all [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model) in the system.
3413
+ Lists all [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model) in the system. Note: filters cannot be combined.
3377
3414
 
3378
3415
  :param per_page: Deprecated Items per Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This is the number of items per page.
3379
3416
  :type per_page: int
@@ -3385,7 +3422,7 @@ class IdentityApi:
3385
3422
  :type page_token: str
3386
3423
  :param consistency: Read Consistency Level (preview) The read consistency level determines the consistency guarantee for reads: strong (slow): The read is guaranteed to return the most recent data committed at the start of the read. eventual (very fast): The result will return data that is about 4.8 seconds old. The default consistency guarantee can be changed in the Ory Network Console or using the Ory CLI with `ory patch project --replace '/previews/default_read_consistency_level=\"strong\"'`. Setting the default consistency level to `eventual` may cause regressions in the future as we add consistency controls to more APIs. Currently, the following APIs will be affected by this setting: `GET /admin/identities` This feature is in preview and only available in Ory Network. ConsistencyLevelUnset ConsistencyLevelUnset is the unset / default consistency level. strong ConsistencyLevelStrong ConsistencyLevelStrong is the strong consistency level. eventual ConsistencyLevelEventual ConsistencyLevelEventual is the eventual consistency level using follower read timestamps.
3387
3424
  :type consistency: str
3388
- :param ids: List of ids used to filter identities. If this list is empty, then no filter will be applied.
3425
+ :param ids: Retrieve multiple identities by their IDs. This parameter has the following limitations: Duplicate or non-existent IDs are ignored. The order of returned IDs may be different from the request. This filter does not support pagination. You must implement your own pagination as the maximum number of items returned by this endpoint may not exceed a certain threshold (currently 500).
3389
3426
  :type ids: List[str]
3390
3427
  :param credentials_identifier: CredentialsIdentifier is the identifier (username, email) of the credentials to look up using exact match. Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used.
3391
3428
  :type credentials_identifier: str
@@ -3393,6 +3430,8 @@ class IdentityApi:
3393
3430
  :type preview_credentials_identifier_similar: str
3394
3431
  :param include_credential: Include Credentials in Response Include any credential, for example `password` or `oidc`, in the response. When set to `oidc`, This will return the initial OAuth 2.0 Access Token, OAuth 2.0 Refresh Token and the OpenID Connect ID Token if available.
3395
3432
  :type include_credential: List[str]
3433
+ :param organization_id: List identities that belong to a specific organization.
3434
+ :type organization_id: str
3396
3435
  :param _request_timeout: timeout setting for this request. If one
3397
3436
  number provided, it will be total request
3398
3437
  timeout. It can also be a pair (tuple) of
@@ -3425,6 +3464,7 @@ class IdentityApi:
3425
3464
  credentials_identifier=credentials_identifier,
3426
3465
  preview_credentials_identifier_similar=preview_credentials_identifier_similar,
3427
3466
  include_credential=include_credential,
3467
+ organization_id=organization_id,
3428
3468
  _request_auth=_request_auth,
3429
3469
  _content_type=_content_type,
3430
3470
  _headers=_headers,
@@ -3453,10 +3493,11 @@ class IdentityApi:
3453
3493
  page_size: Annotated[Optional[Annotated[int, Field(le=500, strict=True, ge=1)]], Field(description="Page Size This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).")] = None,
3454
3494
  page_token: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).")] = None,
3455
3495
  consistency: Annotated[Optional[StrictStr], Field(description="Read Consistency Level (preview) The read consistency level determines the consistency guarantee for reads: strong (slow): The read is guaranteed to return the most recent data committed at the start of the read. eventual (very fast): The result will return data that is about 4.8 seconds old. The default consistency guarantee can be changed in the Ory Network Console or using the Ory CLI with `ory patch project --replace '/previews/default_read_consistency_level=\"strong\"'`. Setting the default consistency level to `eventual` may cause regressions in the future as we add consistency controls to more APIs. Currently, the following APIs will be affected by this setting: `GET /admin/identities` This feature is in preview and only available in Ory Network. ConsistencyLevelUnset ConsistencyLevelUnset is the unset / default consistency level. strong ConsistencyLevelStrong ConsistencyLevelStrong is the strong consistency level. eventual ConsistencyLevelEventual ConsistencyLevelEventual is the eventual consistency level using follower read timestamps.")] = None,
3456
- ids: Annotated[Optional[List[StrictStr]], Field(description="List of ids used to filter identities. If this list is empty, then no filter will be applied.")] = None,
3496
+ ids: Annotated[Optional[List[StrictStr]], Field(description="Retrieve multiple identities by their IDs. This parameter has the following limitations: Duplicate or non-existent IDs are ignored. The order of returned IDs may be different from the request. This filter does not support pagination. You must implement your own pagination as the maximum number of items returned by this endpoint may not exceed a certain threshold (currently 500).")] = None,
3457
3497
  credentials_identifier: Annotated[Optional[StrictStr], Field(description="CredentialsIdentifier is the identifier (username, email) of the credentials to look up using exact match. Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used.")] = None,
3458
3498
  preview_credentials_identifier_similar: Annotated[Optional[StrictStr], Field(description="This is an EXPERIMENTAL parameter that WILL CHANGE. Do NOT rely on consistent, deterministic behavior. THIS PARAMETER WILL BE REMOVED IN AN UPCOMING RELEASE WITHOUT ANY MIGRATION PATH. CredentialsIdentifierSimilar is the (partial) identifier (username, email) of the credentials to look up using similarity search. Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used.")] = None,
3459
3499
  include_credential: Annotated[Optional[List[StrictStr]], Field(description="Include Credentials in Response Include any credential, for example `password` or `oidc`, in the response. When set to `oidc`, This will return the initial OAuth 2.0 Access Token, OAuth 2.0 Refresh Token and the OpenID Connect ID Token if available.")] = None,
3500
+ organization_id: Annotated[Optional[StrictStr], Field(description="List identities that belong to a specific organization.")] = None,
3460
3501
  _request_timeout: Union[
3461
3502
  None,
3462
3503
  Annotated[StrictFloat, Field(gt=0)],
@@ -3472,7 +3513,7 @@ class IdentityApi:
3472
3513
  ) -> ApiResponse[List[Identity]]:
3473
3514
  """List Identities
3474
3515
 
3475
- Lists all [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model) in the system.
3516
+ Lists all [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model) in the system. Note: filters cannot be combined.
3476
3517
 
3477
3518
  :param per_page: Deprecated Items per Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This is the number of items per page.
3478
3519
  :type per_page: int
@@ -3484,7 +3525,7 @@ class IdentityApi:
3484
3525
  :type page_token: str
3485
3526
  :param consistency: Read Consistency Level (preview) The read consistency level determines the consistency guarantee for reads: strong (slow): The read is guaranteed to return the most recent data committed at the start of the read. eventual (very fast): The result will return data that is about 4.8 seconds old. The default consistency guarantee can be changed in the Ory Network Console or using the Ory CLI with `ory patch project --replace '/previews/default_read_consistency_level=\"strong\"'`. Setting the default consistency level to `eventual` may cause regressions in the future as we add consistency controls to more APIs. Currently, the following APIs will be affected by this setting: `GET /admin/identities` This feature is in preview and only available in Ory Network. ConsistencyLevelUnset ConsistencyLevelUnset is the unset / default consistency level. strong ConsistencyLevelStrong ConsistencyLevelStrong is the strong consistency level. eventual ConsistencyLevelEventual ConsistencyLevelEventual is the eventual consistency level using follower read timestamps.
3486
3527
  :type consistency: str
3487
- :param ids: List of ids used to filter identities. If this list is empty, then no filter will be applied.
3528
+ :param ids: Retrieve multiple identities by their IDs. This parameter has the following limitations: Duplicate or non-existent IDs are ignored. The order of returned IDs may be different from the request. This filter does not support pagination. You must implement your own pagination as the maximum number of items returned by this endpoint may not exceed a certain threshold (currently 500).
3488
3529
  :type ids: List[str]
3489
3530
  :param credentials_identifier: CredentialsIdentifier is the identifier (username, email) of the credentials to look up using exact match. Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used.
3490
3531
  :type credentials_identifier: str
@@ -3492,6 +3533,8 @@ class IdentityApi:
3492
3533
  :type preview_credentials_identifier_similar: str
3493
3534
  :param include_credential: Include Credentials in Response Include any credential, for example `password` or `oidc`, in the response. When set to `oidc`, This will return the initial OAuth 2.0 Access Token, OAuth 2.0 Refresh Token and the OpenID Connect ID Token if available.
3494
3535
  :type include_credential: List[str]
3536
+ :param organization_id: List identities that belong to a specific organization.
3537
+ :type organization_id: str
3495
3538
  :param _request_timeout: timeout setting for this request. If one
3496
3539
  number provided, it will be total request
3497
3540
  timeout. It can also be a pair (tuple) of
@@ -3524,6 +3567,7 @@ class IdentityApi:
3524
3567
  credentials_identifier=credentials_identifier,
3525
3568
  preview_credentials_identifier_similar=preview_credentials_identifier_similar,
3526
3569
  include_credential=include_credential,
3570
+ organization_id=organization_id,
3527
3571
  _request_auth=_request_auth,
3528
3572
  _content_type=_content_type,
3529
3573
  _headers=_headers,
@@ -3552,10 +3596,11 @@ class IdentityApi:
3552
3596
  page_size: Annotated[Optional[Annotated[int, Field(le=500, strict=True, ge=1)]], Field(description="Page Size This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).")] = None,
3553
3597
  page_token: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).")] = None,
3554
3598
  consistency: Annotated[Optional[StrictStr], Field(description="Read Consistency Level (preview) The read consistency level determines the consistency guarantee for reads: strong (slow): The read is guaranteed to return the most recent data committed at the start of the read. eventual (very fast): The result will return data that is about 4.8 seconds old. The default consistency guarantee can be changed in the Ory Network Console or using the Ory CLI with `ory patch project --replace '/previews/default_read_consistency_level=\"strong\"'`. Setting the default consistency level to `eventual` may cause regressions in the future as we add consistency controls to more APIs. Currently, the following APIs will be affected by this setting: `GET /admin/identities` This feature is in preview and only available in Ory Network. ConsistencyLevelUnset ConsistencyLevelUnset is the unset / default consistency level. strong ConsistencyLevelStrong ConsistencyLevelStrong is the strong consistency level. eventual ConsistencyLevelEventual ConsistencyLevelEventual is the eventual consistency level using follower read timestamps.")] = None,
3555
- ids: Annotated[Optional[List[StrictStr]], Field(description="List of ids used to filter identities. If this list is empty, then no filter will be applied.")] = None,
3599
+ ids: Annotated[Optional[List[StrictStr]], Field(description="Retrieve multiple identities by their IDs. This parameter has the following limitations: Duplicate or non-existent IDs are ignored. The order of returned IDs may be different from the request. This filter does not support pagination. You must implement your own pagination as the maximum number of items returned by this endpoint may not exceed a certain threshold (currently 500).")] = None,
3556
3600
  credentials_identifier: Annotated[Optional[StrictStr], Field(description="CredentialsIdentifier is the identifier (username, email) of the credentials to look up using exact match. Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used.")] = None,
3557
3601
  preview_credentials_identifier_similar: Annotated[Optional[StrictStr], Field(description="This is an EXPERIMENTAL parameter that WILL CHANGE. Do NOT rely on consistent, deterministic behavior. THIS PARAMETER WILL BE REMOVED IN AN UPCOMING RELEASE WITHOUT ANY MIGRATION PATH. CredentialsIdentifierSimilar is the (partial) identifier (username, email) of the credentials to look up using similarity search. Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used.")] = None,
3558
3602
  include_credential: Annotated[Optional[List[StrictStr]], Field(description="Include Credentials in Response Include any credential, for example `password` or `oidc`, in the response. When set to `oidc`, This will return the initial OAuth 2.0 Access Token, OAuth 2.0 Refresh Token and the OpenID Connect ID Token if available.")] = None,
3603
+ organization_id: Annotated[Optional[StrictStr], Field(description="List identities that belong to a specific organization.")] = None,
3559
3604
  _request_timeout: Union[
3560
3605
  None,
3561
3606
  Annotated[StrictFloat, Field(gt=0)],
@@ -3571,7 +3616,7 @@ class IdentityApi:
3571
3616
  ) -> RESTResponseType:
3572
3617
  """List Identities
3573
3618
 
3574
- Lists all [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model) in the system.
3619
+ Lists all [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model) in the system. Note: filters cannot be combined.
3575
3620
 
3576
3621
  :param per_page: Deprecated Items per Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This is the number of items per page.
3577
3622
  :type per_page: int
@@ -3583,7 +3628,7 @@ class IdentityApi:
3583
3628
  :type page_token: str
3584
3629
  :param consistency: Read Consistency Level (preview) The read consistency level determines the consistency guarantee for reads: strong (slow): The read is guaranteed to return the most recent data committed at the start of the read. eventual (very fast): The result will return data that is about 4.8 seconds old. The default consistency guarantee can be changed in the Ory Network Console or using the Ory CLI with `ory patch project --replace '/previews/default_read_consistency_level=\"strong\"'`. Setting the default consistency level to `eventual` may cause regressions in the future as we add consistency controls to more APIs. Currently, the following APIs will be affected by this setting: `GET /admin/identities` This feature is in preview and only available in Ory Network. ConsistencyLevelUnset ConsistencyLevelUnset is the unset / default consistency level. strong ConsistencyLevelStrong ConsistencyLevelStrong is the strong consistency level. eventual ConsistencyLevelEventual ConsistencyLevelEventual is the eventual consistency level using follower read timestamps.
3585
3630
  :type consistency: str
3586
- :param ids: List of ids used to filter identities. If this list is empty, then no filter will be applied.
3631
+ :param ids: Retrieve multiple identities by their IDs. This parameter has the following limitations: Duplicate or non-existent IDs are ignored. The order of returned IDs may be different from the request. This filter does not support pagination. You must implement your own pagination as the maximum number of items returned by this endpoint may not exceed a certain threshold (currently 500).
3587
3632
  :type ids: List[str]
3588
3633
  :param credentials_identifier: CredentialsIdentifier is the identifier (username, email) of the credentials to look up using exact match. Only one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used.
3589
3634
  :type credentials_identifier: str
@@ -3591,6 +3636,8 @@ class IdentityApi:
3591
3636
  :type preview_credentials_identifier_similar: str
3592
3637
  :param include_credential: Include Credentials in Response Include any credential, for example `password` or `oidc`, in the response. When set to `oidc`, This will return the initial OAuth 2.0 Access Token, OAuth 2.0 Refresh Token and the OpenID Connect ID Token if available.
3593
3638
  :type include_credential: List[str]
3639
+ :param organization_id: List identities that belong to a specific organization.
3640
+ :type organization_id: str
3594
3641
  :param _request_timeout: timeout setting for this request. If one
3595
3642
  number provided, it will be total request
3596
3643
  timeout. It can also be a pair (tuple) of
@@ -3623,6 +3670,7 @@ class IdentityApi:
3623
3670
  credentials_identifier=credentials_identifier,
3624
3671
  preview_credentials_identifier_similar=preview_credentials_identifier_similar,
3625
3672
  include_credential=include_credential,
3673
+ organization_id=organization_id,
3626
3674
  _request_auth=_request_auth,
3627
3675
  _content_type=_content_type,
3628
3676
  _headers=_headers,
@@ -3650,6 +3698,7 @@ class IdentityApi:
3650
3698
  credentials_identifier,
3651
3699
  preview_credentials_identifier_similar,
3652
3700
  include_credential,
3701
+ organization_id,
3653
3702
  _request_auth,
3654
3703
  _content_type,
3655
3704
  _headers,
@@ -3667,7 +3716,9 @@ class IdentityApi:
3667
3716
  _query_params: List[Tuple[str, str]] = []
3668
3717
  _header_params: Dict[str, Optional[str]] = _headers or {}
3669
3718
  _form_params: List[Tuple[str, str]] = []
3670
- _files: Dict[str, str] = {}
3719
+ _files: Dict[
3720
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
3721
+ ] = {}
3671
3722
  _body_params: Optional[bytes] = None
3672
3723
 
3673
3724
  # process the path parameters
@@ -3708,17 +3759,22 @@ class IdentityApi:
3708
3759
 
3709
3760
  _query_params.append(('include_credential', include_credential))
3710
3761
 
3762
+ if organization_id is not None:
3763
+
3764
+ _query_params.append(('organization_id', organization_id))
3765
+
3711
3766
  # process the header parameters
3712
3767
  # process the form parameters
3713
3768
  # process the body parameter
3714
3769
 
3715
3770
 
3716
3771
  # set the HTTP header `Accept`
3717
- _header_params['Accept'] = self.api_client.select_header_accept(
3718
- [
3719
- 'application/json'
3720
- ]
3721
- )
3772
+ if 'Accept' not in _header_params:
3773
+ _header_params['Accept'] = self.api_client.select_header_accept(
3774
+ [
3775
+ 'application/json'
3776
+ ]
3777
+ )
3722
3778
 
3723
3779
 
3724
3780
  # authentication setting
@@ -3998,7 +4054,9 @@ class IdentityApi:
3998
4054
  _query_params: List[Tuple[str, str]] = []
3999
4055
  _header_params: Dict[str, Optional[str]] = _headers or {}
4000
4056
  _form_params: List[Tuple[str, str]] = []
4001
- _files: Dict[str, str] = {}
4057
+ _files: Dict[
4058
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
4059
+ ] = {}
4002
4060
  _body_params: Optional[bytes] = None
4003
4061
 
4004
4062
  # process the path parameters
@@ -4025,11 +4083,12 @@ class IdentityApi:
4025
4083
 
4026
4084
 
4027
4085
  # set the HTTP header `Accept`
4028
- _header_params['Accept'] = self.api_client.select_header_accept(
4029
- [
4030
- 'application/json'
4031
- ]
4032
- )
4086
+ if 'Accept' not in _header_params:
4087
+ _header_params['Accept'] = self.api_client.select_header_accept(
4088
+ [
4089
+ 'application/json'
4090
+ ]
4091
+ )
4033
4092
 
4034
4093
 
4035
4094
  # authentication setting
@@ -4340,7 +4399,9 @@ class IdentityApi:
4340
4399
  _query_params: List[Tuple[str, str]] = []
4341
4400
  _header_params: Dict[str, Optional[str]] = _headers or {}
4342
4401
  _form_params: List[Tuple[str, str]] = []
4343
- _files: Dict[str, str] = {}
4402
+ _files: Dict[
4403
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
4404
+ ] = {}
4344
4405
  _body_params: Optional[bytes] = None
4345
4406
 
4346
4407
  # process the path parameters
@@ -4373,11 +4434,12 @@ class IdentityApi:
4373
4434
 
4374
4435
 
4375
4436
  # set the HTTP header `Accept`
4376
- _header_params['Accept'] = self.api_client.select_header_accept(
4377
- [
4378
- 'application/json'
4379
- ]
4380
- )
4437
+ if 'Accept' not in _header_params:
4438
+ _header_params['Accept'] = self.api_client.select_header_accept(
4439
+ [
4440
+ 'application/json'
4441
+ ]
4442
+ )
4381
4443
 
4382
4444
 
4383
4445
  # authentication setting
@@ -4661,7 +4723,9 @@ class IdentityApi:
4661
4723
  _query_params: List[Tuple[str, str]] = []
4662
4724
  _header_params: Dict[str, Optional[str]] = _headers or {}
4663
4725
  _form_params: List[Tuple[str, str]] = []
4664
- _files: Dict[str, str] = {}
4726
+ _files: Dict[
4727
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
4728
+ ] = {}
4665
4729
  _body_params: Optional[bytes] = None
4666
4730
 
4667
4731
  # process the path parameters
@@ -4688,11 +4752,12 @@ class IdentityApi:
4688
4752
 
4689
4753
 
4690
4754
  # set the HTTP header `Accept`
4691
- _header_params['Accept'] = self.api_client.select_header_accept(
4692
- [
4693
- 'application/json'
4694
- ]
4695
- )
4755
+ if 'Accept' not in _header_params:
4756
+ _header_params['Accept'] = self.api_client.select_header_accept(
4757
+ [
4758
+ 'application/json'
4759
+ ]
4760
+ )
4696
4761
 
4697
4762
 
4698
4763
  # authentication setting
@@ -4956,7 +5021,9 @@ class IdentityApi:
4956
5021
  _query_params: List[Tuple[str, str]] = []
4957
5022
  _header_params: Dict[str, Optional[str]] = _headers or {}
4958
5023
  _form_params: List[Tuple[str, str]] = []
4959
- _files: Dict[str, str] = {}
5024
+ _files: Dict[
5025
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
5026
+ ] = {}
4960
5027
  _body_params: Optional[bytes] = None
4961
5028
 
4962
5029
  # process the path parameters
@@ -4971,11 +5038,12 @@ class IdentityApi:
4971
5038
 
4972
5039
 
4973
5040
  # set the HTTP header `Accept`
4974
- _header_params['Accept'] = self.api_client.select_header_accept(
4975
- [
4976
- 'application/json'
4977
- ]
4978
- )
5041
+ if 'Accept' not in _header_params:
5042
+ _header_params['Accept'] = self.api_client.select_header_accept(
5043
+ [
5044
+ 'application/json'
5045
+ ]
5046
+ )
4979
5047
 
4980
5048
  # set the HTTP header `Content-Type`
4981
5049
  if _content_type:
@@ -5251,7 +5319,9 @@ class IdentityApi:
5251
5319
  _query_params: List[Tuple[str, str]] = []
5252
5320
  _header_params: Dict[str, Optional[str]] = _headers or {}
5253
5321
  _form_params: List[Tuple[str, str]] = []
5254
- _files: Dict[str, str] = {}
5322
+ _files: Dict[
5323
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
5324
+ ] = {}
5255
5325
  _body_params: Optional[bytes] = None
5256
5326
 
5257
5327
  # process the path parameters
@@ -5266,11 +5336,12 @@ class IdentityApi:
5266
5336
 
5267
5337
 
5268
5338
  # set the HTTP header `Accept`
5269
- _header_params['Accept'] = self.api_client.select_header_accept(
5270
- [
5271
- 'application/json'
5272
- ]
5273
- )
5339
+ if 'Accept' not in _header_params:
5340
+ _header_params['Accept'] = self.api_client.select_header_accept(
5341
+ [
5342
+ 'application/json'
5343
+ ]
5344
+ )
5274
5345
 
5275
5346
  # set the HTTP header `Content-Type`
5276
5347
  if _content_type: