@canopy-io/node 0.26.2 → 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/CHANGELOG.md +22 -0
- package/README.md +37 -10
- package/dist/index.cjs +14 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +317 -199
- package/dist/index.d.ts +317 -199
- package/dist/index.js +14 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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
|
|
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;
|
|
@@ -3048,7 +3048,7 @@ interface paths {
|
|
|
3048
3048
|
};
|
|
3049
3049
|
/**
|
|
3050
3050
|
* List the hosted pages and emails a preview can render
|
|
3051
|
-
* @description Lists every hosted page and every customer email the branding preview can render, in the order to show them: each with its `id`, its `kind` (`page` or `email`), the `group` it sits in, its `title`, and its states. Each state has an `id`, a `label` and `sample`: `false` for `YourPage`, the first state of the sign-in and sign-up pages, which shows the page as the Environment serves it, with the sign-in methods, social providers, self sign-up and CAPTCHA it has on, and single sign-on when a connection is linked to one of its OAuth clients, or to the one `client_id` names, and `true` for every other state, which shows sample data, the same in every Environment. An email has one state, `default`. Returns `403` (`plan_feature_unavailable`) when the Account's plan does not include hosted page customization.
|
|
3051
|
+
* @description Lists every hosted page, the embedded sign-in form's email verification code screen (`form-verify`, which no route serves), and every customer email the branding preview can render, in the order to show them: each with its `id`, its `kind` (`page` or `email`), the `group` it sits in, its `title`, and its states. Each state has an `id`, a `label` and `sample`: `false` for `YourPage`, the first state of the sign-in and sign-up pages, which shows the page as the Environment serves it, with the sign-in methods, social providers, self sign-up and CAPTCHA it has on, and single sign-on when a connection is linked to one of its OAuth clients, or to the one `client_id` names, and `true` for every other state, which shows sample data, the same in every Environment. An email has one state, `default`. Returns `403` (`plan_feature_unavailable`) when the Account's plan does not include hosted page customization.
|
|
3052
3052
|
*/
|
|
3053
3053
|
get: operations["ApiBrandingController_getPreviewPages"];
|
|
3054
3054
|
put?: never;
|
|
@@ -3088,7 +3088,7 @@ interface paths {
|
|
|
3088
3088
|
};
|
|
3089
3089
|
/**
|
|
3090
3090
|
* List the hosted page and email texts whose wording can be changed
|
|
3091
|
-
* @description Lists the texts on hosted pages and in emails that `text_overrides` can reword: the headings, labels, button labels and helper text of the sign-in, sign-up, account recovery, email verification, invitation, multi-factor challenge and sign-out pages, and the subject, heading, main sentence and button of the verification, password reset, sign-in code, two-step verification code, change confirmation and invitation emails. Each entry has the `key` an override names it by, its `locale`, the `page` or email it shows on, by the preview list's `id`, with its title and a `preview_state` that shows it, a plain `name`, its `kind`, its `default` wording, the `placeholders` an override must keep, and its `max_length`. Wording that tells a person what happened to their account (errors, refusals, expiry notices, warnings, and the security notice emails) is not listed and cannot be changed. Read this list before writing `text_overrides`. Returns `403` (`plan_feature_unavailable`) when the Account's plan does not include hosted page customization.
|
|
3091
|
+
* @description Lists the texts on hosted pages and in emails that `text_overrides` can reword: the headings, labels, button labels and helper text of the sign-in, sign-up, account recovery, email verification, invitation, multi-factor challenge and sign-out pages and of the embedded sign-in form's email verification code screen, and the subject, heading, main sentence and button of the verification, password reset, sign-in code, two-step verification code, change confirmation and invitation emails. Each entry has the `key` an override names it by, its `locale`, the `page` or email it shows on, by the preview list's `id`, with its title and a `preview_state` that shows it, a plain `name`, its `kind`, its `default` wording, the `placeholders` an override must keep, and its `max_length`. Wording that tells a person what happened to their account (errors, refusals, expiry notices, warnings, and the security notice emails) is not listed and cannot be changed. Read this list before writing `text_overrides`. Returns `403` (`plan_feature_unavailable`) when the Account's plan does not include hosted page customization.
|
|
3092
3092
|
*/
|
|
3093
3093
|
get: operations["ApiBrandingController_getTextKeys"];
|
|
3094
3094
|
put?: never;
|
|
@@ -3346,7 +3346,7 @@ interface paths {
|
|
|
3346
3346
|
head?: never;
|
|
3347
3347
|
/**
|
|
3348
3348
|
* Change an Environment's sign-in settings
|
|
3349
|
-
* @description Updates the sign-in settings of the request's Environment, applying any supplied fields (`mfa`, `allow_self_signup`, `self_signup_require_captcha`, `login_require_captcha`, `password_login_enabled`, `email_otp_login_enabled`, `passkey_login_enabled`, `languages`, `default_language`, `self_signup_daily_cap`, `access_token_ttl_seconds`, `refresh_token_ttl_days`, `public_refresh_token_ttl_days`, `allowed_web_origins`, `sso_return_urls`, `auth_links_base_url`); omitted fields are left unchanged, `allowed_web_origins` are normalized and de-duplicated on save, and `auth_links_base_url` is canonicalized to a bare origin (send `null` to clear it). While `auth_links_base_url` is set, verification, password-reset and invitation emails link to that origin at `/verify-email`, `/reset-password` and `/accept-invite` instead of Canopy's hosted pages. Send the Environment's `version` (returned by the GET) in `If-Match` to refuse a stale save: a mismatch answers `409 version_mismatch`, and without the header the check is skipped. Emits an `environment.auth_settings_updated` audit event naming the settings whose value changed.
|
|
3349
|
+
* @description Updates the sign-in settings of the request's Environment, applying any supplied fields (`mfa`, `allow_self_signup`, `self_signup_require_captcha`, `login_require_captcha`, `password_login_enabled`, `email_otp_login_enabled`, `passkey_login_enabled`, `languages`, `default_language`, `self_signup_daily_cap`, `access_token_ttl_seconds`, `refresh_token_ttl_days`, `public_refresh_token_ttl_days`, `direct_api_permissions_claim_enabled`, `allowed_web_origins`, `sso_return_urls`, `auth_links_base_url`); omitted fields are left unchanged, `allowed_web_origins` are normalized and de-duplicated on save, and `auth_links_base_url` is canonicalized to a bare origin (send `null` to clear it). While `auth_links_base_url` is set, verification, password-reset and invitation emails link to that origin at `/verify-email`, `/reset-password` and `/accept-invite` instead of Canopy's hosted pages. Send the Environment's `version` (returned by the GET) in `If-Match` to refuse a stale save: a mismatch answers `409 version_mismatch`, and without the header the check is skipped. Emits an `environment.auth_settings_updated` audit event naming the settings whose value changed.
|
|
3350
3350
|
*/
|
|
3351
3351
|
patch: operations["ApiAuthSettingsController_update"];
|
|
3352
3352
|
trace?: 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;
|
|
@@ -3716,7 +3716,7 @@ interface paths {
|
|
|
3716
3716
|
};
|
|
3717
3717
|
/**
|
|
3718
3718
|
* List Environments reachable by SSO
|
|
3719
|
-
* @description Returns
|
|
3719
|
+
* @description Returns every Environment with a usable end-user SSO sign-in path: one owning an active OAuth client linked to an `active`, `end_user` SSO connection in the Account (the hosted sign-in), or one bound to such a connection itself (a sign-in by publishable key). Active-but-unlinked connections and inactive clients make nothing reachable. Each item carries `environment_id` and `apps_without_sso`, the Environment's active web clients (`id`, `client_id`, `name`, oldest first) with no active end-user connection linked: the hosted sign-in offers SSO only through the client's own links, so with password, emailed code, passkey and social sign-in all off nobody can sign in through those apps. Machine clients are never listed. Drives the dashboard "no usable sign-in method" warning. The response is an unpaginated `{ items }` array.
|
|
3720
3720
|
*/
|
|
3721
3721
|
get: operations["ApiSsoController_signInCoverage"];
|
|
3722
3722
|
put?: 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
|
|
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
|
-
|
|
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"]["
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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;
|
|
@@ -7285,6 +7294,10 @@ interface components {
|
|
|
7285
7294
|
logo_dark_url: string | null;
|
|
7286
7295
|
/** @enum {string|null} */
|
|
7287
7296
|
logo_kind: "full" | "icon" | null;
|
|
7297
|
+
/** @enum {string|null} */
|
|
7298
|
+
hosted_product_name: "show" | "hide" | null;
|
|
7299
|
+
/** @enum {string|null} */
|
|
7300
|
+
hosted_logo: "show" | "hide" | null;
|
|
7288
7301
|
favicon_url: string | null;
|
|
7289
7302
|
/** @enum {string|null} */
|
|
7290
7303
|
color_scheme: "light" | "dark" | "system" | null;
|
|
@@ -7360,6 +7373,16 @@ interface components {
|
|
|
7360
7373
|
* @enum {string}
|
|
7361
7374
|
*/
|
|
7362
7375
|
logo_kind: "full" | "icon";
|
|
7376
|
+
/**
|
|
7377
|
+
* @description Whether the hosted pages show the product name above the heading: `show` or `hide`. Hidden there, the name still shows in the browser tab, the organization admin portal and the emails.
|
|
7378
|
+
* @enum {string}
|
|
7379
|
+
*/
|
|
7380
|
+
hosted_product_name: "show" | "hide";
|
|
7381
|
+
/**
|
|
7382
|
+
* @description Whether the hosted pages show the logo above the heading: `show` or `hide`. Hidden there, the logo still shows in the organization admin portal and the emails.
|
|
7383
|
+
* @enum {string}
|
|
7384
|
+
*/
|
|
7385
|
+
hosted_logo: "show" | "hide";
|
|
7363
7386
|
favicon_url: string | null;
|
|
7364
7387
|
/**
|
|
7365
7388
|
* @description Which look hosted pages wear: `light`, `dark`, or `system` for whichever the visitor's device asks for. `light` when unset, and on a plan without hosted page customization.
|
|
@@ -7504,6 +7527,16 @@ interface components {
|
|
|
7504
7527
|
* @enum {string|null}
|
|
7505
7528
|
*/
|
|
7506
7529
|
logo_kind?: "full" | "icon" | null;
|
|
7530
|
+
/**
|
|
7531
|
+
* @description Whether hosted pages show the product name above the heading. `hide` leaves it off the pages and keeps it set: the browser tab, the organization admin portal and the emails still show it. Null returns to `show`.
|
|
7532
|
+
* @enum {string|null}
|
|
7533
|
+
*/
|
|
7534
|
+
hosted_product_name?: "show" | "hide" | null;
|
|
7535
|
+
/**
|
|
7536
|
+
* @description Whether hosted pages show the logo above the heading. `hide` leaves it off the pages and keeps it set: the organization admin portal and the emails still show it. Null returns to `show`.
|
|
7537
|
+
* @enum {string|null}
|
|
7538
|
+
*/
|
|
7539
|
+
hosted_logo?: "show" | "hide" | null;
|
|
7507
7540
|
/**
|
|
7508
7541
|
* @description The browser-tab icon on hosted pages. The address `POST /api/v1/branding/images` answered for an image with `slot` `favicon`; any other value is refused. Null clears it.
|
|
7509
7542
|
* @example https://auth.canopy-io.com/branding-images/3f9a1c0e8b7d6a5f4e3d2c1b0a9f8e7d6c5b4a3f2e1d0c9b8a7f6e5d4c3b2a1f-64x64.png
|
|
@@ -8046,7 +8079,7 @@ interface components {
|
|
|
8046
8079
|
password_login_enabled?: boolean;
|
|
8047
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/*. */
|
|
8048
8081
|
email_otp_login_enabled?: boolean;
|
|
8049
|
-
/** @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. */
|
|
8050
8083
|
passkey_login_enabled?: boolean;
|
|
8051
8084
|
/**
|
|
8052
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.
|
|
@@ -8070,6 +8103,8 @@ interface components {
|
|
|
8070
8103
|
refresh_token_ttl_days?: number;
|
|
8071
8104
|
/** @description Lifetime in days of a public client's session (a single-page or mobile app with no client secret), counted from sign-in and never extended by a refresh: when it ends the person signs in again. Defaults to 30. Confidential clients keep `refresh_token_ttl_days`, which slides forward on each refresh. Persisted under `env.settings.public_refresh_token_ttl_days`; applies to sessions signed in after the change. */
|
|
8072
8105
|
public_refresh_token_ttl_days?: number;
|
|
8106
|
+
/** @description Put what the person holds on every Direct API access token this Environment issues, at sign-in and on each refresh: `permissions` (the Environment-wide keys) and, for a session in an organization, `org_permissions` (the keys held at it), each capped at 200 with `permissions_overflow` or `org_permissions_overflow` set past the cap, as on a Hosted Login token minted with the `permissions` scope. Off by default; persisted under `env.settings.direct_api_permissions_claim_enabled`. Each sign-in and refresh then resolves them afresh; applies to tokens minted after the change. */
|
|
8107
|
+
direct_api_permissions_claim_enabled?: boolean;
|
|
8073
8108
|
/** @description Lifetime in seconds of the access tokens a machine client obtains with `client_credentials`. Defaults to 300 (5 minutes). A machine token has no refresh, so this is how long a client keeps acting after its secret is rotated or it is disabled. Persisted under `env.settings.m2m_access_token_ttl_seconds`; applies to tokens minted after the change. */
|
|
8074
8109
|
m2m_access_token_ttl_seconds?: number;
|
|
8075
8110
|
/** @description Create an organization for every self-signup through `POST /v1/identity/auth/register` and add the new identity as its first member. Off by default; persisted under `env.settings.organizations_create_on_signup`. The organization starts with roles copied from the Environment's organization role templates, and the new identity holds its copy of the default admin template. Requires the organizations container and a default admin template; refused with `400 role_template.default_admin_missing` while there is none. */
|
|
@@ -8173,6 +8208,8 @@ interface components {
|
|
|
8173
8208
|
refresh_token_ttl_days?: number;
|
|
8174
8209
|
/** @description Lifetime in days of a public client's session, fixed from sign-in. Absent when unset (the default is 30). */
|
|
8175
8210
|
public_refresh_token_ttl_days?: number;
|
|
8211
|
+
/** @description Whether the Direct API access tokens this Environment issues carry `permissions` and, in an organization, `org_permissions`. */
|
|
8212
|
+
direct_api_permissions_claim_enabled: boolean;
|
|
8176
8213
|
/** @description Lifetime in seconds of a machine client's `client_credentials` token. Absent when unset (the default is 300). */
|
|
8177
8214
|
m2m_access_token_ttl_seconds?: number;
|
|
8178
8215
|
/** @description The audience a machine client's token names when its request names none. Absent when unset. */
|
|
@@ -8243,7 +8280,7 @@ interface components {
|
|
|
8243
8280
|
password_login_enabled?: boolean;
|
|
8244
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/*. */
|
|
8245
8282
|
email_otp_login_enabled?: boolean;
|
|
8246
|
-
/** @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. */
|
|
8247
8284
|
passkey_login_enabled?: boolean;
|
|
8248
8285
|
/**
|
|
8249
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.
|
|
@@ -8267,6 +8304,8 @@ interface components {
|
|
|
8267
8304
|
refresh_token_ttl_days?: number;
|
|
8268
8305
|
/** @description Lifetime in days of a public client's session (a single-page or mobile app with no client secret), counted from sign-in and never extended by a refresh: when it ends the person signs in again. Defaults to 30. Confidential clients keep `refresh_token_ttl_days`, which slides forward on each refresh. Persisted under `env.settings.public_refresh_token_ttl_days`; applies to sessions signed in after the change. */
|
|
8269
8306
|
public_refresh_token_ttl_days?: number;
|
|
8307
|
+
/** @description Put what the person holds on every Direct API access token this Environment issues, at sign-in and on each refresh: `permissions` (the Environment-wide keys) and, for a session in an organization, `org_permissions` (the keys held at it), each capped at 200 with `permissions_overflow` or `org_permissions_overflow` set past the cap, as on a Hosted Login token minted with the `permissions` scope. Off by default; persisted under `env.settings.direct_api_permissions_claim_enabled`. Each sign-in and refresh then resolves them afresh; applies to tokens minted after the change. */
|
|
8308
|
+
direct_api_permissions_claim_enabled?: boolean;
|
|
8270
8309
|
/** @description Lifetime in seconds of the access tokens a machine client obtains with `client_credentials`. Defaults to 300 (5 minutes). A machine token has no refresh, so this is how long a client keeps acting after its secret is rotated or it is disabled. Persisted under `env.settings.m2m_access_token_ttl_seconds`; applies to tokens minted after the change. */
|
|
8271
8310
|
m2m_access_token_ttl_seconds?: number;
|
|
8272
8311
|
/**
|
|
@@ -8329,6 +8368,8 @@ interface components {
|
|
|
8329
8368
|
* @description When a test sign-in through a custom provider last completed. A custom provider can be enabled only while this is set.
|
|
8330
8369
|
*/
|
|
8331
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;
|
|
8332
8373
|
/**
|
|
8333
8374
|
* @description The redirect URI to register with the provider for this Environment's sign-ins.
|
|
8334
8375
|
* @example https://auth.example.com/v1/identity/auth/social/google/callback
|
|
@@ -8562,6 +8603,19 @@ interface components {
|
|
|
8562
8603
|
/** @description Role assigned to a JIT'd identity at the resolved node. */
|
|
8563
8604
|
default_role_id?: string | null;
|
|
8564
8605
|
};
|
|
8606
|
+
SsoSignInCoverageAppResponseDto: {
|
|
8607
|
+
/** @description The OAuth client's row id. */
|
|
8608
|
+
id: string;
|
|
8609
|
+
/** @description The OAuth client's public `client_id`. */
|
|
8610
|
+
client_id: string;
|
|
8611
|
+
/** @description The OAuth client's name. */
|
|
8612
|
+
name: string;
|
|
8613
|
+
};
|
|
8614
|
+
SsoSignInCoverageResponseDto: {
|
|
8615
|
+
environment_id: string;
|
|
8616
|
+
/** @description The Environment's active web clients with no active end-user SSO connection linked to them, oldest first. Their hosted sign-in offers no SSO, so with every other sign-in method off nobody can sign in through them. Machine clients are never listed. */
|
|
8617
|
+
apps_without_sso: components["schemas"]["SsoSignInCoverageAppResponseDto"][];
|
|
8618
|
+
};
|
|
8565
8619
|
EnvironmentSsoLinkResponseDto: {
|
|
8566
8620
|
environment_id: string;
|
|
8567
8621
|
sso_connection_id: string;
|
|
@@ -9333,6 +9387,14 @@ interface components {
|
|
|
9333
9387
|
audit_destinations?: boolean;
|
|
9334
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. */
|
|
9335
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;
|
|
9336
9398
|
};
|
|
9337
9399
|
UsageSummaryResponseDto: {
|
|
9338
9400
|
account_id: string;
|
|
@@ -9344,8 +9406,61 @@ interface components {
|
|
|
9344
9406
|
dimensions: components["schemas"]["UsageDimensionsDto"];
|
|
9345
9407
|
features: components["schemas"]["PlanFeaturesDto"];
|
|
9346
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
|
+
};
|
|
9347
9460
|
EntitlementsResponseDto: {
|
|
9348
9461
|
features: components["schemas"]["PlanFeaturesDto"];
|
|
9462
|
+
limits: components["schemas"]["PlanLimitsDto"];
|
|
9463
|
+
required_plans: components["schemas"]["RequiredPlansDto"];
|
|
9349
9464
|
};
|
|
9350
9465
|
PlanPriceDto: {
|
|
9351
9466
|
/** @description Price in the smallest currency unit (cents for USD), as Stripe holds it. */
|
|
@@ -13736,7 +13851,7 @@ interface operations {
|
|
|
13736
13851
|
};
|
|
13737
13852
|
requestBody?: never;
|
|
13738
13853
|
responses: {
|
|
13739
|
-
/** @description Returns the identity's enrolled factors (TOTP and WebAuthn rows with redacted secrets), the current recovery-code generation count + remaining count, the most
|
|
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. */
|
|
13740
13855
|
200: {
|
|
13741
13856
|
headers: {
|
|
13742
13857
|
[name: string]: unknown;
|
|
@@ -13847,7 +13962,7 @@ interface operations {
|
|
|
13847
13962
|
};
|
|
13848
13963
|
requestBody?: never;
|
|
13849
13964
|
responses: {
|
|
13850
|
-
/** @description Hard-deletes every enrolled factor, marks the current recovery-code generation redeemed, deletes every trusted-device row, and stamps `mfa_admin_reset_at
|
|
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. */
|
|
13851
13966
|
204: {
|
|
13852
13967
|
headers: {
|
|
13853
13968
|
[name: string]: unknown;
|
|
@@ -19857,7 +19972,7 @@ interface operations {
|
|
|
19857
19972
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
19858
19973
|
};
|
|
19859
19974
|
};
|
|
19860
|
-
/** @description
|
|
19975
|
+
/** @description The caller lacks `hierarchy.manage`, or the Account's plan does not include organizations (`plan_feature_unavailable`) */
|
|
19861
19976
|
403: {
|
|
19862
19977
|
headers: {
|
|
19863
19978
|
[name: string]: unknown;
|
|
@@ -19868,10 +19983,10 @@ interface operations {
|
|
|
19868
19983
|
* "error": {
|
|
19869
19984
|
* "statusCode": 403,
|
|
19870
19985
|
* "code": "auth.forbidden",
|
|
19871
|
-
* "message": "
|
|
19986
|
+
* "message": "The caller lacks `hierarchy.manage`, or the Account's plan does not include organizations (`plan_feature_unavailable`)",
|
|
19872
19987
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
19873
19988
|
* "path": "/api/v1/organizations",
|
|
19874
|
-
* "method": "
|
|
19989
|
+
* "method": "POST"
|
|
19875
19990
|
* }
|
|
19876
19991
|
* }
|
|
19877
19992
|
*/
|
|
@@ -19899,7 +20014,7 @@ interface operations {
|
|
|
19899
20014
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
19900
20015
|
};
|
|
19901
20016
|
};
|
|
19902
|
-
/** @description Organizations are not enabled on this Environment, another organization already holds this external_id, or the
|
|
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 */
|
|
19903
20018
|
409: {
|
|
19904
20019
|
headers: {
|
|
19905
20020
|
[name: string]: unknown;
|
|
@@ -19910,7 +20025,7 @@ interface operations {
|
|
|
19910
20025
|
* "error": {
|
|
19911
20026
|
* "statusCode": 409,
|
|
19912
20027
|
* "code": "request.conflict",
|
|
19913
|
-
* "message": "Organizations are not enabled on this Environment, another organization already holds this external_id, or the
|
|
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",
|
|
19914
20029
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
19915
20030
|
* "path": "/api/v1/organizations",
|
|
19916
20031
|
* "method": "POST"
|
|
@@ -20722,7 +20837,7 @@ interface operations {
|
|
|
20722
20837
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
20723
20838
|
};
|
|
20724
20839
|
};
|
|
20725
|
-
/** @description The caller lacks the permission this route checks,
|
|
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 */
|
|
20726
20841
|
403: {
|
|
20727
20842
|
headers: {
|
|
20728
20843
|
[name: string]: unknown;
|
|
@@ -20733,7 +20848,7 @@ interface operations {
|
|
|
20733
20848
|
* "error": {
|
|
20734
20849
|
* "statusCode": 403,
|
|
20735
20850
|
* "code": "auth.forbidden",
|
|
20736
|
-
* "message": "The caller lacks the permission this route checks,
|
|
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",
|
|
20737
20852
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
20738
20853
|
* "path": "/api/v1/organizations/{id}/policy",
|
|
20739
20854
|
* "method": "PATCH"
|
|
@@ -20984,7 +21099,7 @@ interface operations {
|
|
|
20984
21099
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
20985
21100
|
};
|
|
20986
21101
|
};
|
|
20987
|
-
/** @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 */
|
|
20988
21103
|
403: {
|
|
20989
21104
|
headers: {
|
|
20990
21105
|
[name: string]: unknown;
|
|
@@ -20995,7 +21110,7 @@ interface operations {
|
|
|
20995
21110
|
* "error": {
|
|
20996
21111
|
* "statusCode": 403,
|
|
20997
21112
|
* "code": "auth.forbidden",
|
|
20998
|
-
* "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",
|
|
20999
21114
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
21000
21115
|
* "path": "/api/v1/organizations/{id}/policy/sso-recovery-codes",
|
|
21001
21116
|
* "method": "POST"
|
|
@@ -21158,7 +21273,7 @@ interface operations {
|
|
|
21158
21273
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
21159
21274
|
};
|
|
21160
21275
|
};
|
|
21161
|
-
/** @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 */
|
|
21162
21277
|
403: {
|
|
21163
21278
|
headers: {
|
|
21164
21279
|
[name: string]: unknown;
|
|
@@ -21169,7 +21284,7 @@ interface operations {
|
|
|
21169
21284
|
* "error": {
|
|
21170
21285
|
* "statusCode": 403,
|
|
21171
21286
|
* "code": "auth.forbidden",
|
|
21172
|
-
* "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",
|
|
21173
21288
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
21174
21289
|
* "path": "/api/v1/organizations/{id}/sso-connection/test",
|
|
21175
21290
|
* "method": "POST"
|
|
@@ -21270,7 +21385,7 @@ interface operations {
|
|
|
21270
21385
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
21271
21386
|
};
|
|
21272
21387
|
};
|
|
21273
|
-
/** @description The caller lacks the permission this route checks
|
|
21388
|
+
/** @description The caller lacks the permission this route checks */
|
|
21274
21389
|
403: {
|
|
21275
21390
|
headers: {
|
|
21276
21391
|
[name: string]: unknown;
|
|
@@ -21281,7 +21396,7 @@ interface operations {
|
|
|
21281
21396
|
* "error": {
|
|
21282
21397
|
* "statusCode": 403,
|
|
21283
21398
|
* "code": "auth.forbidden",
|
|
21284
|
-
* "message": "The caller lacks the permission this route checks
|
|
21399
|
+
* "message": "The caller lacks the permission this route checks",
|
|
21285
21400
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
21286
21401
|
* "path": "/api/v1/organizations/{id}/sso-connection/test/{testId}",
|
|
21287
21402
|
* "method": "GET"
|
|
@@ -21381,7 +21496,7 @@ interface operations {
|
|
|
21381
21496
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
21382
21497
|
};
|
|
21383
21498
|
};
|
|
21384
|
-
/** @description The caller lacks the permission this route checks
|
|
21499
|
+
/** @description The caller lacks the permission this route checks */
|
|
21385
21500
|
403: {
|
|
21386
21501
|
headers: {
|
|
21387
21502
|
[name: string]: unknown;
|
|
@@ -21392,7 +21507,7 @@ interface operations {
|
|
|
21392
21507
|
* "error": {
|
|
21393
21508
|
* "statusCode": 403,
|
|
21394
21509
|
* "code": "auth.forbidden",
|
|
21395
|
-
* "message": "The caller lacks the permission this route checks
|
|
21510
|
+
* "message": "The caller lacks the permission this route checks",
|
|
21396
21511
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
21397
21512
|
* "path": "/api/v1/organizations/{id}/domains",
|
|
21398
21513
|
* "method": "GET"
|
|
@@ -21496,7 +21611,7 @@ interface operations {
|
|
|
21496
21611
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
21497
21612
|
};
|
|
21498
21613
|
};
|
|
21499
|
-
/** @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 */
|
|
21500
21615
|
403: {
|
|
21501
21616
|
headers: {
|
|
21502
21617
|
[name: string]: unknown;
|
|
@@ -21507,7 +21622,7 @@ interface operations {
|
|
|
21507
21622
|
* "error": {
|
|
21508
21623
|
* "statusCode": 403,
|
|
21509
21624
|
* "code": "auth.forbidden",
|
|
21510
|
-
* "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",
|
|
21511
21626
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
21512
21627
|
* "path": "/api/v1/organizations/{id}/domains",
|
|
21513
21628
|
* "method": "POST"
|
|
@@ -21629,7 +21744,7 @@ interface operations {
|
|
|
21629
21744
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
21630
21745
|
};
|
|
21631
21746
|
};
|
|
21632
|
-
/** @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 */
|
|
21633
21748
|
403: {
|
|
21634
21749
|
headers: {
|
|
21635
21750
|
[name: string]: unknown;
|
|
@@ -21640,7 +21755,7 @@ interface operations {
|
|
|
21640
21755
|
* "error": {
|
|
21641
21756
|
* "statusCode": 403,
|
|
21642
21757
|
* "code": "auth.forbidden",
|
|
21643
|
-
* "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",
|
|
21644
21759
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
21645
21760
|
* "path": "/api/v1/organizations/{id}/domains/{domain}/verify",
|
|
21646
21761
|
* "method": "POST"
|
|
@@ -21779,7 +21894,7 @@ interface operations {
|
|
|
21779
21894
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
21780
21895
|
};
|
|
21781
21896
|
};
|
|
21782
|
-
/** @description The caller lacks the permission this route checks
|
|
21897
|
+
/** @description The caller lacks the permission this route checks */
|
|
21783
21898
|
403: {
|
|
21784
21899
|
headers: {
|
|
21785
21900
|
[name: string]: unknown;
|
|
@@ -21790,7 +21905,7 @@ interface operations {
|
|
|
21790
21905
|
* "error": {
|
|
21791
21906
|
* "statusCode": 403,
|
|
21792
21907
|
* "code": "auth.forbidden",
|
|
21793
|
-
* "message": "The caller lacks the permission this route checks
|
|
21908
|
+
* "message": "The caller lacks the permission this route checks",
|
|
21794
21909
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
21795
21910
|
* "path": "/api/v1/organizations/{id}/domains/{domain}",
|
|
21796
21911
|
* "method": "DELETE"
|
|
@@ -21911,7 +22026,7 @@ interface operations {
|
|
|
21911
22026
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
21912
22027
|
};
|
|
21913
22028
|
};
|
|
21914
|
-
/** @description The caller lacks the permission this route checks
|
|
22029
|
+
/** @description The caller lacks the permission this route checks */
|
|
21915
22030
|
403: {
|
|
21916
22031
|
headers: {
|
|
21917
22032
|
[name: string]: unknown;
|
|
@@ -21922,7 +22037,7 @@ interface operations {
|
|
|
21922
22037
|
* "error": {
|
|
21923
22038
|
* "statusCode": 403,
|
|
21924
22039
|
* "code": "auth.forbidden",
|
|
21925
|
-
* "message": "The caller lacks the permission this route checks
|
|
22040
|
+
* "message": "The caller lacks the permission this route checks",
|
|
21926
22041
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
21927
22042
|
* "path": "/api/v1/organizations/{id}/sso-connections",
|
|
21928
22043
|
* "method": "GET"
|
|
@@ -22026,7 +22141,7 @@ interface operations {
|
|
|
22026
22141
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
22027
22142
|
};
|
|
22028
22143
|
};
|
|
22029
|
-
/** @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 */
|
|
22030
22145
|
403: {
|
|
22031
22146
|
headers: {
|
|
22032
22147
|
[name: string]: unknown;
|
|
@@ -22037,7 +22152,7 @@ interface operations {
|
|
|
22037
22152
|
* "error": {
|
|
22038
22153
|
* "statusCode": 403,
|
|
22039
22154
|
* "code": "auth.forbidden",
|
|
22040
|
-
* "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",
|
|
22041
22156
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
22042
22157
|
* "path": "/api/v1/organizations/{id}/sso-connections",
|
|
22043
22158
|
* "method": "POST"
|
|
@@ -22155,7 +22270,7 @@ interface operations {
|
|
|
22155
22270
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
22156
22271
|
};
|
|
22157
22272
|
};
|
|
22158
|
-
/** @description The caller lacks the permission this route checks
|
|
22273
|
+
/** @description The caller lacks the permission this route checks */
|
|
22159
22274
|
403: {
|
|
22160
22275
|
headers: {
|
|
22161
22276
|
[name: string]: unknown;
|
|
@@ -22166,7 +22281,7 @@ interface operations {
|
|
|
22166
22281
|
* "error": {
|
|
22167
22282
|
* "statusCode": 403,
|
|
22168
22283
|
* "code": "auth.forbidden",
|
|
22169
|
-
* "message": "The caller lacks the permission this route checks
|
|
22284
|
+
* "message": "The caller lacks the permission this route checks",
|
|
22170
22285
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
22171
22286
|
* "path": "/api/v1/organizations/{id}/sso-connections/{connectionId}",
|
|
22172
22287
|
* "method": "DELETE"
|
|
@@ -23471,7 +23586,7 @@ interface operations {
|
|
|
23471
23586
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
23472
23587
|
};
|
|
23473
23588
|
};
|
|
23474
|
-
/** @description The caller lacks the permission this route checks
|
|
23589
|
+
/** @description The caller lacks the permission this route checks */
|
|
23475
23590
|
403: {
|
|
23476
23591
|
headers: {
|
|
23477
23592
|
[name: string]: unknown;
|
|
@@ -23482,7 +23597,7 @@ interface operations {
|
|
|
23482
23597
|
* "error": {
|
|
23483
23598
|
* "statusCode": 403,
|
|
23484
23599
|
* "code": "auth.forbidden",
|
|
23485
|
-
* "message": "The caller lacks the permission this route checks
|
|
23600
|
+
* "message": "The caller lacks the permission this route checks",
|
|
23486
23601
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
23487
23602
|
* "path": "/api/v1/organizations/{id}/sso-connection",
|
|
23488
23603
|
* "method": "GET"
|
|
@@ -23607,7 +23722,7 @@ interface operations {
|
|
|
23607
23722
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
23608
23723
|
};
|
|
23609
23724
|
};
|
|
23610
|
-
/** @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 */
|
|
23611
23726
|
403: {
|
|
23612
23727
|
headers: {
|
|
23613
23728
|
[name: string]: unknown;
|
|
@@ -23618,10 +23733,10 @@ interface operations {
|
|
|
23618
23733
|
* "error": {
|
|
23619
23734
|
* "statusCode": 403,
|
|
23620
23735
|
* "code": "auth.forbidden",
|
|
23621
|
-
* "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",
|
|
23622
23737
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
23623
23738
|
* "path": "/api/v1/organizations/{id}/sso-connection",
|
|
23624
|
-
* "method": "
|
|
23739
|
+
* "method": "POST"
|
|
23625
23740
|
* }
|
|
23626
23741
|
* }
|
|
23627
23742
|
*/
|
|
@@ -23735,7 +23850,7 @@ interface operations {
|
|
|
23735
23850
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
23736
23851
|
};
|
|
23737
23852
|
};
|
|
23738
|
-
/** @description The caller lacks the permission this route checks
|
|
23853
|
+
/** @description The caller lacks the permission this route checks */
|
|
23739
23854
|
403: {
|
|
23740
23855
|
headers: {
|
|
23741
23856
|
[name: string]: unknown;
|
|
@@ -23746,7 +23861,7 @@ interface operations {
|
|
|
23746
23861
|
* "error": {
|
|
23747
23862
|
* "statusCode": 403,
|
|
23748
23863
|
* "code": "auth.forbidden",
|
|
23749
|
-
* "message": "The caller lacks the permission this route checks
|
|
23864
|
+
* "message": "The caller lacks the permission this route checks",
|
|
23750
23865
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
23751
23866
|
* "path": "/api/v1/organizations/{id}/sso-connection",
|
|
23752
23867
|
* "method": "GET"
|
|
@@ -23873,7 +23988,7 @@ interface operations {
|
|
|
23873
23988
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
23874
23989
|
};
|
|
23875
23990
|
};
|
|
23876
|
-
/** @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 */
|
|
23877
23992
|
403: {
|
|
23878
23993
|
headers: {
|
|
23879
23994
|
[name: string]: unknown;
|
|
@@ -23884,10 +23999,10 @@ interface operations {
|
|
|
23884
23999
|
* "error": {
|
|
23885
24000
|
* "statusCode": 403,
|
|
23886
24001
|
* "code": "auth.forbidden",
|
|
23887
|
-
* "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",
|
|
23888
24003
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
23889
24004
|
* "path": "/api/v1/organizations/{id}/sso-connection",
|
|
23890
|
-
* "method": "
|
|
24005
|
+
* "method": "PATCH"
|
|
23891
24006
|
* }
|
|
23892
24007
|
* }
|
|
23893
24008
|
*/
|
|
@@ -24007,7 +24122,7 @@ interface operations {
|
|
|
24007
24122
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
24008
24123
|
};
|
|
24009
24124
|
};
|
|
24010
|
-
/** @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 */
|
|
24011
24126
|
403: {
|
|
24012
24127
|
headers: {
|
|
24013
24128
|
[name: string]: unknown;
|
|
@@ -24018,10 +24133,10 @@ interface operations {
|
|
|
24018
24133
|
* "error": {
|
|
24019
24134
|
* "statusCode": 403,
|
|
24020
24135
|
* "code": "auth.forbidden",
|
|
24021
|
-
* "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",
|
|
24022
24137
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
24023
|
-
* "path": "/api/v1/organizations/{id}/sso-connection",
|
|
24024
|
-
* "method": "
|
|
24138
|
+
* "path": "/api/v1/organizations/{id}/sso-connection/activate",
|
|
24139
|
+
* "method": "POST"
|
|
24025
24140
|
* }
|
|
24026
24141
|
* }
|
|
24027
24142
|
*/
|
|
@@ -24146,7 +24261,7 @@ interface operations {
|
|
|
24146
24261
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
24147
24262
|
};
|
|
24148
24263
|
};
|
|
24149
|
-
/** @description The caller lacks the permission this route checks
|
|
24264
|
+
/** @description The caller lacks the permission this route checks */
|
|
24150
24265
|
403: {
|
|
24151
24266
|
headers: {
|
|
24152
24267
|
[name: string]: unknown;
|
|
@@ -24157,7 +24272,7 @@ interface operations {
|
|
|
24157
24272
|
* "error": {
|
|
24158
24273
|
* "statusCode": 403,
|
|
24159
24274
|
* "code": "auth.forbidden",
|
|
24160
|
-
* "message": "The caller lacks the permission this route checks
|
|
24275
|
+
* "message": "The caller lacks the permission this route checks",
|
|
24161
24276
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
24162
24277
|
* "path": "/api/v1/organizations/{id}/sso-connection",
|
|
24163
24278
|
* "method": "GET"
|
|
@@ -24326,7 +24441,7 @@ interface operations {
|
|
|
24326
24441
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
24327
24442
|
};
|
|
24328
24443
|
};
|
|
24329
|
-
/** @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 */
|
|
24330
24445
|
403: {
|
|
24331
24446
|
headers: {
|
|
24332
24447
|
[name: string]: unknown;
|
|
@@ -24337,10 +24452,10 @@ interface operations {
|
|
|
24337
24452
|
* "error": {
|
|
24338
24453
|
* "statusCode": 403,
|
|
24339
24454
|
* "code": "auth.forbidden",
|
|
24340
|
-
* "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",
|
|
24341
24456
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
24342
|
-
* "path": "/api/v1/organizations/{id}/sso-connection",
|
|
24343
|
-
* "method": "
|
|
24457
|
+
* "path": "/api/v1/organizations/{id}/sso-connection/import-metadata",
|
|
24458
|
+
* "method": "POST"
|
|
24344
24459
|
* }
|
|
24345
24460
|
* }
|
|
24346
24461
|
*/
|
|
@@ -24458,7 +24573,7 @@ interface operations {
|
|
|
24458
24573
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
24459
24574
|
};
|
|
24460
24575
|
};
|
|
24461
|
-
/** @description The caller lacks the permission this route checks
|
|
24576
|
+
/** @description The caller lacks the permission this route checks */
|
|
24462
24577
|
403: {
|
|
24463
24578
|
headers: {
|
|
24464
24579
|
[name: string]: unknown;
|
|
@@ -24469,7 +24584,7 @@ interface operations {
|
|
|
24469
24584
|
* "error": {
|
|
24470
24585
|
* "statusCode": 403,
|
|
24471
24586
|
* "code": "auth.forbidden",
|
|
24472
|
-
* "message": "The caller lacks the permission this route checks
|
|
24587
|
+
* "message": "The caller lacks the permission this route checks",
|
|
24473
24588
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
24474
24589
|
* "path": "/api/v1/organizations/{id}/sso-connection",
|
|
24475
24590
|
* "method": "GET"
|
|
@@ -24590,7 +24705,7 @@ interface operations {
|
|
|
24590
24705
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
24591
24706
|
};
|
|
24592
24707
|
};
|
|
24593
|
-
/** @description The caller lacks the permission this route checks
|
|
24708
|
+
/** @description The caller lacks the permission this route checks */
|
|
24594
24709
|
403: {
|
|
24595
24710
|
headers: {
|
|
24596
24711
|
[name: string]: unknown;
|
|
@@ -24601,7 +24716,7 @@ interface operations {
|
|
|
24601
24716
|
* "error": {
|
|
24602
24717
|
* "statusCode": 403,
|
|
24603
24718
|
* "code": "auth.forbidden",
|
|
24604
|
-
* "message": "The caller lacks the permission this route checks
|
|
24719
|
+
* "message": "The caller lacks the permission this route checks",
|
|
24605
24720
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
24606
24721
|
* "path": "/api/v1/organizations/{id}/sso-connection",
|
|
24607
24722
|
* "method": "GET"
|
|
@@ -24701,7 +24816,7 @@ interface operations {
|
|
|
24701
24816
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
24702
24817
|
};
|
|
24703
24818
|
};
|
|
24704
|
-
/** @description The caller lacks the permission this route checks
|
|
24819
|
+
/** @description The caller lacks the permission this route checks */
|
|
24705
24820
|
403: {
|
|
24706
24821
|
headers: {
|
|
24707
24822
|
[name: string]: unknown;
|
|
@@ -24712,7 +24827,7 @@ interface operations {
|
|
|
24712
24827
|
* "error": {
|
|
24713
24828
|
* "statusCode": 403,
|
|
24714
24829
|
* "code": "auth.forbidden",
|
|
24715
|
-
* "message": "The caller lacks the permission this route checks
|
|
24830
|
+
* "message": "The caller lacks the permission this route checks",
|
|
24716
24831
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
24717
24832
|
* "path": "/api/v1/organizations/{id}/sso-connection",
|
|
24718
24833
|
* "method": "GET"
|
|
@@ -24833,7 +24948,7 @@ interface operations {
|
|
|
24833
24948
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
24834
24949
|
};
|
|
24835
24950
|
};
|
|
24836
|
-
/** @description The caller lacks the permission this route checks
|
|
24951
|
+
/** @description The caller lacks the permission this route checks */
|
|
24837
24952
|
403: {
|
|
24838
24953
|
headers: {
|
|
24839
24954
|
[name: string]: unknown;
|
|
@@ -24844,7 +24959,7 @@ interface operations {
|
|
|
24844
24959
|
* "error": {
|
|
24845
24960
|
* "statusCode": 403,
|
|
24846
24961
|
* "code": "auth.forbidden",
|
|
24847
|
-
* "message": "The caller lacks the permission this route checks
|
|
24962
|
+
* "message": "The caller lacks the permission this route checks",
|
|
24848
24963
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
24849
24964
|
* "path": "/api/v1/organizations/{id}/directory",
|
|
24850
24965
|
* "method": "GET"
|
|
@@ -24944,7 +25059,7 @@ interface operations {
|
|
|
24944
25059
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
24945
25060
|
};
|
|
24946
25061
|
};
|
|
24947
|
-
/** @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 */
|
|
24948
25063
|
403: {
|
|
24949
25064
|
headers: {
|
|
24950
25065
|
[name: string]: unknown;
|
|
@@ -24955,10 +25070,10 @@ interface operations {
|
|
|
24955
25070
|
* "error": {
|
|
24956
25071
|
* "statusCode": 403,
|
|
24957
25072
|
* "code": "auth.forbidden",
|
|
24958
|
-
* "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",
|
|
24959
25074
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
24960
25075
|
* "path": "/api/v1/organizations/{id}/directory",
|
|
24961
|
-
* "method": "
|
|
25076
|
+
* "method": "POST"
|
|
24962
25077
|
* }
|
|
24963
25078
|
* }
|
|
24964
25079
|
*/
|
|
@@ -25072,7 +25187,7 @@ interface operations {
|
|
|
25072
25187
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
25073
25188
|
};
|
|
25074
25189
|
};
|
|
25075
|
-
/** @description The caller lacks the permission this route checks
|
|
25190
|
+
/** @description The caller lacks the permission this route checks */
|
|
25076
25191
|
403: {
|
|
25077
25192
|
headers: {
|
|
25078
25193
|
[name: string]: unknown;
|
|
@@ -25083,7 +25198,7 @@ interface operations {
|
|
|
25083
25198
|
* "error": {
|
|
25084
25199
|
* "statusCode": 403,
|
|
25085
25200
|
* "code": "auth.forbidden",
|
|
25086
|
-
* "message": "The caller lacks the permission this route checks
|
|
25201
|
+
* "message": "The caller lacks the permission this route checks",
|
|
25087
25202
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
25088
25203
|
* "path": "/api/v1/organizations/{id}/directory",
|
|
25089
25204
|
* "method": "GET"
|
|
@@ -25183,7 +25298,7 @@ interface operations {
|
|
|
25183
25298
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
25184
25299
|
};
|
|
25185
25300
|
};
|
|
25186
|
-
/** @description The caller lacks the permission this route checks
|
|
25301
|
+
/** @description The caller lacks the permission this route checks */
|
|
25187
25302
|
403: {
|
|
25188
25303
|
headers: {
|
|
25189
25304
|
[name: string]: unknown;
|
|
@@ -25194,7 +25309,7 @@ interface operations {
|
|
|
25194
25309
|
* "error": {
|
|
25195
25310
|
* "statusCode": 403,
|
|
25196
25311
|
* "code": "auth.forbidden",
|
|
25197
|
-
* "message": "The caller lacks the permission this route checks
|
|
25312
|
+
* "message": "The caller lacks the permission this route checks",
|
|
25198
25313
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
25199
25314
|
* "path": "/api/v1/organizations/{id}/directory",
|
|
25200
25315
|
* "method": "GET"
|
|
@@ -25303,7 +25418,7 @@ interface operations {
|
|
|
25303
25418
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
25304
25419
|
};
|
|
25305
25420
|
};
|
|
25306
|
-
/** @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 */
|
|
25307
25422
|
403: {
|
|
25308
25423
|
headers: {
|
|
25309
25424
|
[name: string]: unknown;
|
|
@@ -25314,10 +25429,10 @@ interface operations {
|
|
|
25314
25429
|
* "error": {
|
|
25315
25430
|
* "statusCode": 403,
|
|
25316
25431
|
* "code": "auth.forbidden",
|
|
25317
|
-
* "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",
|
|
25318
25433
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
25319
|
-
* "path": "/api/v1/organizations/{id}/directory",
|
|
25320
|
-
* "method": "
|
|
25434
|
+
* "path": "/api/v1/organizations/{id}/directory/tokens",
|
|
25435
|
+
* "method": "POST"
|
|
25321
25436
|
* }
|
|
25322
25437
|
* }
|
|
25323
25438
|
*/
|
|
@@ -25487,7 +25602,7 @@ interface operations {
|
|
|
25487
25602
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
25488
25603
|
};
|
|
25489
25604
|
};
|
|
25490
|
-
/** @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 */
|
|
25491
25606
|
403: {
|
|
25492
25607
|
headers: {
|
|
25493
25608
|
[name: string]: unknown;
|
|
@@ -25498,10 +25613,10 @@ interface operations {
|
|
|
25498
25613
|
* "error": {
|
|
25499
25614
|
* "statusCode": 403,
|
|
25500
25615
|
* "code": "auth.forbidden",
|
|
25501
|
-
* "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",
|
|
25502
25617
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
25503
|
-
* "path": "/api/v1/organizations/{id}/directory",
|
|
25504
|
-
* "method": "
|
|
25618
|
+
* "path": "/api/v1/organizations/{id}/directory/tokens/{tokenId}/rotate",
|
|
25619
|
+
* "method": "POST"
|
|
25505
25620
|
* }
|
|
25506
25621
|
* }
|
|
25507
25622
|
*/
|
|
@@ -25658,7 +25773,7 @@ interface operations {
|
|
|
25658
25773
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
25659
25774
|
};
|
|
25660
25775
|
};
|
|
25661
|
-
/** @description The caller lacks the permission this route checks
|
|
25776
|
+
/** @description The caller lacks the permission this route checks */
|
|
25662
25777
|
403: {
|
|
25663
25778
|
headers: {
|
|
25664
25779
|
[name: string]: unknown;
|
|
@@ -25669,7 +25784,7 @@ interface operations {
|
|
|
25669
25784
|
* "error": {
|
|
25670
25785
|
* "statusCode": 403,
|
|
25671
25786
|
* "code": "auth.forbidden",
|
|
25672
|
-
* "message": "The caller lacks the permission this route checks
|
|
25787
|
+
* "message": "The caller lacks the permission this route checks",
|
|
25673
25788
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
25674
25789
|
* "path": "/api/v1/organizations/{id}/directory",
|
|
25675
25790
|
* "method": "GET"
|
|
@@ -25769,7 +25884,7 @@ interface operations {
|
|
|
25769
25884
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
25770
25885
|
};
|
|
25771
25886
|
};
|
|
25772
|
-
/** @description The caller lacks the permission this route checks
|
|
25887
|
+
/** @description The caller lacks the permission this route checks */
|
|
25773
25888
|
403: {
|
|
25774
25889
|
headers: {
|
|
25775
25890
|
[name: string]: unknown;
|
|
@@ -25780,7 +25895,7 @@ interface operations {
|
|
|
25780
25895
|
* "error": {
|
|
25781
25896
|
* "statusCode": 403,
|
|
25782
25897
|
* "code": "auth.forbidden",
|
|
25783
|
-
* "message": "The caller lacks the permission this route checks
|
|
25898
|
+
* "message": "The caller lacks the permission this route checks",
|
|
25784
25899
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
25785
25900
|
* "path": "/api/v1/organizations/{id}/directory",
|
|
25786
25901
|
* "method": "GET"
|
|
@@ -25880,7 +25995,7 @@ interface operations {
|
|
|
25880
25995
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
25881
25996
|
};
|
|
25882
25997
|
};
|
|
25883
|
-
/** @description The caller lacks the permission this route checks
|
|
25998
|
+
/** @description The caller lacks the permission this route checks */
|
|
25884
25999
|
403: {
|
|
25885
26000
|
headers: {
|
|
25886
26001
|
[name: string]: unknown;
|
|
@@ -25891,7 +26006,7 @@ interface operations {
|
|
|
25891
26006
|
* "error": {
|
|
25892
26007
|
* "statusCode": 403,
|
|
25893
26008
|
* "code": "auth.forbidden",
|
|
25894
|
-
* "message": "The caller lacks the permission this route checks
|
|
26009
|
+
* "message": "The caller lacks the permission this route checks",
|
|
25895
26010
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
25896
26011
|
* "path": "/api/v1/organizations/{id}/directory",
|
|
25897
26012
|
* "method": "GET"
|
|
@@ -25995,7 +26110,7 @@ interface operations {
|
|
|
25995
26110
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
25996
26111
|
};
|
|
25997
26112
|
};
|
|
25998
|
-
/** @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 */
|
|
25999
26114
|
403: {
|
|
26000
26115
|
headers: {
|
|
26001
26116
|
[name: string]: unknown;
|
|
@@ -26006,7 +26121,7 @@ interface operations {
|
|
|
26006
26121
|
* "error": {
|
|
26007
26122
|
* "statusCode": 403,
|
|
26008
26123
|
* "code": "auth.forbidden",
|
|
26009
|
-
* "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",
|
|
26010
26125
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
26011
26126
|
* "path": "/api/v1/organizations/{id}/directory/grantable-roles",
|
|
26012
26127
|
* "method": "PUT"
|
|
@@ -26259,7 +26374,7 @@ interface operations {
|
|
|
26259
26374
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
26260
26375
|
};
|
|
26261
26376
|
};
|
|
26262
|
-
/** @description The caller may not manage this organization,
|
|
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) */
|
|
26263
26378
|
403: {
|
|
26264
26379
|
headers: {
|
|
26265
26380
|
[name: string]: unknown;
|
|
@@ -26270,7 +26385,7 @@ interface operations {
|
|
|
26270
26385
|
* "error": {
|
|
26271
26386
|
* "statusCode": 403,
|
|
26272
26387
|
* "code": "auth.forbidden",
|
|
26273
|
-
* "message": "The caller may not manage this organization,
|
|
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)",
|
|
26274
26389
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
26275
26390
|
* "path": "/api/v1/organizations/{id}/oauth-clients",
|
|
26276
26391
|
* "method": "POST"
|
|
@@ -26301,7 +26416,7 @@ interface operations {
|
|
|
26301
26416
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
26302
26417
|
};
|
|
26303
26418
|
};
|
|
26304
|
-
/** @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 */
|
|
26305
26420
|
409: {
|
|
26306
26421
|
headers: {
|
|
26307
26422
|
[name: string]: unknown;
|
|
@@ -26312,7 +26427,7 @@ interface operations {
|
|
|
26312
26427
|
* "error": {
|
|
26313
26428
|
* "statusCode": 409,
|
|
26314
26429
|
* "code": "request.conflict",
|
|
26315
|
-
* "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",
|
|
26316
26431
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
26317
26432
|
* "path": "/api/v1/organizations/{id}/oauth-clients",
|
|
26318
26433
|
* "method": "POST"
|
|
@@ -28352,7 +28467,7 @@ interface operations {
|
|
|
28352
28467
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
28353
28468
|
};
|
|
28354
28469
|
};
|
|
28355
|
-
/** @description The caller lacks the permission this route checks
|
|
28470
|
+
/** @description The caller lacks the permission this route checks */
|
|
28356
28471
|
403: {
|
|
28357
28472
|
headers: {
|
|
28358
28473
|
[name: string]: unknown;
|
|
@@ -28363,7 +28478,7 @@ interface operations {
|
|
|
28363
28478
|
* "error": {
|
|
28364
28479
|
* "statusCode": 403,
|
|
28365
28480
|
* "code": "auth.forbidden",
|
|
28366
|
-
* "message": "The caller lacks the permission this route checks
|
|
28481
|
+
* "message": "The caller lacks the permission this route checks",
|
|
28367
28482
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
28368
28483
|
* "path": "/api/v1/organizations/{id}/directory/groups",
|
|
28369
28484
|
* "method": "GET"
|
|
@@ -28470,7 +28585,7 @@ interface operations {
|
|
|
28470
28585
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
28471
28586
|
};
|
|
28472
28587
|
};
|
|
28473
|
-
/** @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 */
|
|
28474
28589
|
403: {
|
|
28475
28590
|
headers: {
|
|
28476
28591
|
[name: string]: unknown;
|
|
@@ -28481,10 +28596,10 @@ interface operations {
|
|
|
28481
28596
|
* "error": {
|
|
28482
28597
|
* "statusCode": 403,
|
|
28483
28598
|
* "code": "auth.forbidden",
|
|
28484
|
-
* "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",
|
|
28485
28600
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
28486
|
-
* "path": "/api/v1/organizations/{id}/directory/groups",
|
|
28487
|
-
* "method": "
|
|
28601
|
+
* "path": "/api/v1/organizations/{id}/directory/groups/{groupId}/mapping",
|
|
28602
|
+
* "method": "PUT"
|
|
28488
28603
|
* }
|
|
28489
28604
|
* }
|
|
28490
28605
|
*/
|
|
@@ -28605,7 +28720,7 @@ interface operations {
|
|
|
28605
28720
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
28606
28721
|
};
|
|
28607
28722
|
};
|
|
28608
|
-
/** @description The caller lacks the permission this route checks
|
|
28723
|
+
/** @description The caller lacks the permission this route checks */
|
|
28609
28724
|
403: {
|
|
28610
28725
|
headers: {
|
|
28611
28726
|
[name: string]: unknown;
|
|
@@ -28616,7 +28731,7 @@ interface operations {
|
|
|
28616
28731
|
* "error": {
|
|
28617
28732
|
* "statusCode": 403,
|
|
28618
28733
|
* "code": "auth.forbidden",
|
|
28619
|
-
* "message": "The caller lacks the permission this route checks
|
|
28734
|
+
* "message": "The caller lacks the permission this route checks",
|
|
28620
28735
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
28621
28736
|
* "path": "/api/v1/organizations/{id}/directory/groups",
|
|
28622
28737
|
* "method": "GET"
|
|
@@ -34444,7 +34559,7 @@ interface operations {
|
|
|
34444
34559
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
34445
34560
|
};
|
|
34446
34561
|
};
|
|
34447
|
-
/** @description The
|
|
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`) */
|
|
34448
34563
|
403: {
|
|
34449
34564
|
headers: {
|
|
34450
34565
|
[name: string]: unknown;
|
|
@@ -34455,10 +34570,10 @@ interface operations {
|
|
|
34455
34570
|
* "error": {
|
|
34456
34571
|
* "statusCode": 403,
|
|
34457
34572
|
* "code": "auth.forbidden",
|
|
34458
|
-
* "message": "The
|
|
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`)",
|
|
34459
34574
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
34460
|
-
* "path": "/api/v1/applications",
|
|
34461
|
-
* "method": "
|
|
34575
|
+
* "path": "/api/v1/applications/{id}/environments",
|
|
34576
|
+
* "method": "POST"
|
|
34462
34577
|
* }
|
|
34463
34578
|
* }
|
|
34464
34579
|
*/
|
|
@@ -35083,7 +35198,7 @@ interface operations {
|
|
|
35083
35198
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
35084
35199
|
};
|
|
35085
35200
|
};
|
|
35086
|
-
/** @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`) */
|
|
35087
35202
|
403: {
|
|
35088
35203
|
headers: {
|
|
35089
35204
|
[name: string]: unknown;
|
|
@@ -35094,7 +35209,7 @@ interface operations {
|
|
|
35094
35209
|
* "error": {
|
|
35095
35210
|
* "statusCode": 403,
|
|
35096
35211
|
* "code": "auth.forbidden",
|
|
35097
|
-
* "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`)",
|
|
35098
35213
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
35099
35214
|
* "path": "/api/v1/environments/{id}/import",
|
|
35100
35215
|
* "method": "POST"
|
|
@@ -35349,7 +35464,7 @@ interface operations {
|
|
|
35349
35464
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
35350
35465
|
};
|
|
35351
35466
|
};
|
|
35352
|
-
/** @description The
|
|
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 */
|
|
35353
35468
|
403: {
|
|
35354
35469
|
headers: {
|
|
35355
35470
|
[name: string]: unknown;
|
|
@@ -35360,10 +35475,10 @@ interface operations {
|
|
|
35360
35475
|
* "error": {
|
|
35361
35476
|
* "statusCode": 403,
|
|
35362
35477
|
* "code": "auth.forbidden",
|
|
35363
|
-
* "message": "The
|
|
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",
|
|
35364
35479
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
35365
35480
|
* "path": "/api/v1/auth-settings",
|
|
35366
|
-
* "method": "
|
|
35481
|
+
* "method": "PATCH"
|
|
35367
35482
|
* }
|
|
35368
35483
|
* }
|
|
35369
35484
|
*/
|
|
@@ -35596,7 +35711,7 @@ interface operations {
|
|
|
35596
35711
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
35597
35712
|
};
|
|
35598
35713
|
};
|
|
35599
|
-
/** @description The provider changed since it was read, or another request added it first (`version_mismatch`)
|
|
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`) */
|
|
35600
35715
|
409: {
|
|
35601
35716
|
headers: {
|
|
35602
35717
|
[name: string]: unknown;
|
|
@@ -35607,7 +35722,7 @@ interface operations {
|
|
|
35607
35722
|
* "error": {
|
|
35608
35723
|
* "statusCode": 409,
|
|
35609
35724
|
* "code": "request.conflict",
|
|
35610
|
-
* "message": "The provider changed since it was read, or another request added it first (`version_mismatch`)
|
|
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`)",
|
|
35611
35726
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
35612
35727
|
* "path": "/api/v1/social-providers/{providerSlug}",
|
|
35613
35728
|
* "method": "PUT"
|
|
@@ -36764,7 +36879,7 @@ interface operations {
|
|
|
36764
36879
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
36765
36880
|
};
|
|
36766
36881
|
};
|
|
36767
|
-
/** @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 */
|
|
36768
36883
|
403: {
|
|
36769
36884
|
headers: {
|
|
36770
36885
|
[name: string]: unknown;
|
|
@@ -36775,7 +36890,7 @@ interface operations {
|
|
|
36775
36890
|
* "error": {
|
|
36776
36891
|
* "statusCode": 403,
|
|
36777
36892
|
* "code": "auth.forbidden",
|
|
36778
|
-
* "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",
|
|
36779
36894
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
36780
36895
|
* "path": "/api/v1/access-model/organizations",
|
|
36781
36896
|
* "method": "PUT"
|
|
@@ -36983,7 +37098,7 @@ interface operations {
|
|
|
36983
37098
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
36984
37099
|
};
|
|
36985
37100
|
};
|
|
36986
|
-
/** @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
|
|
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 */
|
|
36987
37102
|
403: {
|
|
36988
37103
|
headers: {
|
|
36989
37104
|
[name: string]: unknown;
|
|
@@ -36994,7 +37109,7 @@ interface operations {
|
|
|
36994
37109
|
* "error": {
|
|
36995
37110
|
* "statusCode": 403,
|
|
36996
37111
|
* "code": "auth.forbidden",
|
|
36997
|
-
* "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
|
|
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",
|
|
36998
37113
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
36999
37114
|
* "path": "/api/v1/sso/connections",
|
|
37000
37115
|
* "method": "GET"
|
|
@@ -37092,7 +37207,7 @@ interface operations {
|
|
|
37092
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`)",
|
|
37093
37208
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
37094
37209
|
* "path": "/api/v1/sso/connections",
|
|
37095
|
-
* "method": "
|
|
37210
|
+
* "method": "POST"
|
|
37096
37211
|
* }
|
|
37097
37212
|
* }
|
|
37098
37213
|
*/
|
|
@@ -37228,7 +37343,7 @@ interface operations {
|
|
|
37228
37343
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
37229
37344
|
};
|
|
37230
37345
|
};
|
|
37231
|
-
/** @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
|
|
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 */
|
|
37232
37347
|
403: {
|
|
37233
37348
|
headers: {
|
|
37234
37349
|
[name: string]: unknown;
|
|
@@ -37239,7 +37354,7 @@ interface operations {
|
|
|
37239
37354
|
* "error": {
|
|
37240
37355
|
* "statusCode": 403,
|
|
37241
37356
|
* "code": "auth.forbidden",
|
|
37242
|
-
* "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
|
|
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",
|
|
37243
37358
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
37244
37359
|
* "path": "/api/v1/sso/connections",
|
|
37245
37360
|
* "method": "GET"
|
|
@@ -37332,7 +37447,7 @@ interface operations {
|
|
|
37332
37447
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
37333
37448
|
};
|
|
37334
37449
|
};
|
|
37335
|
-
/** @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
|
|
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 */
|
|
37336
37451
|
403: {
|
|
37337
37452
|
headers: {
|
|
37338
37453
|
[name: string]: unknown;
|
|
@@ -37343,7 +37458,7 @@ interface operations {
|
|
|
37343
37458
|
* "error": {
|
|
37344
37459
|
* "statusCode": 403,
|
|
37345
37460
|
* "code": "auth.forbidden",
|
|
37346
|
-
* "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
|
|
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",
|
|
37347
37462
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
37348
37463
|
* "path": "/api/v1/sso/connections",
|
|
37349
37464
|
* "method": "GET"
|
|
@@ -37481,8 +37596,8 @@ interface operations {
|
|
|
37481
37596
|
* "code": "auth.forbidden",
|
|
37482
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`)",
|
|
37483
37598
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
37484
|
-
* "path": "/api/v1/sso/connections",
|
|
37485
|
-
* "method": "
|
|
37599
|
+
* "path": "/api/v1/sso/connections/{id}",
|
|
37600
|
+
* "method": "PATCH"
|
|
37486
37601
|
* }
|
|
37487
37602
|
* }
|
|
37488
37603
|
*/
|
|
@@ -37613,8 +37728,8 @@ interface operations {
|
|
|
37613
37728
|
* "code": "auth.forbidden",
|
|
37614
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`)",
|
|
37615
37730
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
37616
|
-
* "path": "/api/v1/sso/connections",
|
|
37617
|
-
* "method": "
|
|
37731
|
+
* "path": "/api/v1/sso/connections/{id}/activate",
|
|
37732
|
+
* "method": "POST"
|
|
37618
37733
|
* }
|
|
37619
37734
|
* }
|
|
37620
37735
|
*/
|
|
@@ -37737,7 +37852,7 @@ interface operations {
|
|
|
37737
37852
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
37738
37853
|
};
|
|
37739
37854
|
};
|
|
37740
|
-
/** @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
|
|
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 */
|
|
37741
37856
|
403: {
|
|
37742
37857
|
headers: {
|
|
37743
37858
|
[name: string]: unknown;
|
|
@@ -37748,7 +37863,7 @@ interface operations {
|
|
|
37748
37863
|
* "error": {
|
|
37749
37864
|
* "statusCode": 403,
|
|
37750
37865
|
* "code": "auth.forbidden",
|
|
37751
|
-
* "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
|
|
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",
|
|
37752
37867
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
37753
37868
|
* "path": "/api/v1/sso/connections",
|
|
37754
37869
|
* "method": "GET"
|
|
@@ -37908,7 +38023,7 @@ interface operations {
|
|
|
37908
38023
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
37909
38024
|
};
|
|
37910
38025
|
};
|
|
37911
|
-
/** @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
|
|
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 */
|
|
37912
38027
|
403: {
|
|
37913
38028
|
headers: {
|
|
37914
38029
|
[name: string]: unknown;
|
|
@@ -37919,7 +38034,7 @@ interface operations {
|
|
|
37919
38034
|
* "error": {
|
|
37920
38035
|
* "statusCode": 403,
|
|
37921
38036
|
* "code": "auth.forbidden",
|
|
37922
|
-
* "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
|
|
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",
|
|
37923
38038
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
37924
38039
|
* "path": "/api/v1/sso/connections",
|
|
37925
38040
|
* "method": "GET"
|
|
@@ -38035,8 +38150,8 @@ interface operations {
|
|
|
38035
38150
|
* "code": "auth.forbidden",
|
|
38036
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`)",
|
|
38037
38152
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
38038
|
-
* "path": "/api/v1/sso/connections",
|
|
38039
|
-
* "method": "
|
|
38153
|
+
* "path": "/api/v1/sso/connections/{id}/oauth-clients/{clientId}",
|
|
38154
|
+
* "method": "POST"
|
|
38040
38155
|
* }
|
|
38041
38156
|
* }
|
|
38042
38157
|
*/
|
|
@@ -38149,7 +38264,7 @@ interface operations {
|
|
|
38149
38264
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
38150
38265
|
};
|
|
38151
38266
|
};
|
|
38152
|
-
/** @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
|
|
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 */
|
|
38153
38268
|
403: {
|
|
38154
38269
|
headers: {
|
|
38155
38270
|
[name: string]: unknown;
|
|
@@ -38160,7 +38275,7 @@ interface operations {
|
|
|
38160
38275
|
* "error": {
|
|
38161
38276
|
* "statusCode": 403,
|
|
38162
38277
|
* "code": "auth.forbidden",
|
|
38163
|
-
* "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
|
|
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",
|
|
38164
38279
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
38165
38280
|
* "path": "/api/v1/sso/connections",
|
|
38166
38281
|
* "method": "GET"
|
|
@@ -38276,8 +38391,8 @@ interface operations {
|
|
|
38276
38391
|
* "code": "auth.forbidden",
|
|
38277
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`)",
|
|
38278
38393
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
38279
|
-
* "path": "/api/v1/sso/connections",
|
|
38280
|
-
* "method": "
|
|
38394
|
+
* "path": "/api/v1/sso/connections/{id}/oauth-clients/{clientId}",
|
|
38395
|
+
* "method": "PATCH"
|
|
38281
38396
|
* }
|
|
38282
38397
|
* }
|
|
38283
38398
|
*/
|
|
@@ -38393,7 +38508,7 @@ interface operations {
|
|
|
38393
38508
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
38394
38509
|
};
|
|
38395
38510
|
};
|
|
38396
|
-
/** @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
|
|
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 */
|
|
38397
38512
|
403: {
|
|
38398
38513
|
headers: {
|
|
38399
38514
|
[name: string]: unknown;
|
|
@@ -38404,7 +38519,7 @@ interface operations {
|
|
|
38404
38519
|
* "error": {
|
|
38405
38520
|
* "statusCode": 403,
|
|
38406
38521
|
* "code": "auth.forbidden",
|
|
38407
|
-
* "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
|
|
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",
|
|
38408
38523
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
38409
38524
|
* "path": "/api/v1/sso/connections",
|
|
38410
38525
|
* "method": "GET"
|
|
@@ -38446,14 +38561,14 @@ interface operations {
|
|
|
38446
38561
|
};
|
|
38447
38562
|
requestBody?: never;
|
|
38448
38563
|
responses: {
|
|
38449
|
-
/** @description
|
|
38564
|
+
/** @description Every Environment people can sign in to through SSO (one with an active OAuth client linked to an active end-user SSO connection, or one bound to such a connection itself), each with `apps_without_sso`: its active web clients with no active end-user connection linked, whose hosted sign-in offers no SSO. Lets the dashboard tell, per Environment and per app, whether SSO is a usable sign-in method when every other method is off. */
|
|
38450
38565
|
200: {
|
|
38451
38566
|
headers: {
|
|
38452
38567
|
[name: string]: unknown;
|
|
38453
38568
|
};
|
|
38454
38569
|
content: {
|
|
38455
38570
|
"application/json": {
|
|
38456
|
-
items:
|
|
38571
|
+
items: components["schemas"]["SsoSignInCoverageResponseDto"][];
|
|
38457
38572
|
};
|
|
38458
38573
|
};
|
|
38459
38574
|
};
|
|
@@ -38499,7 +38614,7 @@ interface operations {
|
|
|
38499
38614
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
38500
38615
|
};
|
|
38501
38616
|
};
|
|
38502
|
-
/** @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
|
|
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 */
|
|
38503
38618
|
403: {
|
|
38504
38619
|
headers: {
|
|
38505
38620
|
[name: string]: unknown;
|
|
@@ -38510,7 +38625,7 @@ interface operations {
|
|
|
38510
38625
|
* "error": {
|
|
38511
38626
|
* "statusCode": 403,
|
|
38512
38627
|
* "code": "auth.forbidden",
|
|
38513
|
-
* "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
|
|
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",
|
|
38514
38629
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
38515
38630
|
* "path": "/api/v1/sso/connections",
|
|
38516
38631
|
* "method": "GET"
|
|
@@ -38586,7 +38701,7 @@ interface operations {
|
|
|
38586
38701
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
38587
38702
|
};
|
|
38588
38703
|
};
|
|
38589
|
-
/** @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
|
|
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 */
|
|
38590
38705
|
403: {
|
|
38591
38706
|
headers: {
|
|
38592
38707
|
[name: string]: unknown;
|
|
@@ -38597,7 +38712,7 @@ interface operations {
|
|
|
38597
38712
|
* "error": {
|
|
38598
38713
|
* "statusCode": 403,
|
|
38599
38714
|
* "code": "auth.forbidden",
|
|
38600
|
-
* "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
|
|
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",
|
|
38601
38716
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
38602
38717
|
* "path": "/api/v1/sso/connections",
|
|
38603
38718
|
* "method": "GET"
|
|
@@ -38712,8 +38827,8 @@ interface operations {
|
|
|
38712
38827
|
* "code": "auth.forbidden",
|
|
38713
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`)",
|
|
38714
38829
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
38715
|
-
* "path": "/api/v1/sso/connections",
|
|
38716
|
-
* "method": "
|
|
38830
|
+
* "path": "/api/v1/sso/connections/{id}/environments/{environmentId}",
|
|
38831
|
+
* "method": "POST"
|
|
38717
38832
|
* }
|
|
38718
38833
|
* }
|
|
38719
38834
|
*/
|
|
@@ -38825,7 +38940,7 @@ interface operations {
|
|
|
38825
38940
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
38826
38941
|
};
|
|
38827
38942
|
};
|
|
38828
|
-
/** @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
|
|
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 */
|
|
38829
38944
|
403: {
|
|
38830
38945
|
headers: {
|
|
38831
38946
|
[name: string]: unknown;
|
|
@@ -38836,7 +38951,7 @@ interface operations {
|
|
|
38836
38951
|
* "error": {
|
|
38837
38952
|
* "statusCode": 403,
|
|
38838
38953
|
* "code": "auth.forbidden",
|
|
38839
|
-
* "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
|
|
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",
|
|
38840
38955
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
38841
38956
|
* "path": "/api/v1/sso/connections",
|
|
38842
38957
|
* "method": "GET"
|
|
@@ -38972,8 +39087,8 @@ interface operations {
|
|
|
38972
39087
|
* "code": "auth.forbidden",
|
|
38973
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`)",
|
|
38974
39089
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
38975
|
-
* "path": "/api/v1/sso/connections",
|
|
38976
|
-
* "method": "
|
|
39090
|
+
* "path": "/api/v1/sso/connections/{id}/environments/{environmentId}",
|
|
39091
|
+
* "method": "PATCH"
|
|
38977
39092
|
* }
|
|
38978
39093
|
* }
|
|
38979
39094
|
*/
|
|
@@ -39102,7 +39217,7 @@ interface operations {
|
|
|
39102
39217
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
39103
39218
|
};
|
|
39104
39219
|
};
|
|
39105
|
-
/** @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
|
|
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 */
|
|
39106
39221
|
403: {
|
|
39107
39222
|
headers: {
|
|
39108
39223
|
[name: string]: unknown;
|
|
@@ -39113,7 +39228,7 @@ interface operations {
|
|
|
39113
39228
|
* "error": {
|
|
39114
39229
|
* "statusCode": 403,
|
|
39115
39230
|
* "code": "auth.forbidden",
|
|
39116
|
-
* "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
|
|
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",
|
|
39117
39232
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
39118
39233
|
* "path": "/api/v1/sso/connections",
|
|
39119
39234
|
* "method": "GET"
|
|
@@ -39227,8 +39342,8 @@ interface operations {
|
|
|
39227
39342
|
* "code": "auth.forbidden",
|
|
39228
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`)",
|
|
39229
39344
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
39230
|
-
* "path": "/api/v1/sso/connections",
|
|
39231
|
-
* "method": "
|
|
39345
|
+
* "path": "/api/v1/sso/connections/{id}/test",
|
|
39346
|
+
* "method": "POST"
|
|
39232
39347
|
* }
|
|
39233
39348
|
* }
|
|
39234
39349
|
*/
|
|
@@ -39323,7 +39438,7 @@ interface operations {
|
|
|
39323
39438
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
39324
39439
|
};
|
|
39325
39440
|
};
|
|
39326
|
-
/** @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
|
|
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 */
|
|
39327
39442
|
403: {
|
|
39328
39443
|
headers: {
|
|
39329
39444
|
[name: string]: unknown;
|
|
@@ -39334,7 +39449,7 @@ interface operations {
|
|
|
39334
39449
|
* "error": {
|
|
39335
39450
|
* "statusCode": 403,
|
|
39336
39451
|
* "code": "auth.forbidden",
|
|
39337
|
-
* "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
|
|
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",
|
|
39338
39453
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
39339
39454
|
* "path": "/api/v1/sso/connections",
|
|
39340
39455
|
* "method": "GET"
|
|
@@ -39431,7 +39546,7 @@ interface operations {
|
|
|
39431
39546
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
39432
39547
|
};
|
|
39433
39548
|
};
|
|
39434
|
-
/** @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
|
|
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 */
|
|
39435
39550
|
403: {
|
|
39436
39551
|
headers: {
|
|
39437
39552
|
[name: string]: unknown;
|
|
@@ -39442,7 +39557,7 @@ interface operations {
|
|
|
39442
39557
|
* "error": {
|
|
39443
39558
|
* "statusCode": 403,
|
|
39444
39559
|
* "code": "auth.forbidden",
|
|
39445
|
-
* "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
|
|
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",
|
|
39446
39561
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
39447
39562
|
* "path": "/api/v1/sso/connections",
|
|
39448
39563
|
* "method": "GET"
|
|
@@ -39537,7 +39652,7 @@ interface operations {
|
|
|
39537
39652
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
39538
39653
|
};
|
|
39539
39654
|
};
|
|
39540
|
-
/** @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
|
|
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 */
|
|
39541
39656
|
403: {
|
|
39542
39657
|
headers: {
|
|
39543
39658
|
[name: string]: unknown;
|
|
@@ -39548,7 +39663,7 @@ interface operations {
|
|
|
39548
39663
|
* "error": {
|
|
39549
39664
|
* "statusCode": 403,
|
|
39550
39665
|
* "code": "auth.forbidden",
|
|
39551
|
-
* "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
|
|
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",
|
|
39552
39667
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
39553
39668
|
* "path": "/api/v1/sso/connections",
|
|
39554
39669
|
* "method": "GET"
|
|
@@ -39639,8 +39754,8 @@ interface operations {
|
|
|
39639
39754
|
* "code": "auth.forbidden",
|
|
39640
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`)",
|
|
39641
39756
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
39642
|
-
* "path": "/api/v1/sso/
|
|
39643
|
-
* "method": "
|
|
39757
|
+
* "path": "/api/v1/sso/domains",
|
|
39758
|
+
* "method": "POST"
|
|
39644
39759
|
* }
|
|
39645
39760
|
* }
|
|
39646
39761
|
*/
|
|
@@ -39747,8 +39862,8 @@ interface operations {
|
|
|
39747
39862
|
* "code": "auth.forbidden",
|
|
39748
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`)",
|
|
39749
39864
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
39750
|
-
* "path": "/api/v1/sso/
|
|
39751
|
-
* "method": "
|
|
39865
|
+
* "path": "/api/v1/sso/domains/{domain}/verify",
|
|
39866
|
+
* "method": "POST"
|
|
39752
39867
|
* }
|
|
39753
39868
|
* }
|
|
39754
39869
|
*/
|
|
@@ -39880,7 +39995,7 @@ interface operations {
|
|
|
39880
39995
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
39881
39996
|
};
|
|
39882
39997
|
};
|
|
39883
|
-
/** @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
|
|
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 */
|
|
39884
39999
|
403: {
|
|
39885
40000
|
headers: {
|
|
39886
40001
|
[name: string]: unknown;
|
|
@@ -39891,7 +40006,7 @@ interface operations {
|
|
|
39891
40006
|
* "error": {
|
|
39892
40007
|
* "statusCode": 403,
|
|
39893
40008
|
* "code": "auth.forbidden",
|
|
39894
|
-
* "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
|
|
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",
|
|
39895
40010
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
39896
40011
|
* "path": "/api/v1/sso/connections",
|
|
39897
40012
|
* "method": "GET"
|
|
@@ -40425,7 +40540,7 @@ interface operations {
|
|
|
40425
40540
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
40426
40541
|
};
|
|
40427
40542
|
};
|
|
40428
|
-
/** @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
|
|
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 */
|
|
40429
40544
|
403: {
|
|
40430
40545
|
headers: {
|
|
40431
40546
|
[name: string]: unknown;
|
|
@@ -40436,7 +40551,7 @@ interface operations {
|
|
|
40436
40551
|
* "error": {
|
|
40437
40552
|
* "statusCode": 403,
|
|
40438
40553
|
* "code": "auth.forbidden",
|
|
40439
|
-
* "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
|
|
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",
|
|
40440
40555
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
40441
40556
|
* "path": "/api/v1/scim-tokens",
|
|
40442
40557
|
* "method": "GET"
|
|
@@ -40536,7 +40651,7 @@ interface operations {
|
|
|
40536
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`)",
|
|
40537
40652
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
40538
40653
|
* "path": "/api/v1/scim-tokens",
|
|
40539
|
-
* "method": "
|
|
40654
|
+
* "method": "POST"
|
|
40540
40655
|
* }
|
|
40541
40656
|
* }
|
|
40542
40657
|
*/
|
|
@@ -40673,7 +40788,7 @@ interface operations {
|
|
|
40673
40788
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
40674
40789
|
};
|
|
40675
40790
|
};
|
|
40676
|
-
/** @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
|
|
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 */
|
|
40677
40792
|
403: {
|
|
40678
40793
|
headers: {
|
|
40679
40794
|
[name: string]: unknown;
|
|
@@ -40684,7 +40799,7 @@ interface operations {
|
|
|
40684
40799
|
* "error": {
|
|
40685
40800
|
* "statusCode": 403,
|
|
40686
40801
|
* "code": "auth.forbidden",
|
|
40687
|
-
* "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
|
|
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",
|
|
40688
40803
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
40689
40804
|
* "path": "/api/v1/scim-tokens",
|
|
40690
40805
|
* "method": "GET"
|
|
@@ -40785,8 +40900,8 @@ interface operations {
|
|
|
40785
40900
|
* "code": "auth.forbidden",
|
|
40786
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`)",
|
|
40787
40902
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
40788
|
-
* "path": "/api/v1/scim-tokens",
|
|
40789
|
-
* "method": "
|
|
40903
|
+
* "path": "/api/v1/scim-tokens/{id}/rotate",
|
|
40904
|
+
* "method": "POST"
|
|
40790
40905
|
* }
|
|
40791
40906
|
* }
|
|
40792
40907
|
*/
|
|
@@ -40942,7 +41057,7 @@ interface operations {
|
|
|
40942
41057
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
40943
41058
|
};
|
|
40944
41059
|
};
|
|
40945
|
-
/** @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
|
|
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 */
|
|
40946
41061
|
403: {
|
|
40947
41062
|
headers: {
|
|
40948
41063
|
[name: string]: unknown;
|
|
@@ -40953,7 +41068,7 @@ interface operations {
|
|
|
40953
41068
|
* "error": {
|
|
40954
41069
|
* "statusCode": 403,
|
|
40955
41070
|
* "code": "auth.forbidden",
|
|
40956
|
-
* "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
|
|
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",
|
|
40957
41072
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
40958
41073
|
* "path": "/api/v1/scim-tokens",
|
|
40959
41074
|
* "method": "GET"
|
|
@@ -41042,7 +41157,7 @@ interface operations {
|
|
|
41042
41157
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
41043
41158
|
};
|
|
41044
41159
|
};
|
|
41045
|
-
/** @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
|
|
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 */
|
|
41046
41161
|
403: {
|
|
41047
41162
|
headers: {
|
|
41048
41163
|
[name: string]: unknown;
|
|
@@ -41053,7 +41168,7 @@ interface operations {
|
|
|
41053
41168
|
* "error": {
|
|
41054
41169
|
* "statusCode": 403,
|
|
41055
41170
|
* "code": "auth.forbidden",
|
|
41056
|
-
* "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
|
|
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",
|
|
41057
41172
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
41058
41173
|
* "path": "/api/v1/scim-groups",
|
|
41059
41174
|
* "method": "GET"
|
|
@@ -41151,8 +41266,8 @@ interface operations {
|
|
|
41151
41266
|
* "code": "auth.forbidden",
|
|
41152
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`)",
|
|
41153
41268
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
41154
|
-
* "path": "/api/v1/scim-groups",
|
|
41155
|
-
* "method": "
|
|
41269
|
+
* "path": "/api/v1/scim-groups/{id}/mapping",
|
|
41270
|
+
* "method": "PUT"
|
|
41156
41271
|
* }
|
|
41157
41272
|
* }
|
|
41158
41273
|
*/
|
|
@@ -41268,7 +41383,7 @@ interface operations {
|
|
|
41268
41383
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
41269
41384
|
};
|
|
41270
41385
|
};
|
|
41271
|
-
/** @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
|
|
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 */
|
|
41272
41387
|
403: {
|
|
41273
41388
|
headers: {
|
|
41274
41389
|
[name: string]: unknown;
|
|
@@ -41279,7 +41394,7 @@ interface operations {
|
|
|
41279
41394
|
* "error": {
|
|
41280
41395
|
* "statusCode": 403,
|
|
41281
41396
|
* "code": "auth.forbidden",
|
|
41282
|
-
* "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
|
|
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",
|
|
41283
41398
|
* "timestamp": "2026-04-20T12:00:00.000Z",
|
|
41284
41399
|
* "path": "/api/v1/scim-groups",
|
|
41285
41400
|
* "method": "GET"
|
|
@@ -47654,7 +47769,7 @@ interface operations {
|
|
|
47654
47769
|
};
|
|
47655
47770
|
requestBody?: never;
|
|
47656
47771
|
responses: {
|
|
47657
|
-
/** @description The plan's feature map
|
|
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. */
|
|
47658
47773
|
200: {
|
|
47659
47774
|
headers: {
|
|
47660
47775
|
[name: string]: unknown;
|
|
@@ -49368,14 +49483,17 @@ interface TokenVerifierOptions {
|
|
|
49368
49483
|
*/
|
|
49369
49484
|
issuer?: string;
|
|
49370
49485
|
/**
|
|
49371
|
-
*
|
|
49486
|
+
* The audience, or audiences, a person's token must name in `aud`. A token
|
|
49487
|
+
* is accepted when its `aud` includes any of them.
|
|
49372
49488
|
*
|
|
49373
|
-
* Hosted Login
|
|
49374
|
-
*
|
|
49375
|
-
*
|
|
49376
|
-
*
|
|
49489
|
+
* A Hosted Login token names your OAuth client id, and a Direct API token
|
|
49490
|
+
* the id of the Environment that issued it. A backend that accepts both
|
|
49491
|
+
* lists both: `[clientId, environmentId]`. Verifying a token that carries
|
|
49492
|
+
* `aud` without setting this throws rather than ignoring the claim, because
|
|
49493
|
+
* `aud` is what stops a token minted for one client being replayed at
|
|
49494
|
+
* another.
|
|
49377
49495
|
*/
|
|
49378
|
-
audience?: string;
|
|
49496
|
+
audience?: string | readonly string[];
|
|
49379
49497
|
/**
|
|
49380
49498
|
* The audience a machine client's token must name, `service` or
|
|
49381
49499
|
* `delegated`: the identifier your API answers to
|
|
@@ -49613,7 +49731,7 @@ interface CanopyDelegation {
|
|
|
49613
49731
|
declare function delegation(claims: CanopyTokenClaims): CanopyDelegation | null;
|
|
49614
49732
|
declare class TokenVerifier {
|
|
49615
49733
|
private readonly issuer;
|
|
49616
|
-
private readonly
|
|
49734
|
+
private readonly audiences;
|
|
49617
49735
|
private readonly serviceAudience;
|
|
49618
49736
|
private readonly jwksUri;
|
|
49619
49737
|
private readonly jwksCacheMaxAgeMs;
|