@canopy-io/node 0.27.0 → 0.28.0

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.
package/dist/index.d.cts CHANGED
@@ -698,7 +698,7 @@ interface paths {
698
698
  put?: never;
699
699
  /**
700
700
  * Force-reset an identity's MFA, as an admin recovery action
701
- * @description Force-resets an identity's MFA enrollment (server-to-server admin), clearing all enrolled factors across the Account so the identity must re-enroll on next sign-in. Gated by an Environment-scoped membership check and audited. Returns `204 No Content`; returns `404` when the identity has no membership in this Environment.
701
+ * @description Force-resets an identity's MFA enrollment (server-to-server admin), clearing all enrolled factors across the Account so the identity must re-enroll on next sign-in, and stamping `mfa_admin_reset_at` when there was at least one factor to clear. Gated by an Environment-scoped membership check and audited. Returns `204 No Content`; returns `404` when the identity has no membership in this Environment.
702
702
  */
703
703
  post: operations["ApiIdentitiesController_resetIdentityMfa"];
704
704
  delete?: never;
@@ -716,7 +716,7 @@ interface paths {
716
716
  };
717
717
  /**
718
718
  * Read an identity's auth state for backend decisioning
719
- * @description Returns an identity's authentication state for backend decisioning in a single call: `is_active`, `email_verified` (+ timestamp), `password_set`, lockout flags (`locked`, `locked_until`, `failed_login_attempts`), and MFA enrollment (`mfa_enrolled`, `mfa_factor_count`, `mfa_admin_reset_at`). This is a read — no audit row is written. Returns `404` when the identity has no membership in this Environment.
719
+ * @description Returns an identity's authentication state for backend decisioning in a single call: `is_active`, `email_verified` (+ timestamp), `password_set`, lockout flags (`locked`, `locked_until`, `failed_login_attempts`), and MFA enrollment (`mfa_enrolled`, `mfa_factor_count`, and `mfa_admin_reset_at`, the last reset that removed a factor). This is a read — no audit row is written. Returns `404` when the identity has no membership in this Environment.
720
720
  */
721
721
  get: operations["ApiIdentitiesController_getIdentityAuthState"];
722
722
  put?: never;
@@ -1530,7 +1530,7 @@ interface paths {
1530
1530
  put?: never;
1531
1531
  /**
1532
1532
  * Create an organization
1533
- * @description Creates an organization from a `name` (slug auto-derived, display-only) with optional `description`, `metadata`, and `external_id` (your own id for it, unique per Environment; a repeat answers `409 organization.external_id_conflict`, so create-then-store is idempotent). The Environment must have organizations enabled (`409 organization.not_enabled` otherwise); the container is independent of the access model, so flat and hierarchy Environments both hold organizations. The organization receives a role of its own for each of the Environment's organization role templates, in the same transaction. `initial_member` names its first administrator, who holds the copy of the default admin template: an identity of the Environment (`identity_id`) becomes a member, or an `email` is invited. Send one of the two (`400 organization.initial_member_invalid`); without a default admin template it answers `400 role_template.default_admin_missing`, and an unknown identity `404 identity.not_found`. In the Console, naming one also requires the `env_identities.manage` capability, and `production_identities.access` in a production Environment. Requires the `hierarchy.manage` permission and emits `organization.created`, a `role.created` per copied role, and the member or invite event.
1533
+ * @description Creates an organization from a `name` (slug auto-derived, display-only) with optional `description`, `metadata`, and `external_id` (your own id for it, unique per Environment; a repeat answers `409 organization.external_id_conflict`, so create-then-store is idempotent). The Account's plan must include organizations (`403 plan_feature_unavailable` otherwise), and a plan that includes them up to a limit refuses one past it (`409 plan_limit_exceeded`). The Environment must have organizations enabled (`409 organization.not_enabled` otherwise); the container is independent of the access model, so flat and hierarchy Environments both hold organizations. The organization receives a role of its own for each of the Environment's organization role templates, in the same transaction. `initial_member` names its first administrator, who holds the copy of the default admin template: an identity of the Environment (`identity_id`) becomes a member, or an `email` is invited. Send one of the two (`400 organization.initial_member_invalid`); without a default admin template it answers `400 role_template.default_admin_missing`, and an unknown identity `404 identity.not_found`. In the Console, naming one also requires the `env_identities.manage` capability, and `production_identities.access` in a production Environment. Requires the `hierarchy.manage` permission and emits `organization.created`, a `role.created` per copied role, and the member or invite event.
1534
1534
  */
1535
1535
  post: operations["ApiOrganizationsController_createOrganization"];
1536
1536
  /**
@@ -2238,7 +2238,7 @@ interface paths {
2238
2238
  put?: never;
2239
2239
  /**
2240
2240
  * Create an integration
2241
- * @description Creates a machine OAuth client owned by the organization and pinned to it, with the `client_credentials` grant and the `permissions` scope. Its tokens name the organization and the Environment's default audience. The `client_secret` is returned in this response only. Refused while the Environment has no default audience (`409 organization.integration_audience_missing`), once the organization holds as many as it may (`409 organization.integration_limit`), for a name another of its integrations has (`409 organization.integration_name_taken`), and past the plan's machine-credential allowance (`409 plan_limit_exceeded`).
2241
+ * @description Creates a machine OAuth client owned by the organization and pinned to it, with the `client_credentials` grant and the `permissions` scope. Its tokens name the organization and the Environment's default audience. The `client_secret` is returned in this response only. Refused while the Environment has no default audience (`409 organization.integration_audience_missing`), once the organization holds as many as it may (`409 organization.integration_limit`), for a name another of its integrations has (`409 organization.integration_name_taken`), and past the plan's machine-credential allowance (`409 plan_limit_exceeded`); an organization's own administrator, signed in with their own token, is answered `403` (`auth.not_available`) there instead, which names no plan.
2242
2242
  */
2243
2243
  post: operations["ApiOrganizationIntegrationsController_create"];
2244
2244
  delete?: never;
@@ -3381,7 +3381,7 @@ interface paths {
3381
3381
  get?: never;
3382
3382
  /**
3383
3383
  * Add or change a social sign-in provider
3384
- * @description Adds or changes the social provider `:providerSlug` of the request's Environment. A named provider is saved under its own name (`google`, `github`, `microsoft`, `apple`); a custom OpenID Connect provider (`kind` `oidc`) under a name of the developer's choosing, at most 20 per Environment. Adding one needs `client_id` and the client secret, or for Apple `apple_team_id`, `apple_key_id` and `apple_private_key`; a custom provider also needs `display_name` and `discovery_url`. On a change, an omitted secret keeps the stored one. A custom provider's discovery document is fetched when it is added or its URL changes, through the same guard as SSO discovery, and refused unless its issuer matches the URL, it names the authorization, token and key endpoints, it supports the code flow, and it signs ID tokens with an asymmetric algorithm. A custom provider can be enabled only after a test sign-in through it has completed, which runs in the Console's browser; changing its discovery URL or its client clears that and turns it off. Send `If-Match` with the provider's `version` to refuse a change made since it was read. Each enabled provider is a sign-in method an organization's policy can narrow. Emits `environment.social_provider.set`, recording which settings changed, never their values.
3384
+ * @description Adds or changes the social provider `:providerSlug` of the request's Environment. A named provider is saved under its own name (`google`, `github`, `microsoft`, `apple`); a custom OpenID Connect provider (`kind` `oidc`) under a name of the developer's choosing, at most 20 per Environment. Adding one needs `client_id` and the client secret, or for Apple `apple_team_id`, `apple_key_id` and `apple_private_key`; a custom provider also needs `display_name` and `discovery_url`. On a change, an omitted secret keeps the stored one. A custom provider's discovery document is fetched when it is added or its URL changes, through the same guard as SSO discovery, and refused unless its issuer matches the URL, it names the authorization, token and key endpoints, it supports the code flow, and it signs ID tokens with an asymmetric algorithm. A custom provider can be enabled only after a test sign-in through it has completed, which runs in the Console's browser; changing its discovery URL or its client clears that and turns it off, and a provider turned off this way holds its place (`holds_place`) in the Environment's count until it is turned on again or saved with `enabled: false`. The Account's plan may limit how many providers an Environment counts: every enabled provider and every provider holding its place. Turning on a provider the Environment does not already count, once it counts as many as the limit, answers `409 plan_limit_exceeded`; every other save, turning one off and removing one are accepted on every plan, and a plan change never turns a provider off. Send `If-Match` with the provider's `version` to refuse a change made since it was read. Each enabled provider is a sign-in method an organization's policy can narrow. Emits `environment.social_provider.set`, recording which settings changed, never their values.
3385
3385
  */
3386
3386
  put: operations["ApiSocialProvidersController_upsert"];
3387
3387
  post?: never;
@@ -3517,7 +3517,7 @@ interface paths {
3517
3517
  get?: never;
3518
3518
  /**
3519
3519
  * Switch the Environment's organizations container on or off
3520
- * @description Switches the organizations container of the request's Environment on or off with `{ enabled }`. The container is independent of the access model: a flat Environment holds one membership role per identity per organization, a hierarchy Environment hangs its tree beneath each organization. Enabling reserves the tier directly under the root for organizations, so it returns `409` while nodes already sit there (revert to flat first) and `400` while a hierarchy schema is not rooted at `organization`. Disabling returns `409` while organizations remain (delete them first) or while a hierarchy schema is configured (revert to flat first). A no-op when the setting is unchanged. Emits `environment.organizations_enabled` or `environment.organizations_disabled`.
3520
+ * @description Switches the organizations container of the request's Environment on or off with `{ enabled }`. The container is independent of the access model: a flat Environment holds one membership role per identity per organization, a hierarchy Environment hangs its tree beneath each organization. Enabling needs a plan that includes organizations (`403 plan_feature_unavailable` otherwise, asked before the checks that follow), and reserves the tier directly under the root for organizations, so it returns `409` while nodes already sit there (revert to flat first) and `400` while a hierarchy schema is not rooted at `organization`. Disabling returns `409` while organizations remain (delete them first) or while a hierarchy schema is configured (revert to flat first). A no-op when the setting is unchanged. Emits `environment.organizations_enabled` or `environment.organizations_disabled`.
3521
3521
  */
3522
3522
  put: operations["ApiAccessModelController_setOrganizations"];
3523
3523
  post?: never;
@@ -4824,7 +4824,7 @@ interface paths {
4824
4824
  };
4825
4825
  /**
4826
4826
  * Get the Account's plan-feature entitlements
4827
- * @description Returns the Account's plan-feature map — one boolean per gated feature (`sso`, `scim`, `audit_destinations`, `hosted_page_customization`) — honoring the effective (grace-period) plan and Enterprise overrides. Requires `billing.view`. Usage counts and plan identity stay on the `billing.view`-gated usage endpoint.
4827
+ * @description Returns the Account's plan answer: `features`, one boolean per gated feature (`sso`, `scim`, `audit_destinations`, `brand_removal`, `hosted_page_customization`, `organizations`, `mfa`, `passkey_sign_in`); `limits`, the limits the dashboards show, each a number or null for no limit; and `required_plans`, for each feature that is off and each limit that is a number, the lowest plan above the Account's that turns it on or sets a higher limit (null when no plan does). Honors the effective (grace-period) plan and Enterprise overrides. Requires `billing.view`. Usage counts stay on the usage endpoint.
4828
4828
  */
4829
4829
  get: operations["ApiBillingController_getEntitlements"];
4830
4830
  put?: never;
@@ -5262,7 +5262,7 @@ interface components {
5262
5262
  /** @description The organization the session is acting in, the source of its tokens' `org_id` claim. Null when the Environment's organizations container is off or the identity belongs to none. */
5263
5263
  active_org_node_id?: string | null;
5264
5264
  };
5265
- MfaFactorResponseDto: {
5265
+ IdentityEnrolledFactorResponseDto: {
5266
5266
  /** Format: uuid */
5267
5267
  id: string;
5268
5268
  /** @enum {string} */
@@ -5281,6 +5281,8 @@ interface components {
5281
5281
  * @example acme.com
5282
5282
  */
5283
5283
  webauthn_rp_id: string | null;
5284
+ /** @description Whether the factor was enrolled as a second factor. An authenticator app always is. A passkey is `false` when it was added only to sign in with, which happens where the Account's plan does not include multi-factor authentication and nothing else asks for a second factor; such a passkey is still challenged as a second factor wherever MFA is required. */
5285
+ second_factor: boolean;
5284
5286
  };
5285
5287
  MfaRequiredEnvironmentResponseDto: {
5286
5288
  /** Format: uuid */
@@ -5291,14 +5293,14 @@ interface components {
5291
5293
  application_slug: string;
5292
5294
  };
5293
5295
  AccountIdentityMfaResponseDto: {
5294
- factors: components["schemas"]["MfaFactorResponseDto"][];
5296
+ factors: components["schemas"]["IdentityEnrolledFactorResponseDto"][];
5295
5297
  /** @description Generation number of the active recovery-code batch. 0 means no batch has ever been issued; 1+ tracks regenerations. */
5296
5298
  recovery_codes_generation: number;
5297
5299
  /** @description Unredeemed code count in the current generation. */
5298
5300
  recovery_codes_remaining: number;
5299
5301
  /**
5300
5302
  * Format: date-time
5301
- * @description Timestamp of the most recent admin force-reset. `null` if MFA has never been reset for this identity.
5303
+ * @description Timestamp of the most recent admin force-reset that removed at least one factor. `null` if no reset has ever removed one; a reset of someone who held no factor leaves it as it was.
5302
5304
  */
5303
5305
  mfa_admin_reset_at?: string | null;
5304
5306
  /** @description The Environments where the identity's next sign-in asks for a second factor: the Environment requires MFA, or an organization the identity belongs to there does. Empty when MFA is required nowhere they sign in, so after a reset they sign in without one. On the public API it lists the key's own Environment at most. */
@@ -5321,12 +5323,13 @@ interface components {
5321
5323
  locked_until?: string | null;
5322
5324
  /** @description Consecutive failed login attempts on record. */
5323
5325
  failed_login_attempts: number;
5324
- /** @description Whether the identity has ≥ 1 enrolled MFA factor. */
5326
+ /** @description Whether the identity holds a second factor: a factor enrolled as one, or a passkey where the Environment or one of the identity's organizations there requires MFA. A passkey added only to sign in with does not count elsewhere. */
5325
5327
  mfa_enrolled: boolean;
5328
+ /** @description How many second factors the identity holds, counted as `mfa_enrolled` counts them. */
5326
5329
  mfa_factor_count: number;
5327
5330
  /**
5328
5331
  * Format: date-time
5329
- * @description Timestamp of the most recent admin MFA force-reset. `null` if never reset.
5332
+ * @description Timestamp of the most recent admin MFA force-reset that removed at least one factor. `null` if no reset has ever removed one.
5330
5333
  */
5331
5334
  mfa_admin_reset_at?: string | null;
5332
5335
  };
@@ -5853,10 +5856,16 @@ interface components {
5853
5856
  has_hierarchy: boolean;
5854
5857
  /** @description Whether the organization may create its own integrations: the Environment's `organization_integrations_enabled` is on, it has a default audience, which every integration's token names, and `organization_integration_role_ids` names at least one role */
5855
5858
  integrations_enabled: boolean;
5856
- /** @description Whether the Account's plan includes single sign-on. Without it the organization's connection and domain routes answer `403 plan_feature_unavailable`. */
5859
+ /** @description Whether the Account's plan includes single sign-on. Without it the organization's routes that add, change or turn on a connection, a binding or a domain answer `403 plan_feature_unavailable`; reading and removing what it holds still answer. */
5857
5860
  plan_includes_sso: boolean;
5858
- /** @description Whether the Account's plan includes directory sync. Without it the organization's directory routes answer `403 plan_feature_unavailable`. */
5861
+ /** @description Whether the Account's plan includes directory sync. Without it the organization's routes that create a directory, mint or replace a token, map a group or set the grantable roles answer `403 plan_feature_unavailable`; reading and removing what it holds still answer. */
5859
5862
  plan_includes_scim: boolean;
5863
+ /** @description Whether the Account's plan includes multi-factor authentication. Without it the organization's policy may turn `mfa_required` off or loosen the rules around it, but a save that turns it on or tightens it while it is on answers `403`. */
5864
+ plan_includes_mfa: boolean;
5865
+ /** @description Whether the organization holds a single sign-on connection of its own or a binding to a developer's connection. While it does, it can read and remove them, and its domain claims, whatever `plan_includes_sso` answers. A domain claim alone does not count: it signs nobody in. */
5866
+ sso_in_use: boolean;
5867
+ /** @description Whether the organization holds a live SCIM directory. While it does, it can read and remove it, its tokens and its group mappings whatever `plan_includes_scim` answers. */
5868
+ directory_in_use: boolean;
5860
5869
  };
5861
5870
  RoleResponseDto: {
5862
5871
  id: string;
@@ -8070,7 +8079,7 @@ interface components {
8070
8079
  password_login_enabled?: boolean;
8071
8080
  /** @description Enable passwordless email-OTP login for this Environment. Off by default (opt-in); persisted under `env.settings.email_otp_login_enabled`. When on, identities can sign in with an emailed 6-digit code via /login/email-otp/*. */
8072
8081
  email_otp_login_enabled?: boolean;
8073
- /** @description Enable passkey sign-in for this Environment. Off by default (opt-in); persisted under `env.settings.passkey_login_enabled`. When on, an identity holding a passkey signs in with it alone via /login/passkey/*, and the passkey counts as its second factor. */
8082
+ /** @description Enable passkey sign-in for this Environment. Off by default (opt-in); persisted under `env.settings.passkey_login_enabled`. When on, an identity holding a passkey signs in with it alone via /login/passkey/*, and the passkey counts as its second factor. Turning it on answers `403` (`plan_feature_unavailable`) when the Account's plan does not include passkey sign-in; turning it off is always accepted, and an Environment that has it on keeps it on any plan. */
8074
8083
  passkey_login_enabled?: boolean;
8075
8084
  /**
8076
8085
  * @description The languages this Environment offers on the hosted pages and in the emails it sends, as language tags. Each must be one of `available_languages` in the response, and the list must hold `default_language`. An Environment that has never saved a list offers `default_language` alone, and a new `default_language` sent without `languages` replaces it. A page or email is only ever written in an offered language.
@@ -8271,7 +8280,7 @@ interface components {
8271
8280
  password_login_enabled?: boolean;
8272
8281
  /** @description Enable passwordless email-OTP login for this Environment. Off by default (opt-in); persisted under `env.settings.email_otp_login_enabled`. When on, identities can sign in with an emailed 6-digit code via /login/email-otp/*. */
8273
8282
  email_otp_login_enabled?: boolean;
8274
- /** @description Enable passkey sign-in for this Environment. Off by default (opt-in); persisted under `env.settings.passkey_login_enabled`. When on, an identity holding a passkey signs in with it alone via /login/passkey/*, and the passkey counts as its second factor. */
8283
+ /** @description Enable passkey sign-in for this Environment. Off by default (opt-in); persisted under `env.settings.passkey_login_enabled`. When on, an identity holding a passkey signs in with it alone via /login/passkey/*, and the passkey counts as its second factor. Turning it on answers `403` (`plan_feature_unavailable`) when the Account's plan does not include passkey sign-in; turning it off is always accepted, and an Environment that has it on keeps it on any plan. */
8275
8284
  passkey_login_enabled?: boolean;
8276
8285
  /**
8277
8286
  * @description The languages this Environment offers on the hosted pages and in the emails it sends, as language tags. Each must be one of `available_languages` in the response, and the list must hold `default_language`. An Environment that has never saved a list offers `default_language` alone, and a new `default_language` sent without `languages` replaces it. A page or email is only ever written in an offered language.
@@ -8359,6 +8368,8 @@ interface components {
8359
8368
  * @description When a test sign-in through a custom provider last completed. A custom provider can be enabled only while this is set.
8360
8369
  */
8361
8370
  verified_at: string | null;
8371
+ /** @description Whether this provider, though off, holds its place in the Environment's count of providers: a custom provider that was on until a change to its discovery URL or its client turned it off, waiting for its test sign-in. An Environment counts every enabled provider and every provider holding its place against the plan's limit on social providers in each Environment, and turning a provider on is refused once that count reaches the limit, unless the provider is one of them. Turning it on again, or saving it with `enabled: false`, ends it. */
8372
+ holds_place: boolean;
8362
8373
  /**
8363
8374
  * @description The redirect URI to register with the provider for this Environment's sign-ins.
8364
8375
  * @example https://auth.example.com/v1/identity/auth/social/google/callback
@@ -9376,6 +9387,14 @@ interface components {
9376
9387
  audit_destinations?: boolean;
9377
9388
  /** @description Hosted page customization beyond the product name, logo, favicon, the two colors and the three links: design settings, fonts, dark mode, layouts, text overrides, the customer's own content, custom CSS and page templates. */
9378
9389
  hosted_page_customization?: boolean;
9390
+ /** @description Organizations: on while the plan's organizations limit is not 0. */
9391
+ organizations?: boolean;
9392
+ /** @description Multi-factor authentication for end users: turning on a rule that requires a second factor, tightening one that is on, and adding a second factor from a session when nothing already asks for or holds one. A rule that is on and every factor already enrolled keep working without it. */
9393
+ mfa?: boolean;
9394
+ /** @description Passkey sign-in: turning it on for an Environment. An Environment that has it on keeps it without the feature, and its people keep signing in with their passkeys. */
9395
+ passkey_sign_in?: boolean;
9396
+ /** @description Removing the attribution mark: the hosted pages show no Canopy mark while the plan includes it. */
9397
+ brand_removal?: boolean;
9379
9398
  };
9380
9399
  UsageSummaryResponseDto: {
9381
9400
  account_id: string;
@@ -9387,8 +9406,61 @@ interface components {
9387
9406
  dimensions: components["schemas"]["UsageDimensionsDto"];
9388
9407
  features: components["schemas"]["PlanFeaturesDto"];
9389
9408
  };
9409
+ PlanLimitsDto: {
9410
+ /** @description How many social sign-in providers each Environment may count (every enabled provider and every custom provider holding its place while it waits for its test sign-in), or null for no limit */
9411
+ social_providers: number | null;
9412
+ };
9413
+ RequiredPlansDto: {
9414
+ /**
9415
+ * @description The plan that turns on single sign-on.
9416
+ * @enum {string|null}
9417
+ */
9418
+ sso?: "free" | "starter" | "pro" | "enterprise" | null;
9419
+ /**
9420
+ * @description The plan that turns on SCIM directory sync.
9421
+ * @enum {string|null}
9422
+ */
9423
+ scim?: "free" | "starter" | "pro" | "enterprise" | null;
9424
+ /**
9425
+ * @description The plan that turns on external audit-log destinations.
9426
+ * @enum {string|null}
9427
+ */
9428
+ audit_destinations?: "free" | "starter" | "pro" | "enterprise" | null;
9429
+ /**
9430
+ * @description The plan that turns on hosted page customization.
9431
+ * @enum {string|null}
9432
+ */
9433
+ hosted_page_customization?: "free" | "starter" | "pro" | "enterprise" | null;
9434
+ /**
9435
+ * @description The plan that turns on organizations.
9436
+ * @enum {string|null}
9437
+ */
9438
+ organizations?: "free" | "starter" | "pro" | "enterprise" | null;
9439
+ /**
9440
+ * @description The plan that turns on multi-factor authentication for end users.
9441
+ * @enum {string|null}
9442
+ */
9443
+ mfa?: "free" | "starter" | "pro" | "enterprise" | null;
9444
+ /**
9445
+ * @description The plan that turns on passkey sign-in.
9446
+ * @enum {string|null}
9447
+ */
9448
+ passkey_sign_in?: "free" | "starter" | "pro" | "enterprise" | null;
9449
+ /**
9450
+ * @description The plan that allows more social sign-in providers in each Environment.
9451
+ * @enum {string|null}
9452
+ */
9453
+ social_providers?: "free" | "starter" | "pro" | "enterprise" | null;
9454
+ /**
9455
+ * @description The plan that removes the attribution mark from the hosted pages.
9456
+ * @enum {string|null}
9457
+ */
9458
+ brand_removal?: "free" | "starter" | "pro" | "enterprise" | null;
9459
+ };
9390
9460
  EntitlementsResponseDto: {
9391
9461
  features: components["schemas"]["PlanFeaturesDto"];
9462
+ limits: components["schemas"]["PlanLimitsDto"];
9463
+ required_plans: components["schemas"]["RequiredPlansDto"];
9392
9464
  };
9393
9465
  PlanPriceDto: {
9394
9466
  /** @description Price in the smallest currency unit (cents for USD), as Stripe holds it. */
@@ -13779,7 +13851,7 @@ interface operations {
13779
13851
  };
13780
13852
  requestBody?: never;
13781
13853
  responses: {
13782
- /** @description Returns the identity's enrolled factors (TOTP and WebAuthn rows with redacted secrets), the current recovery-code generation count + remaining count, the most-recent admin-reset timestamp, and the Environments where their next sign-in asks for a second factor. */
13854
+ /** @description Returns the identity's enrolled factors (TOTP and WebAuthn rows with redacted secrets), the current recovery-code generation count + remaining count, the most recent admin reset that removed a factor, and the Environments where their next sign-in asks for a second factor. */
13783
13855
  200: {
13784
13856
  headers: {
13785
13857
  [name: string]: unknown;
@@ -13890,7 +13962,7 @@ interface operations {
13890
13962
  };
13891
13963
  requestBody?: never;
13892
13964
  responses: {
13893
- /** @description Hard-deletes every enrolled factor, marks the current recovery-code generation redeemed, deletes every trusted-device row, and stamps `mfa_admin_reset_at`. The identity must re-enroll on next login. */
13965
+ /** @description Hard-deletes every enrolled factor, marks the current recovery-code generation redeemed, deletes every trusted-device row, and, when the identity held at least one factor, stamps `mfa_admin_reset_at`; a reset of someone who held none clears the rest and stamps nothing. The identity must re-enroll on next login. */
13894
13966
  204: {
13895
13967
  headers: {
13896
13968
  [name: string]: unknown;
@@ -19900,7 +19972,7 @@ interface operations {
19900
19972
  "application/json": components["schemas"]["ErrorResponseDto"];
19901
19973
  };
19902
19974
  };
19903
- /** @description This token is not authorized for this endpoint (wrong principal type — e.g., admin token on identity-only endpoint, or vice versa) */
19975
+ /** @description The caller lacks `hierarchy.manage`, or the Account's plan does not include organizations (`plan_feature_unavailable`) */
19904
19976
  403: {
19905
19977
  headers: {
19906
19978
  [name: string]: unknown;
@@ -19911,10 +19983,10 @@ interface operations {
19911
19983
  * "error": {
19912
19984
  * "statusCode": 403,
19913
19985
  * "code": "auth.forbidden",
19914
- * "message": "This token is not authorized for this endpoint (wrong principal type — e.g., admin token on identity-only endpoint, or vice versa)",
19986
+ * "message": "The caller lacks `hierarchy.manage`, or the Account's plan does not include organizations (`plan_feature_unavailable`)",
19915
19987
  * "timestamp": "2026-04-20T12:00:00.000Z",
19916
19988
  * "path": "/api/v1/organizations",
19917
- * "method": "GET"
19989
+ * "method": "POST"
19918
19990
  * }
19919
19991
  * }
19920
19992
  */
@@ -19942,7 +20014,7 @@ interface operations {
19942
20014
  "application/json": components["schemas"]["ErrorResponseDto"];
19943
20015
  };
19944
20016
  };
19945
- /** @description Organizations are not enabled on this Environment, another organization already holds this external_id, or the plan's organization limit is reached. Also when a request with the same `Idempotency-Key` is still being processed (`idempotency.request_in_progress`): retry shortly. Or when one started and never recorded its outcome (`idempotency.outcome_unknown`): it is not run again, so check whether it took effect and use a new key */
20017
+ /** @description Organizations are not enabled on this Environment (`organization.not_enabled`), another organization already holds this external_id (`organization.external_id_conflict`), or the Account's plan includes organizations up to a limit and it is reached (`plan_limit_exceeded`, with the plan's `limit`). Also when a request with the same `Idempotency-Key` is still being processed (`idempotency.request_in_progress`): retry shortly. Or when one started and never recorded its outcome (`idempotency.outcome_unknown`): it is not run again, so check whether it took effect and use a new key */
19946
20018
  409: {
19947
20019
  headers: {
19948
20020
  [name: string]: unknown;
@@ -19953,7 +20025,7 @@ interface operations {
19953
20025
  * "error": {
19954
20026
  * "statusCode": 409,
19955
20027
  * "code": "request.conflict",
19956
- * "message": "Organizations are not enabled on this Environment, another organization already holds this external_id, or the plan's organization limit is reached. Also when a request with the same `Idempotency-Key` is still being processed (`idempotency.request_in_progress`): retry shortly. Or when one started and never recorded its outcome (`idempotency.outcome_unknown`): it is not run again, so check whether it took effect and use a new key",
20028
+ * "message": "Organizations are not enabled on this Environment (`organization.not_enabled`), another organization already holds this external_id (`organization.external_id_conflict`), or the Account's plan includes organizations up to a limit and it is reached (`plan_limit_exceeded`, with the plan's `limit`). Also when a request with the same `Idempotency-Key` is still being processed (`idempotency.request_in_progress`): retry shortly. Or when one started and never recorded its outcome (`idempotency.outcome_unknown`): it is not run again, so check whether it took effect and use a new key",
19957
20029
  * "timestamp": "2026-04-20T12:00:00.000Z",
19958
20030
  * "path": "/api/v1/organizations",
19959
20031
  * "method": "POST"
@@ -20765,7 +20837,7 @@ interface operations {
20765
20837
  "application/json": components["schemas"]["ErrorResponseDto"];
20766
20838
  };
20767
20839
  };
20768
- /** @description The caller lacks the permission this route checks, or the request turns `require_sso` on and the Account's plan does not include SSO (`plan_feature_unavailable`) */
20840
+ /** @description The caller lacks the permission this route checks, the request turns `require_sso` on and the Account's plan does not include SSO, or the request turns `mfa_required` on, or tightens the MFA rules while the organization's or its Environment's rule is on, and the plan does not include multi-factor authentication (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan */
20769
20841
  403: {
20770
20842
  headers: {
20771
20843
  [name: string]: unknown;
@@ -20776,7 +20848,7 @@ interface operations {
20776
20848
  * "error": {
20777
20849
  * "statusCode": 403,
20778
20850
  * "code": "auth.forbidden",
20779
- * "message": "The caller lacks the permission this route checks, or the request turns `require_sso` on and the Account's plan does not include SSO (`plan_feature_unavailable`)",
20851
+ * "message": "The caller lacks the permission this route checks, the request turns `require_sso` on and the Account's plan does not include SSO, or the request turns `mfa_required` on, or tightens the MFA rules while the organization's or its Environment's rule is on, and the plan does not include multi-factor authentication (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan",
20780
20852
  * "timestamp": "2026-04-20T12:00:00.000Z",
20781
20853
  * "path": "/api/v1/organizations/{id}/policy",
20782
20854
  * "method": "PATCH"
@@ -21027,7 +21099,7 @@ interface operations {
21027
21099
  "application/json": components["schemas"]["ErrorResponseDto"];
21028
21100
  };
21029
21101
  };
21030
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`) */
21102
+ /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan */
21031
21103
  403: {
21032
21104
  headers: {
21033
21105
  [name: string]: unknown;
@@ -21038,7 +21110,7 @@ interface operations {
21038
21110
  * "error": {
21039
21111
  * "statusCode": 403,
21040
21112
  * "code": "auth.forbidden",
21041
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`)",
21113
+ * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan",
21042
21114
  * "timestamp": "2026-04-20T12:00:00.000Z",
21043
21115
  * "path": "/api/v1/organizations/{id}/policy/sso-recovery-codes",
21044
21116
  * "method": "POST"
@@ -21201,7 +21273,7 @@ interface operations {
21201
21273
  "application/json": components["schemas"]["ErrorResponseDto"];
21202
21274
  };
21203
21275
  };
21204
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`) */
21276
+ /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan */
21205
21277
  403: {
21206
21278
  headers: {
21207
21279
  [name: string]: unknown;
@@ -21212,7 +21284,7 @@ interface operations {
21212
21284
  * "error": {
21213
21285
  * "statusCode": 403,
21214
21286
  * "code": "auth.forbidden",
21215
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`)",
21287
+ * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan",
21216
21288
  * "timestamp": "2026-04-20T12:00:00.000Z",
21217
21289
  * "path": "/api/v1/organizations/{id}/sso-connection/test",
21218
21290
  * "method": "POST"
@@ -21313,7 +21385,7 @@ interface operations {
21313
21385
  "application/json": components["schemas"]["ErrorResponseDto"];
21314
21386
  };
21315
21387
  };
21316
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`) */
21388
+ /** @description The caller lacks the permission this route checks */
21317
21389
  403: {
21318
21390
  headers: {
21319
21391
  [name: string]: unknown;
@@ -21324,7 +21396,7 @@ interface operations {
21324
21396
  * "error": {
21325
21397
  * "statusCode": 403,
21326
21398
  * "code": "auth.forbidden",
21327
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`)",
21399
+ * "message": "The caller lacks the permission this route checks",
21328
21400
  * "timestamp": "2026-04-20T12:00:00.000Z",
21329
21401
  * "path": "/api/v1/organizations/{id}/sso-connection/test/{testId}",
21330
21402
  * "method": "GET"
@@ -21424,7 +21496,7 @@ interface operations {
21424
21496
  "application/json": components["schemas"]["ErrorResponseDto"];
21425
21497
  };
21426
21498
  };
21427
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`) */
21499
+ /** @description The caller lacks the permission this route checks */
21428
21500
  403: {
21429
21501
  headers: {
21430
21502
  [name: string]: unknown;
@@ -21435,7 +21507,7 @@ interface operations {
21435
21507
  * "error": {
21436
21508
  * "statusCode": 403,
21437
21509
  * "code": "auth.forbidden",
21438
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`)",
21510
+ * "message": "The caller lacks the permission this route checks",
21439
21511
  * "timestamp": "2026-04-20T12:00:00.000Z",
21440
21512
  * "path": "/api/v1/organizations/{id}/domains",
21441
21513
  * "method": "GET"
@@ -21539,7 +21611,7 @@ interface operations {
21539
21611
  "application/json": components["schemas"]["ErrorResponseDto"];
21540
21612
  };
21541
21613
  };
21542
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`) */
21614
+ /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan */
21543
21615
  403: {
21544
21616
  headers: {
21545
21617
  [name: string]: unknown;
@@ -21550,7 +21622,7 @@ interface operations {
21550
21622
  * "error": {
21551
21623
  * "statusCode": 403,
21552
21624
  * "code": "auth.forbidden",
21553
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`)",
21625
+ * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan",
21554
21626
  * "timestamp": "2026-04-20T12:00:00.000Z",
21555
21627
  * "path": "/api/v1/organizations/{id}/domains",
21556
21628
  * "method": "POST"
@@ -21672,7 +21744,7 @@ interface operations {
21672
21744
  "application/json": components["schemas"]["ErrorResponseDto"];
21673
21745
  };
21674
21746
  };
21675
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`) */
21747
+ /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan */
21676
21748
  403: {
21677
21749
  headers: {
21678
21750
  [name: string]: unknown;
@@ -21683,7 +21755,7 @@ interface operations {
21683
21755
  * "error": {
21684
21756
  * "statusCode": 403,
21685
21757
  * "code": "auth.forbidden",
21686
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`)",
21758
+ * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan",
21687
21759
  * "timestamp": "2026-04-20T12:00:00.000Z",
21688
21760
  * "path": "/api/v1/organizations/{id}/domains/{domain}/verify",
21689
21761
  * "method": "POST"
@@ -21822,7 +21894,7 @@ interface operations {
21822
21894
  "application/json": components["schemas"]["ErrorResponseDto"];
21823
21895
  };
21824
21896
  };
21825
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`) */
21897
+ /** @description The caller lacks the permission this route checks */
21826
21898
  403: {
21827
21899
  headers: {
21828
21900
  [name: string]: unknown;
@@ -21833,7 +21905,7 @@ interface operations {
21833
21905
  * "error": {
21834
21906
  * "statusCode": 403,
21835
21907
  * "code": "auth.forbidden",
21836
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`)",
21908
+ * "message": "The caller lacks the permission this route checks",
21837
21909
  * "timestamp": "2026-04-20T12:00:00.000Z",
21838
21910
  * "path": "/api/v1/organizations/{id}/domains/{domain}",
21839
21911
  * "method": "DELETE"
@@ -21954,7 +22026,7 @@ interface operations {
21954
22026
  "application/json": components["schemas"]["ErrorResponseDto"];
21955
22027
  };
21956
22028
  };
21957
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`) */
22029
+ /** @description The caller lacks the permission this route checks */
21958
22030
  403: {
21959
22031
  headers: {
21960
22032
  [name: string]: unknown;
@@ -21965,7 +22037,7 @@ interface operations {
21965
22037
  * "error": {
21966
22038
  * "statusCode": 403,
21967
22039
  * "code": "auth.forbidden",
21968
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`)",
22040
+ * "message": "The caller lacks the permission this route checks",
21969
22041
  * "timestamp": "2026-04-20T12:00:00.000Z",
21970
22042
  * "path": "/api/v1/organizations/{id}/sso-connections",
21971
22043
  * "method": "GET"
@@ -22069,7 +22141,7 @@ interface operations {
22069
22141
  "application/json": components["schemas"]["ErrorResponseDto"];
22070
22142
  };
22071
22143
  };
22072
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`) */
22144
+ /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan */
22073
22145
  403: {
22074
22146
  headers: {
22075
22147
  [name: string]: unknown;
@@ -22080,7 +22152,7 @@ interface operations {
22080
22152
  * "error": {
22081
22153
  * "statusCode": 403,
22082
22154
  * "code": "auth.forbidden",
22083
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`)",
22155
+ * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan",
22084
22156
  * "timestamp": "2026-04-20T12:00:00.000Z",
22085
22157
  * "path": "/api/v1/organizations/{id}/sso-connections",
22086
22158
  * "method": "POST"
@@ -22198,7 +22270,7 @@ interface operations {
22198
22270
  "application/json": components["schemas"]["ErrorResponseDto"];
22199
22271
  };
22200
22272
  };
22201
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`) */
22273
+ /** @description The caller lacks the permission this route checks */
22202
22274
  403: {
22203
22275
  headers: {
22204
22276
  [name: string]: unknown;
@@ -22209,7 +22281,7 @@ interface operations {
22209
22281
  * "error": {
22210
22282
  * "statusCode": 403,
22211
22283
  * "code": "auth.forbidden",
22212
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`)",
22284
+ * "message": "The caller lacks the permission this route checks",
22213
22285
  * "timestamp": "2026-04-20T12:00:00.000Z",
22214
22286
  * "path": "/api/v1/organizations/{id}/sso-connections/{connectionId}",
22215
22287
  * "method": "DELETE"
@@ -23514,7 +23586,7 @@ interface operations {
23514
23586
  "application/json": components["schemas"]["ErrorResponseDto"];
23515
23587
  };
23516
23588
  };
23517
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`) */
23589
+ /** @description The caller lacks the permission this route checks */
23518
23590
  403: {
23519
23591
  headers: {
23520
23592
  [name: string]: unknown;
@@ -23525,7 +23597,7 @@ interface operations {
23525
23597
  * "error": {
23526
23598
  * "statusCode": 403,
23527
23599
  * "code": "auth.forbidden",
23528
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`)",
23600
+ * "message": "The caller lacks the permission this route checks",
23529
23601
  * "timestamp": "2026-04-20T12:00:00.000Z",
23530
23602
  * "path": "/api/v1/organizations/{id}/sso-connection",
23531
23603
  * "method": "GET"
@@ -23650,7 +23722,7 @@ interface operations {
23650
23722
  "application/json": components["schemas"]["ErrorResponseDto"];
23651
23723
  };
23652
23724
  };
23653
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`) */
23725
+ /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan */
23654
23726
  403: {
23655
23727
  headers: {
23656
23728
  [name: string]: unknown;
@@ -23661,10 +23733,10 @@ interface operations {
23661
23733
  * "error": {
23662
23734
  * "statusCode": 403,
23663
23735
  * "code": "auth.forbidden",
23664
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`)",
23736
+ * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan",
23665
23737
  * "timestamp": "2026-04-20T12:00:00.000Z",
23666
23738
  * "path": "/api/v1/organizations/{id}/sso-connection",
23667
- * "method": "GET"
23739
+ * "method": "POST"
23668
23740
  * }
23669
23741
  * }
23670
23742
  */
@@ -23778,7 +23850,7 @@ interface operations {
23778
23850
  "application/json": components["schemas"]["ErrorResponseDto"];
23779
23851
  };
23780
23852
  };
23781
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`) */
23853
+ /** @description The caller lacks the permission this route checks */
23782
23854
  403: {
23783
23855
  headers: {
23784
23856
  [name: string]: unknown;
@@ -23789,7 +23861,7 @@ interface operations {
23789
23861
  * "error": {
23790
23862
  * "statusCode": 403,
23791
23863
  * "code": "auth.forbidden",
23792
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`)",
23864
+ * "message": "The caller lacks the permission this route checks",
23793
23865
  * "timestamp": "2026-04-20T12:00:00.000Z",
23794
23866
  * "path": "/api/v1/organizations/{id}/sso-connection",
23795
23867
  * "method": "GET"
@@ -23916,7 +23988,7 @@ interface operations {
23916
23988
  "application/json": components["schemas"]["ErrorResponseDto"];
23917
23989
  };
23918
23990
  };
23919
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`) */
23991
+ /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan */
23920
23992
  403: {
23921
23993
  headers: {
23922
23994
  [name: string]: unknown;
@@ -23927,10 +23999,10 @@ interface operations {
23927
23999
  * "error": {
23928
24000
  * "statusCode": 403,
23929
24001
  * "code": "auth.forbidden",
23930
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`)",
24002
+ * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan",
23931
24003
  * "timestamp": "2026-04-20T12:00:00.000Z",
23932
24004
  * "path": "/api/v1/organizations/{id}/sso-connection",
23933
- * "method": "GET"
24005
+ * "method": "PATCH"
23934
24006
  * }
23935
24007
  * }
23936
24008
  */
@@ -24050,7 +24122,7 @@ interface operations {
24050
24122
  "application/json": components["schemas"]["ErrorResponseDto"];
24051
24123
  };
24052
24124
  };
24053
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`) */
24125
+ /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan */
24054
24126
  403: {
24055
24127
  headers: {
24056
24128
  [name: string]: unknown;
@@ -24061,10 +24133,10 @@ interface operations {
24061
24133
  * "error": {
24062
24134
  * "statusCode": 403,
24063
24135
  * "code": "auth.forbidden",
24064
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`)",
24136
+ * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan",
24065
24137
  * "timestamp": "2026-04-20T12:00:00.000Z",
24066
- * "path": "/api/v1/organizations/{id}/sso-connection",
24067
- * "method": "GET"
24138
+ * "path": "/api/v1/organizations/{id}/sso-connection/activate",
24139
+ * "method": "POST"
24068
24140
  * }
24069
24141
  * }
24070
24142
  */
@@ -24189,7 +24261,7 @@ interface operations {
24189
24261
  "application/json": components["schemas"]["ErrorResponseDto"];
24190
24262
  };
24191
24263
  };
24192
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`) */
24264
+ /** @description The caller lacks the permission this route checks */
24193
24265
  403: {
24194
24266
  headers: {
24195
24267
  [name: string]: unknown;
@@ -24200,7 +24272,7 @@ interface operations {
24200
24272
  * "error": {
24201
24273
  * "statusCode": 403,
24202
24274
  * "code": "auth.forbidden",
24203
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`)",
24275
+ * "message": "The caller lacks the permission this route checks",
24204
24276
  * "timestamp": "2026-04-20T12:00:00.000Z",
24205
24277
  * "path": "/api/v1/organizations/{id}/sso-connection",
24206
24278
  * "method": "GET"
@@ -24369,7 +24441,7 @@ interface operations {
24369
24441
  "application/json": components["schemas"]["ErrorResponseDto"];
24370
24442
  };
24371
24443
  };
24372
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`) */
24444
+ /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan */
24373
24445
  403: {
24374
24446
  headers: {
24375
24447
  [name: string]: unknown;
@@ -24380,10 +24452,10 @@ interface operations {
24380
24452
  * "error": {
24381
24453
  * "statusCode": 403,
24382
24454
  * "code": "auth.forbidden",
24383
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`)",
24455
+ * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan",
24384
24456
  * "timestamp": "2026-04-20T12:00:00.000Z",
24385
- * "path": "/api/v1/organizations/{id}/sso-connection",
24386
- * "method": "GET"
24457
+ * "path": "/api/v1/organizations/{id}/sso-connection/import-metadata",
24458
+ * "method": "POST"
24387
24459
  * }
24388
24460
  * }
24389
24461
  */
@@ -24501,7 +24573,7 @@ interface operations {
24501
24573
  "application/json": components["schemas"]["ErrorResponseDto"];
24502
24574
  };
24503
24575
  };
24504
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`) */
24576
+ /** @description The caller lacks the permission this route checks */
24505
24577
  403: {
24506
24578
  headers: {
24507
24579
  [name: string]: unknown;
@@ -24512,7 +24584,7 @@ interface operations {
24512
24584
  * "error": {
24513
24585
  * "statusCode": 403,
24514
24586
  * "code": "auth.forbidden",
24515
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`)",
24587
+ * "message": "The caller lacks the permission this route checks",
24516
24588
  * "timestamp": "2026-04-20T12:00:00.000Z",
24517
24589
  * "path": "/api/v1/organizations/{id}/sso-connection",
24518
24590
  * "method": "GET"
@@ -24633,7 +24705,7 @@ interface operations {
24633
24705
  "application/json": components["schemas"]["ErrorResponseDto"];
24634
24706
  };
24635
24707
  };
24636
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`) */
24708
+ /** @description The caller lacks the permission this route checks */
24637
24709
  403: {
24638
24710
  headers: {
24639
24711
  [name: string]: unknown;
@@ -24644,7 +24716,7 @@ interface operations {
24644
24716
  * "error": {
24645
24717
  * "statusCode": 403,
24646
24718
  * "code": "auth.forbidden",
24647
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`)",
24719
+ * "message": "The caller lacks the permission this route checks",
24648
24720
  * "timestamp": "2026-04-20T12:00:00.000Z",
24649
24721
  * "path": "/api/v1/organizations/{id}/sso-connection",
24650
24722
  * "method": "GET"
@@ -24744,7 +24816,7 @@ interface operations {
24744
24816
  "application/json": components["schemas"]["ErrorResponseDto"];
24745
24817
  };
24746
24818
  };
24747
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`) */
24819
+ /** @description The caller lacks the permission this route checks */
24748
24820
  403: {
24749
24821
  headers: {
24750
24822
  [name: string]: unknown;
@@ -24755,7 +24827,7 @@ interface operations {
24755
24827
  * "error": {
24756
24828
  * "statusCode": 403,
24757
24829
  * "code": "auth.forbidden",
24758
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SSO (`plan_feature_unavailable`)",
24830
+ * "message": "The caller lacks the permission this route checks",
24759
24831
  * "timestamp": "2026-04-20T12:00:00.000Z",
24760
24832
  * "path": "/api/v1/organizations/{id}/sso-connection",
24761
24833
  * "method": "GET"
@@ -24876,7 +24948,7 @@ interface operations {
24876
24948
  "application/json": components["schemas"]["ErrorResponseDto"];
24877
24949
  };
24878
24950
  };
24879
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`) */
24951
+ /** @description The caller lacks the permission this route checks */
24880
24952
  403: {
24881
24953
  headers: {
24882
24954
  [name: string]: unknown;
@@ -24887,7 +24959,7 @@ interface operations {
24887
24959
  * "error": {
24888
24960
  * "statusCode": 403,
24889
24961
  * "code": "auth.forbidden",
24890
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`)",
24962
+ * "message": "The caller lacks the permission this route checks",
24891
24963
  * "timestamp": "2026-04-20T12:00:00.000Z",
24892
24964
  * "path": "/api/v1/organizations/{id}/directory",
24893
24965
  * "method": "GET"
@@ -24987,7 +25059,7 @@ interface operations {
24987
25059
  "application/json": components["schemas"]["ErrorResponseDto"];
24988
25060
  };
24989
25061
  };
24990
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`) */
25062
+ /** @description The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan */
24991
25063
  403: {
24992
25064
  headers: {
24993
25065
  [name: string]: unknown;
@@ -24998,10 +25070,10 @@ interface operations {
24998
25070
  * "error": {
24999
25071
  * "statusCode": 403,
25000
25072
  * "code": "auth.forbidden",
25001
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`)",
25073
+ * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan",
25002
25074
  * "timestamp": "2026-04-20T12:00:00.000Z",
25003
25075
  * "path": "/api/v1/organizations/{id}/directory",
25004
- * "method": "GET"
25076
+ * "method": "POST"
25005
25077
  * }
25006
25078
  * }
25007
25079
  */
@@ -25115,7 +25187,7 @@ interface operations {
25115
25187
  "application/json": components["schemas"]["ErrorResponseDto"];
25116
25188
  };
25117
25189
  };
25118
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`) */
25190
+ /** @description The caller lacks the permission this route checks */
25119
25191
  403: {
25120
25192
  headers: {
25121
25193
  [name: string]: unknown;
@@ -25126,7 +25198,7 @@ interface operations {
25126
25198
  * "error": {
25127
25199
  * "statusCode": 403,
25128
25200
  * "code": "auth.forbidden",
25129
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`)",
25201
+ * "message": "The caller lacks the permission this route checks",
25130
25202
  * "timestamp": "2026-04-20T12:00:00.000Z",
25131
25203
  * "path": "/api/v1/organizations/{id}/directory",
25132
25204
  * "method": "GET"
@@ -25226,7 +25298,7 @@ interface operations {
25226
25298
  "application/json": components["schemas"]["ErrorResponseDto"];
25227
25299
  };
25228
25300
  };
25229
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`) */
25301
+ /** @description The caller lacks the permission this route checks */
25230
25302
  403: {
25231
25303
  headers: {
25232
25304
  [name: string]: unknown;
@@ -25237,7 +25309,7 @@ interface operations {
25237
25309
  * "error": {
25238
25310
  * "statusCode": 403,
25239
25311
  * "code": "auth.forbidden",
25240
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`)",
25312
+ * "message": "The caller lacks the permission this route checks",
25241
25313
  * "timestamp": "2026-04-20T12:00:00.000Z",
25242
25314
  * "path": "/api/v1/organizations/{id}/directory",
25243
25315
  * "method": "GET"
@@ -25346,7 +25418,7 @@ interface operations {
25346
25418
  "application/json": components["schemas"]["ErrorResponseDto"];
25347
25419
  };
25348
25420
  };
25349
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`) */
25421
+ /** @description The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan */
25350
25422
  403: {
25351
25423
  headers: {
25352
25424
  [name: string]: unknown;
@@ -25357,10 +25429,10 @@ interface operations {
25357
25429
  * "error": {
25358
25430
  * "statusCode": 403,
25359
25431
  * "code": "auth.forbidden",
25360
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`)",
25432
+ * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan",
25361
25433
  * "timestamp": "2026-04-20T12:00:00.000Z",
25362
- * "path": "/api/v1/organizations/{id}/directory",
25363
- * "method": "GET"
25434
+ * "path": "/api/v1/organizations/{id}/directory/tokens",
25435
+ * "method": "POST"
25364
25436
  * }
25365
25437
  * }
25366
25438
  */
@@ -25530,7 +25602,7 @@ interface operations {
25530
25602
  "application/json": components["schemas"]["ErrorResponseDto"];
25531
25603
  };
25532
25604
  };
25533
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`) */
25605
+ /** @description The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan */
25534
25606
  403: {
25535
25607
  headers: {
25536
25608
  [name: string]: unknown;
@@ -25541,10 +25613,10 @@ interface operations {
25541
25613
  * "error": {
25542
25614
  * "statusCode": 403,
25543
25615
  * "code": "auth.forbidden",
25544
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`)",
25616
+ * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan",
25545
25617
  * "timestamp": "2026-04-20T12:00:00.000Z",
25546
- * "path": "/api/v1/organizations/{id}/directory",
25547
- * "method": "GET"
25618
+ * "path": "/api/v1/organizations/{id}/directory/tokens/{tokenId}/rotate",
25619
+ * "method": "POST"
25548
25620
  * }
25549
25621
  * }
25550
25622
  */
@@ -25701,7 +25773,7 @@ interface operations {
25701
25773
  "application/json": components["schemas"]["ErrorResponseDto"];
25702
25774
  };
25703
25775
  };
25704
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`) */
25776
+ /** @description The caller lacks the permission this route checks */
25705
25777
  403: {
25706
25778
  headers: {
25707
25779
  [name: string]: unknown;
@@ -25712,7 +25784,7 @@ interface operations {
25712
25784
  * "error": {
25713
25785
  * "statusCode": 403,
25714
25786
  * "code": "auth.forbidden",
25715
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`)",
25787
+ * "message": "The caller lacks the permission this route checks",
25716
25788
  * "timestamp": "2026-04-20T12:00:00.000Z",
25717
25789
  * "path": "/api/v1/organizations/{id}/directory",
25718
25790
  * "method": "GET"
@@ -25812,7 +25884,7 @@ interface operations {
25812
25884
  "application/json": components["schemas"]["ErrorResponseDto"];
25813
25885
  };
25814
25886
  };
25815
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`) */
25887
+ /** @description The caller lacks the permission this route checks */
25816
25888
  403: {
25817
25889
  headers: {
25818
25890
  [name: string]: unknown;
@@ -25823,7 +25895,7 @@ interface operations {
25823
25895
  * "error": {
25824
25896
  * "statusCode": 403,
25825
25897
  * "code": "auth.forbidden",
25826
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`)",
25898
+ * "message": "The caller lacks the permission this route checks",
25827
25899
  * "timestamp": "2026-04-20T12:00:00.000Z",
25828
25900
  * "path": "/api/v1/organizations/{id}/directory",
25829
25901
  * "method": "GET"
@@ -25923,7 +25995,7 @@ interface operations {
25923
25995
  "application/json": components["schemas"]["ErrorResponseDto"];
25924
25996
  };
25925
25997
  };
25926
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`) */
25998
+ /** @description The caller lacks the permission this route checks */
25927
25999
  403: {
25928
26000
  headers: {
25929
26001
  [name: string]: unknown;
@@ -25934,7 +26006,7 @@ interface operations {
25934
26006
  * "error": {
25935
26007
  * "statusCode": 403,
25936
26008
  * "code": "auth.forbidden",
25937
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`)",
26009
+ * "message": "The caller lacks the permission this route checks",
25938
26010
  * "timestamp": "2026-04-20T12:00:00.000Z",
25939
26011
  * "path": "/api/v1/organizations/{id}/directory",
25940
26012
  * "method": "GET"
@@ -26038,7 +26110,7 @@ interface operations {
26038
26110
  "application/json": components["schemas"]["ErrorResponseDto"];
26039
26111
  };
26040
26112
  };
26041
- /** @description Only the application owner may change this list. An organization's own administrator can read it, not change it, or the Account's plan does not include SCIM (`plan_feature_unavailable`) */
26113
+ /** @description Only the application owner may change this list. An organization's own administrator can read it, not change it, or the Account's plan does not include SCIM (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan */
26042
26114
  403: {
26043
26115
  headers: {
26044
26116
  [name: string]: unknown;
@@ -26049,7 +26121,7 @@ interface operations {
26049
26121
  * "error": {
26050
26122
  * "statusCode": 403,
26051
26123
  * "code": "auth.forbidden",
26052
- * "message": "Only the application owner may change this list. An organization's own administrator can read it, not change it, or the Account's plan does not include SCIM (`plan_feature_unavailable`)",
26124
+ * "message": "Only the application owner may change this list. An organization's own administrator can read it, not change it, or the Account's plan does not include SCIM (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan",
26053
26125
  * "timestamp": "2026-04-20T12:00:00.000Z",
26054
26126
  * "path": "/api/v1/organizations/{id}/directory/grantable-roles",
26055
26127
  * "method": "PUT"
@@ -26302,7 +26374,7 @@ interface operations {
26302
26374
  "application/json": components["schemas"]["ErrorResponseDto"];
26303
26375
  };
26304
26376
  };
26305
- /** @description The caller may not manage this organization, or the Environment does not let organizations create integrations (`organization.integrations_disabled`) */
26377
+ /** @description The caller may not manage this organization, the Environment does not let organizations create integrations (`organization.integrations_disabled`), or the caller is an organization's own administrator, signed in with their own token, and the plan's machine-credential allowance is reached (`auth.not_available`, which names no plan) */
26306
26378
  403: {
26307
26379
  headers: {
26308
26380
  [name: string]: unknown;
@@ -26313,7 +26385,7 @@ interface operations {
26313
26385
  * "error": {
26314
26386
  * "statusCode": 403,
26315
26387
  * "code": "auth.forbidden",
26316
- * "message": "The caller may not manage this organization, or the Environment does not let organizations create integrations (`organization.integrations_disabled`)",
26388
+ * "message": "The caller may not manage this organization, the Environment does not let organizations create integrations (`organization.integrations_disabled`), or the caller is an organization's own administrator, signed in with their own token, and the plan's machine-credential allowance is reached (`auth.not_available`, which names no plan)",
26317
26389
  * "timestamp": "2026-04-20T12:00:00.000Z",
26318
26390
  * "path": "/api/v1/organizations/{id}/oauth-clients",
26319
26391
  * "method": "POST"
@@ -26344,7 +26416,7 @@ interface operations {
26344
26416
  "application/json": components["schemas"]["ErrorResponseDto"];
26345
26417
  };
26346
26418
  };
26347
- /** @description The Environment has no default audience, the organization already holds as many integrations as it may, another of its integrations has this name, or the plan's machine-credential allowance is reached. Also when a request with the same `Idempotency-Key` is still being processed (`idempotency.request_in_progress`): retry shortly. Or when one started and never recorded its outcome (`idempotency.outcome_unknown`): it is not run again, so check whether it took effect and use a new key */
26419
+ /** @description The Environment has no default audience, the organization already holds as many integrations as it may, another of its integrations has this name, or the plan's machine-credential allowance is reached for an API key or an administrator (`plan_limit_exceeded`). Also when a request with the same `Idempotency-Key` is still being processed (`idempotency.request_in_progress`): retry shortly. Or when one started and never recorded its outcome (`idempotency.outcome_unknown`): it is not run again, so check whether it took effect and use a new key */
26348
26420
  409: {
26349
26421
  headers: {
26350
26422
  [name: string]: unknown;
@@ -26355,7 +26427,7 @@ interface operations {
26355
26427
  * "error": {
26356
26428
  * "statusCode": 409,
26357
26429
  * "code": "request.conflict",
26358
- * "message": "The Environment has no default audience, the organization already holds as many integrations as it may, another of its integrations has this name, or the plan's machine-credential allowance is reached. Also when a request with the same `Idempotency-Key` is still being processed (`idempotency.request_in_progress`): retry shortly. Or when one started and never recorded its outcome (`idempotency.outcome_unknown`): it is not run again, so check whether it took effect and use a new key",
26430
+ * "message": "The Environment has no default audience, the organization already holds as many integrations as it may, another of its integrations has this name, or the plan's machine-credential allowance is reached for an API key or an administrator (`plan_limit_exceeded`). Also when a request with the same `Idempotency-Key` is still being processed (`idempotency.request_in_progress`): retry shortly. Or when one started and never recorded its outcome (`idempotency.outcome_unknown`): it is not run again, so check whether it took effect and use a new key",
26359
26431
  * "timestamp": "2026-04-20T12:00:00.000Z",
26360
26432
  * "path": "/api/v1/organizations/{id}/oauth-clients",
26361
26433
  * "method": "POST"
@@ -28395,7 +28467,7 @@ interface operations {
28395
28467
  "application/json": components["schemas"]["ErrorResponseDto"];
28396
28468
  };
28397
28469
  };
28398
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`) */
28470
+ /** @description The caller lacks the permission this route checks */
28399
28471
  403: {
28400
28472
  headers: {
28401
28473
  [name: string]: unknown;
@@ -28406,7 +28478,7 @@ interface operations {
28406
28478
  * "error": {
28407
28479
  * "statusCode": 403,
28408
28480
  * "code": "auth.forbidden",
28409
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`)",
28481
+ * "message": "The caller lacks the permission this route checks",
28410
28482
  * "timestamp": "2026-04-20T12:00:00.000Z",
28411
28483
  * "path": "/api/v1/organizations/{id}/directory/groups",
28412
28484
  * "method": "GET"
@@ -28513,7 +28585,7 @@ interface operations {
28513
28585
  "application/json": components["schemas"]["ErrorResponseDto"];
28514
28586
  };
28515
28587
  };
28516
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`) */
28588
+ /** @description The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan */
28517
28589
  403: {
28518
28590
  headers: {
28519
28591
  [name: string]: unknown;
@@ -28524,10 +28596,10 @@ interface operations {
28524
28596
  * "error": {
28525
28597
  * "statusCode": 403,
28526
28598
  * "code": "auth.forbidden",
28527
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`)",
28599
+ * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`); an organization's own administrator, signed in with their own token, is answered `auth.not_available` instead, which names no plan",
28528
28600
  * "timestamp": "2026-04-20T12:00:00.000Z",
28529
- * "path": "/api/v1/organizations/{id}/directory/groups",
28530
- * "method": "GET"
28601
+ * "path": "/api/v1/organizations/{id}/directory/groups/{groupId}/mapping",
28602
+ * "method": "PUT"
28531
28603
  * }
28532
28604
  * }
28533
28605
  */
@@ -28648,7 +28720,7 @@ interface operations {
28648
28720
  "application/json": components["schemas"]["ErrorResponseDto"];
28649
28721
  };
28650
28722
  };
28651
- /** @description The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`) */
28723
+ /** @description The caller lacks the permission this route checks */
28652
28724
  403: {
28653
28725
  headers: {
28654
28726
  [name: string]: unknown;
@@ -28659,7 +28731,7 @@ interface operations {
28659
28731
  * "error": {
28660
28732
  * "statusCode": 403,
28661
28733
  * "code": "auth.forbidden",
28662
- * "message": "The caller lacks the permission this route checks, or the Account's plan does not include SCIM (`plan_feature_unavailable`)",
28734
+ * "message": "The caller lacks the permission this route checks",
28663
28735
  * "timestamp": "2026-04-20T12:00:00.000Z",
28664
28736
  * "path": "/api/v1/organizations/{id}/directory/groups",
28665
28737
  * "method": "GET"
@@ -34487,7 +34559,7 @@ interface operations {
34487
34559
  "application/json": components["schemas"]["ErrorResponseDto"];
34488
34560
  };
34489
34561
  };
34490
- /** @description The bearer token is not an admin or platform token, or the caller lacks the permission this operation checks: a scoped API key without that scope, an admin without the Account capability that covers it, or, for a node-scoped check, a node outside this Environment */
34562
+ /** @description The caller lacks `application.manage`, or `copy_from` names an Environment whose MFA rule is on and the Account's plan does not include multi-factor authentication, or one with passkey sign-in on and the plan does not include passkey sign-in, or one with organizations on, or with `organizations_create_on_signup` or `organizations_membership_required` on, and the plan does not include organizations (`plan_feature_unavailable`) */
34491
34563
  403: {
34492
34564
  headers: {
34493
34565
  [name: string]: unknown;
@@ -34498,10 +34570,10 @@ interface operations {
34498
34570
  * "error": {
34499
34571
  * "statusCode": 403,
34500
34572
  * "code": "auth.forbidden",
34501
- * "message": "The bearer token is not an admin or platform token, or the caller lacks the permission this operation checks: a scoped API key without that scope, an admin without the Account capability that covers it, or, for a node-scoped check, a node outside this Environment",
34573
+ * "message": "The caller lacks `application.manage`, or `copy_from` names an Environment whose MFA rule is on and the Account's plan does not include multi-factor authentication, or one with passkey sign-in on and the plan does not include passkey sign-in, or one with organizations on, or with `organizations_create_on_signup` or `organizations_membership_required` on, and the plan does not include organizations (`plan_feature_unavailable`)",
34502
34574
  * "timestamp": "2026-04-20T12:00:00.000Z",
34503
- * "path": "/api/v1/applications",
34504
- * "method": "GET"
34575
+ * "path": "/api/v1/applications/{id}/environments",
34576
+ * "method": "POST"
34505
34577
  * }
34506
34578
  * }
34507
34579
  */
@@ -35126,7 +35198,7 @@ interface operations {
35126
35198
  "application/json": components["schemas"]["ErrorResponseDto"];
35127
35199
  };
35128
35200
  };
35129
- /** @description The caller does not hold both `application.manage` and `auth_settings.manage`: an import replaces the target's sign-in policy and custom claims */
35201
+ /** @description The caller does not hold both `application.manage` and `auth_settings.manage`: an import replaces the target's sign-in policy and custom claims. Also answered when the payload turns `mfa_required` on, or tightens the MFA rules while the target's rule is on, and the Account's plan does not include multi-factor authentication, or turns `passkey_login_enabled` on where the target has it off and the plan does not include passkey sign-in, or turns `organizations_create_on_signup` or `organizations_membership_required` on where the target has it off and the plan does not include organizations (`plan_feature_unavailable`) */
35130
35202
  403: {
35131
35203
  headers: {
35132
35204
  [name: string]: unknown;
@@ -35137,7 +35209,7 @@ interface operations {
35137
35209
  * "error": {
35138
35210
  * "statusCode": 403,
35139
35211
  * "code": "auth.forbidden",
35140
- * "message": "The caller does not hold both `application.manage` and `auth_settings.manage`: an import replaces the target's sign-in policy and custom claims",
35212
+ * "message": "The caller does not hold both `application.manage` and `auth_settings.manage`: an import replaces the target's sign-in policy and custom claims. Also answered when the payload turns `mfa_required` on, or tightens the MFA rules while the target's rule is on, and the Account's plan does not include multi-factor authentication, or turns `passkey_login_enabled` on where the target has it off and the plan does not include passkey sign-in, or turns `organizations_create_on_signup` or `organizations_membership_required` on where the target has it off and the plan does not include organizations (`plan_feature_unavailable`)",
35141
35213
  * "timestamp": "2026-04-20T12:00:00.000Z",
35142
35214
  * "path": "/api/v1/environments/{id}/import",
35143
35215
  * "method": "POST"
@@ -35392,7 +35464,7 @@ interface operations {
35392
35464
  "application/json": components["schemas"]["ErrorResponseDto"];
35393
35465
  };
35394
35466
  };
35395
- /** @description The bearer token is not an admin or platform token, or the caller lacks the permission this operation checks: a scoped API key without that scope, an admin without the Account capability that covers it, or, for a node-scoped check, a node outside this Environment */
35467
+ /** @description The caller lacks `auth_settings.manage`, or the request turns `mfa_required` on, or tightens the MFA rules while the rule is on (a shorter grace period, fewer remembered-device days, a kind dropped from the allowed factors, `mfa_after_sso` from `exempt` to `require`), and the Account's plan does not include multi-factor authentication, or the request turns `passkey_login_enabled` on and the plan does not include passkey sign-in, or turns `organizations_create_on_signup` or `organizations_membership_required` on and the plan does not include organizations (`plan_feature_unavailable`). Turning the rule off, loosening it, turning passkey sign-in off, turning either organization setting off or sending it as stored, and setting the WebAuthn relying party are always accepted */
35396
35468
  403: {
35397
35469
  headers: {
35398
35470
  [name: string]: unknown;
@@ -35403,10 +35475,10 @@ interface operations {
35403
35475
  * "error": {
35404
35476
  * "statusCode": 403,
35405
35477
  * "code": "auth.forbidden",
35406
- * "message": "The bearer token is not an admin or platform token, or the caller lacks the permission this operation checks: a scoped API key without that scope, an admin without the Account capability that covers it, or, for a node-scoped check, a node outside this Environment",
35478
+ * "message": "The caller lacks `auth_settings.manage`, or the request turns `mfa_required` on, or tightens the MFA rules while the rule is on (a shorter grace period, fewer remembered-device days, a kind dropped from the allowed factors, `mfa_after_sso` from `exempt` to `require`), and the Account's plan does not include multi-factor authentication, or the request turns `passkey_login_enabled` on and the plan does not include passkey sign-in, or turns `organizations_create_on_signup` or `organizations_membership_required` on and the plan does not include organizations (`plan_feature_unavailable`). Turning the rule off, loosening it, turning passkey sign-in off, turning either organization setting off or sending it as stored, and setting the WebAuthn relying party are always accepted",
35407
35479
  * "timestamp": "2026-04-20T12:00:00.000Z",
35408
35480
  * "path": "/api/v1/auth-settings",
35409
- * "method": "GET"
35481
+ * "method": "PATCH"
35410
35482
  * }
35411
35483
  * }
35412
35484
  */
@@ -35639,7 +35711,7 @@ interface operations {
35639
35711
  "application/json": components["schemas"]["ErrorResponseDto"];
35640
35712
  };
35641
35713
  };
35642
- /** @description The provider changed since it was read, or another request added it first (`version_mismatch`), a custom provider is added to an Environment that already holds 20 (`social.provider_limit`), or a custom provider is enabled before a test sign-in through it has completed (`social.oidc_not_verified`) */
35714
+ /** @description The provider changed since it was read, or another request added it first (`version_mismatch`); a custom provider is added to an Environment that already holds 20, a bound on every plan (`social.provider_limit`); the provider is turned on in an Environment that already counts as many providers as the Account's plan allows in each Environment, with the plan's `limit`, the Environment's count as `used` and the `required_plan` that lifts it (`plan_limit_exceeded`); or a custom provider is enabled before a test sign-in through it has completed (`social.oidc_not_verified`) */
35643
35715
  409: {
35644
35716
  headers: {
35645
35717
  [name: string]: unknown;
@@ -35650,7 +35722,7 @@ interface operations {
35650
35722
  * "error": {
35651
35723
  * "statusCode": 409,
35652
35724
  * "code": "request.conflict",
35653
- * "message": "The provider changed since it was read, or another request added it first (`version_mismatch`), a custom provider is added to an Environment that already holds 20 (`social.provider_limit`), or a custom provider is enabled before a test sign-in through it has completed (`social.oidc_not_verified`)",
35725
+ * "message": "The provider changed since it was read, or another request added it first (`version_mismatch`); a custom provider is added to an Environment that already holds 20, a bound on every plan (`social.provider_limit`); the provider is turned on in an Environment that already counts as many providers as the Account's plan allows in each Environment, with the plan's `limit`, the Environment's count as `used` and the `required_plan` that lifts it (`plan_limit_exceeded`); or a custom provider is enabled before a test sign-in through it has completed (`social.oidc_not_verified`)",
35654
35726
  * "timestamp": "2026-04-20T12:00:00.000Z",
35655
35727
  * "path": "/api/v1/social-providers/{providerSlug}",
35656
35728
  * "method": "PUT"
@@ -36807,7 +36879,7 @@ interface operations {
36807
36879
  "application/json": components["schemas"]["ErrorResponseDto"];
36808
36880
  };
36809
36881
  };
36810
- /** @description The caller does not hold `hierarchy.manage` */
36882
+ /** @description The caller does not hold `hierarchy.manage`, or the request turns the container on and the Account's plan does not include organizations (`plan_feature_unavailable`). Turning it off is accepted on every plan */
36811
36883
  403: {
36812
36884
  headers: {
36813
36885
  [name: string]: unknown;
@@ -36818,7 +36890,7 @@ interface operations {
36818
36890
  * "error": {
36819
36891
  * "statusCode": 403,
36820
36892
  * "code": "auth.forbidden",
36821
- * "message": "The caller does not hold `hierarchy.manage`",
36893
+ * "message": "The caller does not hold `hierarchy.manage`, or the request turns the container on and the Account's plan does not include organizations (`plan_feature_unavailable`). Turning it off is accepted on every plan",
36822
36894
  * "timestamp": "2026-04-20T12:00:00.000Z",
36823
36895
  * "path": "/api/v1/access-model/organizations",
36824
36896
  * "method": "PUT"
@@ -37026,7 +37098,7 @@ interface operations {
37026
37098
  "application/json": components["schemas"]["ErrorResponseDto"];
37027
37099
  };
37028
37100
  };
37029
- /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`) */
37101
+ /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it */
37030
37102
  403: {
37031
37103
  headers: {
37032
37104
  [name: string]: unknown;
@@ -37037,7 +37109,7 @@ interface operations {
37037
37109
  * "error": {
37038
37110
  * "statusCode": 403,
37039
37111
  * "code": "auth.forbidden",
37040
- * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`)",
37112
+ * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it",
37041
37113
  * "timestamp": "2026-04-20T12:00:00.000Z",
37042
37114
  * "path": "/api/v1/sso/connections",
37043
37115
  * "method": "GET"
@@ -37135,7 +37207,7 @@ interface operations {
37135
37207
  * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`)",
37136
37208
  * "timestamp": "2026-04-20T12:00:00.000Z",
37137
37209
  * "path": "/api/v1/sso/connections",
37138
- * "method": "GET"
37210
+ * "method": "POST"
37139
37211
  * }
37140
37212
  * }
37141
37213
  */
@@ -37271,7 +37343,7 @@ interface operations {
37271
37343
  "application/json": components["schemas"]["ErrorResponseDto"];
37272
37344
  };
37273
37345
  };
37274
- /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`) */
37346
+ /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it */
37275
37347
  403: {
37276
37348
  headers: {
37277
37349
  [name: string]: unknown;
@@ -37282,7 +37354,7 @@ interface operations {
37282
37354
  * "error": {
37283
37355
  * "statusCode": 403,
37284
37356
  * "code": "auth.forbidden",
37285
- * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`)",
37357
+ * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it",
37286
37358
  * "timestamp": "2026-04-20T12:00:00.000Z",
37287
37359
  * "path": "/api/v1/sso/connections",
37288
37360
  * "method": "GET"
@@ -37375,7 +37447,7 @@ interface operations {
37375
37447
  "application/json": components["schemas"]["ErrorResponseDto"];
37376
37448
  };
37377
37449
  };
37378
- /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`) */
37450
+ /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it */
37379
37451
  403: {
37380
37452
  headers: {
37381
37453
  [name: string]: unknown;
@@ -37386,7 +37458,7 @@ interface operations {
37386
37458
  * "error": {
37387
37459
  * "statusCode": 403,
37388
37460
  * "code": "auth.forbidden",
37389
- * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`)",
37461
+ * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it",
37390
37462
  * "timestamp": "2026-04-20T12:00:00.000Z",
37391
37463
  * "path": "/api/v1/sso/connections",
37392
37464
  * "method": "GET"
@@ -37524,8 +37596,8 @@ interface operations {
37524
37596
  * "code": "auth.forbidden",
37525
37597
  * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`)",
37526
37598
  * "timestamp": "2026-04-20T12:00:00.000Z",
37527
- * "path": "/api/v1/sso/connections",
37528
- * "method": "GET"
37599
+ * "path": "/api/v1/sso/connections/{id}",
37600
+ * "method": "PATCH"
37529
37601
  * }
37530
37602
  * }
37531
37603
  */
@@ -37656,8 +37728,8 @@ interface operations {
37656
37728
  * "code": "auth.forbidden",
37657
37729
  * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`)",
37658
37730
  * "timestamp": "2026-04-20T12:00:00.000Z",
37659
- * "path": "/api/v1/sso/connections",
37660
- * "method": "GET"
37731
+ * "path": "/api/v1/sso/connections/{id}/activate",
37732
+ * "method": "POST"
37661
37733
  * }
37662
37734
  * }
37663
37735
  */
@@ -37780,7 +37852,7 @@ interface operations {
37780
37852
  "application/json": components["schemas"]["ErrorResponseDto"];
37781
37853
  };
37782
37854
  };
37783
- /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`) */
37855
+ /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it */
37784
37856
  403: {
37785
37857
  headers: {
37786
37858
  [name: string]: unknown;
@@ -37791,7 +37863,7 @@ interface operations {
37791
37863
  * "error": {
37792
37864
  * "statusCode": 403,
37793
37865
  * "code": "auth.forbidden",
37794
- * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`)",
37866
+ * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it",
37795
37867
  * "timestamp": "2026-04-20T12:00:00.000Z",
37796
37868
  * "path": "/api/v1/sso/connections",
37797
37869
  * "method": "GET"
@@ -37951,7 +38023,7 @@ interface operations {
37951
38023
  "application/json": components["schemas"]["ErrorResponseDto"];
37952
38024
  };
37953
38025
  };
37954
- /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`) */
38026
+ /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it */
37955
38027
  403: {
37956
38028
  headers: {
37957
38029
  [name: string]: unknown;
@@ -37962,7 +38034,7 @@ interface operations {
37962
38034
  * "error": {
37963
38035
  * "statusCode": 403,
37964
38036
  * "code": "auth.forbidden",
37965
- * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`)",
38037
+ * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it",
37966
38038
  * "timestamp": "2026-04-20T12:00:00.000Z",
37967
38039
  * "path": "/api/v1/sso/connections",
37968
38040
  * "method": "GET"
@@ -38078,8 +38150,8 @@ interface operations {
38078
38150
  * "code": "auth.forbidden",
38079
38151
  * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`)",
38080
38152
  * "timestamp": "2026-04-20T12:00:00.000Z",
38081
- * "path": "/api/v1/sso/connections",
38082
- * "method": "GET"
38153
+ * "path": "/api/v1/sso/connections/{id}/oauth-clients/{clientId}",
38154
+ * "method": "POST"
38083
38155
  * }
38084
38156
  * }
38085
38157
  */
@@ -38192,7 +38264,7 @@ interface operations {
38192
38264
  "application/json": components["schemas"]["ErrorResponseDto"];
38193
38265
  };
38194
38266
  };
38195
- /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`) */
38267
+ /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it */
38196
38268
  403: {
38197
38269
  headers: {
38198
38270
  [name: string]: unknown;
@@ -38203,7 +38275,7 @@ interface operations {
38203
38275
  * "error": {
38204
38276
  * "statusCode": 403,
38205
38277
  * "code": "auth.forbidden",
38206
- * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`)",
38278
+ * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it",
38207
38279
  * "timestamp": "2026-04-20T12:00:00.000Z",
38208
38280
  * "path": "/api/v1/sso/connections",
38209
38281
  * "method": "GET"
@@ -38319,8 +38391,8 @@ interface operations {
38319
38391
  * "code": "auth.forbidden",
38320
38392
  * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`)",
38321
38393
  * "timestamp": "2026-04-20T12:00:00.000Z",
38322
- * "path": "/api/v1/sso/connections",
38323
- * "method": "GET"
38394
+ * "path": "/api/v1/sso/connections/{id}/oauth-clients/{clientId}",
38395
+ * "method": "PATCH"
38324
38396
  * }
38325
38397
  * }
38326
38398
  */
@@ -38436,7 +38508,7 @@ interface operations {
38436
38508
  "application/json": components["schemas"]["ErrorResponseDto"];
38437
38509
  };
38438
38510
  };
38439
- /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`) */
38511
+ /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it */
38440
38512
  403: {
38441
38513
  headers: {
38442
38514
  [name: string]: unknown;
@@ -38447,7 +38519,7 @@ interface operations {
38447
38519
  * "error": {
38448
38520
  * "statusCode": 403,
38449
38521
  * "code": "auth.forbidden",
38450
- * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`)",
38522
+ * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it",
38451
38523
  * "timestamp": "2026-04-20T12:00:00.000Z",
38452
38524
  * "path": "/api/v1/sso/connections",
38453
38525
  * "method": "GET"
@@ -38542,7 +38614,7 @@ interface operations {
38542
38614
  "application/json": components["schemas"]["ErrorResponseDto"];
38543
38615
  };
38544
38616
  };
38545
- /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`) */
38617
+ /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it */
38546
38618
  403: {
38547
38619
  headers: {
38548
38620
  [name: string]: unknown;
@@ -38553,7 +38625,7 @@ interface operations {
38553
38625
  * "error": {
38554
38626
  * "statusCode": 403,
38555
38627
  * "code": "auth.forbidden",
38556
- * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`)",
38628
+ * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it",
38557
38629
  * "timestamp": "2026-04-20T12:00:00.000Z",
38558
38630
  * "path": "/api/v1/sso/connections",
38559
38631
  * "method": "GET"
@@ -38629,7 +38701,7 @@ interface operations {
38629
38701
  "application/json": components["schemas"]["ErrorResponseDto"];
38630
38702
  };
38631
38703
  };
38632
- /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`) */
38704
+ /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it */
38633
38705
  403: {
38634
38706
  headers: {
38635
38707
  [name: string]: unknown;
@@ -38640,7 +38712,7 @@ interface operations {
38640
38712
  * "error": {
38641
38713
  * "statusCode": 403,
38642
38714
  * "code": "auth.forbidden",
38643
- * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`)",
38715
+ * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it",
38644
38716
  * "timestamp": "2026-04-20T12:00:00.000Z",
38645
38717
  * "path": "/api/v1/sso/connections",
38646
38718
  * "method": "GET"
@@ -38755,8 +38827,8 @@ interface operations {
38755
38827
  * "code": "auth.forbidden",
38756
38828
  * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`)",
38757
38829
  * "timestamp": "2026-04-20T12:00:00.000Z",
38758
- * "path": "/api/v1/sso/connections",
38759
- * "method": "GET"
38830
+ * "path": "/api/v1/sso/connections/{id}/environments/{environmentId}",
38831
+ * "method": "POST"
38760
38832
  * }
38761
38833
  * }
38762
38834
  */
@@ -38868,7 +38940,7 @@ interface operations {
38868
38940
  "application/json": components["schemas"]["ErrorResponseDto"];
38869
38941
  };
38870
38942
  };
38871
- /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`) */
38943
+ /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it */
38872
38944
  403: {
38873
38945
  headers: {
38874
38946
  [name: string]: unknown;
@@ -38879,7 +38951,7 @@ interface operations {
38879
38951
  * "error": {
38880
38952
  * "statusCode": 403,
38881
38953
  * "code": "auth.forbidden",
38882
- * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`)",
38954
+ * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it",
38883
38955
  * "timestamp": "2026-04-20T12:00:00.000Z",
38884
38956
  * "path": "/api/v1/sso/connections",
38885
38957
  * "method": "GET"
@@ -39015,8 +39087,8 @@ interface operations {
39015
39087
  * "code": "auth.forbidden",
39016
39088
  * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`)",
39017
39089
  * "timestamp": "2026-04-20T12:00:00.000Z",
39018
- * "path": "/api/v1/sso/connections",
39019
- * "method": "GET"
39090
+ * "path": "/api/v1/sso/connections/{id}/environments/{environmentId}",
39091
+ * "method": "PATCH"
39020
39092
  * }
39021
39093
  * }
39022
39094
  */
@@ -39145,7 +39217,7 @@ interface operations {
39145
39217
  "application/json": components["schemas"]["ErrorResponseDto"];
39146
39218
  };
39147
39219
  };
39148
- /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`) */
39220
+ /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it */
39149
39221
  403: {
39150
39222
  headers: {
39151
39223
  [name: string]: unknown;
@@ -39156,7 +39228,7 @@ interface operations {
39156
39228
  * "error": {
39157
39229
  * "statusCode": 403,
39158
39230
  * "code": "auth.forbidden",
39159
- * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`)",
39231
+ * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it",
39160
39232
  * "timestamp": "2026-04-20T12:00:00.000Z",
39161
39233
  * "path": "/api/v1/sso/connections",
39162
39234
  * "method": "GET"
@@ -39270,8 +39342,8 @@ interface operations {
39270
39342
  * "code": "auth.forbidden",
39271
39343
  * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`)",
39272
39344
  * "timestamp": "2026-04-20T12:00:00.000Z",
39273
- * "path": "/api/v1/sso/connections",
39274
- * "method": "GET"
39345
+ * "path": "/api/v1/sso/connections/{id}/test",
39346
+ * "method": "POST"
39275
39347
  * }
39276
39348
  * }
39277
39349
  */
@@ -39366,7 +39438,7 @@ interface operations {
39366
39438
  "application/json": components["schemas"]["ErrorResponseDto"];
39367
39439
  };
39368
39440
  };
39369
- /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`) */
39441
+ /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it */
39370
39442
  403: {
39371
39443
  headers: {
39372
39444
  [name: string]: unknown;
@@ -39377,7 +39449,7 @@ interface operations {
39377
39449
  * "error": {
39378
39450
  * "statusCode": 403,
39379
39451
  * "code": "auth.forbidden",
39380
- * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`)",
39452
+ * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it",
39381
39453
  * "timestamp": "2026-04-20T12:00:00.000Z",
39382
39454
  * "path": "/api/v1/sso/connections",
39383
39455
  * "method": "GET"
@@ -39474,7 +39546,7 @@ interface operations {
39474
39546
  "application/json": components["schemas"]["ErrorResponseDto"];
39475
39547
  };
39476
39548
  };
39477
- /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`) */
39549
+ /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it */
39478
39550
  403: {
39479
39551
  headers: {
39480
39552
  [name: string]: unknown;
@@ -39485,7 +39557,7 @@ interface operations {
39485
39557
  * "error": {
39486
39558
  * "statusCode": 403,
39487
39559
  * "code": "auth.forbidden",
39488
- * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`)",
39560
+ * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it",
39489
39561
  * "timestamp": "2026-04-20T12:00:00.000Z",
39490
39562
  * "path": "/api/v1/sso/connections",
39491
39563
  * "method": "GET"
@@ -39580,7 +39652,7 @@ interface operations {
39580
39652
  "application/json": components["schemas"]["ErrorResponseDto"];
39581
39653
  };
39582
39654
  };
39583
- /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`) */
39655
+ /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it */
39584
39656
  403: {
39585
39657
  headers: {
39586
39658
  [name: string]: unknown;
@@ -39591,7 +39663,7 @@ interface operations {
39591
39663
  * "error": {
39592
39664
  * "statusCode": 403,
39593
39665
  * "code": "auth.forbidden",
39594
- * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`)",
39666
+ * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it",
39595
39667
  * "timestamp": "2026-04-20T12:00:00.000Z",
39596
39668
  * "path": "/api/v1/sso/connections",
39597
39669
  * "method": "GET"
@@ -39682,8 +39754,8 @@ interface operations {
39682
39754
  * "code": "auth.forbidden",
39683
39755
  * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`)",
39684
39756
  * "timestamp": "2026-04-20T12:00:00.000Z",
39685
- * "path": "/api/v1/sso/connections",
39686
- * "method": "GET"
39757
+ * "path": "/api/v1/sso/domains",
39758
+ * "method": "POST"
39687
39759
  * }
39688
39760
  * }
39689
39761
  */
@@ -39790,8 +39862,8 @@ interface operations {
39790
39862
  * "code": "auth.forbidden",
39791
39863
  * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`)",
39792
39864
  * "timestamp": "2026-04-20T12:00:00.000Z",
39793
- * "path": "/api/v1/sso/connections",
39794
- * "method": "GET"
39865
+ * "path": "/api/v1/sso/domains/{domain}/verify",
39866
+ * "method": "POST"
39795
39867
  * }
39796
39868
  * }
39797
39869
  */
@@ -39923,7 +39995,7 @@ interface operations {
39923
39995
  "application/json": components["schemas"]["ErrorResponseDto"];
39924
39996
  };
39925
39997
  };
39926
- /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`) */
39998
+ /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it */
39927
39999
  403: {
39928
40000
  headers: {
39929
40001
  [name: string]: unknown;
@@ -39934,7 +40006,7 @@ interface operations {
39934
40006
  * "error": {
39935
40007
  * "statusCode": 403,
39936
40008
  * "code": "auth.forbidden",
39937
- * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include single sign-on (`plan_feature_unavailable`)",
40009
+ * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it",
39938
40010
  * "timestamp": "2026-04-20T12:00:00.000Z",
39939
40011
  * "path": "/api/v1/sso/connections",
39940
40012
  * "method": "GET"
@@ -40468,7 +40540,7 @@ interface operations {
40468
40540
  "application/json": components["schemas"]["ErrorResponseDto"];
40469
40541
  };
40470
40542
  };
40471
- /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include SCIM (`plan_feature_unavailable`) */
40543
+ /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it */
40472
40544
  403: {
40473
40545
  headers: {
40474
40546
  [name: string]: unknown;
@@ -40479,7 +40551,7 @@ interface operations {
40479
40551
  * "error": {
40480
40552
  * "statusCode": 403,
40481
40553
  * "code": "auth.forbidden",
40482
- * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include SCIM (`plan_feature_unavailable`)",
40554
+ * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it",
40483
40555
  * "timestamp": "2026-04-20T12:00:00.000Z",
40484
40556
  * "path": "/api/v1/scim-tokens",
40485
40557
  * "method": "GET"
@@ -40579,7 +40651,7 @@ interface operations {
40579
40651
  * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include SCIM (`plan_feature_unavailable`)",
40580
40652
  * "timestamp": "2026-04-20T12:00:00.000Z",
40581
40653
  * "path": "/api/v1/scim-tokens",
40582
- * "method": "GET"
40654
+ * "method": "POST"
40583
40655
  * }
40584
40656
  * }
40585
40657
  */
@@ -40716,7 +40788,7 @@ interface operations {
40716
40788
  "application/json": components["schemas"]["ErrorResponseDto"];
40717
40789
  };
40718
40790
  };
40719
- /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include SCIM (`plan_feature_unavailable`) */
40791
+ /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it */
40720
40792
  403: {
40721
40793
  headers: {
40722
40794
  [name: string]: unknown;
@@ -40727,7 +40799,7 @@ interface operations {
40727
40799
  * "error": {
40728
40800
  * "statusCode": 403,
40729
40801
  * "code": "auth.forbidden",
40730
- * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include SCIM (`plan_feature_unavailable`)",
40802
+ * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it",
40731
40803
  * "timestamp": "2026-04-20T12:00:00.000Z",
40732
40804
  * "path": "/api/v1/scim-tokens",
40733
40805
  * "method": "GET"
@@ -40828,8 +40900,8 @@ interface operations {
40828
40900
  * "code": "auth.forbidden",
40829
40901
  * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include SCIM (`plan_feature_unavailable`)",
40830
40902
  * "timestamp": "2026-04-20T12:00:00.000Z",
40831
- * "path": "/api/v1/scim-tokens",
40832
- * "method": "GET"
40903
+ * "path": "/api/v1/scim-tokens/{id}/rotate",
40904
+ * "method": "POST"
40833
40905
  * }
40834
40906
  * }
40835
40907
  */
@@ -40985,7 +41057,7 @@ interface operations {
40985
41057
  "application/json": components["schemas"]["ErrorResponseDto"];
40986
41058
  };
40987
41059
  };
40988
- /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include SCIM (`plan_feature_unavailable`) */
41060
+ /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it */
40989
41061
  403: {
40990
41062
  headers: {
40991
41063
  [name: string]: unknown;
@@ -40996,7 +41068,7 @@ interface operations {
40996
41068
  * "error": {
40997
41069
  * "statusCode": 403,
40998
41070
  * "code": "auth.forbidden",
40999
- * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include SCIM (`plan_feature_unavailable`)",
41071
+ * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it",
41000
41072
  * "timestamp": "2026-04-20T12:00:00.000Z",
41001
41073
  * "path": "/api/v1/scim-tokens",
41002
41074
  * "method": "GET"
@@ -41085,7 +41157,7 @@ interface operations {
41085
41157
  "application/json": components["schemas"]["ErrorResponseDto"];
41086
41158
  };
41087
41159
  };
41088
- /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include SCIM (`plan_feature_unavailable`) */
41160
+ /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it */
41089
41161
  403: {
41090
41162
  headers: {
41091
41163
  [name: string]: unknown;
@@ -41096,7 +41168,7 @@ interface operations {
41096
41168
  * "error": {
41097
41169
  * "statusCode": 403,
41098
41170
  * "code": "auth.forbidden",
41099
- * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include SCIM (`plan_feature_unavailable`)",
41171
+ * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it",
41100
41172
  * "timestamp": "2026-04-20T12:00:00.000Z",
41101
41173
  * "path": "/api/v1/scim-groups",
41102
41174
  * "method": "GET"
@@ -41194,8 +41266,8 @@ interface operations {
41194
41266
  * "code": "auth.forbidden",
41195
41267
  * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include SCIM (`plan_feature_unavailable`)",
41196
41268
  * "timestamp": "2026-04-20T12:00:00.000Z",
41197
- * "path": "/api/v1/scim-groups",
41198
- * "method": "GET"
41269
+ * "path": "/api/v1/scim-groups/{id}/mapping",
41270
+ * "method": "PUT"
41199
41271
  * }
41200
41272
  * }
41201
41273
  */
@@ -41311,7 +41383,7 @@ interface operations {
41311
41383
  "application/json": components["schemas"]["ErrorResponseDto"];
41312
41384
  };
41313
41385
  };
41314
- /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include SCIM (`plan_feature_unavailable`) */
41386
+ /** @description The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it */
41315
41387
  403: {
41316
41388
  headers: {
41317
41389
  [name: string]: unknown;
@@ -41322,7 +41394,7 @@ interface operations {
41322
41394
  * "error": {
41323
41395
  * "statusCode": 403,
41324
41396
  * "code": "auth.forbidden",
41325
- * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it; or the Account's plan does not include SCIM (`plan_feature_unavailable`)",
41397
+ * "message": "The caller lacks the permission this operation checks: an account API key without that `sso` scope, an Environment API key (`sso.*` is an account scope, which no Environment key holds), or an administrator without the Account capability that covers it",
41326
41398
  * "timestamp": "2026-04-20T12:00:00.000Z",
41327
41399
  * "path": "/api/v1/scim-groups",
41328
41400
  * "method": "GET"
@@ -47697,7 +47769,7 @@ interface operations {
47697
47769
  };
47698
47770
  requestBody?: never;
47699
47771
  responses: {
47700
- /** @description The plan's feature map alone (`sso`, `scim`, `audit_destinations`, `hosted_page_customization`), honoring the effective grace-period plan and Enterprise overrides. Membership-gated rather than `billing.view`: every member's dashboard needs it to decide which surfaces to render. */
47772
+ /** @description The plan's feature map (`sso`, `scim`, `audit_destinations`, `brand_removal`, `hosted_page_customization`, `organizations`, `mfa`, `passkey_sign_in`), the limits the dashboards show (`limits`, a number or null for no limit) and, for each feature that is off and each limit that is a number, the plan that lifts it (`required_plans`, null when no plan does), honoring the effective grace-period plan and Enterprise overrides. No usage counts. */
47701
47773
  200: {
47702
47774
  headers: {
47703
47775
  [name: string]: unknown;