@goauthentik/api 2026.2.0-rc1-1766432129 → 2026.2.0-rc1-1767654897
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/.openapi-generator/FILES +854 -0
- package/.openapi-generator/VERSION +1 -1
- package/dist/apis/CoreApi.d.ts +2 -0
- package/dist/apis/CoreApi.d.ts.map +1 -1
- package/dist/apis/CoreApi.js +6 -0
- package/dist/apis/CoreApi.js.map +1 -1
- package/dist/apis/RbacApi.d.ts +3 -1
- package/dist/apis/RbacApi.d.ts.map +1 -1
- package/dist/apis/RbacApi.js +6 -0
- package/dist/apis/RbacApi.js.map +1 -1
- package/dist/esm/apis/CoreApi.d.ts +2 -0
- package/dist/esm/apis/CoreApi.d.ts.map +1 -1
- package/dist/esm/apis/CoreApi.js +6 -0
- package/dist/esm/apis/CoreApi.js.map +1 -1
- package/dist/esm/apis/RbacApi.d.ts +3 -1
- package/dist/esm/apis/RbacApi.d.ts.map +1 -1
- package/dist/esm/apis/RbacApi.js +6 -0
- package/dist/esm/apis/RbacApi.js.map +1 -1
- package/dist/esm/models/CapabilitiesEnum.d.ts +1 -0
- package/dist/esm/models/CapabilitiesEnum.d.ts.map +1 -1
- package/dist/esm/models/CapabilitiesEnum.js +1 -0
- package/dist/esm/models/CapabilitiesEnum.js.map +1 -1
- package/dist/esm/models/Group.d.ts +7 -1
- package/dist/esm/models/Group.d.ts.map +1 -1
- package/dist/esm/models/Group.js +3 -0
- package/dist/esm/models/Group.js.map +1 -1
- package/dist/models/CapabilitiesEnum.d.ts +1 -0
- package/dist/models/CapabilitiesEnum.d.ts.map +1 -1
- package/dist/models/CapabilitiesEnum.js +1 -0
- package/dist/models/CapabilitiesEnum.js.map +1 -1
- package/dist/models/Group.d.ts +7 -1
- package/dist/models/Group.d.ts.map +1 -1
- package/dist/models/Group.js +3 -0
- package/dist/models/Group.js.map +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/docs/AccessDeniedChallenge.md +45 -0
- package/docs/AdminApi.md +1018 -0
- package/docs/AgentAuthenticationResponse.md +35 -0
- package/docs/AgentConfig.md +51 -0
- package/docs/AgentConnector.md +68 -0
- package/docs/AgentConnectorRequest.md +60 -0
- package/docs/AgentPSSODeviceRegistrationRequest.md +41 -0
- package/docs/AgentPSSODeviceRegistrationResponse.md +45 -0
- package/docs/AgentPSSOUserRegistrationRequest.md +39 -0
- package/docs/AgentTokenResponse.md +37 -0
- package/docs/AlgEnum.md +32 -0
- package/docs/App.md +37 -0
- package/docs/AppEnum.md +32 -0
- package/docs/AppleChallengeResponseRequest.md +35 -0
- package/docs/AppleLoginChallenge.md +47 -0
- package/docs/Application.md +65 -0
- package/docs/ApplicationEntitlement.md +41 -0
- package/docs/ApplicationEntitlementRequest.md +39 -0
- package/docs/ApplicationRequest.md +55 -0
- package/docs/AuthTypeEnum.md +32 -0
- package/docs/AuthenticatedSession.md +53 -0
- package/docs/AuthenticatedSessionAsn.md +39 -0
- package/docs/AuthenticatedSessionGeoIp.md +43 -0
- package/docs/AuthenticatedSessionUserAgent.md +41 -0
- package/docs/AuthenticatedSessionUserAgentDevice.md +39 -0
- package/docs/AuthenticatedSessionUserAgentOs.md +43 -0
- package/docs/AuthenticatedSessionUserAgentUserAgent.md +41 -0
- package/docs/AuthenticationEnum.md +32 -0
- package/docs/AuthenticatorAttachmentEnum.md +32 -0
- package/docs/AuthenticatorDuoChallenge.md +49 -0
- package/docs/AuthenticatorDuoChallengeResponseRequest.md +35 -0
- package/docs/AuthenticatorDuoStage.md +57 -0
- package/docs/AuthenticatorDuoStageDeviceImportResponse.md +36 -0
- package/docs/AuthenticatorDuoStageManualDeviceImportRequest.md +36 -0
- package/docs/AuthenticatorDuoStageRequest.md +49 -0
- package/docs/AuthenticatorEmailChallenge.md +47 -0
- package/docs/AuthenticatorEmailChallengeResponseRequest.md +39 -0
- package/docs/AuthenticatorEmailStage.md +75 -0
- package/docs/AuthenticatorEmailStageRequest.md +63 -0
- package/docs/AuthenticatorEndpointGDTCStage.md +53 -0
- package/docs/AuthenticatorEndpointGDTCStageRequest.md +41 -0
- package/docs/AuthenticatorSMSChallenge.md +45 -0
- package/docs/AuthenticatorSMSChallengeResponseRequest.md +39 -0
- package/docs/AuthenticatorSMSStage.md +67 -0
- package/docs/AuthenticatorSMSStageRequest.md +55 -0
- package/docs/AuthenticatorStaticChallenge.md +45 -0
- package/docs/AuthenticatorStaticChallengeResponseRequest.md +35 -0
- package/docs/AuthenticatorStaticStage.md +55 -0
- package/docs/AuthenticatorStaticStageRequest.md +43 -0
- package/docs/AuthenticatorTOTPChallenge.md +45 -0
- package/docs/AuthenticatorTOTPChallengeResponseRequest.md +37 -0
- package/docs/AuthenticatorTOTPStage.md +53 -0
- package/docs/AuthenticatorTOTPStageRequest.md +41 -0
- package/docs/AuthenticatorValidateStage.md +61 -0
- package/docs/AuthenticatorValidateStageRequest.md +47 -0
- package/docs/AuthenticatorValidationChallenge.md +47 -0
- package/docs/AuthenticatorValidationChallengeResponseRequest.md +45 -0
- package/docs/AuthenticatorWebAuthnChallenge.md +45 -0
- package/docs/AuthenticatorWebAuthnChallengeResponseRequest.md +37 -0
- package/docs/AuthenticatorWebAuthnStage.md +63 -0
- package/docs/AuthenticatorWebAuthnStageRequest.md +49 -0
- package/docs/AuthenticatorsApi.md +6388 -0
- package/docs/AuthorizationCodeAuthMethodEnum.md +32 -0
- package/docs/AutoSubmitChallengeResponseRequest.md +35 -0
- package/docs/AutosubmitChallenge.md +45 -0
- package/docs/BackendsEnum.md +32 -0
- package/docs/BindingTypeEnum.md +32 -0
- package/docs/BlueprintFile.md +40 -0
- package/docs/BlueprintInstance.md +55 -0
- package/docs/BlueprintInstanceRequest.md +43 -0
- package/docs/BlueprintInstanceStatusEnum.md +32 -0
- package/docs/Brand.md +69 -0
- package/docs/BrandRequest.md +67 -0
- package/docs/Cache.md +35 -0
- package/docs/CapabilitiesEnum.md +32 -0
- package/docs/CaptchaChallenge.md +49 -0
- package/docs/CaptchaChallengeResponseRequest.md +37 -0
- package/docs/CaptchaStage.md +61 -0
- package/docs/CaptchaStageRequest.md +51 -0
- package/docs/CertAttributeEnum.md +32 -0
- package/docs/CertificateData.md +35 -0
- package/docs/CertificateGenerationRequest.md +41 -0
- package/docs/CertificateKeyPair.md +55 -0
- package/docs/CertificateKeyPairRequest.md +39 -0
- package/docs/ChallengeTypes.md +174 -0
- package/docs/ClientTypeEnum.md +32 -0
- package/docs/CompatibilityModeEnum.md +32 -0
- package/docs/Config.md +43 -0
- package/docs/ConnectionToken.md +45 -0
- package/docs/ConnectionTokenRequest.md +39 -0
- package/docs/Connector.md +46 -0
- package/docs/ConsentChallenge.md +51 -0
- package/docs/ConsentChallengeResponseRequest.md +37 -0
- package/docs/ConsentPermission.md +37 -0
- package/docs/ConsentStage.md +51 -0
- package/docs/ConsentStageModeEnum.md +32 -0
- package/docs/ConsentStageRequest.md +39 -0
- package/docs/ContentType.md +40 -0
- package/docs/ContextualFlowInfo.md +41 -0
- package/docs/ContextualFlowInfoLayoutEnum.md +32 -0
- package/docs/CoreApi.md +5286 -0
- package/docs/CountryCodeEnum.md +32 -0
- package/docs/CryptoApi.md +781 -0
- package/docs/CurrentBrand.md +63 -0
- package/docs/CurrentBrandFlags.md +36 -0
- package/docs/DataExport.md +47 -0
- package/docs/DeliveryMethodEnum.md +32 -0
- package/docs/DeniedActionEnum.md +32 -0
- package/docs/DenyStage.md +49 -0
- package/docs/DenyStageRequest.md +37 -0
- package/docs/DetailedCountry.md +36 -0
- package/docs/DetailedCountryField.md +36 -0
- package/docs/Device.md +57 -0
- package/docs/DeviceAccessGroup.md +36 -0
- package/docs/DeviceAccessGroupRequest.md +34 -0
- package/docs/DeviceChallenge.md +41 -0
- package/docs/DeviceChallengeRequest.md +41 -0
- package/docs/DeviceClassesEnum.md +32 -0
- package/docs/DeviceConnection.md +40 -0
- package/docs/DeviceFactSnapshot.md +40 -0
- package/docs/DeviceFacts.md +50 -0
- package/docs/DeviceFactsOSFamily.md +32 -0
- package/docs/DeviceFactsRequest.md +50 -0
- package/docs/DeviceGroup.md +36 -0
- package/docs/DeviceGroupRequest.md +36 -0
- package/docs/DeviceSummary.md +39 -0
- package/docs/DeviceUser.md +40 -0
- package/docs/DeviceUserBinding.md +65 -0
- package/docs/DeviceUserBindingRequest.md +53 -0
- package/docs/DeviceUserRequest.md +40 -0
- package/docs/DigestAlgorithmEnum.md +32 -0
- package/docs/DigitsEnum.md +32 -0
- package/docs/Disk.md +44 -0
- package/docs/DiskRequest.md +44 -0
- package/docs/DockerServiceConnection.md +53 -0
- package/docs/DockerServiceConnectionRequest.md +43 -0
- package/docs/Domain.md +41 -0
- package/docs/DomainRequest.md +39 -0
- package/docs/DummyChallenge.md +41 -0
- package/docs/DummyChallengeResponseRequest.md +35 -0
- package/docs/DummyPolicy.md +55 -0
- package/docs/DummyPolicyRequest.md +43 -0
- package/docs/DummyStage.md +49 -0
- package/docs/DummyStageRequest.md +37 -0
- package/docs/DuoDevice.md +39 -0
- package/docs/DuoDeviceEnrollmentStatus.md +34 -0
- package/docs/DuoDeviceRequest.md +35 -0
- package/docs/DuoResponseEnum.md +32 -0
- package/docs/EmailChallenge.md +39 -0
- package/docs/EmailChallengeResponseRequest.md +35 -0
- package/docs/EmailDevice.md +41 -0
- package/docs/EmailDeviceRequest.md +35 -0
- package/docs/EmailStage.md +75 -0
- package/docs/EmailStageRequest.md +65 -0
- package/docs/Endpoint.md +55 -0
- package/docs/EndpointAgentChallenge.md +43 -0
- package/docs/EndpointAgentChallengeResponseRequest.md +37 -0
- package/docs/EndpointAuthModeEnum.md +32 -0
- package/docs/EndpointDevice.md +50 -0
- package/docs/EndpointDeviceDetails.md +56 -0
- package/docs/EndpointDeviceRequest.md +46 -0
- package/docs/EndpointRequest.md +49 -0
- package/docs/EndpointStage.md +53 -0
- package/docs/EndpointStageRequest.md +39 -0
- package/docs/EndpointsApi.md +3704 -0
- package/docs/EnrollRequest.md +37 -0
- package/docs/EnrollmentToken.md +46 -0
- package/docs/EnrollmentTokenRequest.md +42 -0
- package/docs/EnterpriseApi.md +750 -0
- package/docs/ErrorDetail.md +37 -0
- package/docs/ErrorReportingConfig.md +43 -0
- package/docs/Event.md +51 -0
- package/docs/EventActions.md +32 -0
- package/docs/EventMatcherPolicy.md +57 -0
- package/docs/EventMatcherPolicyRequest.md +45 -0
- package/docs/EventRequest.md +47 -0
- package/docs/EventTopPerUser.md +39 -0
- package/docs/EventVolume.md +39 -0
- package/docs/EventsApi.md +2553 -0
- package/docs/EventsRequestedEnum.md +32 -0
- package/docs/ExpiringBaseGrantModel.md +45 -0
- package/docs/ExpressionPolicy.md +51 -0
- package/docs/ExpressionPolicyRequest.md +39 -0
- package/docs/ExtraRoleObjectPermission.md +51 -0
- package/docs/FileList.md +39 -0
- package/docs/Flow.md +67 -0
- package/docs/FlowChallengeResponseRequest.md +78 -0
- package/docs/FlowDesignationEnum.md +32 -0
- package/docs/FlowDiagram.md +35 -0
- package/docs/FlowErrorChallenge.md +45 -0
- package/docs/FlowImportResult.md +37 -0
- package/docs/FlowInspection.md +39 -0
- package/docs/FlowInspectorPlan.md +41 -0
- package/docs/FlowLayoutEnum.md +32 -0
- package/docs/FlowRequest.md +53 -0
- package/docs/FlowSet.md +57 -0
- package/docs/FlowStageBinding.md +53 -0
- package/docs/FlowStageBindingRequest.md +47 -0
- package/docs/FlowsApi.md +1781 -0
- package/docs/FooterLink.md +37 -0
- package/docs/FrameChallenge.md +45 -0
- package/docs/FrameChallengeResponseRequest.md +35 -0
- package/docs/GenericError.md +37 -0
- package/docs/GeoIPPolicy.md +67 -0
- package/docs/GeoIPPolicyRequest.md +53 -0
- package/docs/GeoipBindingEnum.md +32 -0
- package/docs/GlobalTaskStatus.md +52 -0
- package/docs/GoogleEndpointDevice.md +37 -0
- package/docs/GoogleEndpointDeviceRequest.md +37 -0
- package/docs/GoogleWorkspaceProvider.md +75 -0
- package/docs/GoogleWorkspaceProviderGroup.md +45 -0
- package/docs/GoogleWorkspaceProviderGroupRequest.md +39 -0
- package/docs/GoogleWorkspaceProviderMapping.md +49 -0
- package/docs/GoogleWorkspaceProviderMappingRequest.md +39 -0
- package/docs/GoogleWorkspaceProviderRequest.md +61 -0
- package/docs/GoogleWorkspaceProviderUser.md +45 -0
- package/docs/GoogleWorkspaceProviderUserRequest.md +39 -0
- package/docs/Group.md +61 -0
- package/docs/GroupKerberosSourceConnection.md +47 -0
- package/docs/GroupKerberosSourceConnectionRequest.md +39 -0
- package/docs/GroupLDAPSourceConnection.md +47 -0
- package/docs/GroupLDAPSourceConnectionRequest.md +39 -0
- package/docs/GroupMatchingModeEnum.md +32 -0
- package/docs/GroupOAuthSourceConnection.md +47 -0
- package/docs/GroupOAuthSourceConnectionRequest.md +39 -0
- package/docs/GroupPlexSourceConnection.md +47 -0
- package/docs/GroupPlexSourceConnectionRequest.md +39 -0
- package/docs/GroupRequest.md +45 -0
- package/docs/GroupSAMLSourceConnection.md +47 -0
- package/docs/GroupSAMLSourceConnectionRequest.md +39 -0
- package/docs/GroupSourceConnection.md +47 -0
- package/docs/GroupSourceConnectionRequest.md +39 -0
- package/docs/GroupTelegramSourceConnection.md +47 -0
- package/docs/GroupTelegramSourceConnectionRequest.md +39 -0
- package/docs/Hardware.md +44 -0
- package/docs/HardwareRequest.md +44 -0
- package/docs/IdentificationChallenge.md +67 -0
- package/docs/IdentificationChallengeResponseRequest.md +43 -0
- package/docs/IdentificationStage.md +73 -0
- package/docs/IdentificationStageRequest.md +61 -0
- package/docs/IframeLogoutChallenge.md +41 -0
- package/docs/IframeLogoutChallengeResponseRequest.md +35 -0
- package/docs/ImpersonationRequest.md +34 -0
- package/docs/InitialPermissions.md +43 -0
- package/docs/InitialPermissionsRequest.md +39 -0
- package/docs/InstallID.md +34 -0
- package/docs/IntentEnum.md +32 -0
- package/docs/InvalidResponseActionEnum.md +32 -0
- package/docs/Invitation.md +49 -0
- package/docs/InvitationRequest.md +43 -0
- package/docs/InvitationStage.md +49 -0
- package/docs/InvitationStageRequest.md +37 -0
- package/docs/IssuerModeEnum.md +32 -0
- package/docs/KadminTypeEnum.md +32 -0
- package/docs/KerberosSource.md +97 -0
- package/docs/KerberosSourcePropertyMapping.md +49 -0
- package/docs/KerberosSourcePropertyMappingRequest.md +39 -0
- package/docs/KerberosSourceRequest.md +87 -0
- package/docs/KeyTypeEnum.md +32 -0
- package/docs/KubernetesServiceConnection.md +51 -0
- package/docs/KubernetesServiceConnectionRequest.md +41 -0
- package/docs/LDAPAPIAccessMode.md +32 -0
- package/docs/LDAPCheckAccess.md +37 -0
- package/docs/LDAPDebug.md +38 -0
- package/docs/LDAPOutpostConfig.md +59 -0
- package/docs/LDAPProvider.md +79 -0
- package/docs/LDAPProviderRequest.md +59 -0
- package/docs/LDAPSource.md +117 -0
- package/docs/LDAPSourcePropertyMapping.md +49 -0
- package/docs/LDAPSourcePropertyMappingRequest.md +39 -0
- package/docs/LDAPSourceRequest.md +103 -0
- package/docs/LastTaskStatusEnum.md +32 -0
- package/docs/License.md +45 -0
- package/docs/LicenseFlagsEnum.md +32 -0
- package/docs/LicenseForecast.md +41 -0
- package/docs/LicenseRequest.md +35 -0
- package/docs/LicenseSummary.md +43 -0
- package/docs/LicenseSummaryStatusEnum.md +32 -0
- package/docs/Link.md +35 -0
- package/docs/LogEvent.md +43 -0
- package/docs/LogLevelEnum.md +32 -0
- package/docs/LoginChallengeTypes.md +54 -0
- package/docs/LoginSource.md +41 -0
- package/docs/MDMConfigRequest.md +37 -0
- package/docs/MDMConfigResponse.md +39 -0
- package/docs/ManagedApi.md +687 -0
- package/docs/MatchingModeEnum.md +32 -0
- package/docs/Metadata.md +37 -0
- package/docs/MicrosoftEntraProvider.md +73 -0
- package/docs/MicrosoftEntraProviderGroup.md +45 -0
- package/docs/MicrosoftEntraProviderGroupRequest.md +39 -0
- package/docs/MicrosoftEntraProviderMapping.md +49 -0
- package/docs/MicrosoftEntraProviderMappingRequest.md +39 -0
- package/docs/MicrosoftEntraProviderRequest.md +59 -0
- package/docs/MicrosoftEntraProviderUser.md +45 -0
- package/docs/MicrosoftEntraProviderUserRequest.md +39 -0
- package/docs/ModelEnum.md +32 -0
- package/docs/ModelRequest.md +210 -0
- package/docs/MutualTLSStage.md +55 -0
- package/docs/MutualTLSStageRequest.md +43 -0
- package/docs/NativeLogoutChallenge.md +53 -0
- package/docs/NativeLogoutChallengeResponseRequest.md +35 -0
- package/docs/Network.md +40 -0
- package/docs/NetworkBindingEnum.md +32 -0
- package/docs/NetworkInterface.md +40 -0
- package/docs/NetworkInterfaceRequest.md +40 -0
- package/docs/NetworkRequest.md +40 -0
- package/docs/NotConfiguredActionEnum.md +32 -0
- package/docs/Notification.md +49 -0
- package/docs/NotificationRequest.md +41 -0
- package/docs/NotificationRule.md +47 -0
- package/docs/NotificationRuleRequest.md +43 -0
- package/docs/NotificationTransport.md +53 -0
- package/docs/NotificationTransportModeEnum.md +32 -0
- package/docs/NotificationTransportRequest.md +49 -0
- package/docs/NotificationTransportTest.md +35 -0
- package/docs/NotificationWebhookMapping.md +39 -0
- package/docs/NotificationWebhookMappingRequest.md +37 -0
- package/docs/OAuth2Provider.md +95 -0
- package/docs/OAuth2ProviderLogoutMethodEnum.md +32 -0
- package/docs/OAuth2ProviderRequest.md +77 -0
- package/docs/OAuth2ProviderSetupURLs.md +47 -0
- package/docs/OAuthDeviceCodeChallenge.md +39 -0
- package/docs/OAuthDeviceCodeChallengeResponseRequest.md +37 -0
- package/docs/OAuthDeviceCodeFinishChallenge.md +39 -0
- package/docs/OAuthDeviceCodeFinishChallengeResponseRequest.md +35 -0
- package/docs/OAuthSource.md +101 -0
- package/docs/OAuthSourcePropertyMapping.md +49 -0
- package/docs/OAuthSourcePropertyMappingRequest.md +39 -0
- package/docs/OAuthSourceRequest.md +85 -0
- package/docs/Oauth2Api.md +941 -0
- package/docs/OpenIDConnectConfiguration.md +55 -0
- package/docs/OperatingSystem.md +40 -0
- package/docs/OperatingSystemRequest.md +40 -0
- package/docs/OutgoingSyncDeleteAction.md +32 -0
- package/docs/Outpost.md +55 -0
- package/docs/OutpostDefaultConfig.md +35 -0
- package/docs/OutpostHealth.md +57 -0
- package/docs/OutpostRequest.md +45 -0
- package/docs/OutpostTypeEnum.md +32 -0
- package/docs/OutpostsApi.md +2682 -0
- package/docs/PKCEMethodEnum.md +32 -0
- package/docs/PaginatedAgentConnectorList.md +38 -0
- package/docs/PaginatedApplicationEntitlementList.md +38 -0
- package/docs/PaginatedApplicationList.md +38 -0
- package/docs/PaginatedAuthenticatedSessionList.md +38 -0
- package/docs/PaginatedAuthenticatorDuoStageList.md +38 -0
- package/docs/PaginatedAuthenticatorEmailStageList.md +38 -0
- package/docs/PaginatedAuthenticatorEndpointGDTCStageList.md +38 -0
- package/docs/PaginatedAuthenticatorSMSStageList.md +38 -0
- package/docs/PaginatedAuthenticatorStaticStageList.md +38 -0
- package/docs/PaginatedAuthenticatorTOTPStageList.md +38 -0
- package/docs/PaginatedAuthenticatorValidateStageList.md +38 -0
- package/docs/PaginatedAuthenticatorWebAuthnStageList.md +38 -0
- package/docs/PaginatedBlueprintInstanceList.md +38 -0
- package/docs/PaginatedBrandList.md +38 -0
- package/docs/PaginatedCaptchaStageList.md +38 -0
- package/docs/PaginatedCertificateKeyPairList.md +38 -0
- package/docs/PaginatedConnectionTokenList.md +38 -0
- package/docs/PaginatedConnectorList.md +38 -0
- package/docs/PaginatedConsentStageList.md +38 -0
- package/docs/PaginatedDataExportList.md +38 -0
- package/docs/PaginatedDenyStageList.md +38 -0
- package/docs/PaginatedDeviceAccessGroupList.md +38 -0
- package/docs/PaginatedDeviceUserBindingList.md +38 -0
- package/docs/PaginatedDockerServiceConnectionList.md +38 -0
- package/docs/PaginatedDomainList.md +38 -0
- package/docs/PaginatedDummyPolicyList.md +38 -0
- package/docs/PaginatedDummyStageList.md +38 -0
- package/docs/PaginatedDuoDeviceList.md +38 -0
- package/docs/PaginatedEmailDeviceList.md +38 -0
- package/docs/PaginatedEmailStageList.md +38 -0
- package/docs/PaginatedEndpointDeviceList.md +38 -0
- package/docs/PaginatedEndpointList.md +38 -0
- package/docs/PaginatedEndpointStageList.md +38 -0
- package/docs/PaginatedEnrollmentTokenList.md +38 -0
- package/docs/PaginatedEventList.md +38 -0
- package/docs/PaginatedEventMatcherPolicyList.md +38 -0
- package/docs/PaginatedExpiringBaseGrantModelList.md +38 -0
- package/docs/PaginatedExpressionPolicyList.md +38 -0
- package/docs/PaginatedExtraRoleObjectPermissionList.md +36 -0
- package/docs/PaginatedFlowList.md +38 -0
- package/docs/PaginatedFlowStageBindingList.md +38 -0
- package/docs/PaginatedGeoIPPolicyList.md +38 -0
- package/docs/PaginatedGoogleEndpointDeviceList.md +38 -0
- package/docs/PaginatedGoogleWorkspaceProviderGroupList.md +38 -0
- package/docs/PaginatedGoogleWorkspaceProviderList.md +38 -0
- package/docs/PaginatedGoogleWorkspaceProviderMappingList.md +38 -0
- package/docs/PaginatedGoogleWorkspaceProviderUserList.md +38 -0
- package/docs/PaginatedGroupKerberosSourceConnectionList.md +38 -0
- package/docs/PaginatedGroupLDAPSourceConnectionList.md +38 -0
- package/docs/PaginatedGroupList.md +38 -0
- package/docs/PaginatedGroupOAuthSourceConnectionList.md +38 -0
- package/docs/PaginatedGroupPlexSourceConnectionList.md +38 -0
- package/docs/PaginatedGroupSAMLSourceConnectionList.md +38 -0
- package/docs/PaginatedGroupSourceConnectionList.md +38 -0
- package/docs/PaginatedGroupTelegramSourceConnectionList.md +38 -0
- package/docs/PaginatedIdentificationStageList.md +38 -0
- package/docs/PaginatedInitialPermissionsList.md +38 -0
- package/docs/PaginatedInvitationList.md +38 -0
- package/docs/PaginatedInvitationStageList.md +38 -0
- package/docs/PaginatedKerberosSourceList.md +38 -0
- package/docs/PaginatedKerberosSourcePropertyMappingList.md +38 -0
- package/docs/PaginatedKubernetesServiceConnectionList.md +38 -0
- package/docs/PaginatedLDAPOutpostConfigList.md +38 -0
- package/docs/PaginatedLDAPProviderList.md +38 -0
- package/docs/PaginatedLDAPSourceList.md +38 -0
- package/docs/PaginatedLDAPSourcePropertyMappingList.md +38 -0
- package/docs/PaginatedLicenseList.md +38 -0
- package/docs/PaginatedMicrosoftEntraProviderGroupList.md +38 -0
- package/docs/PaginatedMicrosoftEntraProviderList.md +38 -0
- package/docs/PaginatedMicrosoftEntraProviderMappingList.md +38 -0
- package/docs/PaginatedMicrosoftEntraProviderUserList.md +38 -0
- package/docs/PaginatedMutualTLSStageList.md +38 -0
- package/docs/PaginatedNotificationList.md +38 -0
- package/docs/PaginatedNotificationRuleList.md +38 -0
- package/docs/PaginatedNotificationTransportList.md +38 -0
- package/docs/PaginatedNotificationWebhookMappingList.md +38 -0
- package/docs/PaginatedOAuth2ProviderList.md +38 -0
- package/docs/PaginatedOAuthSourceList.md +38 -0
- package/docs/PaginatedOAuthSourcePropertyMappingList.md +38 -0
- package/docs/PaginatedOutpostList.md +38 -0
- package/docs/PaginatedPasswordExpiryPolicyList.md +38 -0
- package/docs/PaginatedPasswordPolicyList.md +38 -0
- package/docs/PaginatedPasswordStageList.md +38 -0
- package/docs/PaginatedPermissionList.md +38 -0
- package/docs/PaginatedPlexSourceList.md +38 -0
- package/docs/PaginatedPlexSourcePropertyMappingList.md +38 -0
- package/docs/PaginatedPolicyBindingList.md +38 -0
- package/docs/PaginatedPolicyList.md +38 -0
- package/docs/PaginatedPromptList.md +38 -0
- package/docs/PaginatedPromptStageList.md +38 -0
- package/docs/PaginatedPropertyMappingList.md +38 -0
- package/docs/PaginatedProviderList.md +38 -0
- package/docs/PaginatedProxyOutpostConfigList.md +38 -0
- package/docs/PaginatedProxyProviderList.md +38 -0
- package/docs/PaginatedRACPropertyMappingList.md +38 -0
- package/docs/PaginatedRACProviderList.md +38 -0
- package/docs/PaginatedRadiusOutpostConfigList.md +38 -0
- package/docs/PaginatedRadiusProviderList.md +38 -0
- package/docs/PaginatedRadiusProviderPropertyMappingList.md +38 -0
- package/docs/PaginatedRedirectStageList.md +38 -0
- package/docs/PaginatedReputationList.md +38 -0
- package/docs/PaginatedReputationPolicyList.md +38 -0
- package/docs/PaginatedRoleAssignedObjectPermissionList.md +38 -0
- package/docs/PaginatedRoleList.md +38 -0
- package/docs/PaginatedSAMLPropertyMappingList.md +38 -0
- package/docs/PaginatedSAMLProviderList.md +38 -0
- package/docs/PaginatedSAMLSourceList.md +38 -0
- package/docs/PaginatedSAMLSourcePropertyMappingList.md +38 -0
- package/docs/PaginatedSCIMMappingList.md +38 -0
- package/docs/PaginatedSCIMProviderGroupList.md +38 -0
- package/docs/PaginatedSCIMProviderList.md +38 -0
- package/docs/PaginatedSCIMProviderUserList.md +38 -0
- package/docs/PaginatedSCIMSourceGroupList.md +38 -0
- package/docs/PaginatedSCIMSourceList.md +38 -0
- package/docs/PaginatedSCIMSourcePropertyMappingList.md +38 -0
- package/docs/PaginatedSCIMSourceUserList.md +38 -0
- package/docs/PaginatedSMSDeviceList.md +38 -0
- package/docs/PaginatedSSFProviderList.md +38 -0
- package/docs/PaginatedSSFStreamList.md +38 -0
- package/docs/PaginatedScheduleList.md +38 -0
- package/docs/PaginatedScopeMappingList.md +38 -0
- package/docs/PaginatedServiceConnectionList.md +38 -0
- package/docs/PaginatedSourceList.md +38 -0
- package/docs/PaginatedSourceStageList.md +38 -0
- package/docs/PaginatedStageList.md +38 -0
- package/docs/PaginatedStaticDeviceList.md +38 -0
- package/docs/PaginatedTOTPDeviceList.md +38 -0
- package/docs/PaginatedTaskList.md +38 -0
- package/docs/PaginatedTelegramSourceList.md +38 -0
- package/docs/PaginatedTelegramSourcePropertyMappingList.md +38 -0
- package/docs/PaginatedTenantList.md +38 -0
- package/docs/PaginatedTokenList.md +38 -0
- package/docs/PaginatedTokenModelList.md +38 -0
- package/docs/PaginatedUniquePasswordPolicyList.md +38 -0
- package/docs/PaginatedUserConsentList.md +38 -0
- package/docs/PaginatedUserDeleteStageList.md +38 -0
- package/docs/PaginatedUserKerberosSourceConnectionList.md +38 -0
- package/docs/PaginatedUserLDAPSourceConnectionList.md +38 -0
- package/docs/PaginatedUserList.md +38 -0
- package/docs/PaginatedUserLoginStageList.md +38 -0
- package/docs/PaginatedUserLogoutStageList.md +38 -0
- package/docs/PaginatedUserOAuthSourceConnectionList.md +38 -0
- package/docs/PaginatedUserPlexSourceConnectionList.md +38 -0
- package/docs/PaginatedUserSAMLSourceConnectionList.md +38 -0
- package/docs/PaginatedUserSourceConnectionList.md +38 -0
- package/docs/PaginatedUserTelegramSourceConnectionList.md +38 -0
- package/docs/PaginatedUserWriteStageList.md +38 -0
- package/docs/PaginatedWebAuthnDeviceList.md +38 -0
- package/docs/PaginatedWebAuthnDeviceTypeList.md +38 -0
- package/docs/Pagination.md +46 -0
- package/docs/PartialGroup.md +43 -0
- package/docs/PartialUser.md +49 -0
- package/docs/PasswordChallenge.md +47 -0
- package/docs/PasswordChallengeResponseRequest.md +37 -0
- package/docs/PasswordExpiryPolicy.md +53 -0
- package/docs/PasswordExpiryPolicyRequest.md +41 -0
- package/docs/PasswordPolicy.md +75 -0
- package/docs/PasswordPolicyRequest.md +63 -0
- package/docs/PasswordStage.md +55 -0
- package/docs/PasswordStageRequest.md +43 -0
- package/docs/PatchedAgentConnectorRequest.md +60 -0
- package/docs/PatchedApplicationEntitlementRequest.md +39 -0
- package/docs/PatchedApplicationRequest.md +55 -0
- package/docs/PatchedAuthenticatorDuoStageRequest.md +49 -0
- package/docs/PatchedAuthenticatorEmailStageRequest.md +63 -0
- package/docs/PatchedAuthenticatorEndpointGDTCStageRequest.md +41 -0
- package/docs/PatchedAuthenticatorSMSStageRequest.md +55 -0
- package/docs/PatchedAuthenticatorStaticStageRequest.md +43 -0
- package/docs/PatchedAuthenticatorTOTPStageRequest.md +41 -0
- package/docs/PatchedAuthenticatorValidateStageRequest.md +47 -0
- package/docs/PatchedAuthenticatorWebAuthnStageRequest.md +49 -0
- package/docs/PatchedBlueprintInstanceRequest.md +43 -0
- package/docs/PatchedBrandRequest.md +67 -0
- package/docs/PatchedCaptchaStageRequest.md +51 -0
- package/docs/PatchedCertificateKeyPairRequest.md +39 -0
- package/docs/PatchedConnectionTokenRequest.md +39 -0
- package/docs/PatchedConsentStageRequest.md +39 -0
- package/docs/PatchedDenyStageRequest.md +37 -0
- package/docs/PatchedDeviceAccessGroupRequest.md +34 -0
- package/docs/PatchedDeviceUserBindingRequest.md +53 -0
- package/docs/PatchedDockerServiceConnectionRequest.md +43 -0
- package/docs/PatchedDomainRequest.md +39 -0
- package/docs/PatchedDummyPolicyRequest.md +43 -0
- package/docs/PatchedDummyStageRequest.md +37 -0
- package/docs/PatchedDuoDeviceRequest.md +35 -0
- package/docs/PatchedEmailDeviceRequest.md +35 -0
- package/docs/PatchedEmailStageRequest.md +65 -0
- package/docs/PatchedEndpointDeviceRequest.md +46 -0
- package/docs/PatchedEndpointRequest.md +49 -0
- package/docs/PatchedEndpointStageRequest.md +39 -0
- package/docs/PatchedEnrollmentTokenRequest.md +42 -0
- package/docs/PatchedEventMatcherPolicyRequest.md +45 -0
- package/docs/PatchedEventRequest.md +47 -0
- package/docs/PatchedExpressionPolicyRequest.md +39 -0
- package/docs/PatchedFlowRequest.md +53 -0
- package/docs/PatchedFlowStageBindingRequest.md +47 -0
- package/docs/PatchedGeoIPPolicyRequest.md +53 -0
- package/docs/PatchedGoogleEndpointDeviceRequest.md +37 -0
- package/docs/PatchedGoogleWorkspaceProviderMappingRequest.md +39 -0
- package/docs/PatchedGoogleWorkspaceProviderRequest.md +61 -0
- package/docs/PatchedGroupKerberosSourceConnectionRequest.md +39 -0
- package/docs/PatchedGroupLDAPSourceConnectionRequest.md +39 -0
- package/docs/PatchedGroupOAuthSourceConnectionRequest.md +39 -0
- package/docs/PatchedGroupPlexSourceConnectionRequest.md +39 -0
- package/docs/PatchedGroupRequest.md +45 -0
- package/docs/PatchedGroupSAMLSourceConnectionRequest.md +39 -0
- package/docs/PatchedGroupSourceConnectionRequest.md +39 -0
- package/docs/PatchedGroupTelegramSourceConnectionRequest.md +39 -0
- package/docs/PatchedIdentificationStageRequest.md +61 -0
- package/docs/PatchedInitialPermissionsRequest.md +39 -0
- package/docs/PatchedInvitationRequest.md +43 -0
- package/docs/PatchedInvitationStageRequest.md +37 -0
- package/docs/PatchedKerberosSourcePropertyMappingRequest.md +39 -0
- package/docs/PatchedKerberosSourceRequest.md +87 -0
- package/docs/PatchedKubernetesServiceConnectionRequest.md +41 -0
- package/docs/PatchedLDAPProviderRequest.md +59 -0
- package/docs/PatchedLDAPSourcePropertyMappingRequest.md +39 -0
- package/docs/PatchedLDAPSourceRequest.md +103 -0
- package/docs/PatchedLicenseRequest.md +35 -0
- package/docs/PatchedMicrosoftEntraProviderMappingRequest.md +39 -0
- package/docs/PatchedMicrosoftEntraProviderRequest.md +59 -0
- package/docs/PatchedMutualTLSStageRequest.md +43 -0
- package/docs/PatchedNotificationRequest.md +41 -0
- package/docs/PatchedNotificationRuleRequest.md +43 -0
- package/docs/PatchedNotificationTransportRequest.md +49 -0
- package/docs/PatchedNotificationWebhookMappingRequest.md +37 -0
- package/docs/PatchedOAuth2ProviderRequest.md +77 -0
- package/docs/PatchedOAuthSourcePropertyMappingRequest.md +39 -0
- package/docs/PatchedOAuthSourceRequest.md +85 -0
- package/docs/PatchedOutpostRequest.md +45 -0
- package/docs/PatchedPasswordExpiryPolicyRequest.md +41 -0
- package/docs/PatchedPasswordPolicyRequest.md +63 -0
- package/docs/PatchedPasswordStageRequest.md +43 -0
- package/docs/PatchedPermissionAssignRequest.md +39 -0
- package/docs/PatchedPlexSourcePropertyMappingRequest.md +39 -0
- package/docs/PatchedPlexSourceRequest.md +67 -0
- package/docs/PatchedPolicyBindingRequest.md +51 -0
- package/docs/PatchedPromptRequest.md +55 -0
- package/docs/PatchedPromptStageRequest.md +39 -0
- package/docs/PatchedProxyProviderRequest.md +73 -0
- package/docs/PatchedRACPropertyMappingRequest.md +41 -0
- package/docs/PatchedRACProviderRequest.md +47 -0
- package/docs/PatchedRadiusProviderPropertyMappingRequest.md +39 -0
- package/docs/PatchedRadiusProviderRequest.md +51 -0
- package/docs/PatchedRedirectStageRequest.md +43 -0
- package/docs/PatchedReputationPolicyRequest.md +43 -0
- package/docs/PatchedRoleRequest.md +35 -0
- package/docs/PatchedSAMLPropertyMappingRequest.md +43 -0
- package/docs/PatchedSAMLProviderRequest.md +87 -0
- package/docs/PatchedSAMLSourcePropertyMappingRequest.md +39 -0
- package/docs/PatchedSAMLSourceRequest.md +89 -0
- package/docs/PatchedSCIMMappingRequest.md +39 -0
- package/docs/PatchedSCIMProviderRequest.md +65 -0
- package/docs/PatchedSCIMSourceGroupRequest.md +43 -0
- package/docs/PatchedSCIMSourcePropertyMappingRequest.md +39 -0
- package/docs/PatchedSCIMSourceRequest.md +45 -0
- package/docs/PatchedSCIMSourceUserRequest.md +43 -0
- package/docs/PatchedSMSDeviceRequest.md +35 -0
- package/docs/PatchedSSFProviderRequest.md +41 -0
- package/docs/PatchedScheduleRequest.md +38 -0
- package/docs/PatchedScopeMappingRequest.md +43 -0
- package/docs/PatchedSettingsRequest.md +65 -0
- package/docs/PatchedSettingsRequestFlags.md +36 -0
- package/docs/PatchedSourceStageRequest.md +39 -0
- package/docs/PatchedStaticDeviceRequest.md +35 -0
- package/docs/PatchedTOTPDeviceRequest.md +35 -0
- package/docs/PatchedTelegramSourcePropertyMappingRequest.md +39 -0
- package/docs/PatchedTelegramSourceRequest.md +65 -0
- package/docs/PatchedTenantRequest.md +39 -0
- package/docs/PatchedTokenRequest.md +47 -0
- package/docs/PatchedUniquePasswordPolicyRequest.md +41 -0
- package/docs/PatchedUserDeleteStageRequest.md +35 -0
- package/docs/PatchedUserKerberosSourceConnectionRequest.md +39 -0
- package/docs/PatchedUserLDAPSourceConnectionRequest.md +39 -0
- package/docs/PatchedUserLoginStageRequest.md +47 -0
- package/docs/PatchedUserLogoutStageRequest.md +35 -0
- package/docs/PatchedUserOAuthSourceConnectionRequest.md +43 -0
- package/docs/PatchedUserPlexSourceConnectionRequest.md +41 -0
- package/docs/PatchedUserRequest.md +53 -0
- package/docs/PatchedUserSAMLSourceConnectionRequest.md +39 -0
- package/docs/PatchedUserSourceConnectionRequest.md +39 -0
- package/docs/PatchedUserTelegramSourceConnectionRequest.md +39 -0
- package/docs/PatchedUserWriteStageRequest.md +45 -0
- package/docs/PatchedWebAuthnDeviceRequest.md +35 -0
- package/docs/Permission.md +47 -0
- package/docs/PermissionAssignRequest.md +39 -0
- package/docs/PermissionAssignResult.md +35 -0
- package/docs/PlexAuthenticationChallenge.md +43 -0
- package/docs/PlexAuthenticationChallengeResponseRequest.md +35 -0
- package/docs/PlexSource.md +81 -0
- package/docs/PlexSourcePropertyMapping.md +49 -0
- package/docs/PlexSourcePropertyMappingRequest.md +39 -0
- package/docs/PlexSourceRequest.md +67 -0
- package/docs/PlexTokenRedeemRequest.md +35 -0
- package/docs/PoliciesApi.md +5987 -0
- package/docs/Policy.md +49 -0
- package/docs/PolicyBinding.md +59 -0
- package/docs/PolicyBindingRequest.md +51 -0
- package/docs/PolicyEngineMode.md +32 -0
- package/docs/PolicyTestRequest.md +37 -0
- package/docs/PolicyTestResult.md +39 -0
- package/docs/Process.md +38 -0
- package/docs/ProcessRequest.md +38 -0
- package/docs/Prompt.md +59 -0
- package/docs/PromptChallenge.md +41 -0
- package/docs/PromptChallengeResponseRequest.md +35 -0
- package/docs/PromptChoice.md +37 -0
- package/docs/PromptRequest.md +55 -0
- package/docs/PromptStage.md +51 -0
- package/docs/PromptStageRequest.md +39 -0
- package/docs/PromptTypeEnum.md +32 -0
- package/docs/PropertyMapping.md +49 -0
- package/docs/PropertyMappingPreview.md +35 -0
- package/docs/PropertyMappingTestRequest.md +39 -0
- package/docs/PropertyMappingTestResult.md +37 -0
- package/docs/PropertymappingsApi.md +8604 -0
- package/docs/ProtocolEnum.md +32 -0
- package/docs/Provider.md +61 -0
- package/docs/ProviderEnum.md +32 -0
- package/docs/ProviderModelEnum.md +32 -0
- package/docs/ProviderTypeEnum.md +32 -0
- package/docs/ProvidersApi.md +9144 -0
- package/docs/ProxyMode.md +32 -0
- package/docs/ProxyOutpostConfig.md +75 -0
- package/docs/ProxyProvider.md +97 -0
- package/docs/ProxyProviderRequest.md +73 -0
- package/docs/RACPropertyMapping.md +51 -0
- package/docs/RACPropertyMappingRequest.md +41 -0
- package/docs/RACProvider.md +67 -0
- package/docs/RACProviderRequest.md +47 -0
- package/docs/RacApi.md +1018 -0
- package/docs/RadiusCheckAccess.md +37 -0
- package/docs/RadiusOutpostConfig.md +49 -0
- package/docs/RadiusProvider.md +71 -0
- package/docs/RadiusProviderPropertyMapping.md +49 -0
- package/docs/RadiusProviderPropertyMappingRequest.md +39 -0
- package/docs/RadiusProviderRequest.md +51 -0
- package/docs/RbacApi.md +1752 -0
- package/docs/RedirectChallenge.md +41 -0
- package/docs/RedirectChallengeResponseRequest.md +37 -0
- package/docs/RedirectStage.md +55 -0
- package/docs/RedirectStageModeEnum.md +32 -0
- package/docs/RedirectStageRequest.md +43 -0
- package/docs/RedirectURI.md +37 -0
- package/docs/RedirectURIRequest.md +37 -0
- package/docs/RelatedGroup.md +43 -0
- package/docs/ReportsApi.md +233 -0
- package/docs/Reputation.md +47 -0
- package/docs/ReputationPolicy.md +55 -0
- package/docs/ReputationPolicyRequest.md +43 -0
- package/docs/ResidentKeyRequirementEnum.md +32 -0
- package/docs/Role.md +37 -0
- package/docs/RoleAssignedObjectPermission.md +41 -0
- package/docs/RoleModelPermission.md +43 -0
- package/docs/RoleObjectPermission.md +45 -0
- package/docs/RoleRequest.md +35 -0
- package/docs/RootApi.md +74 -0
- package/docs/SAMLBindingsEnum.md +32 -0
- package/docs/SAMLMetadata.md +37 -0
- package/docs/SAMLNameIDPolicyEnum.md +32 -0
- package/docs/SAMLPropertyMapping.md +53 -0
- package/docs/SAMLPropertyMappingRequest.md +43 -0
- package/docs/SAMLProvider.md +117 -0
- package/docs/SAMLProviderLogoutMethodEnum.md +32 -0
- package/docs/SAMLProviderRequest.md +87 -0
- package/docs/SAMLSource.md +103 -0
- package/docs/SAMLSourcePropertyMapping.md +49 -0
- package/docs/SAMLSourcePropertyMappingRequest.md +39 -0
- package/docs/SAMLSourceRequest.md +89 -0
- package/docs/SCIMAuthenticationModeEnum.md +32 -0
- package/docs/SCIMMapping.md +49 -0
- package/docs/SCIMMappingRequest.md +39 -0
- package/docs/SCIMProvider.md +79 -0
- package/docs/SCIMProviderGroup.md +45 -0
- package/docs/SCIMProviderGroupRequest.md +39 -0
- package/docs/SCIMProviderRequest.md +65 -0
- package/docs/SCIMProviderUser.md +45 -0
- package/docs/SCIMProviderUserRequest.md +39 -0
- package/docs/SCIMSource.md +61 -0
- package/docs/SCIMSourceGroup.md +45 -0
- package/docs/SCIMSourceGroupRequest.md +43 -0
- package/docs/SCIMSourcePropertyMapping.md +49 -0
- package/docs/SCIMSourcePropertyMappingRequest.md +39 -0
- package/docs/SCIMSourceRequest.md +45 -0
- package/docs/SCIMSourceUser.md +45 -0
- package/docs/SCIMSourceUserRequest.md +43 -0
- package/docs/SMSDevice.md +41 -0
- package/docs/SMSDeviceRequest.md +35 -0
- package/docs/SSFProvider.md +55 -0
- package/docs/SSFProviderRequest.md +41 -0
- package/docs/SSFStream.md +51 -0
- package/docs/Schedule.md +56 -0
- package/docs/ScheduleRequest.md +38 -0
- package/docs/SchemaApi.md +85 -0
- package/docs/ScopeMapping.md +53 -0
- package/docs/ScopeMappingRequest.md +43 -0
- package/docs/SelectableStage.md +41 -0
- package/docs/ServiceConnection.md +47 -0
- package/docs/ServiceConnectionState.md +37 -0
- package/docs/SessionEndChallenge.md +51 -0
- package/docs/SessionUser.md +37 -0
- package/docs/Settings.md +65 -0
- package/docs/SettingsRequest.md +65 -0
- package/docs/SeverityEnum.md +32 -0
- package/docs/ShellChallenge.md +41 -0
- package/docs/SignatureAlgorithmEnum.md +32 -0
- package/docs/Software.md +40 -0
- package/docs/SoftwareRequest.md +40 -0
- package/docs/Source.md +71 -0
- package/docs/SourceStage.md +51 -0
- package/docs/SourceStageRequest.md +39 -0
- package/docs/SourceType.md +51 -0
- package/docs/SourcesApi.md +13580 -0
- package/docs/SsfApi.md +174 -0
- package/docs/Stage.md +47 -0
- package/docs/StageModeEnum.md +32 -0
- package/docs/StagePrompt.md +51 -0
- package/docs/StagesApi.md +15798 -0
- package/docs/StateEnum.md +32 -0
- package/docs/StaticDevice.md +41 -0
- package/docs/StaticDeviceRequest.md +35 -0
- package/docs/StaticDeviceToken.md +35 -0
- package/docs/SubModeEnum.md +32 -0
- package/docs/SyncObjectModelEnum.md +32 -0
- package/docs/SyncObjectRequest.md +39 -0
- package/docs/SyncObjectResult.md +35 -0
- package/docs/SyncOutgoingTriggerModeEnum.md +32 -0
- package/docs/SyncStatus.md +39 -0
- package/docs/SystemInfo.md +49 -0
- package/docs/SystemInfoRuntime.md +49 -0
- package/docs/TOTPDevice.md +39 -0
- package/docs/TOTPDeviceRequest.md +35 -0
- package/docs/Task.md +62 -0
- package/docs/TaskAggregatedStatusEnum.md +32 -0
- package/docs/TasksApi.md +789 -0
- package/docs/TelegramAuthRequest.md +46 -0
- package/docs/TelegramChallengeResponseRequest.md +49 -0
- package/docs/TelegramLoginChallenge.md +43 -0
- package/docs/TelegramSource.md +77 -0
- package/docs/TelegramSourcePropertyMapping.md +49 -0
- package/docs/TelegramSourcePropertyMappingRequest.md +39 -0
- package/docs/TelegramSourceRequest.md +65 -0
- package/docs/Tenant.md +41 -0
- package/docs/TenantAdminGroupRequestRequest.md +35 -0
- package/docs/TenantRecoveryKeyRequestRequest.md +37 -0
- package/docs/TenantRecoveryKeyResponse.md +37 -0
- package/docs/TenantRequest.md +39 -0
- package/docs/TenantsApi.md +1026 -0
- package/docs/Token.md +51 -0
- package/docs/TokenModel.md +49 -0
- package/docs/TokenRequest.md +47 -0
- package/docs/TokenSetKeyRequest.md +35 -0
- package/docs/TokenView.md +35 -0
- package/docs/TransactionApplicationRequest.md +41 -0
- package/docs/TransactionApplicationResponse.md +37 -0
- package/docs/TransactionPolicyBindingRequest.md +49 -0
- package/docs/TypeCreate.md +47 -0
- package/docs/UiThemeEnum.md +32 -0
- package/docs/UniquePasswordPolicy.md +53 -0
- package/docs/UniquePasswordPolicyRequest.md +41 -0
- package/docs/UsedBy.md +43 -0
- package/docs/UsedByActionEnum.md +32 -0
- package/docs/User.md +73 -0
- package/docs/UserAccountRequest.md +35 -0
- package/docs/UserAccountSerializerForRoleRequest.md +35 -0
- package/docs/UserAttributeEnum.md +32 -0
- package/docs/UserConsent.md +45 -0
- package/docs/UserCreationModeEnum.md +32 -0
- package/docs/UserDeleteStage.md +47 -0
- package/docs/UserDeleteStageRequest.md +35 -0
- package/docs/UserFieldsEnum.md +32 -0
- package/docs/UserKerberosSourceConnection.md +47 -0
- package/docs/UserKerberosSourceConnectionRequest.md +39 -0
- package/docs/UserLDAPSourceConnection.md +47 -0
- package/docs/UserLDAPSourceConnectionRequest.md +39 -0
- package/docs/UserLoginChallenge.md +43 -0
- package/docs/UserLoginChallengeResponseRequest.md +37 -0
- package/docs/UserLoginStage.md +59 -0
- package/docs/UserLoginStageRequest.md +47 -0
- package/docs/UserLogoutStage.md +47 -0
- package/docs/UserLogoutStageRequest.md +35 -0
- package/docs/UserMatchingModeEnum.md +32 -0
- package/docs/UserOAuthSourceConnection.md +49 -0
- package/docs/UserOAuthSourceConnectionRequest.md +43 -0
- package/docs/UserPasswordSetRequest.md +35 -0
- package/docs/UserPath.md +34 -0
- package/docs/UserPlexSourceConnection.md +47 -0
- package/docs/UserPlexSourceConnectionRequest.md +41 -0
- package/docs/UserRequest.md +53 -0
- package/docs/UserSAMLSourceConnection.md +47 -0
- package/docs/UserSAMLSourceConnectionRequest.md +39 -0
- package/docs/UserSelf.md +59 -0
- package/docs/UserSelfGroups.md +36 -0
- package/docs/UserSelfRoles.md +36 -0
- package/docs/UserServiceAccountRequest.md +41 -0
- package/docs/UserServiceAccountResponse.md +42 -0
- package/docs/UserSetting.md +43 -0
- package/docs/UserSourceConnection.md +47 -0
- package/docs/UserSourceConnectionRequest.md +39 -0
- package/docs/UserTelegramSourceConnection.md +47 -0
- package/docs/UserTelegramSourceConnectionRequest.md +39 -0
- package/docs/UserTypeEnum.md +32 -0
- package/docs/UserVerificationEnum.md +32 -0
- package/docs/UserWriteStage.md +57 -0
- package/docs/UserWriteStageRequest.md +45 -0
- package/docs/ValidationError.md +37 -0
- package/docs/Version.md +45 -0
- package/docs/VersionHistory.md +41 -0
- package/docs/WebAuthnDevice.md +45 -0
- package/docs/WebAuthnDeviceRequest.md +35 -0
- package/docs/WebAuthnDeviceType.md +37 -0
- package/docs/Worker.md +38 -0
- package/package.json +1 -1
- package/src/apis/CoreApi.ts +10 -0
- package/src/apis/RbacApi.ts +11 -1
- package/src/models/CapabilitiesEnum.ts +1 -0
- package/src/models/Group.ts +9 -1
- package/tsconfig.tsbuildinfo +1 -1
package/docs/RbacApi.md
ADDED
|
@@ -0,0 +1,1752 @@
|
|
|
1
|
+
# RbacApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to */api/v3*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**rbacInitialPermissionsCreate**](RbacApi.md#rbacinitialpermissionscreate) | **POST** /rbac/initial_permissions/ | |
|
|
8
|
+
| [**rbacInitialPermissionsDestroy**](RbacApi.md#rbacinitialpermissionsdestroy) | **DELETE** /rbac/initial_permissions/{id}/ | |
|
|
9
|
+
| [**rbacInitialPermissionsList**](RbacApi.md#rbacinitialpermissionslist) | **GET** /rbac/initial_permissions/ | |
|
|
10
|
+
| [**rbacInitialPermissionsPartialUpdate**](RbacApi.md#rbacinitialpermissionspartialupdate) | **PATCH** /rbac/initial_permissions/{id}/ | |
|
|
11
|
+
| [**rbacInitialPermissionsRetrieve**](RbacApi.md#rbacinitialpermissionsretrieve) | **GET** /rbac/initial_permissions/{id}/ | |
|
|
12
|
+
| [**rbacInitialPermissionsUpdate**](RbacApi.md#rbacinitialpermissionsupdate) | **PUT** /rbac/initial_permissions/{id}/ | |
|
|
13
|
+
| [**rbacInitialPermissionsUsedByList**](RbacApi.md#rbacinitialpermissionsusedbylist) | **GET** /rbac/initial_permissions/{id}/used_by/ | |
|
|
14
|
+
| [**rbacPermissionsAssignedByRolesAssign**](RbacApi.md#rbacpermissionsassignedbyrolesassign) | **POST** /rbac/permissions/assigned_by_roles/{uuid}/assign/ | |
|
|
15
|
+
| [**rbacPermissionsAssignedByRolesList**](RbacApi.md#rbacpermissionsassignedbyroleslist) | **GET** /rbac/permissions/assigned_by_roles/ | |
|
|
16
|
+
| [**rbacPermissionsAssignedByRolesUnassignPartialUpdate**](RbacApi.md#rbacpermissionsassignedbyrolesunassignpartialupdate) | **PATCH** /rbac/permissions/assigned_by_roles/{uuid}/unassign/ | |
|
|
17
|
+
| [**rbacPermissionsList**](RbacApi.md#rbacpermissionslist) | **GET** /rbac/permissions/ | |
|
|
18
|
+
| [**rbacPermissionsRetrieve**](RbacApi.md#rbacpermissionsretrieve) | **GET** /rbac/permissions/{id}/ | |
|
|
19
|
+
| [**rbacPermissionsRolesList**](RbacApi.md#rbacpermissionsroleslist) | **GET** /rbac/permissions/roles/ | |
|
|
20
|
+
| [**rbacRolesAddUserCreate**](RbacApi.md#rbacrolesaddusercreate) | **POST** /rbac/roles/{uuid}/add_user/ | |
|
|
21
|
+
| [**rbacRolesCreate**](RbacApi.md#rbacrolescreate) | **POST** /rbac/roles/ | |
|
|
22
|
+
| [**rbacRolesDestroy**](RbacApi.md#rbacrolesdestroy) | **DELETE** /rbac/roles/{uuid}/ | |
|
|
23
|
+
| [**rbacRolesList**](RbacApi.md#rbacroleslist) | **GET** /rbac/roles/ | |
|
|
24
|
+
| [**rbacRolesPartialUpdate**](RbacApi.md#rbacrolespartialupdate) | **PATCH** /rbac/roles/{uuid}/ | |
|
|
25
|
+
| [**rbacRolesRemoveUserCreate**](RbacApi.md#rbacrolesremoveusercreate) | **POST** /rbac/roles/{uuid}/remove_user/ | |
|
|
26
|
+
| [**rbacRolesRetrieve**](RbacApi.md#rbacrolesretrieve) | **GET** /rbac/roles/{uuid}/ | |
|
|
27
|
+
| [**rbacRolesUpdate**](RbacApi.md#rbacrolesupdate) | **PUT** /rbac/roles/{uuid}/ | |
|
|
28
|
+
| [**rbacRolesUsedByList**](RbacApi.md#rbacrolesusedbylist) | **GET** /rbac/roles/{uuid}/used_by/ | |
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
## rbacInitialPermissionsCreate
|
|
33
|
+
|
|
34
|
+
> InitialPermissions rbacInitialPermissionsCreate(initialPermissionsRequest)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
InitialPermissions viewset
|
|
39
|
+
|
|
40
|
+
### Example
|
|
41
|
+
|
|
42
|
+
```ts
|
|
43
|
+
import {
|
|
44
|
+
Configuration,
|
|
45
|
+
RbacApi,
|
|
46
|
+
} from '@goauthentik/api';
|
|
47
|
+
import type { RbacInitialPermissionsCreateRequest } from '@goauthentik/api';
|
|
48
|
+
|
|
49
|
+
async function example() {
|
|
50
|
+
console.log("🚀 Testing @goauthentik/api SDK...");
|
|
51
|
+
const config = new Configuration({
|
|
52
|
+
// Configure HTTP bearer authorization: authentik
|
|
53
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
54
|
+
});
|
|
55
|
+
const api = new RbacApi(config);
|
|
56
|
+
|
|
57
|
+
const body = {
|
|
58
|
+
// InitialPermissionsRequest
|
|
59
|
+
initialPermissionsRequest: ...,
|
|
60
|
+
} satisfies RbacInitialPermissionsCreateRequest;
|
|
61
|
+
|
|
62
|
+
try {
|
|
63
|
+
const data = await api.rbacInitialPermissionsCreate(body);
|
|
64
|
+
console.log(data);
|
|
65
|
+
} catch (error) {
|
|
66
|
+
console.error(error);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// Run the test
|
|
71
|
+
example().catch(console.error);
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### Parameters
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
| Name | Type | Description | Notes |
|
|
78
|
+
|------------- | ------------- | ------------- | -------------|
|
|
79
|
+
| **initialPermissionsRequest** | [InitialPermissionsRequest](InitialPermissionsRequest.md) | | |
|
|
80
|
+
|
|
81
|
+
### Return type
|
|
82
|
+
|
|
83
|
+
[**InitialPermissions**](InitialPermissions.md)
|
|
84
|
+
|
|
85
|
+
### Authorization
|
|
86
|
+
|
|
87
|
+
[authentik](../README.md#authentik)
|
|
88
|
+
|
|
89
|
+
### HTTP request headers
|
|
90
|
+
|
|
91
|
+
- **Content-Type**: `application/json`
|
|
92
|
+
- **Accept**: `application/json`
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
### HTTP response details
|
|
96
|
+
| Status code | Description | Response headers |
|
|
97
|
+
|-------------|-------------|------------------|
|
|
98
|
+
| **201** | | - |
|
|
99
|
+
| **400** | | - |
|
|
100
|
+
| **403** | | - |
|
|
101
|
+
|
|
102
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
## rbacInitialPermissionsDestroy
|
|
106
|
+
|
|
107
|
+
> rbacInitialPermissionsDestroy(id)
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
InitialPermissions viewset
|
|
112
|
+
|
|
113
|
+
### Example
|
|
114
|
+
|
|
115
|
+
```ts
|
|
116
|
+
import {
|
|
117
|
+
Configuration,
|
|
118
|
+
RbacApi,
|
|
119
|
+
} from '@goauthentik/api';
|
|
120
|
+
import type { RbacInitialPermissionsDestroyRequest } from '@goauthentik/api';
|
|
121
|
+
|
|
122
|
+
async function example() {
|
|
123
|
+
console.log("🚀 Testing @goauthentik/api SDK...");
|
|
124
|
+
const config = new Configuration({
|
|
125
|
+
// Configure HTTP bearer authorization: authentik
|
|
126
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
127
|
+
});
|
|
128
|
+
const api = new RbacApi(config);
|
|
129
|
+
|
|
130
|
+
const body = {
|
|
131
|
+
// number | A unique integer value identifying this Initial Permissions.
|
|
132
|
+
id: 56,
|
|
133
|
+
} satisfies RbacInitialPermissionsDestroyRequest;
|
|
134
|
+
|
|
135
|
+
try {
|
|
136
|
+
const data = await api.rbacInitialPermissionsDestroy(body);
|
|
137
|
+
console.log(data);
|
|
138
|
+
} catch (error) {
|
|
139
|
+
console.error(error);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
// Run the test
|
|
144
|
+
example().catch(console.error);
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
### Parameters
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
| Name | Type | Description | Notes |
|
|
151
|
+
|------------- | ------------- | ------------- | -------------|
|
|
152
|
+
| **id** | `number` | A unique integer value identifying this Initial Permissions. | [Defaults to `undefined`] |
|
|
153
|
+
|
|
154
|
+
### Return type
|
|
155
|
+
|
|
156
|
+
`void` (Empty response body)
|
|
157
|
+
|
|
158
|
+
### Authorization
|
|
159
|
+
|
|
160
|
+
[authentik](../README.md#authentik)
|
|
161
|
+
|
|
162
|
+
### HTTP request headers
|
|
163
|
+
|
|
164
|
+
- **Content-Type**: Not defined
|
|
165
|
+
- **Accept**: `application/json`
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
### HTTP response details
|
|
169
|
+
| Status code | Description | Response headers |
|
|
170
|
+
|-------------|-------------|------------------|
|
|
171
|
+
| **204** | No response body | - |
|
|
172
|
+
| **400** | | - |
|
|
173
|
+
| **403** | | - |
|
|
174
|
+
|
|
175
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
## rbacInitialPermissionsList
|
|
179
|
+
|
|
180
|
+
> PaginatedInitialPermissionsList rbacInitialPermissionsList(name, ordering, page, pageSize, search)
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
InitialPermissions viewset
|
|
185
|
+
|
|
186
|
+
### Example
|
|
187
|
+
|
|
188
|
+
```ts
|
|
189
|
+
import {
|
|
190
|
+
Configuration,
|
|
191
|
+
RbacApi,
|
|
192
|
+
} from '@goauthentik/api';
|
|
193
|
+
import type { RbacInitialPermissionsListRequest } from '@goauthentik/api';
|
|
194
|
+
|
|
195
|
+
async function example() {
|
|
196
|
+
console.log("🚀 Testing @goauthentik/api SDK...");
|
|
197
|
+
const config = new Configuration({
|
|
198
|
+
// Configure HTTP bearer authorization: authentik
|
|
199
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
200
|
+
});
|
|
201
|
+
const api = new RbacApi(config);
|
|
202
|
+
|
|
203
|
+
const body = {
|
|
204
|
+
// string (optional)
|
|
205
|
+
name: name_example,
|
|
206
|
+
// string | Which field to use when ordering the results. (optional)
|
|
207
|
+
ordering: ordering_example,
|
|
208
|
+
// number | A page number within the paginated result set. (optional)
|
|
209
|
+
page: 56,
|
|
210
|
+
// number | Number of results to return per page. (optional)
|
|
211
|
+
pageSize: 56,
|
|
212
|
+
// string | A search term. (optional)
|
|
213
|
+
search: search_example,
|
|
214
|
+
} satisfies RbacInitialPermissionsListRequest;
|
|
215
|
+
|
|
216
|
+
try {
|
|
217
|
+
const data = await api.rbacInitialPermissionsList(body);
|
|
218
|
+
console.log(data);
|
|
219
|
+
} catch (error) {
|
|
220
|
+
console.error(error);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
// Run the test
|
|
225
|
+
example().catch(console.error);
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
### Parameters
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
| Name | Type | Description | Notes |
|
|
232
|
+
|------------- | ------------- | ------------- | -------------|
|
|
233
|
+
| **name** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
234
|
+
| **ordering** | `string` | Which field to use when ordering the results. | [Optional] [Defaults to `undefined`] |
|
|
235
|
+
| **page** | `number` | A page number within the paginated result set. | [Optional] [Defaults to `undefined`] |
|
|
236
|
+
| **pageSize** | `number` | Number of results to return per page. | [Optional] [Defaults to `undefined`] |
|
|
237
|
+
| **search** | `string` | A search term. | [Optional] [Defaults to `undefined`] |
|
|
238
|
+
|
|
239
|
+
### Return type
|
|
240
|
+
|
|
241
|
+
[**PaginatedInitialPermissionsList**](PaginatedInitialPermissionsList.md)
|
|
242
|
+
|
|
243
|
+
### Authorization
|
|
244
|
+
|
|
245
|
+
[authentik](../README.md#authentik)
|
|
246
|
+
|
|
247
|
+
### HTTP request headers
|
|
248
|
+
|
|
249
|
+
- **Content-Type**: Not defined
|
|
250
|
+
- **Accept**: `application/json`
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
### HTTP response details
|
|
254
|
+
| Status code | Description | Response headers |
|
|
255
|
+
|-------------|-------------|------------------|
|
|
256
|
+
| **200** | | - |
|
|
257
|
+
| **400** | | - |
|
|
258
|
+
| **403** | | - |
|
|
259
|
+
|
|
260
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
## rbacInitialPermissionsPartialUpdate
|
|
264
|
+
|
|
265
|
+
> InitialPermissions rbacInitialPermissionsPartialUpdate(id, patchedInitialPermissionsRequest)
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
InitialPermissions viewset
|
|
270
|
+
|
|
271
|
+
### Example
|
|
272
|
+
|
|
273
|
+
```ts
|
|
274
|
+
import {
|
|
275
|
+
Configuration,
|
|
276
|
+
RbacApi,
|
|
277
|
+
} from '@goauthentik/api';
|
|
278
|
+
import type { RbacInitialPermissionsPartialUpdateRequest } from '@goauthentik/api';
|
|
279
|
+
|
|
280
|
+
async function example() {
|
|
281
|
+
console.log("🚀 Testing @goauthentik/api SDK...");
|
|
282
|
+
const config = new Configuration({
|
|
283
|
+
// Configure HTTP bearer authorization: authentik
|
|
284
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
285
|
+
});
|
|
286
|
+
const api = new RbacApi(config);
|
|
287
|
+
|
|
288
|
+
const body = {
|
|
289
|
+
// number | A unique integer value identifying this Initial Permissions.
|
|
290
|
+
id: 56,
|
|
291
|
+
// PatchedInitialPermissionsRequest (optional)
|
|
292
|
+
patchedInitialPermissionsRequest: ...,
|
|
293
|
+
} satisfies RbacInitialPermissionsPartialUpdateRequest;
|
|
294
|
+
|
|
295
|
+
try {
|
|
296
|
+
const data = await api.rbacInitialPermissionsPartialUpdate(body);
|
|
297
|
+
console.log(data);
|
|
298
|
+
} catch (error) {
|
|
299
|
+
console.error(error);
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
// Run the test
|
|
304
|
+
example().catch(console.error);
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
### Parameters
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
| Name | Type | Description | Notes |
|
|
311
|
+
|------------- | ------------- | ------------- | -------------|
|
|
312
|
+
| **id** | `number` | A unique integer value identifying this Initial Permissions. | [Defaults to `undefined`] |
|
|
313
|
+
| **patchedInitialPermissionsRequest** | [PatchedInitialPermissionsRequest](PatchedInitialPermissionsRequest.md) | | [Optional] |
|
|
314
|
+
|
|
315
|
+
### Return type
|
|
316
|
+
|
|
317
|
+
[**InitialPermissions**](InitialPermissions.md)
|
|
318
|
+
|
|
319
|
+
### Authorization
|
|
320
|
+
|
|
321
|
+
[authentik](../README.md#authentik)
|
|
322
|
+
|
|
323
|
+
### HTTP request headers
|
|
324
|
+
|
|
325
|
+
- **Content-Type**: `application/json`
|
|
326
|
+
- **Accept**: `application/json`
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
### HTTP response details
|
|
330
|
+
| Status code | Description | Response headers |
|
|
331
|
+
|-------------|-------------|------------------|
|
|
332
|
+
| **200** | | - |
|
|
333
|
+
| **400** | | - |
|
|
334
|
+
| **403** | | - |
|
|
335
|
+
|
|
336
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
## rbacInitialPermissionsRetrieve
|
|
340
|
+
|
|
341
|
+
> InitialPermissions rbacInitialPermissionsRetrieve(id)
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
InitialPermissions viewset
|
|
346
|
+
|
|
347
|
+
### Example
|
|
348
|
+
|
|
349
|
+
```ts
|
|
350
|
+
import {
|
|
351
|
+
Configuration,
|
|
352
|
+
RbacApi,
|
|
353
|
+
} from '@goauthentik/api';
|
|
354
|
+
import type { RbacInitialPermissionsRetrieveRequest } from '@goauthentik/api';
|
|
355
|
+
|
|
356
|
+
async function example() {
|
|
357
|
+
console.log("🚀 Testing @goauthentik/api SDK...");
|
|
358
|
+
const config = new Configuration({
|
|
359
|
+
// Configure HTTP bearer authorization: authentik
|
|
360
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
361
|
+
});
|
|
362
|
+
const api = new RbacApi(config);
|
|
363
|
+
|
|
364
|
+
const body = {
|
|
365
|
+
// number | A unique integer value identifying this Initial Permissions.
|
|
366
|
+
id: 56,
|
|
367
|
+
} satisfies RbacInitialPermissionsRetrieveRequest;
|
|
368
|
+
|
|
369
|
+
try {
|
|
370
|
+
const data = await api.rbacInitialPermissionsRetrieve(body);
|
|
371
|
+
console.log(data);
|
|
372
|
+
} catch (error) {
|
|
373
|
+
console.error(error);
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
// Run the test
|
|
378
|
+
example().catch(console.error);
|
|
379
|
+
```
|
|
380
|
+
|
|
381
|
+
### Parameters
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
| Name | Type | Description | Notes |
|
|
385
|
+
|------------- | ------------- | ------------- | -------------|
|
|
386
|
+
| **id** | `number` | A unique integer value identifying this Initial Permissions. | [Defaults to `undefined`] |
|
|
387
|
+
|
|
388
|
+
### Return type
|
|
389
|
+
|
|
390
|
+
[**InitialPermissions**](InitialPermissions.md)
|
|
391
|
+
|
|
392
|
+
### Authorization
|
|
393
|
+
|
|
394
|
+
[authentik](../README.md#authentik)
|
|
395
|
+
|
|
396
|
+
### HTTP request headers
|
|
397
|
+
|
|
398
|
+
- **Content-Type**: Not defined
|
|
399
|
+
- **Accept**: `application/json`
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
### HTTP response details
|
|
403
|
+
| Status code | Description | Response headers |
|
|
404
|
+
|-------------|-------------|------------------|
|
|
405
|
+
| **200** | | - |
|
|
406
|
+
| **400** | | - |
|
|
407
|
+
| **403** | | - |
|
|
408
|
+
|
|
409
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
## rbacInitialPermissionsUpdate
|
|
413
|
+
|
|
414
|
+
> InitialPermissions rbacInitialPermissionsUpdate(id, initialPermissionsRequest)
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
InitialPermissions viewset
|
|
419
|
+
|
|
420
|
+
### Example
|
|
421
|
+
|
|
422
|
+
```ts
|
|
423
|
+
import {
|
|
424
|
+
Configuration,
|
|
425
|
+
RbacApi,
|
|
426
|
+
} from '@goauthentik/api';
|
|
427
|
+
import type { RbacInitialPermissionsUpdateRequest } from '@goauthentik/api';
|
|
428
|
+
|
|
429
|
+
async function example() {
|
|
430
|
+
console.log("🚀 Testing @goauthentik/api SDK...");
|
|
431
|
+
const config = new Configuration({
|
|
432
|
+
// Configure HTTP bearer authorization: authentik
|
|
433
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
434
|
+
});
|
|
435
|
+
const api = new RbacApi(config);
|
|
436
|
+
|
|
437
|
+
const body = {
|
|
438
|
+
// number | A unique integer value identifying this Initial Permissions.
|
|
439
|
+
id: 56,
|
|
440
|
+
// InitialPermissionsRequest
|
|
441
|
+
initialPermissionsRequest: ...,
|
|
442
|
+
} satisfies RbacInitialPermissionsUpdateRequest;
|
|
443
|
+
|
|
444
|
+
try {
|
|
445
|
+
const data = await api.rbacInitialPermissionsUpdate(body);
|
|
446
|
+
console.log(data);
|
|
447
|
+
} catch (error) {
|
|
448
|
+
console.error(error);
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
// Run the test
|
|
453
|
+
example().catch(console.error);
|
|
454
|
+
```
|
|
455
|
+
|
|
456
|
+
### Parameters
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
| Name | Type | Description | Notes |
|
|
460
|
+
|------------- | ------------- | ------------- | -------------|
|
|
461
|
+
| **id** | `number` | A unique integer value identifying this Initial Permissions. | [Defaults to `undefined`] |
|
|
462
|
+
| **initialPermissionsRequest** | [InitialPermissionsRequest](InitialPermissionsRequest.md) | | |
|
|
463
|
+
|
|
464
|
+
### Return type
|
|
465
|
+
|
|
466
|
+
[**InitialPermissions**](InitialPermissions.md)
|
|
467
|
+
|
|
468
|
+
### Authorization
|
|
469
|
+
|
|
470
|
+
[authentik](../README.md#authentik)
|
|
471
|
+
|
|
472
|
+
### HTTP request headers
|
|
473
|
+
|
|
474
|
+
- **Content-Type**: `application/json`
|
|
475
|
+
- **Accept**: `application/json`
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
### HTTP response details
|
|
479
|
+
| Status code | Description | Response headers |
|
|
480
|
+
|-------------|-------------|------------------|
|
|
481
|
+
| **200** | | - |
|
|
482
|
+
| **400** | | - |
|
|
483
|
+
| **403** | | - |
|
|
484
|
+
|
|
485
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
## rbacInitialPermissionsUsedByList
|
|
489
|
+
|
|
490
|
+
> Array<UsedBy> rbacInitialPermissionsUsedByList(id)
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
Get a list of all objects that use this object
|
|
495
|
+
|
|
496
|
+
### Example
|
|
497
|
+
|
|
498
|
+
```ts
|
|
499
|
+
import {
|
|
500
|
+
Configuration,
|
|
501
|
+
RbacApi,
|
|
502
|
+
} from '@goauthentik/api';
|
|
503
|
+
import type { RbacInitialPermissionsUsedByListRequest } from '@goauthentik/api';
|
|
504
|
+
|
|
505
|
+
async function example() {
|
|
506
|
+
console.log("🚀 Testing @goauthentik/api SDK...");
|
|
507
|
+
const config = new Configuration({
|
|
508
|
+
// Configure HTTP bearer authorization: authentik
|
|
509
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
510
|
+
});
|
|
511
|
+
const api = new RbacApi(config);
|
|
512
|
+
|
|
513
|
+
const body = {
|
|
514
|
+
// number | A unique integer value identifying this Initial Permissions.
|
|
515
|
+
id: 56,
|
|
516
|
+
} satisfies RbacInitialPermissionsUsedByListRequest;
|
|
517
|
+
|
|
518
|
+
try {
|
|
519
|
+
const data = await api.rbacInitialPermissionsUsedByList(body);
|
|
520
|
+
console.log(data);
|
|
521
|
+
} catch (error) {
|
|
522
|
+
console.error(error);
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
// Run the test
|
|
527
|
+
example().catch(console.error);
|
|
528
|
+
```
|
|
529
|
+
|
|
530
|
+
### Parameters
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
| Name | Type | Description | Notes |
|
|
534
|
+
|------------- | ------------- | ------------- | -------------|
|
|
535
|
+
| **id** | `number` | A unique integer value identifying this Initial Permissions. | [Defaults to `undefined`] |
|
|
536
|
+
|
|
537
|
+
### Return type
|
|
538
|
+
|
|
539
|
+
[**Array<UsedBy>**](UsedBy.md)
|
|
540
|
+
|
|
541
|
+
### Authorization
|
|
542
|
+
|
|
543
|
+
[authentik](../README.md#authentik)
|
|
544
|
+
|
|
545
|
+
### HTTP request headers
|
|
546
|
+
|
|
547
|
+
- **Content-Type**: Not defined
|
|
548
|
+
- **Accept**: `application/json`
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
### HTTP response details
|
|
552
|
+
| Status code | Description | Response headers |
|
|
553
|
+
|-------------|-------------|------------------|
|
|
554
|
+
| **200** | | - |
|
|
555
|
+
| **400** | | - |
|
|
556
|
+
| **403** | | - |
|
|
557
|
+
|
|
558
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
## rbacPermissionsAssignedByRolesAssign
|
|
562
|
+
|
|
563
|
+
> Array<PermissionAssignResult> rbacPermissionsAssignedByRolesAssign(uuid, permissionAssignRequest)
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
Assign permission(s) to role. When `object_pk` is set, the permissions are only assigned to the specific object, otherwise they are assigned globally.
|
|
568
|
+
|
|
569
|
+
### Example
|
|
570
|
+
|
|
571
|
+
```ts
|
|
572
|
+
import {
|
|
573
|
+
Configuration,
|
|
574
|
+
RbacApi,
|
|
575
|
+
} from '@goauthentik/api';
|
|
576
|
+
import type { RbacPermissionsAssignedByRolesAssignRequest } from '@goauthentik/api';
|
|
577
|
+
|
|
578
|
+
async function example() {
|
|
579
|
+
console.log("🚀 Testing @goauthentik/api SDK...");
|
|
580
|
+
const config = new Configuration({
|
|
581
|
+
// Configure HTTP bearer authorization: authentik
|
|
582
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
583
|
+
});
|
|
584
|
+
const api = new RbacApi(config);
|
|
585
|
+
|
|
586
|
+
const body = {
|
|
587
|
+
// string | A UUID string identifying this Role.
|
|
588
|
+
uuid: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
589
|
+
// PermissionAssignRequest
|
|
590
|
+
permissionAssignRequest: ...,
|
|
591
|
+
} satisfies RbacPermissionsAssignedByRolesAssignRequest;
|
|
592
|
+
|
|
593
|
+
try {
|
|
594
|
+
const data = await api.rbacPermissionsAssignedByRolesAssign(body);
|
|
595
|
+
console.log(data);
|
|
596
|
+
} catch (error) {
|
|
597
|
+
console.error(error);
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
// Run the test
|
|
602
|
+
example().catch(console.error);
|
|
603
|
+
```
|
|
604
|
+
|
|
605
|
+
### Parameters
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
| Name | Type | Description | Notes |
|
|
609
|
+
|------------- | ------------- | ------------- | -------------|
|
|
610
|
+
| **uuid** | `string` | A UUID string identifying this Role. | [Defaults to `undefined`] |
|
|
611
|
+
| **permissionAssignRequest** | [PermissionAssignRequest](PermissionAssignRequest.md) | | |
|
|
612
|
+
|
|
613
|
+
### Return type
|
|
614
|
+
|
|
615
|
+
[**Array<PermissionAssignResult>**](PermissionAssignResult.md)
|
|
616
|
+
|
|
617
|
+
### Authorization
|
|
618
|
+
|
|
619
|
+
[authentik](../README.md#authentik)
|
|
620
|
+
|
|
621
|
+
### HTTP request headers
|
|
622
|
+
|
|
623
|
+
- **Content-Type**: `application/json`
|
|
624
|
+
- **Accept**: `application/json`
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
### HTTP response details
|
|
628
|
+
| Status code | Description | Response headers |
|
|
629
|
+
|-------------|-------------|------------------|
|
|
630
|
+
| **200** | | - |
|
|
631
|
+
| **400** | | - |
|
|
632
|
+
| **403** | | - |
|
|
633
|
+
|
|
634
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
## rbacPermissionsAssignedByRolesList
|
|
638
|
+
|
|
639
|
+
> PaginatedRoleAssignedObjectPermissionList rbacPermissionsAssignedByRolesList(model, objectPk, ordering, page, pageSize, search)
|
|
640
|
+
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
Get assigned object permissions for a single object
|
|
644
|
+
|
|
645
|
+
### Example
|
|
646
|
+
|
|
647
|
+
```ts
|
|
648
|
+
import {
|
|
649
|
+
Configuration,
|
|
650
|
+
RbacApi,
|
|
651
|
+
} from '@goauthentik/api';
|
|
652
|
+
import type { RbacPermissionsAssignedByRolesListRequest } from '@goauthentik/api';
|
|
653
|
+
|
|
654
|
+
async function example() {
|
|
655
|
+
console.log("🚀 Testing @goauthentik/api SDK...");
|
|
656
|
+
const config = new Configuration({
|
|
657
|
+
// Configure HTTP bearer authorization: authentik
|
|
658
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
659
|
+
});
|
|
660
|
+
const api = new RbacApi(config);
|
|
661
|
+
|
|
662
|
+
const body = {
|
|
663
|
+
// 'authentik_blueprints.blueprintinstance' | 'authentik_brands.brand' | 'authentik_core.application' | 'authentik_core.applicationentitlement' | 'authentik_core.group' | 'authentik_core.token' | 'authentik_core.user' | 'authentik_crypto.certificatekeypair' | 'authentik_endpoints.deviceaccessgroup' | 'authentik_endpoints.deviceuserbinding' | 'authentik_endpoints.endpointstage' | 'authentik_endpoints_connectors_agent.agentconnector' | 'authentik_endpoints_connectors_agent.agentdeviceuserbinding' | 'authentik_endpoints_connectors_agent.enrollmenttoken' | 'authentik_enterprise.license' | 'authentik_events.event' | 'authentik_events.notification' | 'authentik_events.notificationrule' | 'authentik_events.notificationtransport' | 'authentik_events.notificationwebhookmapping' | 'authentik_flows.flow' | 'authentik_flows.flowstagebinding' | 'authentik_outposts.dockerserviceconnection' | 'authentik_outposts.kubernetesserviceconnection' | 'authentik_outposts.outpost' | 'authentik_policies.policybinding' | 'authentik_policies_dummy.dummypolicy' | 'authentik_policies_event_matcher.eventmatcherpolicy' | 'authentik_policies_expiry.passwordexpirypolicy' | 'authentik_policies_expression.expressionpolicy' | 'authentik_policies_geoip.geoippolicy' | 'authentik_policies_password.passwordpolicy' | 'authentik_policies_reputation.reputationpolicy' | 'authentik_policies_unique_password.uniquepasswordpolicy' | 'authentik_providers_google_workspace.googleworkspaceprovider' | 'authentik_providers_google_workspace.googleworkspaceprovidermapping' | 'authentik_providers_ldap.ldapprovider' | 'authentik_providers_microsoft_entra.microsoftentraprovider' | 'authentik_providers_microsoft_entra.microsoftentraprovidermapping' | 'authentik_providers_oauth2.oauth2provider' | 'authentik_providers_oauth2.scopemapping' | 'authentik_providers_proxy.proxyprovider' | 'authentik_providers_rac.endpoint' | 'authentik_providers_rac.racpropertymapping' | 'authentik_providers_rac.racprovider' | 'authentik_providers_radius.radiusprovider' | 'authentik_providers_radius.radiusproviderpropertymapping' | 'authentik_providers_saml.samlpropertymapping' | 'authentik_providers_saml.samlprovider' | 'authentik_providers_scim.scimmapping' | 'authentik_providers_scim.scimprovider' | 'authentik_providers_ssf.ssfprovider' | 'authentik_rbac.initialpermissions' | 'authentik_rbac.role' | 'authentik_reports.dataexport' | 'authentik_sources_kerberos.groupkerberossourceconnection' | 'authentik_sources_kerberos.kerberossource' | 'authentik_sources_kerberos.kerberossourcepropertymapping' | 'authentik_sources_kerberos.userkerberossourceconnection' | 'authentik_sources_ldap.groupldapsourceconnection' | 'authentik_sources_ldap.ldapsource' | 'authentik_sources_ldap.ldapsourcepropertymapping' | 'authentik_sources_ldap.userldapsourceconnection' | 'authentik_sources_oauth.groupoauthsourceconnection' | 'authentik_sources_oauth.oauthsource' | 'authentik_sources_oauth.oauthsourcepropertymapping' | 'authentik_sources_oauth.useroauthsourceconnection' | 'authentik_sources_plex.groupplexsourceconnection' | 'authentik_sources_plex.plexsource' | 'authentik_sources_plex.plexsourcepropertymapping' | 'authentik_sources_plex.userplexsourceconnection' | 'authentik_sources_saml.groupsamlsourceconnection' | 'authentik_sources_saml.samlsource' | 'authentik_sources_saml.samlsourcepropertymapping' | 'authentik_sources_saml.usersamlsourceconnection' | 'authentik_sources_scim.scimsource' | 'authentik_sources_scim.scimsourcepropertymapping' | 'authentik_sources_telegram.grouptelegramsourceconnection' | 'authentik_sources_telegram.telegramsource' | 'authentik_sources_telegram.telegramsourcepropertymapping' | 'authentik_sources_telegram.usertelegramsourceconnection' | 'authentik_stages_authenticator_duo.authenticatorduostage' | 'authentik_stages_authenticator_duo.duodevice' | 'authentik_stages_authenticator_email.authenticatoremailstage' | 'authentik_stages_authenticator_email.emaildevice' | 'authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage' | 'authentik_stages_authenticator_sms.authenticatorsmsstage' | 'authentik_stages_authenticator_sms.smsdevice' | 'authentik_stages_authenticator_static.authenticatorstaticstage' | 'authentik_stages_authenticator_static.staticdevice' | 'authentik_stages_authenticator_totp.authenticatortotpstage' | 'authentik_stages_authenticator_totp.totpdevice' | 'authentik_stages_authenticator_validate.authenticatorvalidatestage' | 'authentik_stages_authenticator_webauthn.authenticatorwebauthnstage' | 'authentik_stages_authenticator_webauthn.webauthndevice' | 'authentik_stages_captcha.captchastage' | 'authentik_stages_consent.consentstage' | 'authentik_stages_deny.denystage' | 'authentik_stages_dummy.dummystage' | 'authentik_stages_email.emailstage' | 'authentik_stages_identification.identificationstage' | 'authentik_stages_invitation.invitation' | 'authentik_stages_invitation.invitationstage' | 'authentik_stages_mtls.mutualtlsstage' | 'authentik_stages_password.passwordstage' | 'authentik_stages_prompt.prompt' | 'authentik_stages_prompt.promptstage' | 'authentik_stages_redirect.redirectstage' | 'authentik_stages_source.sourcestage' | 'authentik_stages_user_delete.userdeletestage' | 'authentik_stages_user_login.userloginstage' | 'authentik_stages_user_logout.userlogoutstage' | 'authentik_stages_user_write.userwritestage' | 'authentik_tasks_schedules.schedule' | 'authentik_tenants.domain'
|
|
664
|
+
model: model_example,
|
|
665
|
+
// string (optional)
|
|
666
|
+
objectPk: objectPk_example,
|
|
667
|
+
// string | Which field to use when ordering the results. (optional)
|
|
668
|
+
ordering: ordering_example,
|
|
669
|
+
// number | A page number within the paginated result set. (optional)
|
|
670
|
+
page: 56,
|
|
671
|
+
// number | Number of results to return per page. (optional)
|
|
672
|
+
pageSize: 56,
|
|
673
|
+
// string | A search term. (optional)
|
|
674
|
+
search: search_example,
|
|
675
|
+
} satisfies RbacPermissionsAssignedByRolesListRequest;
|
|
676
|
+
|
|
677
|
+
try {
|
|
678
|
+
const data = await api.rbacPermissionsAssignedByRolesList(body);
|
|
679
|
+
console.log(data);
|
|
680
|
+
} catch (error) {
|
|
681
|
+
console.error(error);
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
// Run the test
|
|
686
|
+
example().catch(console.error);
|
|
687
|
+
```
|
|
688
|
+
|
|
689
|
+
### Parameters
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
| Name | Type | Description | Notes |
|
|
693
|
+
|------------- | ------------- | ------------- | -------------|
|
|
694
|
+
| **model** | `authentik_blueprints.blueprintinstance`, `authentik_brands.brand`, `authentik_core.application`, `authentik_core.applicationentitlement`, `authentik_core.group`, `authentik_core.token`, `authentik_core.user`, `authentik_crypto.certificatekeypair`, `authentik_endpoints.deviceaccessgroup`, `authentik_endpoints.deviceuserbinding`, `authentik_endpoints.endpointstage`, `authentik_endpoints_connectors_agent.agentconnector`, `authentik_endpoints_connectors_agent.agentdeviceuserbinding`, `authentik_endpoints_connectors_agent.enrollmenttoken`, `authentik_enterprise.license`, `authentik_events.event`, `authentik_events.notification`, `authentik_events.notificationrule`, `authentik_events.notificationtransport`, `authentik_events.notificationwebhookmapping`, `authentik_flows.flow`, `authentik_flows.flowstagebinding`, `authentik_outposts.dockerserviceconnection`, `authentik_outposts.kubernetesserviceconnection`, `authentik_outposts.outpost`, `authentik_policies.policybinding`, `authentik_policies_dummy.dummypolicy`, `authentik_policies_event_matcher.eventmatcherpolicy`, `authentik_policies_expiry.passwordexpirypolicy`, `authentik_policies_expression.expressionpolicy`, `authentik_policies_geoip.geoippolicy`, `authentik_policies_password.passwordpolicy`, `authentik_policies_reputation.reputationpolicy`, `authentik_policies_unique_password.uniquepasswordpolicy`, `authentik_providers_google_workspace.googleworkspaceprovider`, `authentik_providers_google_workspace.googleworkspaceprovidermapping`, `authentik_providers_ldap.ldapprovider`, `authentik_providers_microsoft_entra.microsoftentraprovider`, `authentik_providers_microsoft_entra.microsoftentraprovidermapping`, `authentik_providers_oauth2.oauth2provider`, `authentik_providers_oauth2.scopemapping`, `authentik_providers_proxy.proxyprovider`, `authentik_providers_rac.endpoint`, `authentik_providers_rac.racpropertymapping`, `authentik_providers_rac.racprovider`, `authentik_providers_radius.radiusprovider`, `authentik_providers_radius.radiusproviderpropertymapping`, `authentik_providers_saml.samlpropertymapping`, `authentik_providers_saml.samlprovider`, `authentik_providers_scim.scimmapping`, `authentik_providers_scim.scimprovider`, `authentik_providers_ssf.ssfprovider`, `authentik_rbac.initialpermissions`, `authentik_rbac.role`, `authentik_reports.dataexport`, `authentik_sources_kerberos.groupkerberossourceconnection`, `authentik_sources_kerberos.kerberossource`, `authentik_sources_kerberos.kerberossourcepropertymapping`, `authentik_sources_kerberos.userkerberossourceconnection`, `authentik_sources_ldap.groupldapsourceconnection`, `authentik_sources_ldap.ldapsource`, `authentik_sources_ldap.ldapsourcepropertymapping`, `authentik_sources_ldap.userldapsourceconnection`, `authentik_sources_oauth.groupoauthsourceconnection`, `authentik_sources_oauth.oauthsource`, `authentik_sources_oauth.oauthsourcepropertymapping`, `authentik_sources_oauth.useroauthsourceconnection`, `authentik_sources_plex.groupplexsourceconnection`, `authentik_sources_plex.plexsource`, `authentik_sources_plex.plexsourcepropertymapping`, `authentik_sources_plex.userplexsourceconnection`, `authentik_sources_saml.groupsamlsourceconnection`, `authentik_sources_saml.samlsource`, `authentik_sources_saml.samlsourcepropertymapping`, `authentik_sources_saml.usersamlsourceconnection`, `authentik_sources_scim.scimsource`, `authentik_sources_scim.scimsourcepropertymapping`, `authentik_sources_telegram.grouptelegramsourceconnection`, `authentik_sources_telegram.telegramsource`, `authentik_sources_telegram.telegramsourcepropertymapping`, `authentik_sources_telegram.usertelegramsourceconnection`, `authentik_stages_authenticator_duo.authenticatorduostage`, `authentik_stages_authenticator_duo.duodevice`, `authentik_stages_authenticator_email.authenticatoremailstage`, `authentik_stages_authenticator_email.emaildevice`, `authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage`, `authentik_stages_authenticator_sms.authenticatorsmsstage`, `authentik_stages_authenticator_sms.smsdevice`, `authentik_stages_authenticator_static.authenticatorstaticstage`, `authentik_stages_authenticator_static.staticdevice`, `authentik_stages_authenticator_totp.authenticatortotpstage`, `authentik_stages_authenticator_totp.totpdevice`, `authentik_stages_authenticator_validate.authenticatorvalidatestage`, `authentik_stages_authenticator_webauthn.authenticatorwebauthnstage`, `authentik_stages_authenticator_webauthn.webauthndevice`, `authentik_stages_captcha.captchastage`, `authentik_stages_consent.consentstage`, `authentik_stages_deny.denystage`, `authentik_stages_dummy.dummystage`, `authentik_stages_email.emailstage`, `authentik_stages_identification.identificationstage`, `authentik_stages_invitation.invitation`, `authentik_stages_invitation.invitationstage`, `authentik_stages_mtls.mutualtlsstage`, `authentik_stages_password.passwordstage`, `authentik_stages_prompt.prompt`, `authentik_stages_prompt.promptstage`, `authentik_stages_redirect.redirectstage`, `authentik_stages_source.sourcestage`, `authentik_stages_user_delete.userdeletestage`, `authentik_stages_user_login.userloginstage`, `authentik_stages_user_logout.userlogoutstage`, `authentik_stages_user_write.userwritestage`, `authentik_tasks_schedules.schedule`, `authentik_tenants.domain` | | [Defaults to `undefined`] [Enum: authentik_blueprints.blueprintinstance, authentik_brands.brand, authentik_core.application, authentik_core.applicationentitlement, authentik_core.group, authentik_core.token, authentik_core.user, authentik_crypto.certificatekeypair, authentik_endpoints.deviceaccessgroup, authentik_endpoints.deviceuserbinding, authentik_endpoints.endpointstage, authentik_endpoints_connectors_agent.agentconnector, authentik_endpoints_connectors_agent.agentdeviceuserbinding, authentik_endpoints_connectors_agent.enrollmenttoken, authentik_enterprise.license, authentik_events.event, authentik_events.notification, authentik_events.notificationrule, authentik_events.notificationtransport, authentik_events.notificationwebhookmapping, authentik_flows.flow, authentik_flows.flowstagebinding, authentik_outposts.dockerserviceconnection, authentik_outposts.kubernetesserviceconnection, authentik_outposts.outpost, authentik_policies.policybinding, authentik_policies_dummy.dummypolicy, authentik_policies_event_matcher.eventmatcherpolicy, authentik_policies_expiry.passwordexpirypolicy, authentik_policies_expression.expressionpolicy, authentik_policies_geoip.geoippolicy, authentik_policies_password.passwordpolicy, authentik_policies_reputation.reputationpolicy, authentik_policies_unique_password.uniquepasswordpolicy, authentik_providers_google_workspace.googleworkspaceprovider, authentik_providers_google_workspace.googleworkspaceprovidermapping, authentik_providers_ldap.ldapprovider, authentik_providers_microsoft_entra.microsoftentraprovider, authentik_providers_microsoft_entra.microsoftentraprovidermapping, authentik_providers_oauth2.oauth2provider, authentik_providers_oauth2.scopemapping, authentik_providers_proxy.proxyprovider, authentik_providers_rac.endpoint, authentik_providers_rac.racpropertymapping, authentik_providers_rac.racprovider, authentik_providers_radius.radiusprovider, authentik_providers_radius.radiusproviderpropertymapping, authentik_providers_saml.samlpropertymapping, authentik_providers_saml.samlprovider, authentik_providers_scim.scimmapping, authentik_providers_scim.scimprovider, authentik_providers_ssf.ssfprovider, authentik_rbac.initialpermissions, authentik_rbac.role, authentik_reports.dataexport, authentik_sources_kerberos.groupkerberossourceconnection, authentik_sources_kerberos.kerberossource, authentik_sources_kerberos.kerberossourcepropertymapping, authentik_sources_kerberos.userkerberossourceconnection, authentik_sources_ldap.groupldapsourceconnection, authentik_sources_ldap.ldapsource, authentik_sources_ldap.ldapsourcepropertymapping, authentik_sources_ldap.userldapsourceconnection, authentik_sources_oauth.groupoauthsourceconnection, authentik_sources_oauth.oauthsource, authentik_sources_oauth.oauthsourcepropertymapping, authentik_sources_oauth.useroauthsourceconnection, authentik_sources_plex.groupplexsourceconnection, authentik_sources_plex.plexsource, authentik_sources_plex.plexsourcepropertymapping, authentik_sources_plex.userplexsourceconnection, authentik_sources_saml.groupsamlsourceconnection, authentik_sources_saml.samlsource, authentik_sources_saml.samlsourcepropertymapping, authentik_sources_saml.usersamlsourceconnection, authentik_sources_scim.scimsource, authentik_sources_scim.scimsourcepropertymapping, authentik_sources_telegram.grouptelegramsourceconnection, authentik_sources_telegram.telegramsource, authentik_sources_telegram.telegramsourcepropertymapping, authentik_sources_telegram.usertelegramsourceconnection, authentik_stages_authenticator_duo.authenticatorduostage, authentik_stages_authenticator_duo.duodevice, authentik_stages_authenticator_email.authenticatoremailstage, authentik_stages_authenticator_email.emaildevice, authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage, authentik_stages_authenticator_sms.authenticatorsmsstage, authentik_stages_authenticator_sms.smsdevice, authentik_stages_authenticator_static.authenticatorstaticstage, authentik_stages_authenticator_static.staticdevice, authentik_stages_authenticator_totp.authenticatortotpstage, authentik_stages_authenticator_totp.totpdevice, authentik_stages_authenticator_validate.authenticatorvalidatestage, authentik_stages_authenticator_webauthn.authenticatorwebauthnstage, authentik_stages_authenticator_webauthn.webauthndevice, authentik_stages_captcha.captchastage, authentik_stages_consent.consentstage, authentik_stages_deny.denystage, authentik_stages_dummy.dummystage, authentik_stages_email.emailstage, authentik_stages_identification.identificationstage, authentik_stages_invitation.invitation, authentik_stages_invitation.invitationstage, authentik_stages_mtls.mutualtlsstage, authentik_stages_password.passwordstage, authentik_stages_prompt.prompt, authentik_stages_prompt.promptstage, authentik_stages_redirect.redirectstage, authentik_stages_source.sourcestage, authentik_stages_user_delete.userdeletestage, authentik_stages_user_login.userloginstage, authentik_stages_user_logout.userlogoutstage, authentik_stages_user_write.userwritestage, authentik_tasks_schedules.schedule, authentik_tenants.domain] |
|
|
695
|
+
| **objectPk** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
696
|
+
| **ordering** | `string` | Which field to use when ordering the results. | [Optional] [Defaults to `undefined`] |
|
|
697
|
+
| **page** | `number` | A page number within the paginated result set. | [Optional] [Defaults to `undefined`] |
|
|
698
|
+
| **pageSize** | `number` | Number of results to return per page. | [Optional] [Defaults to `undefined`] |
|
|
699
|
+
| **search** | `string` | A search term. | [Optional] [Defaults to `undefined`] |
|
|
700
|
+
|
|
701
|
+
### Return type
|
|
702
|
+
|
|
703
|
+
[**PaginatedRoleAssignedObjectPermissionList**](PaginatedRoleAssignedObjectPermissionList.md)
|
|
704
|
+
|
|
705
|
+
### Authorization
|
|
706
|
+
|
|
707
|
+
[authentik](../README.md#authentik)
|
|
708
|
+
|
|
709
|
+
### HTTP request headers
|
|
710
|
+
|
|
711
|
+
- **Content-Type**: Not defined
|
|
712
|
+
- **Accept**: `application/json`
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
### HTTP response details
|
|
716
|
+
| Status code | Description | Response headers |
|
|
717
|
+
|-------------|-------------|------------------|
|
|
718
|
+
| **200** | | - |
|
|
719
|
+
| **400** | | - |
|
|
720
|
+
| **403** | | - |
|
|
721
|
+
|
|
722
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
## rbacPermissionsAssignedByRolesUnassignPartialUpdate
|
|
726
|
+
|
|
727
|
+
> rbacPermissionsAssignedByRolesUnassignPartialUpdate(uuid, patchedPermissionAssignRequest)
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
Unassign permission(s) to role. When `object_pk` is set, the permissions are only assigned to the specific object, otherwise they are assigned globally.
|
|
732
|
+
|
|
733
|
+
### Example
|
|
734
|
+
|
|
735
|
+
```ts
|
|
736
|
+
import {
|
|
737
|
+
Configuration,
|
|
738
|
+
RbacApi,
|
|
739
|
+
} from '@goauthentik/api';
|
|
740
|
+
import type { RbacPermissionsAssignedByRolesUnassignPartialUpdateRequest } from '@goauthentik/api';
|
|
741
|
+
|
|
742
|
+
async function example() {
|
|
743
|
+
console.log("🚀 Testing @goauthentik/api SDK...");
|
|
744
|
+
const config = new Configuration({
|
|
745
|
+
// Configure HTTP bearer authorization: authentik
|
|
746
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
747
|
+
});
|
|
748
|
+
const api = new RbacApi(config);
|
|
749
|
+
|
|
750
|
+
const body = {
|
|
751
|
+
// string | A UUID string identifying this Role.
|
|
752
|
+
uuid: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
753
|
+
// PatchedPermissionAssignRequest (optional)
|
|
754
|
+
patchedPermissionAssignRequest: ...,
|
|
755
|
+
} satisfies RbacPermissionsAssignedByRolesUnassignPartialUpdateRequest;
|
|
756
|
+
|
|
757
|
+
try {
|
|
758
|
+
const data = await api.rbacPermissionsAssignedByRolesUnassignPartialUpdate(body);
|
|
759
|
+
console.log(data);
|
|
760
|
+
} catch (error) {
|
|
761
|
+
console.error(error);
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
// Run the test
|
|
766
|
+
example().catch(console.error);
|
|
767
|
+
```
|
|
768
|
+
|
|
769
|
+
### Parameters
|
|
770
|
+
|
|
771
|
+
|
|
772
|
+
| Name | Type | Description | Notes |
|
|
773
|
+
|------------- | ------------- | ------------- | -------------|
|
|
774
|
+
| **uuid** | `string` | A UUID string identifying this Role. | [Defaults to `undefined`] |
|
|
775
|
+
| **patchedPermissionAssignRequest** | [PatchedPermissionAssignRequest](PatchedPermissionAssignRequest.md) | | [Optional] |
|
|
776
|
+
|
|
777
|
+
### Return type
|
|
778
|
+
|
|
779
|
+
`void` (Empty response body)
|
|
780
|
+
|
|
781
|
+
### Authorization
|
|
782
|
+
|
|
783
|
+
[authentik](../README.md#authentik)
|
|
784
|
+
|
|
785
|
+
### HTTP request headers
|
|
786
|
+
|
|
787
|
+
- **Content-Type**: `application/json`
|
|
788
|
+
- **Accept**: `application/json`
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
### HTTP response details
|
|
792
|
+
| Status code | Description | Response headers |
|
|
793
|
+
|-------------|-------------|------------------|
|
|
794
|
+
| **204** | Successfully unassigned | - |
|
|
795
|
+
| **400** | | - |
|
|
796
|
+
| **403** | | - |
|
|
797
|
+
|
|
798
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
## rbacPermissionsList
|
|
802
|
+
|
|
803
|
+
> PaginatedPermissionList rbacPermissionsList(codename, contentTypeAppLabel, contentTypeModel, ordering, page, pageSize, role, search, user)
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
|
|
807
|
+
Read-only list of all permissions, filterable by model and app
|
|
808
|
+
|
|
809
|
+
### Example
|
|
810
|
+
|
|
811
|
+
```ts
|
|
812
|
+
import {
|
|
813
|
+
Configuration,
|
|
814
|
+
RbacApi,
|
|
815
|
+
} from '@goauthentik/api';
|
|
816
|
+
import type { RbacPermissionsListRequest } from '@goauthentik/api';
|
|
817
|
+
|
|
818
|
+
async function example() {
|
|
819
|
+
console.log("🚀 Testing @goauthentik/api SDK...");
|
|
820
|
+
const config = new Configuration({
|
|
821
|
+
// Configure HTTP bearer authorization: authentik
|
|
822
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
823
|
+
});
|
|
824
|
+
const api = new RbacApi(config);
|
|
825
|
+
|
|
826
|
+
const body = {
|
|
827
|
+
// string (optional)
|
|
828
|
+
codename: codename_example,
|
|
829
|
+
// string (optional)
|
|
830
|
+
contentTypeAppLabel: contentTypeAppLabel_example,
|
|
831
|
+
// string (optional)
|
|
832
|
+
contentTypeModel: contentTypeModel_example,
|
|
833
|
+
// string | Which field to use when ordering the results. (optional)
|
|
834
|
+
ordering: ordering_example,
|
|
835
|
+
// number | A page number within the paginated result set. (optional)
|
|
836
|
+
page: 56,
|
|
837
|
+
// number | Number of results to return per page. (optional)
|
|
838
|
+
pageSize: 56,
|
|
839
|
+
// string (optional)
|
|
840
|
+
role: role_example,
|
|
841
|
+
// string | A search term. (optional)
|
|
842
|
+
search: search_example,
|
|
843
|
+
// number (optional)
|
|
844
|
+
user: 56,
|
|
845
|
+
} satisfies RbacPermissionsListRequest;
|
|
846
|
+
|
|
847
|
+
try {
|
|
848
|
+
const data = await api.rbacPermissionsList(body);
|
|
849
|
+
console.log(data);
|
|
850
|
+
} catch (error) {
|
|
851
|
+
console.error(error);
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
// Run the test
|
|
856
|
+
example().catch(console.error);
|
|
857
|
+
```
|
|
858
|
+
|
|
859
|
+
### Parameters
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
| Name | Type | Description | Notes |
|
|
863
|
+
|------------- | ------------- | ------------- | -------------|
|
|
864
|
+
| **codename** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
865
|
+
| **contentTypeAppLabel** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
866
|
+
| **contentTypeModel** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
867
|
+
| **ordering** | `string` | Which field to use when ordering the results. | [Optional] [Defaults to `undefined`] |
|
|
868
|
+
| **page** | `number` | A page number within the paginated result set. | [Optional] [Defaults to `undefined`] |
|
|
869
|
+
| **pageSize** | `number` | Number of results to return per page. | [Optional] [Defaults to `undefined`] |
|
|
870
|
+
| **role** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
871
|
+
| **search** | `string` | A search term. | [Optional] [Defaults to `undefined`] |
|
|
872
|
+
| **user** | `number` | | [Optional] [Defaults to `undefined`] |
|
|
873
|
+
|
|
874
|
+
### Return type
|
|
875
|
+
|
|
876
|
+
[**PaginatedPermissionList**](PaginatedPermissionList.md)
|
|
877
|
+
|
|
878
|
+
### Authorization
|
|
879
|
+
|
|
880
|
+
[authentik](../README.md#authentik)
|
|
881
|
+
|
|
882
|
+
### HTTP request headers
|
|
883
|
+
|
|
884
|
+
- **Content-Type**: Not defined
|
|
885
|
+
- **Accept**: `application/json`
|
|
886
|
+
|
|
887
|
+
|
|
888
|
+
### HTTP response details
|
|
889
|
+
| Status code | Description | Response headers |
|
|
890
|
+
|-------------|-------------|------------------|
|
|
891
|
+
| **200** | | - |
|
|
892
|
+
| **400** | | - |
|
|
893
|
+
| **403** | | - |
|
|
894
|
+
|
|
895
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
896
|
+
|
|
897
|
+
|
|
898
|
+
## rbacPermissionsRetrieve
|
|
899
|
+
|
|
900
|
+
> Permission rbacPermissionsRetrieve(id)
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
|
|
904
|
+
Read-only list of all permissions, filterable by model and app
|
|
905
|
+
|
|
906
|
+
### Example
|
|
907
|
+
|
|
908
|
+
```ts
|
|
909
|
+
import {
|
|
910
|
+
Configuration,
|
|
911
|
+
RbacApi,
|
|
912
|
+
} from '@goauthentik/api';
|
|
913
|
+
import type { RbacPermissionsRetrieveRequest } from '@goauthentik/api';
|
|
914
|
+
|
|
915
|
+
async function example() {
|
|
916
|
+
console.log("🚀 Testing @goauthentik/api SDK...");
|
|
917
|
+
const config = new Configuration({
|
|
918
|
+
// Configure HTTP bearer authorization: authentik
|
|
919
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
920
|
+
});
|
|
921
|
+
const api = new RbacApi(config);
|
|
922
|
+
|
|
923
|
+
const body = {
|
|
924
|
+
// number | A unique integer value identifying this permission.
|
|
925
|
+
id: 56,
|
|
926
|
+
} satisfies RbacPermissionsRetrieveRequest;
|
|
927
|
+
|
|
928
|
+
try {
|
|
929
|
+
const data = await api.rbacPermissionsRetrieve(body);
|
|
930
|
+
console.log(data);
|
|
931
|
+
} catch (error) {
|
|
932
|
+
console.error(error);
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
// Run the test
|
|
937
|
+
example().catch(console.error);
|
|
938
|
+
```
|
|
939
|
+
|
|
940
|
+
### Parameters
|
|
941
|
+
|
|
942
|
+
|
|
943
|
+
| Name | Type | Description | Notes |
|
|
944
|
+
|------------- | ------------- | ------------- | -------------|
|
|
945
|
+
| **id** | `number` | A unique integer value identifying this permission. | [Defaults to `undefined`] |
|
|
946
|
+
|
|
947
|
+
### Return type
|
|
948
|
+
|
|
949
|
+
[**Permission**](Permission.md)
|
|
950
|
+
|
|
951
|
+
### Authorization
|
|
952
|
+
|
|
953
|
+
[authentik](../README.md#authentik)
|
|
954
|
+
|
|
955
|
+
### HTTP request headers
|
|
956
|
+
|
|
957
|
+
- **Content-Type**: Not defined
|
|
958
|
+
- **Accept**: `application/json`
|
|
959
|
+
|
|
960
|
+
|
|
961
|
+
### HTTP response details
|
|
962
|
+
| Status code | Description | Response headers |
|
|
963
|
+
|-------------|-------------|------------------|
|
|
964
|
+
| **200** | | - |
|
|
965
|
+
| **400** | | - |
|
|
966
|
+
| **403** | | - |
|
|
967
|
+
|
|
968
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
969
|
+
|
|
970
|
+
|
|
971
|
+
## rbacPermissionsRolesList
|
|
972
|
+
|
|
973
|
+
> PaginatedExtraRoleObjectPermissionList rbacPermissionsRolesList(ordering, page, pageSize, search, uuid)
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
|
|
977
|
+
Get a role\'s assigned object permissions
|
|
978
|
+
|
|
979
|
+
### Example
|
|
980
|
+
|
|
981
|
+
```ts
|
|
982
|
+
import {
|
|
983
|
+
Configuration,
|
|
984
|
+
RbacApi,
|
|
985
|
+
} from '@goauthentik/api';
|
|
986
|
+
import type { RbacPermissionsRolesListRequest } from '@goauthentik/api';
|
|
987
|
+
|
|
988
|
+
async function example() {
|
|
989
|
+
console.log("🚀 Testing @goauthentik/api SDK...");
|
|
990
|
+
const config = new Configuration({
|
|
991
|
+
// Configure HTTP bearer authorization: authentik
|
|
992
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
993
|
+
});
|
|
994
|
+
const api = new RbacApi(config);
|
|
995
|
+
|
|
996
|
+
const body = {
|
|
997
|
+
// string | Which field to use when ordering the results. (optional)
|
|
998
|
+
ordering: ordering_example,
|
|
999
|
+
// number | A page number within the paginated result set. (optional)
|
|
1000
|
+
page: 56,
|
|
1001
|
+
// number | Number of results to return per page. (optional)
|
|
1002
|
+
pageSize: 56,
|
|
1003
|
+
// string | A search term. (optional)
|
|
1004
|
+
search: search_example,
|
|
1005
|
+
// string (optional)
|
|
1006
|
+
uuid: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
1007
|
+
} satisfies RbacPermissionsRolesListRequest;
|
|
1008
|
+
|
|
1009
|
+
try {
|
|
1010
|
+
const data = await api.rbacPermissionsRolesList(body);
|
|
1011
|
+
console.log(data);
|
|
1012
|
+
} catch (error) {
|
|
1013
|
+
console.error(error);
|
|
1014
|
+
}
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
// Run the test
|
|
1018
|
+
example().catch(console.error);
|
|
1019
|
+
```
|
|
1020
|
+
|
|
1021
|
+
### Parameters
|
|
1022
|
+
|
|
1023
|
+
|
|
1024
|
+
| Name | Type | Description | Notes |
|
|
1025
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1026
|
+
| **ordering** | `string` | Which field to use when ordering the results. | [Optional] [Defaults to `undefined`] |
|
|
1027
|
+
| **page** | `number` | A page number within the paginated result set. | [Optional] [Defaults to `undefined`] |
|
|
1028
|
+
| **pageSize** | `number` | Number of results to return per page. | [Optional] [Defaults to `undefined`] |
|
|
1029
|
+
| **search** | `string` | A search term. | [Optional] [Defaults to `undefined`] |
|
|
1030
|
+
| **uuid** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
1031
|
+
|
|
1032
|
+
### Return type
|
|
1033
|
+
|
|
1034
|
+
[**PaginatedExtraRoleObjectPermissionList**](PaginatedExtraRoleObjectPermissionList.md)
|
|
1035
|
+
|
|
1036
|
+
### Authorization
|
|
1037
|
+
|
|
1038
|
+
[authentik](../README.md#authentik)
|
|
1039
|
+
|
|
1040
|
+
### HTTP request headers
|
|
1041
|
+
|
|
1042
|
+
- **Content-Type**: Not defined
|
|
1043
|
+
- **Accept**: `application/json`
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
### HTTP response details
|
|
1047
|
+
| Status code | Description | Response headers |
|
|
1048
|
+
|-------------|-------------|------------------|
|
|
1049
|
+
| **200** | | - |
|
|
1050
|
+
| **400** | | - |
|
|
1051
|
+
| **403** | | - |
|
|
1052
|
+
|
|
1053
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
## rbacRolesAddUserCreate
|
|
1057
|
+
|
|
1058
|
+
> rbacRolesAddUserCreate(uuid, userAccountSerializerForRoleRequest)
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
Add user to role
|
|
1063
|
+
|
|
1064
|
+
### Example
|
|
1065
|
+
|
|
1066
|
+
```ts
|
|
1067
|
+
import {
|
|
1068
|
+
Configuration,
|
|
1069
|
+
RbacApi,
|
|
1070
|
+
} from '@goauthentik/api';
|
|
1071
|
+
import type { RbacRolesAddUserCreateRequest } from '@goauthentik/api';
|
|
1072
|
+
|
|
1073
|
+
async function example() {
|
|
1074
|
+
console.log("🚀 Testing @goauthentik/api SDK...");
|
|
1075
|
+
const config = new Configuration({
|
|
1076
|
+
// Configure HTTP bearer authorization: authentik
|
|
1077
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
1078
|
+
});
|
|
1079
|
+
const api = new RbacApi(config);
|
|
1080
|
+
|
|
1081
|
+
const body = {
|
|
1082
|
+
// string | A UUID string identifying this Role.
|
|
1083
|
+
uuid: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
1084
|
+
// UserAccountSerializerForRoleRequest
|
|
1085
|
+
userAccountSerializerForRoleRequest: ...,
|
|
1086
|
+
} satisfies RbacRolesAddUserCreateRequest;
|
|
1087
|
+
|
|
1088
|
+
try {
|
|
1089
|
+
const data = await api.rbacRolesAddUserCreate(body);
|
|
1090
|
+
console.log(data);
|
|
1091
|
+
} catch (error) {
|
|
1092
|
+
console.error(error);
|
|
1093
|
+
}
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
// Run the test
|
|
1097
|
+
example().catch(console.error);
|
|
1098
|
+
```
|
|
1099
|
+
|
|
1100
|
+
### Parameters
|
|
1101
|
+
|
|
1102
|
+
|
|
1103
|
+
| Name | Type | Description | Notes |
|
|
1104
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1105
|
+
| **uuid** | `string` | A UUID string identifying this Role. | [Defaults to `undefined`] |
|
|
1106
|
+
| **userAccountSerializerForRoleRequest** | [UserAccountSerializerForRoleRequest](UserAccountSerializerForRoleRequest.md) | | |
|
|
1107
|
+
|
|
1108
|
+
### Return type
|
|
1109
|
+
|
|
1110
|
+
`void` (Empty response body)
|
|
1111
|
+
|
|
1112
|
+
### Authorization
|
|
1113
|
+
|
|
1114
|
+
[authentik](../README.md#authentik)
|
|
1115
|
+
|
|
1116
|
+
### HTTP request headers
|
|
1117
|
+
|
|
1118
|
+
- **Content-Type**: `application/json`
|
|
1119
|
+
- **Accept**: `application/json`
|
|
1120
|
+
|
|
1121
|
+
|
|
1122
|
+
### HTTP response details
|
|
1123
|
+
| Status code | Description | Response headers |
|
|
1124
|
+
|-------------|-------------|------------------|
|
|
1125
|
+
| **204** | User added | - |
|
|
1126
|
+
| **404** | User not found | - |
|
|
1127
|
+
| **400** | | - |
|
|
1128
|
+
| **403** | | - |
|
|
1129
|
+
|
|
1130
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
## rbacRolesCreate
|
|
1134
|
+
|
|
1135
|
+
> Role rbacRolesCreate(roleRequest)
|
|
1136
|
+
|
|
1137
|
+
|
|
1138
|
+
|
|
1139
|
+
Role viewset
|
|
1140
|
+
|
|
1141
|
+
### Example
|
|
1142
|
+
|
|
1143
|
+
```ts
|
|
1144
|
+
import {
|
|
1145
|
+
Configuration,
|
|
1146
|
+
RbacApi,
|
|
1147
|
+
} from '@goauthentik/api';
|
|
1148
|
+
import type { RbacRolesCreateRequest } from '@goauthentik/api';
|
|
1149
|
+
|
|
1150
|
+
async function example() {
|
|
1151
|
+
console.log("🚀 Testing @goauthentik/api SDK...");
|
|
1152
|
+
const config = new Configuration({
|
|
1153
|
+
// Configure HTTP bearer authorization: authentik
|
|
1154
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
1155
|
+
});
|
|
1156
|
+
const api = new RbacApi(config);
|
|
1157
|
+
|
|
1158
|
+
const body = {
|
|
1159
|
+
// RoleRequest
|
|
1160
|
+
roleRequest: ...,
|
|
1161
|
+
} satisfies RbacRolesCreateRequest;
|
|
1162
|
+
|
|
1163
|
+
try {
|
|
1164
|
+
const data = await api.rbacRolesCreate(body);
|
|
1165
|
+
console.log(data);
|
|
1166
|
+
} catch (error) {
|
|
1167
|
+
console.error(error);
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
// Run the test
|
|
1172
|
+
example().catch(console.error);
|
|
1173
|
+
```
|
|
1174
|
+
|
|
1175
|
+
### Parameters
|
|
1176
|
+
|
|
1177
|
+
|
|
1178
|
+
| Name | Type | Description | Notes |
|
|
1179
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1180
|
+
| **roleRequest** | [RoleRequest](RoleRequest.md) | | |
|
|
1181
|
+
|
|
1182
|
+
### Return type
|
|
1183
|
+
|
|
1184
|
+
[**Role**](Role.md)
|
|
1185
|
+
|
|
1186
|
+
### Authorization
|
|
1187
|
+
|
|
1188
|
+
[authentik](../README.md#authentik)
|
|
1189
|
+
|
|
1190
|
+
### HTTP request headers
|
|
1191
|
+
|
|
1192
|
+
- **Content-Type**: `application/json`
|
|
1193
|
+
- **Accept**: `application/json`
|
|
1194
|
+
|
|
1195
|
+
|
|
1196
|
+
### HTTP response details
|
|
1197
|
+
| Status code | Description | Response headers |
|
|
1198
|
+
|-------------|-------------|------------------|
|
|
1199
|
+
| **201** | | - |
|
|
1200
|
+
| **400** | | - |
|
|
1201
|
+
| **403** | | - |
|
|
1202
|
+
|
|
1203
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
## rbacRolesDestroy
|
|
1207
|
+
|
|
1208
|
+
> rbacRolesDestroy(uuid)
|
|
1209
|
+
|
|
1210
|
+
|
|
1211
|
+
|
|
1212
|
+
Role viewset
|
|
1213
|
+
|
|
1214
|
+
### Example
|
|
1215
|
+
|
|
1216
|
+
```ts
|
|
1217
|
+
import {
|
|
1218
|
+
Configuration,
|
|
1219
|
+
RbacApi,
|
|
1220
|
+
} from '@goauthentik/api';
|
|
1221
|
+
import type { RbacRolesDestroyRequest } from '@goauthentik/api';
|
|
1222
|
+
|
|
1223
|
+
async function example() {
|
|
1224
|
+
console.log("🚀 Testing @goauthentik/api SDK...");
|
|
1225
|
+
const config = new Configuration({
|
|
1226
|
+
// Configure HTTP bearer authorization: authentik
|
|
1227
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
1228
|
+
});
|
|
1229
|
+
const api = new RbacApi(config);
|
|
1230
|
+
|
|
1231
|
+
const body = {
|
|
1232
|
+
// string | A UUID string identifying this Role.
|
|
1233
|
+
uuid: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
1234
|
+
} satisfies RbacRolesDestroyRequest;
|
|
1235
|
+
|
|
1236
|
+
try {
|
|
1237
|
+
const data = await api.rbacRolesDestroy(body);
|
|
1238
|
+
console.log(data);
|
|
1239
|
+
} catch (error) {
|
|
1240
|
+
console.error(error);
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
// Run the test
|
|
1245
|
+
example().catch(console.error);
|
|
1246
|
+
```
|
|
1247
|
+
|
|
1248
|
+
### Parameters
|
|
1249
|
+
|
|
1250
|
+
|
|
1251
|
+
| Name | Type | Description | Notes |
|
|
1252
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1253
|
+
| **uuid** | `string` | A UUID string identifying this Role. | [Defaults to `undefined`] |
|
|
1254
|
+
|
|
1255
|
+
### Return type
|
|
1256
|
+
|
|
1257
|
+
`void` (Empty response body)
|
|
1258
|
+
|
|
1259
|
+
### Authorization
|
|
1260
|
+
|
|
1261
|
+
[authentik](../README.md#authentik)
|
|
1262
|
+
|
|
1263
|
+
### HTTP request headers
|
|
1264
|
+
|
|
1265
|
+
- **Content-Type**: Not defined
|
|
1266
|
+
- **Accept**: `application/json`
|
|
1267
|
+
|
|
1268
|
+
|
|
1269
|
+
### HTTP response details
|
|
1270
|
+
| Status code | Description | Response headers |
|
|
1271
|
+
|-------------|-------------|------------------|
|
|
1272
|
+
| **204** | No response body | - |
|
|
1273
|
+
| **400** | | - |
|
|
1274
|
+
| **403** | | - |
|
|
1275
|
+
|
|
1276
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1277
|
+
|
|
1278
|
+
|
|
1279
|
+
## rbacRolesList
|
|
1280
|
+
|
|
1281
|
+
> PaginatedRoleList rbacRolesList(akGroups, inherited, managed, managedIsnull, name, ordering, page, pageSize, search, users)
|
|
1282
|
+
|
|
1283
|
+
|
|
1284
|
+
|
|
1285
|
+
Role viewset
|
|
1286
|
+
|
|
1287
|
+
### Example
|
|
1288
|
+
|
|
1289
|
+
```ts
|
|
1290
|
+
import {
|
|
1291
|
+
Configuration,
|
|
1292
|
+
RbacApi,
|
|
1293
|
+
} from '@goauthentik/api';
|
|
1294
|
+
import type { RbacRolesListRequest } from '@goauthentik/api';
|
|
1295
|
+
|
|
1296
|
+
async function example() {
|
|
1297
|
+
console.log("🚀 Testing @goauthentik/api SDK...");
|
|
1298
|
+
const config = new Configuration({
|
|
1299
|
+
// Configure HTTP bearer authorization: authentik
|
|
1300
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
1301
|
+
});
|
|
1302
|
+
const api = new RbacApi(config);
|
|
1303
|
+
|
|
1304
|
+
const body = {
|
|
1305
|
+
// string (optional)
|
|
1306
|
+
akGroups: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
1307
|
+
// boolean | Include inherited roles (requires users or ak_groups filter) (optional)
|
|
1308
|
+
inherited: true,
|
|
1309
|
+
// Array<string> (optional)
|
|
1310
|
+
managed: ...,
|
|
1311
|
+
// boolean (optional)
|
|
1312
|
+
managedIsnull: true,
|
|
1313
|
+
// string (optional)
|
|
1314
|
+
name: name_example,
|
|
1315
|
+
// string | Which field to use when ordering the results. (optional)
|
|
1316
|
+
ordering: ordering_example,
|
|
1317
|
+
// number | A page number within the paginated result set. (optional)
|
|
1318
|
+
page: 56,
|
|
1319
|
+
// number | Number of results to return per page. (optional)
|
|
1320
|
+
pageSize: 56,
|
|
1321
|
+
// string | A search term. (optional)
|
|
1322
|
+
search: search_example,
|
|
1323
|
+
// number (optional)
|
|
1324
|
+
users: 56,
|
|
1325
|
+
} satisfies RbacRolesListRequest;
|
|
1326
|
+
|
|
1327
|
+
try {
|
|
1328
|
+
const data = await api.rbacRolesList(body);
|
|
1329
|
+
console.log(data);
|
|
1330
|
+
} catch (error) {
|
|
1331
|
+
console.error(error);
|
|
1332
|
+
}
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
// Run the test
|
|
1336
|
+
example().catch(console.error);
|
|
1337
|
+
```
|
|
1338
|
+
|
|
1339
|
+
### Parameters
|
|
1340
|
+
|
|
1341
|
+
|
|
1342
|
+
| Name | Type | Description | Notes |
|
|
1343
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1344
|
+
| **akGroups** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
1345
|
+
| **inherited** | `boolean` | Include inherited roles (requires users or ak_groups filter) | [Optional] [Defaults to `undefined`] |
|
|
1346
|
+
| **managed** | `Array<string>` | | [Optional] |
|
|
1347
|
+
| **managedIsnull** | `boolean` | | [Optional] [Defaults to `undefined`] |
|
|
1348
|
+
| **name** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
1349
|
+
| **ordering** | `string` | Which field to use when ordering the results. | [Optional] [Defaults to `undefined`] |
|
|
1350
|
+
| **page** | `number` | A page number within the paginated result set. | [Optional] [Defaults to `undefined`] |
|
|
1351
|
+
| **pageSize** | `number` | Number of results to return per page. | [Optional] [Defaults to `undefined`] |
|
|
1352
|
+
| **search** | `string` | A search term. | [Optional] [Defaults to `undefined`] |
|
|
1353
|
+
| **users** | `number` | | [Optional] [Defaults to `undefined`] |
|
|
1354
|
+
|
|
1355
|
+
### Return type
|
|
1356
|
+
|
|
1357
|
+
[**PaginatedRoleList**](PaginatedRoleList.md)
|
|
1358
|
+
|
|
1359
|
+
### Authorization
|
|
1360
|
+
|
|
1361
|
+
[authentik](../README.md#authentik)
|
|
1362
|
+
|
|
1363
|
+
### HTTP request headers
|
|
1364
|
+
|
|
1365
|
+
- **Content-Type**: Not defined
|
|
1366
|
+
- **Accept**: `application/json`
|
|
1367
|
+
|
|
1368
|
+
|
|
1369
|
+
### HTTP response details
|
|
1370
|
+
| Status code | Description | Response headers |
|
|
1371
|
+
|-------------|-------------|------------------|
|
|
1372
|
+
| **200** | | - |
|
|
1373
|
+
| **400** | | - |
|
|
1374
|
+
| **403** | | - |
|
|
1375
|
+
|
|
1376
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1377
|
+
|
|
1378
|
+
|
|
1379
|
+
## rbacRolesPartialUpdate
|
|
1380
|
+
|
|
1381
|
+
> Role rbacRolesPartialUpdate(uuid, patchedRoleRequest)
|
|
1382
|
+
|
|
1383
|
+
|
|
1384
|
+
|
|
1385
|
+
Role viewset
|
|
1386
|
+
|
|
1387
|
+
### Example
|
|
1388
|
+
|
|
1389
|
+
```ts
|
|
1390
|
+
import {
|
|
1391
|
+
Configuration,
|
|
1392
|
+
RbacApi,
|
|
1393
|
+
} from '@goauthentik/api';
|
|
1394
|
+
import type { RbacRolesPartialUpdateRequest } from '@goauthentik/api';
|
|
1395
|
+
|
|
1396
|
+
async function example() {
|
|
1397
|
+
console.log("🚀 Testing @goauthentik/api SDK...");
|
|
1398
|
+
const config = new Configuration({
|
|
1399
|
+
// Configure HTTP bearer authorization: authentik
|
|
1400
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
1401
|
+
});
|
|
1402
|
+
const api = new RbacApi(config);
|
|
1403
|
+
|
|
1404
|
+
const body = {
|
|
1405
|
+
// string | A UUID string identifying this Role.
|
|
1406
|
+
uuid: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
1407
|
+
// PatchedRoleRequest (optional)
|
|
1408
|
+
patchedRoleRequest: ...,
|
|
1409
|
+
} satisfies RbacRolesPartialUpdateRequest;
|
|
1410
|
+
|
|
1411
|
+
try {
|
|
1412
|
+
const data = await api.rbacRolesPartialUpdate(body);
|
|
1413
|
+
console.log(data);
|
|
1414
|
+
} catch (error) {
|
|
1415
|
+
console.error(error);
|
|
1416
|
+
}
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
// Run the test
|
|
1420
|
+
example().catch(console.error);
|
|
1421
|
+
```
|
|
1422
|
+
|
|
1423
|
+
### Parameters
|
|
1424
|
+
|
|
1425
|
+
|
|
1426
|
+
| Name | Type | Description | Notes |
|
|
1427
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1428
|
+
| **uuid** | `string` | A UUID string identifying this Role. | [Defaults to `undefined`] |
|
|
1429
|
+
| **patchedRoleRequest** | [PatchedRoleRequest](PatchedRoleRequest.md) | | [Optional] |
|
|
1430
|
+
|
|
1431
|
+
### Return type
|
|
1432
|
+
|
|
1433
|
+
[**Role**](Role.md)
|
|
1434
|
+
|
|
1435
|
+
### Authorization
|
|
1436
|
+
|
|
1437
|
+
[authentik](../README.md#authentik)
|
|
1438
|
+
|
|
1439
|
+
### HTTP request headers
|
|
1440
|
+
|
|
1441
|
+
- **Content-Type**: `application/json`
|
|
1442
|
+
- **Accept**: `application/json`
|
|
1443
|
+
|
|
1444
|
+
|
|
1445
|
+
### HTTP response details
|
|
1446
|
+
| Status code | Description | Response headers |
|
|
1447
|
+
|-------------|-------------|------------------|
|
|
1448
|
+
| **200** | | - |
|
|
1449
|
+
| **400** | | - |
|
|
1450
|
+
| **403** | | - |
|
|
1451
|
+
|
|
1452
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1453
|
+
|
|
1454
|
+
|
|
1455
|
+
## rbacRolesRemoveUserCreate
|
|
1456
|
+
|
|
1457
|
+
> rbacRolesRemoveUserCreate(uuid, userAccountSerializerForRoleRequest)
|
|
1458
|
+
|
|
1459
|
+
|
|
1460
|
+
|
|
1461
|
+
Remove user from role
|
|
1462
|
+
|
|
1463
|
+
### Example
|
|
1464
|
+
|
|
1465
|
+
```ts
|
|
1466
|
+
import {
|
|
1467
|
+
Configuration,
|
|
1468
|
+
RbacApi,
|
|
1469
|
+
} from '@goauthentik/api';
|
|
1470
|
+
import type { RbacRolesRemoveUserCreateRequest } from '@goauthentik/api';
|
|
1471
|
+
|
|
1472
|
+
async function example() {
|
|
1473
|
+
console.log("🚀 Testing @goauthentik/api SDK...");
|
|
1474
|
+
const config = new Configuration({
|
|
1475
|
+
// Configure HTTP bearer authorization: authentik
|
|
1476
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
1477
|
+
});
|
|
1478
|
+
const api = new RbacApi(config);
|
|
1479
|
+
|
|
1480
|
+
const body = {
|
|
1481
|
+
// string | A UUID string identifying this Role.
|
|
1482
|
+
uuid: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
1483
|
+
// UserAccountSerializerForRoleRequest
|
|
1484
|
+
userAccountSerializerForRoleRequest: ...,
|
|
1485
|
+
} satisfies RbacRolesRemoveUserCreateRequest;
|
|
1486
|
+
|
|
1487
|
+
try {
|
|
1488
|
+
const data = await api.rbacRolesRemoveUserCreate(body);
|
|
1489
|
+
console.log(data);
|
|
1490
|
+
} catch (error) {
|
|
1491
|
+
console.error(error);
|
|
1492
|
+
}
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
// Run the test
|
|
1496
|
+
example().catch(console.error);
|
|
1497
|
+
```
|
|
1498
|
+
|
|
1499
|
+
### Parameters
|
|
1500
|
+
|
|
1501
|
+
|
|
1502
|
+
| Name | Type | Description | Notes |
|
|
1503
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1504
|
+
| **uuid** | `string` | A UUID string identifying this Role. | [Defaults to `undefined`] |
|
|
1505
|
+
| **userAccountSerializerForRoleRequest** | [UserAccountSerializerForRoleRequest](UserAccountSerializerForRoleRequest.md) | | |
|
|
1506
|
+
|
|
1507
|
+
### Return type
|
|
1508
|
+
|
|
1509
|
+
`void` (Empty response body)
|
|
1510
|
+
|
|
1511
|
+
### Authorization
|
|
1512
|
+
|
|
1513
|
+
[authentik](../README.md#authentik)
|
|
1514
|
+
|
|
1515
|
+
### HTTP request headers
|
|
1516
|
+
|
|
1517
|
+
- **Content-Type**: `application/json`
|
|
1518
|
+
- **Accept**: `application/json`
|
|
1519
|
+
|
|
1520
|
+
|
|
1521
|
+
### HTTP response details
|
|
1522
|
+
| Status code | Description | Response headers |
|
|
1523
|
+
|-------------|-------------|------------------|
|
|
1524
|
+
| **204** | User removed | - |
|
|
1525
|
+
| **404** | User not found | - |
|
|
1526
|
+
| **400** | | - |
|
|
1527
|
+
| **403** | | - |
|
|
1528
|
+
|
|
1529
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1530
|
+
|
|
1531
|
+
|
|
1532
|
+
## rbacRolesRetrieve
|
|
1533
|
+
|
|
1534
|
+
> Role rbacRolesRetrieve(uuid)
|
|
1535
|
+
|
|
1536
|
+
|
|
1537
|
+
|
|
1538
|
+
Role viewset
|
|
1539
|
+
|
|
1540
|
+
### Example
|
|
1541
|
+
|
|
1542
|
+
```ts
|
|
1543
|
+
import {
|
|
1544
|
+
Configuration,
|
|
1545
|
+
RbacApi,
|
|
1546
|
+
} from '@goauthentik/api';
|
|
1547
|
+
import type { RbacRolesRetrieveRequest } from '@goauthentik/api';
|
|
1548
|
+
|
|
1549
|
+
async function example() {
|
|
1550
|
+
console.log("🚀 Testing @goauthentik/api SDK...");
|
|
1551
|
+
const config = new Configuration({
|
|
1552
|
+
// Configure HTTP bearer authorization: authentik
|
|
1553
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
1554
|
+
});
|
|
1555
|
+
const api = new RbacApi(config);
|
|
1556
|
+
|
|
1557
|
+
const body = {
|
|
1558
|
+
// string | A UUID string identifying this Role.
|
|
1559
|
+
uuid: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
1560
|
+
} satisfies RbacRolesRetrieveRequest;
|
|
1561
|
+
|
|
1562
|
+
try {
|
|
1563
|
+
const data = await api.rbacRolesRetrieve(body);
|
|
1564
|
+
console.log(data);
|
|
1565
|
+
} catch (error) {
|
|
1566
|
+
console.error(error);
|
|
1567
|
+
}
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
// Run the test
|
|
1571
|
+
example().catch(console.error);
|
|
1572
|
+
```
|
|
1573
|
+
|
|
1574
|
+
### Parameters
|
|
1575
|
+
|
|
1576
|
+
|
|
1577
|
+
| Name | Type | Description | Notes |
|
|
1578
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1579
|
+
| **uuid** | `string` | A UUID string identifying this Role. | [Defaults to `undefined`] |
|
|
1580
|
+
|
|
1581
|
+
### Return type
|
|
1582
|
+
|
|
1583
|
+
[**Role**](Role.md)
|
|
1584
|
+
|
|
1585
|
+
### Authorization
|
|
1586
|
+
|
|
1587
|
+
[authentik](../README.md#authentik)
|
|
1588
|
+
|
|
1589
|
+
### HTTP request headers
|
|
1590
|
+
|
|
1591
|
+
- **Content-Type**: Not defined
|
|
1592
|
+
- **Accept**: `application/json`
|
|
1593
|
+
|
|
1594
|
+
|
|
1595
|
+
### HTTP response details
|
|
1596
|
+
| Status code | Description | Response headers |
|
|
1597
|
+
|-------------|-------------|------------------|
|
|
1598
|
+
| **200** | | - |
|
|
1599
|
+
| **400** | | - |
|
|
1600
|
+
| **403** | | - |
|
|
1601
|
+
|
|
1602
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1603
|
+
|
|
1604
|
+
|
|
1605
|
+
## rbacRolesUpdate
|
|
1606
|
+
|
|
1607
|
+
> Role rbacRolesUpdate(uuid, roleRequest)
|
|
1608
|
+
|
|
1609
|
+
|
|
1610
|
+
|
|
1611
|
+
Role viewset
|
|
1612
|
+
|
|
1613
|
+
### Example
|
|
1614
|
+
|
|
1615
|
+
```ts
|
|
1616
|
+
import {
|
|
1617
|
+
Configuration,
|
|
1618
|
+
RbacApi,
|
|
1619
|
+
} from '@goauthentik/api';
|
|
1620
|
+
import type { RbacRolesUpdateRequest } from '@goauthentik/api';
|
|
1621
|
+
|
|
1622
|
+
async function example() {
|
|
1623
|
+
console.log("🚀 Testing @goauthentik/api SDK...");
|
|
1624
|
+
const config = new Configuration({
|
|
1625
|
+
// Configure HTTP bearer authorization: authentik
|
|
1626
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
1627
|
+
});
|
|
1628
|
+
const api = new RbacApi(config);
|
|
1629
|
+
|
|
1630
|
+
const body = {
|
|
1631
|
+
// string | A UUID string identifying this Role.
|
|
1632
|
+
uuid: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
1633
|
+
// RoleRequest
|
|
1634
|
+
roleRequest: ...,
|
|
1635
|
+
} satisfies RbacRolesUpdateRequest;
|
|
1636
|
+
|
|
1637
|
+
try {
|
|
1638
|
+
const data = await api.rbacRolesUpdate(body);
|
|
1639
|
+
console.log(data);
|
|
1640
|
+
} catch (error) {
|
|
1641
|
+
console.error(error);
|
|
1642
|
+
}
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
// Run the test
|
|
1646
|
+
example().catch(console.error);
|
|
1647
|
+
```
|
|
1648
|
+
|
|
1649
|
+
### Parameters
|
|
1650
|
+
|
|
1651
|
+
|
|
1652
|
+
| Name | Type | Description | Notes |
|
|
1653
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1654
|
+
| **uuid** | `string` | A UUID string identifying this Role. | [Defaults to `undefined`] |
|
|
1655
|
+
| **roleRequest** | [RoleRequest](RoleRequest.md) | | |
|
|
1656
|
+
|
|
1657
|
+
### Return type
|
|
1658
|
+
|
|
1659
|
+
[**Role**](Role.md)
|
|
1660
|
+
|
|
1661
|
+
### Authorization
|
|
1662
|
+
|
|
1663
|
+
[authentik](../README.md#authentik)
|
|
1664
|
+
|
|
1665
|
+
### HTTP request headers
|
|
1666
|
+
|
|
1667
|
+
- **Content-Type**: `application/json`
|
|
1668
|
+
- **Accept**: `application/json`
|
|
1669
|
+
|
|
1670
|
+
|
|
1671
|
+
### HTTP response details
|
|
1672
|
+
| Status code | Description | Response headers |
|
|
1673
|
+
|-------------|-------------|------------------|
|
|
1674
|
+
| **200** | | - |
|
|
1675
|
+
| **400** | | - |
|
|
1676
|
+
| **403** | | - |
|
|
1677
|
+
|
|
1678
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1679
|
+
|
|
1680
|
+
|
|
1681
|
+
## rbacRolesUsedByList
|
|
1682
|
+
|
|
1683
|
+
> Array<UsedBy> rbacRolesUsedByList(uuid)
|
|
1684
|
+
|
|
1685
|
+
|
|
1686
|
+
|
|
1687
|
+
Get a list of all objects that use this object
|
|
1688
|
+
|
|
1689
|
+
### Example
|
|
1690
|
+
|
|
1691
|
+
```ts
|
|
1692
|
+
import {
|
|
1693
|
+
Configuration,
|
|
1694
|
+
RbacApi,
|
|
1695
|
+
} from '@goauthentik/api';
|
|
1696
|
+
import type { RbacRolesUsedByListRequest } from '@goauthentik/api';
|
|
1697
|
+
|
|
1698
|
+
async function example() {
|
|
1699
|
+
console.log("🚀 Testing @goauthentik/api SDK...");
|
|
1700
|
+
const config = new Configuration({
|
|
1701
|
+
// Configure HTTP bearer authorization: authentik
|
|
1702
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
1703
|
+
});
|
|
1704
|
+
const api = new RbacApi(config);
|
|
1705
|
+
|
|
1706
|
+
const body = {
|
|
1707
|
+
// string | A UUID string identifying this Role.
|
|
1708
|
+
uuid: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
1709
|
+
} satisfies RbacRolesUsedByListRequest;
|
|
1710
|
+
|
|
1711
|
+
try {
|
|
1712
|
+
const data = await api.rbacRolesUsedByList(body);
|
|
1713
|
+
console.log(data);
|
|
1714
|
+
} catch (error) {
|
|
1715
|
+
console.error(error);
|
|
1716
|
+
}
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
// Run the test
|
|
1720
|
+
example().catch(console.error);
|
|
1721
|
+
```
|
|
1722
|
+
|
|
1723
|
+
### Parameters
|
|
1724
|
+
|
|
1725
|
+
|
|
1726
|
+
| Name | Type | Description | Notes |
|
|
1727
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1728
|
+
| **uuid** | `string` | A UUID string identifying this Role. | [Defaults to `undefined`] |
|
|
1729
|
+
|
|
1730
|
+
### Return type
|
|
1731
|
+
|
|
1732
|
+
[**Array<UsedBy>**](UsedBy.md)
|
|
1733
|
+
|
|
1734
|
+
### Authorization
|
|
1735
|
+
|
|
1736
|
+
[authentik](../README.md#authentik)
|
|
1737
|
+
|
|
1738
|
+
### HTTP request headers
|
|
1739
|
+
|
|
1740
|
+
- **Content-Type**: Not defined
|
|
1741
|
+
- **Accept**: `application/json`
|
|
1742
|
+
|
|
1743
|
+
|
|
1744
|
+
### HTTP response details
|
|
1745
|
+
| Status code | Description | Response headers |
|
|
1746
|
+
|-------------|-------------|------------------|
|
|
1747
|
+
| **200** | | - |
|
|
1748
|
+
| **400** | | - |
|
|
1749
|
+
| **403** | | - |
|
|
1750
|
+
|
|
1751
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1752
|
+
|