naftiko: 1.0.0-alpha2 info: label: Frontegg Tenants API description: 'Frontegg Tenants API capability. 25 operations. Lead operation: Get account (tenant) by ID. Self-contained Naftiko capability for the Frontegg Frontegg Tenants business surface.' tags: - Frontegg - Tenants created: '2026-05-22' modified: '2026-05-22' binds: - namespace: env keys: FRONTEGG_CLIENT_ID: FRONTEGG_CLIENT_ID FRONTEGG_API_KEY: FRONTEGG_API_KEY FRONTEGG_BEARER_TOKEN: FRONTEGG_BEARER_TOKEN capability: consumes: - type: http namespace: frontegg-tenants baseUri: https://api.frontegg.com/tenants description: Frontegg Tenants API. Bearer JWT (environment or user token) authentication. resources: - name: resources-tenants-v1-tenantid path: /resources/tenants/v1/{tenantId} operations: - name: TenantControllerV1_getTenant method: GET description: Get account (tenant) by ID outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: tenantId in: path type: string description: The account (tenant) ID to get. required: true - name: TenantControllerV1_updateTenant method: PUT description: Update account (tenant) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: tenantId in: path type: string description: tenantId parameter required: true - name: body in: body type: object description: Request body (JSON). required: true - name: TenantControllerV1_deleteTenant method: DELETE description: Delete account (tenant) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: tenantId in: path type: string description: tenantId parameter required: true - name: resources-tenants-v1 path: /resources/tenants/v1 operations: - name: TenantControllerV1_createTenant method: POST description: Create an account (tenant) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: TenantControllerV1_deleteCurrentTenant method: DELETE description: Delete current account (tenant) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: [] - name: resources-tenants-v1-tenantid-metadata path: /resources/tenants/v1/{tenantId}/metadata operations: - name: TenantControllerV1_addTenantMetadata method: POST description: Add account (tenant) metadata outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: tenantId in: path type: string description: tenantId parameter required: true - name: body in: body type: object description: Request body (JSON). required: true - name: resources-tenants-v1-tenantid-metadata-key path: /resources/tenants/v1/{tenantId}/metadata/{key} operations: - name: TenantControllerV1_deleteTenantMetadata method: DELETE description: Delete account (tenant) metadata outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: tenantId in: path type: string description: tenantId parameter required: true - name: key in: path type: string description: key parameter required: true - name: resources-tenants-v2 path: /resources/tenants/v2 operations: - name: TenantControllerV2_getTenants method: GET description: Get accounts (tenants) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: _limit in: query type: number description: The default limit is 50 accounts (tenants) per request, the maximum is 200 required: false - name: _offset in: query type: number description: _offset parameter required: false - name: _filter in: query type: string description: This param allows filtering the request using an account's name or tenantId required: false - name: _sortBy in: query type: string description: This param allows sorting the results via createdAt, name, tenantId required: false - name: _order in: query type: string description: This param can be used together with sortBy and define the order as ACS or DESC required: false - name: _tenantIds in: query type: array description: This param allows passing specific tenantIds and getting only these accounts (tenants) data required: false - name: resources-tenants-v2-alias-alias path: /resources/tenants/v2/alias/{alias} operations: - name: TenantControllerV2_getTenantByAlias method: GET description: Get account (tenant) by alias outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: alias in: path type: string description: alias parameter required: true - name: resources-tenants-v2-tenantid path: /resources/tenants/v2/{tenantId} operations: - name: TenantControllerV2_getTenant method: GET description: Get an account (tenant) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: tenantId in: path type: string description: tenantId parameter required: true - name: TenantControllerV2_updateTenant method: PUT description: Update an account (tenant) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: tenantId in: path type: string description: tenantId parameter required: true - name: body in: body type: object description: Request body (JSON). required: true - name: resources-sub-tenants-v1 path: /resources/sub-tenants/v1 operations: - name: SubTenantControllerV1_createSubTenant method: POST description: Create sub-account outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: resources-sub-tenants-v1-tenantid-management path: /resources/sub-tenants/v1/{tenantId}/management operations: - name: SubTenantControllerV1_updateSubTenantManagement method: PUT description: Update sub-account (tenant) management outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: tenantId in: path type: string description: tenantId parameter required: true - name: body in: body type: object description: Request body (JSON). required: true - name: resources-sub-tenants-v1-tenantid-hierarchy-settings path: /resources/sub-tenants/v1/{tenantId}/hierarchy-settings operations: - name: SubTenantControllerV1_updateSubTenantHierarchySettings method: PUT description: Update sub-account hierarchy settings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: tenantId in: path type: string description: tenantId parameter required: true - name: body in: body type: object description: Request body (JSON). required: true - name: resources-sub-tenants-v1-tenantid path: /resources/sub-tenants/v1/{tenantId} operations: - name: SubTenantControllerV1_deleteSubTenant method: DELETE description: Delete a sub-account by ID outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: tenantId in: path type: string description: tenantId parameter required: true - name: resources-account-settings-v1 path: /resources/account-settings/v1 operations: - name: AccountSettingsControllerV1_getSettings method: GET description: Get account settings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: frontegg-tenant-id in: header type: string description: The account (tenant) ID identifier required: true - name: AccountSettingsControllerV1_updateSettings method: PUT description: Update account settings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: frontegg-tenant-id in: header type: string description: The account (tenant) ID identifier required: true - name: body in: body type: object description: Request body (JSON). required: true - name: resources-account-settings-v1-public path: /resources/account-settings/v1/public operations: - name: AccountSettingsControllerV1_getPublicSettings method: GET description: Get public settings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: frontegg-tenant-id in: header type: string description: The account (tenant) ID identifier required: true - name: resources-migrations-v1-tenants path: /resources/migrations/v1/tenants operations: - name: MigrationControllerV1_migrateTenants method: POST description: Migrate accounts (tenants) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: resources-migrations-v1-tenants-status-migrationid path: /resources/migrations/v1/tenants/status/{migrationId} operations: - name: MigrationControllerV1_getMigrateTenantsStatus method: GET description: Accounts (tenants) migration status outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: migrationId in: path type: string description: migrationId parameter required: true - name: resources-hierarchy-v1 path: /resources/hierarchy/v1 operations: - name: TenantHierarchyControllerV1_getSubTenants method: GET description: Get sub-accounts (tenants) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: frontegg-tenant-id in: header type: string description: The account (tenant) ID identifier required: true - name: TenantHierarchyControllerV1_createSubTenants method: POST description: Create sub-account (tenant) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: TenantHierarchyControllerV1_deleteSubTenant method: DELETE description: Delete sub-account (tenant) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: resources-hierarchy-v1-parents path: /resources/hierarchy/v1/parents operations: - name: TenantHierarchyControllerV1_getParentTenants method: GET description: Get parent accounts (tenants) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: frontegg-tenant-id in: header type: string description: The account (tenant) ID identifier required: true - name: resources-hierarchy-v1-tree path: /resources/hierarchy/v1/tree operations: - name: TenantHierarchyControllerV1_getSubTenantsTree method: GET description: Get sub-accounts (tenanants) hierarchy tree outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: frontegg-tenant-id in: header type: string description: The account (tenant) ID identifier required: true exposes: - type: rest namespace: frontegg-tenants-rest port: 8080 description: REST adapter for Frontegg Tenants. One resource per consumed operation, prefixed with /v1. resources: - path: /v1/resources/tenants/v1/{tenantId} name: resources-tenants-v1-tenantid description: REST surface for resources-tenants-v1-tenantid. operations: - method: GET name: TenantControllerV1_getTenant description: Get account (tenant) by ID call: frontegg-tenants.TenantControllerV1_getTenant with: tenantId: rest.tenantId outputParameters: - type: object mapping: $. - path: /v1/resources/tenants/v1/{tenantId} name: resources-tenants-v1-tenantid description: REST surface for resources-tenants-v1-tenantid. operations: - method: PUT name: TenantControllerV1_updateTenant description: Update account (tenant) call: frontegg-tenants.TenantControllerV1_updateTenant with: tenantId: rest.tenantId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/resources/tenants/v1/{tenantId} name: resources-tenants-v1-tenantid description: REST surface for resources-tenants-v1-tenantid. operations: - method: DELETE name: TenantControllerV1_deleteTenant description: Delete account (tenant) call: frontegg-tenants.TenantControllerV1_deleteTenant with: tenantId: rest.tenantId outputParameters: - type: object mapping: $. - path: /v1/resources/tenants/v1 name: resources-tenants-v1 description: REST surface for resources-tenants-v1. operations: - method: POST name: TenantControllerV1_createTenant description: Create an account (tenant) call: frontegg-tenants.TenantControllerV1_createTenant with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/resources/tenants/v1 name: resources-tenants-v1 description: REST surface for resources-tenants-v1. operations: - method: DELETE name: TenantControllerV1_deleteCurrentTenant description: Delete current account (tenant) call: frontegg-tenants.TenantControllerV1_deleteCurrentTenant with: {} outputParameters: - type: object mapping: $. - path: /v1/resources/tenants/v1/{tenantId}/metadata name: resources-tenants-v1-tenantid-metadata description: REST surface for resources-tenants-v1-tenantid-metadata. operations: - method: POST name: TenantControllerV1_addTenantMetadata description: Add account (tenant) metadata call: frontegg-tenants.TenantControllerV1_addTenantMetadata with: tenantId: rest.tenantId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/resources/tenants/v1/{tenantId}/metadata/{key} name: resources-tenants-v1-tenantid-metadata-key description: REST surface for resources-tenants-v1-tenantid-metadata-key. operations: - method: DELETE name: TenantControllerV1_deleteTenantMetadata description: Delete account (tenant) metadata call: frontegg-tenants.TenantControllerV1_deleteTenantMetadata with: tenantId: rest.tenantId key: rest.key outputParameters: - type: object mapping: $. - path: /v1/resources/tenants/v2 name: resources-tenants-v2 description: REST surface for resources-tenants-v2. operations: - method: GET name: TenantControllerV2_getTenants description: Get accounts (tenants) call: frontegg-tenants.TenantControllerV2_getTenants with: _limit: rest._limit _offset: rest._offset _filter: rest._filter _sortBy: rest._sortBy _order: rest._order _tenantIds: rest._tenantIds outputParameters: - type: object mapping: $. - path: /v1/resources/tenants/v2/alias/{alias} name: resources-tenants-v2-alias-alias description: REST surface for resources-tenants-v2-alias-alias. operations: - method: GET name: TenantControllerV2_getTenantByAlias description: Get account (tenant) by alias call: frontegg-tenants.TenantControllerV2_getTenantByAlias with: alias: rest.alias outputParameters: - type: object mapping: $. - path: /v1/resources/tenants/v2/{tenantId} name: resources-tenants-v2-tenantid description: REST surface for resources-tenants-v2-tenantid. operations: - method: GET name: TenantControllerV2_getTenant description: Get an account (tenant) call: frontegg-tenants.TenantControllerV2_getTenant with: tenantId: rest.tenantId outputParameters: - type: object mapping: $. - path: /v1/resources/tenants/v2/{tenantId} name: resources-tenants-v2-tenantid description: REST surface for resources-tenants-v2-tenantid. operations: - method: PUT name: TenantControllerV2_updateTenant description: Update an account (tenant) call: frontegg-tenants.TenantControllerV2_updateTenant with: tenantId: rest.tenantId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/resources/sub-tenants/v1 name: resources-sub-tenants-v1 description: REST surface for resources-sub-tenants-v1. operations: - method: POST name: SubTenantControllerV1_createSubTenant description: Create sub-account call: frontegg-tenants.SubTenantControllerV1_createSubTenant with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/resources/sub-tenants/v1/{tenantId}/management name: resources-sub-tenants-v1-tenantid-management description: REST surface for resources-sub-tenants-v1-tenantid-management. operations: - method: PUT name: SubTenantControllerV1_updateSubTenantManagement description: Update sub-account (tenant) management call: frontegg-tenants.SubTenantControllerV1_updateSubTenantManagement with: tenantId: rest.tenantId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/resources/sub-tenants/v1/{tenantId}/hierarchy-settings name: resources-sub-tenants-v1-tenantid-hierarchy-settings description: REST surface for resources-sub-tenants-v1-tenantid-hierarchy-settings. operations: - method: PUT name: SubTenantControllerV1_updateSubTenantHierarchySettings description: Update sub-account hierarchy settings call: frontegg-tenants.SubTenantControllerV1_updateSubTenantHierarchySettings with: tenantId: rest.tenantId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/resources/sub-tenants/v1/{tenantId} name: resources-sub-tenants-v1-tenantid description: REST surface for resources-sub-tenants-v1-tenantid. operations: - method: DELETE name: SubTenantControllerV1_deleteSubTenant description: Delete a sub-account by ID call: frontegg-tenants.SubTenantControllerV1_deleteSubTenant with: tenantId: rest.tenantId outputParameters: - type: object mapping: $. - path: /v1/resources/account-settings/v1 name: resources-account-settings-v1 description: REST surface for resources-account-settings-v1. operations: - method: GET name: AccountSettingsControllerV1_getSettings description: Get account settings call: frontegg-tenants.AccountSettingsControllerV1_getSettings with: frontegg-tenant-id: rest.frontegg-tenant-id outputParameters: - type: object mapping: $. - path: /v1/resources/account-settings/v1 name: resources-account-settings-v1 description: REST surface for resources-account-settings-v1. operations: - method: PUT name: AccountSettingsControllerV1_updateSettings description: Update account settings call: frontegg-tenants.AccountSettingsControllerV1_updateSettings with: frontegg-tenant-id: rest.frontegg-tenant-id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/resources/account-settings/v1/public name: resources-account-settings-v1-public description: REST surface for resources-account-settings-v1-public. operations: - method: GET name: AccountSettingsControllerV1_getPublicSettings description: Get public settings call: frontegg-tenants.AccountSettingsControllerV1_getPublicSettings with: frontegg-tenant-id: rest.frontegg-tenant-id outputParameters: - type: object mapping: $. - path: /v1/resources/migrations/v1/tenants name: resources-migrations-v1-tenants description: REST surface for resources-migrations-v1-tenants. operations: - method: POST name: MigrationControllerV1_migrateTenants description: Migrate accounts (tenants) call: frontegg-tenants.MigrationControllerV1_migrateTenants with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/resources/migrations/v1/tenants/status/{migrationId} name: resources-migrations-v1-tenants-status-migrationid description: REST surface for resources-migrations-v1-tenants-status-migrationid. operations: - method: GET name: MigrationControllerV1_getMigrateTenantsStatus description: Accounts (tenants) migration status call: frontegg-tenants.MigrationControllerV1_getMigrateTenantsStatus with: migrationId: rest.migrationId outputParameters: - type: object mapping: $. - path: /v1/resources/hierarchy/v1 name: resources-hierarchy-v1 description: REST surface for resources-hierarchy-v1. operations: - method: GET name: TenantHierarchyControllerV1_getSubTenants description: Get sub-accounts (tenants) call: frontegg-tenants.TenantHierarchyControllerV1_getSubTenants with: frontegg-tenant-id: rest.frontegg-tenant-id outputParameters: - type: object mapping: $. - path: /v1/resources/hierarchy/v1 name: resources-hierarchy-v1 description: REST surface for resources-hierarchy-v1. operations: - method: POST name: TenantHierarchyControllerV1_createSubTenants description: Create sub-account (tenant) call: frontegg-tenants.TenantHierarchyControllerV1_createSubTenants with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/resources/hierarchy/v1 name: resources-hierarchy-v1 description: REST surface for resources-hierarchy-v1. operations: - method: DELETE name: TenantHierarchyControllerV1_deleteSubTenant description: Delete sub-account (tenant) call: frontegg-tenants.TenantHierarchyControllerV1_deleteSubTenant with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/resources/hierarchy/v1/parents name: resources-hierarchy-v1-parents description: REST surface for resources-hierarchy-v1-parents. operations: - method: GET name: TenantHierarchyControllerV1_getParentTenants description: Get parent accounts (tenants) call: frontegg-tenants.TenantHierarchyControllerV1_getParentTenants with: frontegg-tenant-id: rest.frontegg-tenant-id outputParameters: - type: object mapping: $. - path: /v1/resources/hierarchy/v1/tree name: resources-hierarchy-v1-tree description: REST surface for resources-hierarchy-v1-tree. operations: - method: GET name: TenantHierarchyControllerV1_getSubTenantsTree description: Get sub-accounts (tenanants) hierarchy tree call: frontegg-tenants.TenantHierarchyControllerV1_getSubTenantsTree with: frontegg-tenant-id: rest.frontegg-tenant-id outputParameters: - type: object mapping: $. - type: mcp namespace: frontegg-tenants-mcp port: 9090 transport: http description: MCP adapter for Frontegg Tenants. One tool per consumed operation. tools: - name: frontegg-tenants-tenantcontrollerv1-gettenant description: Get account (tenant) by ID hints: readOnly: true destructive: false idempotent: true call: frontegg-tenants.TenantControllerV1_getTenant with: tenantId: tools.tenantId outputParameters: - type: object mapping: $. - name: frontegg-tenants-tenantcontrollerv1-updatetenant description: Update account (tenant) hints: readOnly: false destructive: false idempotent: true call: frontegg-tenants.TenantControllerV1_updateTenant with: tenantId: tools.tenantId body: tools.body outputParameters: - type: object mapping: $. - name: frontegg-tenants-tenantcontrollerv1-deletetenant description: Delete account (tenant) hints: readOnly: false destructive: true idempotent: true call: frontegg-tenants.TenantControllerV1_deleteTenant with: tenantId: tools.tenantId outputParameters: - type: object mapping: $. - name: frontegg-tenants-tenantcontrollerv1-createtenant description: Create an account (tenant) hints: readOnly: false destructive: false idempotent: false call: frontegg-tenants.TenantControllerV1_createTenant with: body: tools.body outputParameters: - type: object mapping: $. - name: frontegg-tenants-tenantcontrollerv1-deletecurrenttenant description: Delete current account (tenant) hints: readOnly: false destructive: true idempotent: true call: frontegg-tenants.TenantControllerV1_deleteCurrentTenant with: {} outputParameters: - type: object mapping: $. - name: frontegg-tenants-tenantcontrollerv1-addtenantmetadata description: Add account (tenant) metadata hints: readOnly: false destructive: false idempotent: false call: frontegg-tenants.TenantControllerV1_addTenantMetadata with: tenantId: tools.tenantId body: tools.body outputParameters: - type: object mapping: $. - name: frontegg-tenants-tenantcontrollerv1-deletetenantmetadata description: Delete account (tenant) metadata hints: readOnly: false destructive: true idempotent: true call: frontegg-tenants.TenantControllerV1_deleteTenantMetadata with: tenantId: tools.tenantId key: tools.key outputParameters: - type: object mapping: $. - name: frontegg-tenants-tenantcontrollerv2-gettenants description: Get accounts (tenants) hints: readOnly: true destructive: false idempotent: true call: frontegg-tenants.TenantControllerV2_getTenants with: _limit: tools._limit _offset: tools._offset _filter: tools._filter _sortBy: tools._sortBy _order: tools._order _tenantIds: tools._tenantIds outputParameters: - type: object mapping: $. - name: frontegg-tenants-tenantcontrollerv2-gettenantbyalias description: Get account (tenant) by alias hints: readOnly: true destructive: false idempotent: true call: frontegg-tenants.TenantControllerV2_getTenantByAlias with: alias: tools.alias outputParameters: - type: object mapping: $. - name: frontegg-tenants-tenantcontrollerv2-gettenant description: Get an account (tenant) hints: readOnly: true destructive: false idempotent: true call: frontegg-tenants.TenantControllerV2_getTenant with: tenantId: tools.tenantId outputParameters: - type: object mapping: $. - name: frontegg-tenants-tenantcontrollerv2-updatetenant description: Update an account (tenant) hints: readOnly: false destructive: false idempotent: true call: frontegg-tenants.TenantControllerV2_updateTenant with: tenantId: tools.tenantId body: tools.body outputParameters: - type: object mapping: $. - name: frontegg-tenants-subtenantcontrollerv1-createsubtenant description: Create sub-account hints: readOnly: false destructive: false idempotent: false call: frontegg-tenants.SubTenantControllerV1_createSubTenant with: body: tools.body outputParameters: - type: object mapping: $. - name: frontegg-tenants-subtenantcontrollerv1-updatesubtenantmanage description: Update sub-account (tenant) management hints: readOnly: false destructive: false idempotent: true call: frontegg-tenants.SubTenantControllerV1_updateSubTenantManagement with: tenantId: tools.tenantId body: tools.body outputParameters: - type: object mapping: $. - name: frontegg-tenants-subtenantcontrollerv1-updatesubtenanthierar description: Update sub-account hierarchy settings hints: readOnly: false destructive: false idempotent: true call: frontegg-tenants.SubTenantControllerV1_updateSubTenantHierarchySettings with: tenantId: tools.tenantId body: tools.body outputParameters: - type: object mapping: $. - name: frontegg-tenants-subtenantcontrollerv1-deletesubtenant description: Delete a sub-account by ID hints: readOnly: false destructive: true idempotent: true call: frontegg-tenants.SubTenantControllerV1_deleteSubTenant with: tenantId: tools.tenantId outputParameters: - type: object mapping: $. - name: frontegg-tenants-accountsettingscontrollerv1-getsettings description: Get account settings hints: readOnly: true destructive: false idempotent: true call: frontegg-tenants.AccountSettingsControllerV1_getSettings with: frontegg-tenant-id: tools.frontegg-tenant-id outputParameters: - type: object mapping: $. - name: frontegg-tenants-accountsettingscontrollerv1-updatesettings description: Update account settings hints: readOnly: false destructive: false idempotent: true call: frontegg-tenants.AccountSettingsControllerV1_updateSettings with: frontegg-tenant-id: tools.frontegg-tenant-id body: tools.body outputParameters: - type: object mapping: $. - name: frontegg-tenants-accountsettingscontrollerv1-getpublicsettin description: Get public settings hints: readOnly: true destructive: false idempotent: true call: frontegg-tenants.AccountSettingsControllerV1_getPublicSettings with: frontegg-tenant-id: tools.frontegg-tenant-id outputParameters: - type: object mapping: $. - name: frontegg-tenants-migrationcontrollerv1-migratetenants description: Migrate accounts (tenants) hints: readOnly: false destructive: false idempotent: false call: frontegg-tenants.MigrationControllerV1_migrateTenants with: body: tools.body outputParameters: - type: object mapping: $. - name: frontegg-tenants-migrationcontrollerv1-getmigratetenantsstat description: Accounts (tenants) migration status hints: readOnly: true destructive: false idempotent: true call: frontegg-tenants.MigrationControllerV1_getMigrateTenantsStatus with: migrationId: tools.migrationId outputParameters: - type: object mapping: $. - name: frontegg-tenants-tenanthierarchycontrollerv1-getsubtenants description: Get sub-accounts (tenants) hints: readOnly: true destructive: false idempotent: true call: frontegg-tenants.TenantHierarchyControllerV1_getSubTenants with: frontegg-tenant-id: tools.frontegg-tenant-id outputParameters: - type: object mapping: $. - name: frontegg-tenants-tenanthierarchycontrollerv1-createsubtenant description: Create sub-account (tenant) hints: readOnly: false destructive: false idempotent: false call: frontegg-tenants.TenantHierarchyControllerV1_createSubTenants with: body: tools.body outputParameters: - type: object mapping: $. - name: frontegg-tenants-tenanthierarchycontrollerv1-deletesubtenant description: Delete sub-account (tenant) hints: readOnly: false destructive: true idempotent: true call: frontegg-tenants.TenantHierarchyControllerV1_deleteSubTenant with: body: tools.body outputParameters: - type: object mapping: $. - name: frontegg-tenants-tenanthierarchycontrollerv1-getparenttenant description: Get parent accounts (tenants) hints: readOnly: true destructive: false idempotent: true call: frontegg-tenants.TenantHierarchyControllerV1_getParentTenants with: frontegg-tenant-id: tools.frontegg-tenant-id outputParameters: - type: object mapping: $. - name: frontegg-tenants-tenanthierarchycontrollerv1-getsubtenantstr description: Get sub-accounts (tenanants) hierarchy tree hints: readOnly: true destructive: false idempotent: true call: frontegg-tenants.TenantHierarchyControllerV1_getSubTenantsTree with: frontegg-tenant-id: tools.frontegg-tenant-id outputParameters: - type: object mapping: $.