openapi: 3.0.0
info:
  title: HID Authentication SCIM API
  description: |
    The HID authentication SCIM API exposes the RESTful endpoints that conform to standard System for Cross-domain Identity Management (SCIM) specification..<br> <br>Published using Swagger UI ([Copyright 2020-2026 SmartBear Software Inc](http://swagger.io)) and licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html).
    **This version is for "api-version=11". You should pass this version in all requests.** For older versions, see the revision history.
  version: '11.3.0'
servers:
  - description: SwaggerHub API Auto Mocking 
    url: https://{host}
    variables:
      host:
        default: server.example.com
        description: server host and eventually with port
tags:
  - name: Application
    description: The Application/Generic endpoint allows creating and managing channels through which users can authenticate, whereas the Application/CardAuth/HID Approve endpoint allows creating and managing Card Auth applications so that users can authenticate with a smart card.
  - name: Audit Records
    description: The AuditRecords endpoint allows managing and searching for events in the secure, tamper-evident audit log maintained of all authentication, administration, and authorization requests. The audit log entries contain a complete set of data to enable a compliance-oriented view of system activities, including action, system user, end user, channel, date, time, and outcome.
  - name: Authenticator
    description: The Authenticator endpoint allows creating and managing authenticators which bind a user to a authenticator policy. You can also perform specific actions such as getting challenges and registering a user for Out-of-band (OOB) authentication.
  - name: Authenticator Policy
    description: The Policy/Authenticator endpoint allows creating and managing authentication policies and the associated password policy parameters. However, you cannot modify the default Authenticator policies, but you can clone them using copyFrom to define your own policies.
  - name: Credential
    description: The Credential endpoint allows creating and managing credentials used to authenticate users. Credentials are stored in devices and contain information used to authenticate users, and are linked to a credential type which defines the credential parameters leveraged during user authentication.
  - name: Credential Type
    description: The Credential/Type endpoint allows creating and managing credential types which define the credential parameters leveraged during user authentication. Credentials are stored in devices and contain information used to authenticate users, and are linked to a credential type.
  - name: Customization
    description: The Customization endpoint allows creating and managing customizations related to an application. Customizations may be UI look & feel and localization, or login flows configuration (authorized first factors and second factors).
  - name: Delivery Gateway Email
    description: The DeliveryGateway/Email endpoint allows creating and managing Out-of-band (OOB) email delivery gateways.
  - name: Delivery Gateway Push
    description: The DeliveryGateway/Push endpoint allows creating and managing Out-of-band (OOB) push delivery gateways.
  - name: Delivery Gateway SMS
    description: The DeliveryGateway/SMS endpoint allows creating and managing Out-of-band (OOB) sms delivery gateways.
  - name: Device
    description: The Device endpoint allows creating, importing and managing hardware or software-based devices. You can also perform specific actions such as device synchronization and PIN unlock. Devices enable a user to perform authentication to access a protected resource. Each device is linked to a device type to categorize the device. Device types define device parameters leveraged during user authentication.
  - name: Device Provision
    description: A Device Provision endpoint allows supporting the multi-step HID Approve activation workflow from sending an invitation to a user to register their device until authentication credentials are created asynchronously. This is an entity that represents a future device, while the registration invitation is sent to the end user.
  - name: Device Type
    description: The Device/Type endpoint allows creating and managing push-based authentication device types, including customization. This endpoint also enables defining devices with specific graphical/cryptographic customizations for subsets of users in the same domain. However, you cannot modify the default device types, but you can clone them using copyFrom to define your own devices types.
  - name: Groups
    description: The Groups endpoint allows creating and managing subgroups. You can also create and manage security groups in a SCIM federated repository. Groups are used to model the organizational structure of provisioned resources. Groups can contain users or other groups. A group is always returned along with its members. The caller can use the Users/.search if the group has a large number of users. Only subgroups of the group appear in members.
  - name: Organization
    description: The Organization endpoint allows managing your organization's structure. In the federation use case, one tenant (federating) can perform operations defined by the scope of permissions in the other tenant (federated). The federating tenant uses the organizationDelegation attributes of the SCIM API when creating a federated tenant.
  - name: Permission Sets
    description: The Permission Sets endpoint allows allows modifying permission sets with the SCIM API when creating roles.
  - name: RADIUS
    description: The RADIUS endpoint allows getting the RADIUS Front-End (RFE) configuration and its status.
  - name: Resource Types
    description: The Resource Types endpoint provides an overview of the different endpoints of the SCIM API.
  - name: Risk Score Provider
    description: The Risk Score Provider endpoint allows managing the configuration of the HID Risk Management Solution service provider used to fetch and validate risk scores.
  - name: Roles
    description: The Roles endpoint allows creating and managing roles that can be mapped to a permission set.
  - name: Service Provider Configuration
    description: This endpoint allows getting the Service configuration metadata.
  - name: Tasks
    description: The Tasks endpoint allows to monitor background tasks like scim fed datasource deletion (deleting provisioned users and groups, user attribute encryption/decryption and keys renewal).
  - name: Tokens Vault
    description: The TokensVault endpoint allows searching for pseudonymizations tokens in an exported audit to get their original value.
  - name: User Repository
    description: The Repository endpoint allows configuring SCIM Federated and LDAP user repositories.
  - name: User Attribute Type
    description: The User/AttributeType endpoint allows creating and managing user attribute types.
  - name: Users
    description: The Users endpoint allows creating, browsing and managing users. A user can be any individual or system that accesses one or more protected resources. The user of an organization can be end users, employees, web applications, or backend services etc.

components:
  parameters:
    api-version:  # <-- Arbitrary name for the definition that will be used to refer to it.
                  # Not necessarily the same as the parameter name.
      in: query
      name: api-version
      required: false
      schema:
        type: integer
        minimum: 1
        example: 7
      description: The version of API used.
    limitParam:
      in: query
      name: limit
      required: false
      schema:
        type: integer
        minimum: 1
        maximum: 50
        default: 20
      description: The numbers of items to return.
  examples:
    HIDApproveAPP:
      summary: HID Approve APP Application Configuration
      value:
        id: myAppId
        name: My Approve Application
        notes: Description
        maximumDevicePerUser: 5
        opMode: default
        registrationSecret:
          length: 10
          charset: ALPHA
          validityPeriod: 1200
          retries: 1
        keysRefreshPeriod: 365
        rules:
          version: 1
          refreshinterval: 1440
          provisioning:
            - ruleid: 1
              phonestates:
                - os: Android
                  osversion: "8"
                  isRooted: "true"
                - os: Android
                  keystore: sw
              outcome: deny
              message: Not allowed to provision for Android version 8 rooted phone or Android device with software key store
            - ruleid: 2
              phonestates:
                - os: iOS
                  minosversion: "13"
              outcome: deny
              message: Not allowed to provision for iOS version below 13
          authentication:
            - ruleid: 3
              bioclass: 2
              outcome: allow
        containersProtectionPolicy:
          type: password
          lockPolicy:
            type: Delay
            initialDelay: 2
            maxCounterValue: 6
          passwordPolicy:
            minLength: 6
            maxLength: 64
            restriction:
              minUpperCase: 1
              minLowerCase: 1
              minNumeric: 1
              minAlpha: 1
              minNonAlpha: 1
              maxUpperCase: 64
              maxLowerCase: 64
              maxNumeric: 64
              maxAlpha: 64
              maxNonAlpha: 64
              sequence: deny
            historyPolicy:
              maxHistory: 1
              minAge: 1
              maxAge: 180
          cachingPolicy:
            enabled: true
            timeout: 30
        oathKeys:
          - protectionPolicyType: container
            keyLabel: totpkey
            algo: totp
            otpLen: 8
            timestep: 30
            validityWindow: 20
            sessionValidPeriod: 3600000
            levelOfAssurance: urn:hidaaas:policy:at_otp
            smallWindowTimeStart: -3
            smallWindowTimeEnd: 3
            largeWindowTimeStart: -5
            largeWindowTimeEnd: 4
            disableThreshold: 5
            challengeDisableThreshold: -1
        publicKeys:
          - protectionPolicyType: container
            keyLabel: authkey
            keyUsage: authentication
            otpLen: 8
            approvalStatus: accept|deny|report
            sessionValidPeriod: 3600000
            levelOfAssurance: urn:hidaaas:policy:at_push
            challengeTimeoutPeriod: 3600
            challengeDisableThreshold: 8
            flaggedTransaction:
              blockAuthenticator: true
              autoUnblockCooldownPeriod: 900
        urn:hid:scim:api:idp:2.0:application:HIDApprove:APP:
          pushNotifications:
            notificationTitle: New Transaction
            notificationMessage: Validate transaction
          hidApproveCustomization:
            uicustomization:
              version: 1
              label:
                id: "1"
                value: Development Bank
              color:
                id: "2"
                value: "#032569"
              bitmap:
                id: "3"
                value: "/9O/znDIq1z3el3lpL7WU/ +fWPmc89pnK945r32uVe GQxM2QwN2NlZDU3NWViMzA4MmFiODE3NTY3jE92bu3V4/mUl/Tp8f372nuo3Y/GQxM2QwN2NlZDU3NWViMzA4MmFiODE3NTY3"
              fontcolor:
                id: "4"
                value: "#02597F"
              ocrafields:
                - label:
                    id: "5"
                    value: AccountId
                - label:
                    id: "6"
                    value: Date
                - label:
                    id: "7"
                    value: Amount
              ocraallowscan: true
            contactdetails:
              phonenumber: "+33612345678"
              email:
                address: user@hidglobal.com
                subject: "Message from {$userid} for {$service}"
              website: "https:/website.com"
              deviceid: true
              devicesn: true
    HIDApproveSDK:
      summary: HID Approve SDK Application Configuration
      value:
        id: appid
        name: My Approve SDK Application
        notes: Description
        maximumDevicePerUser: 5
        opMode: default
        registrationSecret:
          length: 10
          charset: ALPHA
          validityPeriod: 1200
          retries: 1
        keysRefreshPeriod: 365
        rules:
          version: 1
          refreshinterval: 1440
          provisioning:
            - ruleid: 1
              phonestates:
                - os: Android
                  osversion: "8"
                  isRooted: "true"
                - os: Android
                  keystore: sw
              outcome: deny
              message: Not allowed to provision for Android version 8 rooted phone or Android device with software key store
            - ruleid: 2
              phonestates:
                - os: iOS
                  minosversion: "13"
              outcome: deny
              message: Not allowed to provision for iOS version below 13
          authentication:
            - ruleid: 3
              bioclass: 2
              outcome: allow
        containersProtectionPolicy:
          type: device
          lockPolicy:
            type: Delay
            initialDelay: 2
            maxCounterValue: 6
          passwordPolicy:
            minLength: 6
            maxLength: 64
            restriction:
              minUpperCase: 1
              minLowerCase: 1
              minNumeric: 1
              minAlpha: 1
              minNonAlpha: 1
              maxUpperCase: 64
              maxLowerCase: 64
              maxNumeric: 64
              maxAlpha: 64
              maxNonAlpha: 64
              sequence: deny
            historyPolicy:
              maxHistory: 1
              minAge: 1
              maxAge: 180
          cachingPolicy:
            enabled: true
            timeout: 30
        oathKeys:
          - protectionPolicyType: container
            keyLabel: totpkey
            algo: totp
            otpLen: 8
            timestep: 30
            validityWindow: 20
            sessionValidPeriod: 3600000
            levelOfAssurance: urn:hidaaas:policy:at_otp
            smallWindowTimeStart: -3
            smallWindowTimeEnd: 3
            largeWindowTimeStart: -5
            largeWindowTimeEnd: 4
            disableThreshold: 5
            challengeDisableThreshold: -1
        publicKeys:
          - protectionPolicyType: container
            keyLabel: authkey
            keyUsage: authentication
            otpLen: 8
            approvalStatus: accept|deny|report
            sessionValidPeriod: 3600000
            levelOfAssurance: urn:hidaaas:policy:at_push
            challengeTimeoutPeriod: 3600
            challengeDisableThreshold: 8
            flaggedTransaction:
              blockAuthenticator: true
              autoUnblockCooldownPeriod: 900
        urn:hid:scim:api:idp:2.0:application:HIDApprove:SDK:
          pushNotifications:
            notificationTitle: New Transaction
            notificationMessage: Validate transaction
            azureHub:
              hub: myAzureHub
              connectionString: "..."
              ttl: 0
    HIDApproveAPPPutRequest:
      summary: PUT HID Approve APP Application Request
      value:
        name: My Approve Application
        notes: Description
        maximumDevicePerUser: 5
        opMode: default
        registrationSecret:
          length: 10
          charset: ALPHA
          validityPeriod: 1200
          retries: 1
        keysRefreshPeriod: 365
        rules:
          version: 1
          refreshinterval: 1440
          provisioning:
            - ruleid: 1
              phonestates:
                - os: Android
                  osversion: "8"
                  isRooted: "true"
                - os: Android
                  keystore: sw
              outcome: deny
              message: Not allowed to provision for Android version 8 rooted phone or Android device with software key store
            - ruleid: 2
              phonestates:
                - os: iOS
                  minosversion: "13"
              outcome: deny
              message: Not allowed to provision for iOS version below 13
          authentication:
            - ruleid: 3
              bioclass: 2
              outcome: allow
        containersProtectionPolicy:
          type: password
          lockPolicy:
            type: Delay
            initialDelay: 2
            maxCounterValue: 6
          passwordPolicy:
            minLength: 6
            maxLength: 64
            restriction:
              minUpperCase: 1
              minLowerCase: 1
              minNumeric: 1
              minAlpha: 1
              minNonAlpha: 1
              maxUpperCase: 64
              maxLowerCase: 64
              maxNumeric: 64
              maxAlpha: 64
              maxNonAlpha: 64
              sequence: deny
            historyPolicy:
              maxHistory: 1
              minAge: 1
              maxAge: 180
          cachingPolicy:
            enabled: true
            timeout: 30
        oathKeys:
          - protectionPolicyType: container
            keyLabel: totpkey
            algo: totp
            levelOfAssurance: urn:hidaaas:policy:at_otp
            smallWindowTimeStart: -3
            smallWindowTimeEnd: 3
            largeWindowTimeStart: -5
            largeWindowTimeEnd: 4
            disableThreshold: 5
            challengeDisableThreshold: -1
        publicKeys:
          - keyLabel: authkey
            action: DELETE
        urn:hid:scim:api:idp:2.0:application:HIDApprove:APP:
          hidApproveCustomization:
            uicustomization:
              version: 1
              label:
                id: "1"
                value: Development Bank
              color:
                id: "2"
                value: "#032569"
              bitmap:
                id: "3"
                value: "/9O/znDIq1z3el3lpL7WU/ +fWPmc89pnK945r32uVe GQxM2QwN2NlZDU3NWViMzA4MmFiODE3NTY3jE92bu3V4/mUl/Tp8f372nuo3Y/GQxM2QwN2NlZDU3NWViMzA4MmFiODE3NTY3"
              fontcolor:
                id: "4"
                value: "#02597F"
              ocrafields:
                - label:
                    id: "5"
                    value: AccountId
                - label:
                    id: "6"
                    value: Date
                - label:
                    id: "7"
                    value: Amount
              ocraallowscan: true
            contactdetails:
              phonenumber: "+33612345678"
              email:
                address: user@hidglobal.com
                subject: "Message from {$userid} for {$service}"
              website: "https:/website.com"
              deviceid: true
              devicesn: true
    HIDApproveSDKPutRequest:
      summary: PUT Approve SDK Application Request
      value:
        name: My Approve SDK Application
        notes: Description
        maximumDevicePerUser: 5
        opMode: default
        registrationSecret:
          length: 10
          charset: ALPHA
          validityPeriod: 1200
          retries: 1
        keysRefreshPeriod: 365
        rules:
          version: 1
          refreshinterval: 1440
          provisioning:
            - ruleid: 1
              phonestates:
                - os: Android
                  osversion: "8"
                  isRooted: "true"
                - os: Android
                  keystore: sw
              outcome: deny
              message: Not allowed to provision for Android version 8 rooted phone or Android device with software key store
            - ruleid: 2
              phonestates:
                - os: iOS
                  minosversion: "13"
              outcome: deny
              message: Not allowed to provision for iOS version below 13
          authentication:
            - ruleid: 3
              bioclass: 2
              outcome: allow
        containersProtectionPolicy:
          type: device
          lockPolicy:
            type: Delay
            initialDelay: 2
            maxCounterValue: 6
          passwordPolicy:
            minLength: 6
            maxLength: 64
            restriction:
              minUpperCase: 1
              minLowerCase: 1
              minNumeric: 1
              minAlpha: 1
              minNonAlpha: 1
              maxUpperCase: 64
              maxLowerCase: 64
              maxNumeric: 64
              maxAlpha: 64
              maxNonAlpha: 64
              sequence: deny
            historyPolicy:
              maxHistory: 1
              minAge: 1
              maxAge: 180
          cachingPolicy:
            enabled: true
            timeout: 30
        oathKeys:
          - keyLabel: totpkey
            action: DELETE
        publicKeys:
          - protectionPolicyType: container
            keyLabel: authkey
            keyUsage: authentication
            otpLen: 8
            approvalStatus: accept|deny|report
            sessionValidPeriod: 3600000
            levelOfAssurance: urn:hidaaas:policy:at_push
            challengeTimeoutPeriod: 3600
            challengeDisableThreshold: 8
        urn:hid:scim:api:idp:2.0:application:HIDApprove:SDK:
          pushNotifications:
            notificationTitle: New Transaction
            notificationMessage: Validate transaction
            azureHub:
              hub: myAzureHub
              connectionString: "..."
              ttl: 0
    HIDApproveAPPResponse:
      summary: HID Approve APP Application Response
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:application:HIDApprove
          - urn:hid:scim:api:idp:2.0:application:HIDApprove:APP
        id: myAppApprove
        name: My Approve Application
        notes: Description
        devicetypeCode: DT_APPROVE
        maximumDevicePerUser: 5
        deviceAuthenticationTypeCode: AT_SMK
        challengeLength: 8
        opMode: default
        registrationSecret:
          length: 10
          charset: ALPHA
          validityPeriod: 1200
          registrationAuthenticationTypeCode: AT_TDSOOB
          registrationCredTypeCode: CT_XXX
          registrationDeviceTypeCode: DT_XXX
          retries: 1
        keysRefreshPeriod: 365
        rules:
          version: 1
          refreshinterval: 1440
          provisioning:
            - ruleid: 1
              phonestates:
                - os: Android
                  osversion: "8"
                  isRooted: "true"
                - os: Android
                  keystore: sw
              outcome: deny
              message: Not allowed to provision for Android version 8 rooted phone or Android device with software key store
            - ruleid: 2
              phonestates:
                - os: iOS
                  minosversion: "13"
              outcome: deny
              message: Not allowed to provision for iOS version below 13
          authentication:
            - ruleid: 3
              bioclass: 2
              outcome: allow
        containersProtectionPolicy:
          type: biometricorpassword
          lockPolicy:
            type: Delay
            initialDelay: 2
            maxCounterValue: 6
          passwordPolicy:
            minLength: 6
            maxLength: 64
            restriction:
              minUpperCase: 1
              minLowerCase: 1
              minNumeric: 1
              minAlpha: 1
              minNonAlpha: 1
              maxUpperCase: 64
              maxLowerCase: 64
              maxNumeric: 64
              maxAlpha: 64
              maxNonAlpha: 64
              sequence: deny
            historyPolicy:
              maxHistory: 1
              minAge: 1
              maxAge: 180
          cachingPolicy:
            enabled: true
            timeout: 30
        oathKeys:
          - protectionPolicyType: container
            keyLabel: totpkey
            algo: totp
            otpLen: 8
            timestep: 30
            validityWindow: 20
            authenticatorPolicyId: AT_OTP
            sessionValidPeriod: 3600000
            levelOfAssurance: urn:hidaaas:policy:at_otp
            smallWindowTimeStart: -3
            smallWindowTimeEnd: 3
            largeWindowTimeStart: -5
            largeWindowTimeEnd: 4
            disableThreshold: 5
            challengeDisableThreshold: -1
        publicKeys:
          - protectionPolicyType: container
            keyLabel: authkey
            keyUsage: authentication
            otpLen: 8
            approvalStatus: accept|deny|report
            authenticatorPolicyId: AT_PASA
            sessionValidPeriod: 3600000
            levelOfAssurance: urn:hidaaas:policy:at_push
            challengeTimeoutPeriod: 3600
            challengeDisableThreshold: 8
            flaggedTransaction:
              blockAuthenticator: true
              autoUnblockCooldownPeriod: 900
        urn:hid:scim:api:idp:2.0:application:HIDApprove:APP:
          pushNotifications:
            notificationTitle: New Transaction
            notificationMessage: Validate transaction
          hidApproveCustomization:
            uicustomization:
              version: 1
              label:
                id: "1"
                value: Development Bank
              color:
                id: "2"
                value: "#032569"
              bitmap:
                id: "3"
                value: "/9O/znDIq1z3el3lpL7WU/ +fWPmc89pnK945r32uVe GQxM2QwN2NlZDU3NWViMzA4MmFiODE3NTY3jE92bu3V4/mUl/Tp8f372nuo3Y/GQxM2QwN2NlZDU3NWViMzA4MmFiODE3NTY3"
              fontcolor:
                id: "4"
                value: "#02597F"
              ocrafields:
                - label:
                    id: "5"
                    value: AccountId
                - label:
                    id: "6"
                    value: Date
                - label:
                    id: "7"
                    value: Amount
              ocraallowscan: true
            contactdetails:
              phonenumber: "+33612345678"
              email:
                address: user@hidglobal.com
                subject: "Message from {$userid} for {$service}"
              website: "https:/website.com"
              deviceid: true
              devicesn: true
    HIDApproveSDKResponse:
      summary: HID Approve SDK Application Response
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:application:HIDApprove
          - urn:hid:scim:api:idp:2.0:application:HIDApprove:SDK
        id: myAppApprove
        name: My Approve Application
        notes: Description
        devicetypeCode: DT_APPROVE
        maximumDevicePerUser: 5
        deviceAuthenticationTypeCode: AT_SMK
        challengeLength: 8
        opMode: default
        registrationSecret:
          length: 10
          charset: ALPHA
          validityPeriod: 1200
          registrationAuthenticationTypeCode: AT_TDSOOB
          registrationCredTypeCode: CT_XXX
          registrationDeviceTypeCode: DT_XXX
          retries: 1
        keysRefreshPeriod: 365
        rules:
          version: 1
          refreshinterval: 1440
          provisioning:
            - ruleid: 1
              phonestates:
                - os: Android
                  osversion: "8"
                  isRooted: "true"
                - os: Android
                  keystore: sw
              outcome: deny
              message: Not allowed to provision for Android version 8 rooted phone or Android device with software key store
            - ruleid: 2
              phonestates:
                - os: iOS
                  minosversion: "13"
              outcome: deny
              message: Not allowed to provision for iOS version below 13
          authentication:
            - ruleid: 3
              bioclass: 2
              outcome: allow
        containersProtectionPolicy:
          type: biometricorpassword
          lockPolicy:
            type: Delay
            initialDelay: 2
            maxCounterValue: 6
          passwordPolicy:
            minLength: 6
            maxLength: 64
            restriction:
              minUpperCase: 1
              minLowerCase: 1
              minNumeric: 1
              minAlpha: 1
              minNonAlpha: 1
              maxUpperCase: 64
              maxLowerCase: 64
              maxNumeric: 64
              maxAlpha: 64
              maxNonAlpha: 64
              sequence: deny
            historyPolicy:
              maxHistory: 1
              minAge: 1
              maxAge: 180
          cachingPolicy:
            enabled: true
            timeout: 30
        oathKeys:
          - protectionPolicyType: container
            keyLabel: totpkey
            algo: totp
            otpLen: 8
            timestep: 30
            validityWindow: 20
            authenticatorPolicyId: AT_OTP
            sessionValidPeriod: 3600000
            levelOfAssurance: urn:hidaaas:policy:at_otp
            smallWindowTimeStart: -3
            smallWindowTimeEnd: 3
            largeWindowTimeStart: -5
            largeWindowTimeEnd: 4
            disableThreshold: 5
            challengeDisableThreshold: -1
        publicKeys:
          - protectionPolicyType: container
            keyLabel: authkey
            keyUsage: authentication
            otpLen: 8
            approvalStatus: accept|deny|report
            authenticatorPolicyId: AT_PASA
            sessionValidPeriod: 3600000
            levelOfAssurance: urn:hidaaas:policy:at_push
            challengeTimeoutPeriod: 3600
            challengeDisableThreshold: 8
            flaggedTransaction:
              blockAuthenticator: true
              autoUnblockCooldownPeriod: 900
        urn:hid:scim:api:idp:2.0:application:HIDApprove:SDK:
          pushNotifications:
            notificationTitle: New Transaction
            notificationMessage: Validate transaction
            AzureHub:
              hub: myAzureHub
              connectionString: "..."
              TTL: 0
    HIDApproveApplicationsGetAll:
      summary: Get All HID Approve APP Application
      value:
        schemas:
          - urn:ietf:params:scim:api:messages:2.0:ListResponse
        totalResults: 2,
        startIndex: 0
        resources:
          - schemas:
              - urn:hid:scim:api:idp:2.0:application:HIDApprove
              - urn:hid:scim:api:idp:2.0:application:HIDApprove:APP
            id: myAppApprove
            name: My Approve Application
            notes: Description
            devicetypeCode: DT_APPROVE
            maximumDevicePerUser: 5
            deviceAuthenticationTypeCode: AT_SMK
            challengeLength: 8
            opMode: default
            registrationSecret:
              length: 10
              charset: ALPHA
              validityPeriod: 1200
              registrationAuthenticationTypeCode: AT_TDSOOB
              registrationCredTypeCode: CT_XXX
              registrationDeviceTypeCode: DT_XXX
              retries: 1
            keysRefreshPeriod: 365
            rules:
              version: 1
              refreshinterval: 1440
              provisioning:
                - ruleid: 1
                  phonestates:
                    - os: Android
                      osversion: "8"
                      isRooted: "true"
                    - os: Android
                      keystore: sw
                  outcome: deny
                  message: Not allowed to provision for Android version 8 rooted phone or Android device with software key store
                - ruleid: 2
                  phonestates:
                    - os: iOS
                      minosversion: "13"
                  outcome: deny
                  message: Not allowed to provision for iOS version below 13
              authentication:
                - ruleid: 3
                  bioclass: 2
                  outcome: allow
            containersProtectionPolicy:
              type: biometricorpassword
              lockPolicy:
                type: Delay
                initialDelay: 2
                maxCounterValue: 6
              passwordPolicy:
                minLength: 6
                maxLength: 64
                restriction:
                  minUpperCase: 1
                  minLowerCase: 1
                  minNumeric: 1
                  minAlpha: 1
                  minNonAlpha: 1
                  maxUpperCase: 64
                  maxLowerCase: 64
                  maxNumeric: 64
                  maxAlpha: 64
                  maxNonAlpha: 64
                  sequence: deny
                historyPolicy:
                  maxHistory: 1
                  minAge: 1
                  maxAge: 180
              cachingPolicy:
                enabled: true
                timeout: 30
            oathKeys:
              - protectionPolicyType: container
                keyLabel: totpkey
                algo: totp
                otpLen: 8
                timestep: 30
                validityWindow: 20
                authenticatorPolicyId: AT_OTP
                sessionValidPeriod: 3600000
                levelOfAssurance: urn:hidaaas:policy:at_otp
                smallWindowTimeStart: -3
                smallWindowTimeEnd: 3
                largeWindowTimeStart: -5
                largeWindowTimeEnd: 4
                disableThreshold: 5
                challengeDisableThreshold: -1
            publicKeys:
              - protectionPolicyType: container
                keyLabel: authkey
                keyUsage: authentication
                otpLen: 8
                approvalStatus: accept|deny|report
                authenticatorPolicyId: AT_PASA
                sessionValidPeriod: 3600000
                levelOfAssurance: urn:hidaaas:policy:at_push
                challengeTimeoutPeriod: 3600
                challengeDisableThreshold: 8
                flaggedTransaction:
                  blockAuthenticator: true
                  autoUnblockCooldownPeriod: 900
            urn:hid:scim:api:idp:2.0:application:HIDApprove:APP:
              pushNotifications:
                notificationTitle: New Transaction
                notificationMessage: Validate transaction
              hidApproveCustomization:
                uicustomization:
                  version: 1
                  label:
                    id: "1"
                    value: Development Bank
                  color:
                    id: "2"
                    value: "#032569"
                  bitmap:
                    id: "3"
                    value: "/9O/znDIq1z3el3lpL7WU/ +fWPmc89pnK945r32uVe GQxM2QwN2NlZDU3NWViMzA4MmFiODE3NTY3jE92bu3V4/mUl/Tp8f372nuo3Y/GQxM2QwN2NlZDU3NWViMzA4MmFiODE3NTY3"
                  fontcolor:
                    id: "4"
                    value: "#02597F"
                  ocrafields:
                    - label:
                        id: "5"
                        value: AccountId
                    - label:
                        id: "6"
                        value: Date
                    - label:
                        id: "7"
                        value: Amount
                  ocraallowscan: true
                contactdetails:
                  phonenumber: "+33612345678"
                  email:
                    address: user@hidglobal.com
                    subject: "Message from {$userid} for {$service}"
                  website: "https:/website.com"
                  deviceid: true
                  devicesn: true
          - schemas:
              - urn:hid:scim:api:idp:2.0:application:HIDApprove
              - urn:hid:scim:api:idp:2.0:application:HIDApprove:SDK
            id: myAppApprove1
            name: My Approve Application 1
            notes: Description
            devicetypeCode: DT_APPROVE
            maximumDevicePerUser: 5
            deviceAuthenticationTypeCode: AT_SMK
            challengeLength: 8
            opMode: default
            registrationSecret:
              length: 10
              charset: ALPHA
              validityPeriod: 1200
              registrationAuthenticationTypeCode: AT_TDSOOB
              registrationCredTypeCode: CT_XXX
              registrationDeviceTypeCode: DT_XXX
              retries: 1
            keysRefreshPeriod: 365
            rules:
              version: 1
              refreshinterval: 1440
              provisioning:
                - ruleid: 1
                  phonestates:
                    - os: Android
                      osversion: "8"
                      isRooted: "true"
                    - os: Android
                      keystore: sw
                  outcome: deny
                  message: Not allowed to provision for Android version 8 rooted phone or Android device with software key store
                - ruleid: 2
                  phonestates:
                    - os: iOS
                      minosversion: "13"
                  outcome: deny
                  message: Not allowed to provision for iOS version below 13
              authentication:
                - ruleid: 3
                  bioclass: 2
                  outcome: allow
            containersProtectionPolicy:
              type: biometricorpassword
              lockPolicy:
                type: Delay
                initialDelay: 2
                maxCounterValue: 6
              passwordPolicy:
                minLength: 6
                maxLength: 64
                restriction:
                  minUpperCase: 1
                  minLowerCase: 1
                  minNumeric: 1
                  minAlpha: 1
                  minNonAlpha: 1
                  maxUpperCase: 64
                  maxLowerCase: 64
                  maxNumeric: 64
                  maxAlpha: 64
                  maxNonAlpha: 64
                  sequence: deny
                historyPolicy:
                  maxHistory: 1
                  minAge: 1
                  maxAge: 180
              cachingPolicy:
                enabled: true
                timeout: 30
            oathKeys:
              - protectionPolicyType: container
                keyLabel: totpkey
                algo: totp
                otpLen: 8
                timestep: 30
                validityWindow: 20
                authenticatorPolicyId: AT_OTP
                sessionValidPeriod: 3600000
                levelOfAssurance: urn:hidaaas:policy:at_otp
                smallWindowTimeStart: -3
                smallWindowTimeEnd: 3
                largeWindowTimeStart: -5
                largeWindowTimeEnd: 4
                disableThreshold: 5
                challengeDisableThreshold: -1
            publicKeys:
              - protectionPolicyType: container
                keyLabel: authkey
                keyUsage: authentication
                otpLen: 8
                approvalStatus: accept|deny|report
                authenticatorPolicyId: AT_PASA
                sessionValidPeriod: 3600000
                levelOfAssurance: urn:hidaaas:policy:at_push
                challengeTimeoutPeriod: 3600
                challengeDisableThreshold: 8
                flaggedTransaction:
                  blockAuthenticator: true
                  autoUnblockCooldownPeriod: 900
            urn:hid:scim:api:idp:2.0:application:HIDApprove:SDK:
              pushNotifications:
                notificationTitle: New Transaction
                notificationMessage: Validate transaction
                AzureHub:
                  hub: myAzureHub
                  connectionString: "..."
                  TTL: 0

    DeviceImport_PSKC_SDS_SYNCH:
      value:
        adapter: OATH-PSKC
        mapping:
          - deviceType: DT_FXT_OE
            algo: HOTP
          - deviceType: DT_FXT_OT
            algo: TOTP
        encryptionKey: "13515615615615631561631561"
        resyncWindow: 20
        status: ACTIVE
        payload: '<binary file content - base64 encoded>'
        async: false
    DeviceImport_PSKC_SDS_ASYNCH:
      value:
        adapter: OATH-PSKC
        mapping:
          - deviceType: DT_FXT_OE
            algo: HOTP
          - deviceType: DT_FXT_OA
            algo: OCRA
        encryptionKey: "13515615615615631561631561"
        resyncWindow: 20
        status: ACTIVE
        payload: '<binary file content - base64 encoded>'
        async: true
        correlationId: 1SFCBFBFVCGTCV7QVTBV
        startDate: '2021-12-03T16:45:20.153Z'
        endDate: '2021-12-03T16:45:20.153Z'
    Group:
      value:
        schemas:
          - urn:ietf:params:scim:schemas:core:2.0:Group
        displayName: My Test Group
        description: Description for my test group
    Group_V3:
      value:
        schemas:
          - urn:ietf:params:scim:schemas:core:2.0:Group
        userAttributeTypes:
          schemas:
              - urn:hid:scim:api:idp:2.0:userattribute:Type
          id: ADDRESS1
          meta:
            resourceType: Group
            location: https://server.example.com:8445/scim/tenantexample/v2/Groups/UT_EMP
            version: 1
          name: Address Line 1
        displayName: My Test Group
        description: Description for my test group
    Authenticator_ACTION_POST_deliverChallenge:
      value:
        schemas:
          - "urn:hid:scim:api:idp:2.0:Authenticator"
          - "urn:hid:scim:api:idp:2.0:Action"
        id: "11914.AT_TDS"
        urn:hid:scim:api:idp:2.0:Action:
          schemas:
            - "urn:hid:scim:api:idp:2.0:Action"
          attributes:
            - name: "tds"
              value: "{amount, 400.00},{sortcode,20-30-90}, {account_to,1234-5678}"
            - name: "id"
              value: "DOMAIN.CH_TDS.AT_TDS.11936"
            - name: "correlationid"
              value: "some_correlation_id"
            - name: "DEVICE.ID"
              value: "11936"
          action: "DELIVER-CHALLENGE"
    Authenticator_ACTION_POST_unregisterOOB:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:Action
        urn:hid:scim:api:idp:2.0:Action:
          action: UNREGISTER-OOB
          attributes:
              - name: USER.EXTERNALID
                value: user1
    Authenticator_ACTION_POST_resetAuthFailCount:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:Action
        urn:hid:scim:api:idp:2.0:Action:
          action: RESET
    Authenticator_ACTION_POST_resetRequestCount:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:Action
        urn:hid:scim:api:idp:2.0:Action:
          action: RESET-REQUEST-COUNT
    Authenticator_ACTION_POST_getChallengeByUC:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:Action
        urn:hid:scim:api:idp:2.0:Action:
          action: USER-CHALLENGE
          attributes:
              - name: CHANNEL
                value: CH_IIS
    Authenticator_ACTION_POST_getChallengeByDevice:
      value:
        schemas:
          - "urn:hid:scim:api:idp:2.0:Action"
        urn:hid:scim:api:idp:2.0:Action:
          action: "DEVICE-CHALLENGE"
          attributes:
            - name: "DEVICE.EXTERNALID"
              value: "14851787148870370719"
            - name: "CHANNEL"
              value: "CH_IIS"
    Authenticator_ACTION_POST_getChallengeByUC_Resp:
      value:
        schemas:
          - "urn:hid:scim:api:idp:2.0:Action"
        attributes:
          - name: "CHALLENGE"
            type: "string"
            value: "32132427"
            readOnly: false
          - name: "CHALLENGE.ID"
            type: "string"
            value: "0"
            readOnly: false
          - name: "REQUEST.STATUS"
            type: "string"
            value: "1"
            readOnly: false
          - name: "REQUEST.REASON"
            type: "string"
            value: "-1"
            readOnly: false
          - name: "REQUEST.ERROR_MESSAGE"
            type: "string"
            readOnly: false
    Authenticator_ACTION_POST_getChallengeByDevice_Resp:
      value:
        schemas:
          - "urn:hid:scim:api:idp:2.0:Action"
        attributes:
          - name: "CHALLENGE"
            type: "string"
            value: "45551649"
            readOnly: false
          - name: "CHALLENGE.ID"
            type: "string"
            value: "0"
            readOnly: false
          - name: "REQUEST.STATUS"
            type: "string"
            value: "1"
            readOnly: false
          - name: "REQUEST.REASON"
            type: "string"
            value: "-1"
            readOnly: false
          - name: "REQUEST.ERROR_MESSAGE"
            type: "string"
            readOnly: false
    Authenticator_ACTION_POST_deliverChallenge_Resp:
      value:
        schemas:
          - "urn:hid:scim:api:idp:2.0:Action"
        attributes:
          - name: "CHALLENGE"
            type: "string"
            value: "eyJhbGciOiJk[...]RWjsYU="
            readOnly: false
          - name: "CHALLENGE.ID"
            type: "string"
            value: "11962"
            readOnly: false
          - name: "REQUEST.STATUS"
            type: "string"
            value: "1"
            readOnly: false
          - name: "REQUEST.REASON"
            type: "string"
            value: "-1"
            readOnly: false
          - name: "REQUEST.ERROR_MESSAGE"
            type: "string"
            readOnly: false
    Authenticator_ACTION_POST_resetOOBRequestCount_Resp:
      value: no payload returned
    Authenticator_ACTION_POST_unregisterOOB_Resp:
      value: no payload returned
    Authenticator_ACTION_POST_resetAuthFailCount_Resp:
      value: no payload returned
    QueryResponse_Authenticator_Policy:
      value:
        schemas:
          - urn:ietf:params:scim:api:messages:2.0:ListResponse
        totalResults: 1
        resources:
          - schemas:
              - urn:hid:scim:api:idp:2.0:policy:Authenticator
              - urn:hid:scim:api:idp:2.0:policy:authenticator:Password
            meta:
              resourceType: AuthenticatorPolicy
              location: https://server.example.com:8445/configuration/tenantexample/v2/Policy/Authenticator/AT_XXX
              version: '1'
            readOnly: false
            id: AT_YYY
            name: AT new name
            notes: AT new notes
            defaultValidDaysAdd: 1825
            defaultValidDaysEdit: 1825
            disableThreshold: 5
            defaultExpiryThreshold: -1
            sessionTimeout: 300000
            sessionValidPeriod: 3600000
            levelOfAssurance: '1'
            disabledTimeReset: 900
            urn:hid:scim:api:idp:2.0:policy:authenticator:Password:
              allowExpiredReset: 1
              passwordPolicy:
                characterRange: NUM_AND_ALPHA
                minLength: 8
                maxLength: 100
                minDiffChars: 5
                atLeastOneNum: true
                atLeastOneLow: true
                atLeastOneUp: true
                atLeastOneSpecial: true
                notBlackListed: true
                notSequence: true
                notOldPassword: true
                notUserAttribute: true
                caseInsensitive: false
              usernamePolicy:
                characterRange: NUM_AND_ALPHA
                minLength: 8
                maxLength: 100
                minDiffChars: 5
    Authenticator_Password_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:Authenticator
          - urn:hid:scim:api:idp:2.0:Password
        id: 11288.AT_CUSTPW
        externalId: jdoe
        meta:
          resourceType: Authenticator
          created: 2015-05-15T18:15:21+00:00
          location: https://server.example.com:8445/scim/tenantexample/v2/Authenticator/11288.AT_CUSTPW
          version: 1
        status:
          status: ENABLED
          active: true
          startDate: 2015-05-15T18:15:21+00:00
          expiryDate: 2018-05-15T18:15:21+00:00
        owner:
          type: User
          display: user12345
          value: 12345
          location: https://server.example.com:8445/scim/tenantexample/v2/Users/12345
        statistics:
          consecutiveFailed: 0
          consecutiveSuccess: 0
          maximumNumberOfUsages: 0
          totalFailed: 0
          totalSuccess: 0
        policy:
          display: AT_CUSTPW
          value: AT_CUSTPW
          location: https://server.example.com:8445/scim/tenantexample/v2/Policy/Authenticator/AT_CUSTPW
        urn:hid:scim:api:idp:2.0:Password:
          username: user1235
    Authenticator_LDAP_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:Authenticator
        id: 11324.AT_LDAP
        externalId: LDAP_USER_009
        meta:
          resourceType: Authenticator
          created: 2015-05-15T18:15:21+00:00
          location: https://server.example.com:8445/scim/tenantexample/v2/Authenticator/11324.AT_LDAP
          version: 1
        status:
          status: ENABLED
          active: true
          startDate: 2015-05-15T18:15:21+00:00
          expiryDate: 2018-05-15T18:15:21+00:00
        owner:
          type: User
          display: LDAP_USER_009
          value: 11324
          location: https://server.example.com:8445/scim/tenantexample/v2/Users/11324
        statistics:
          consecutiveFailed: 0
          consecutiveSuccess: 0
          maximumNumberOfUsages: 0
          totalFailed: 0
          totalSuccess: 0
        policy:
          display: AT_LDAP
          value: AT_LDAP
          location: https://server.example.com:8445/scim/tenantexample/v2/Policy/Authenticator/AT_LDAP
    Authenticator_Device_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:Authenticator
        id: 11288.AT_CUSTOTP
        externalId: jdoe
        meta:
          resourceType: Authenticator
          created: 2015-05-15T18:15:21+00:00
          location: https://server.example.com:8445/scim/tenantexample/v2/Authenticator/11288.AT_CUSTOTP
          version: 1
        status:
          status: ENABLED
          active: true
          startDate: 2015-05-15T18:15:21+00:00
          expiryDate: 2018-05-15T18:15:21+00:00
        owner:
          type: User
          display: user12345
          value: 12345
          location: https://server.example.com:8445/scim/tenantexample/v2/Users/12345
        statistics:
          consecutiveFailed: 0
          consecutiveSuccess: 0
          maximumNumberOfUsages: 0
          totalFailed: 0
          totalSuccess: 0
        policy:
          display: AT_CUSTOTP
          value: AT_CUSTOTP
          location: https://server.example.com:8445/scim/tenantexample/v2/Policy/Authenticator/AT_CUSTOTP
        lastSuccessfulDevice:
          type: Device
          value: "10564"
          \$ref: https://server.example.com:8445/scim/tenantexample/v2/Device/10564
    Authenticator_Device_GET_CREATE:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:Authenticator
        id: 11288.AT_CUSTOTP
        externalId: jdoe
        meta:
          resourceType: Authenticator
          created: 2015-05-15T18:15:21+00:00
          location: https://server.example.com:8445/scim/tenantexample/v2/Authenticator/11288.AT_CUSTOTP
          version: 1
        status:
          status: ENABLED
          active: true
          startDate: 2015-05-15T18:15:21+00:00
          expiryDate: 2018-05-15T18:15:21+00:00
        owner:
          type: User
          display: user12345
          value: 12345
          location: https://server.example.com:8445/scim/tenantexample/v2/Users/12345
        statistics:
          consecutiveFailed: 0
          consecutiveSuccess: 0
          maximumNumberOfUsages: 0
          totalFailed: 0
          totalSuccess: 0
        policy:
          display: AT_CUSTOTP
          value: AT_CUSTOTP
          location: https://server.example.com:8445/scim/tenantexample/v2/Policy/Authenticator/AT_CUSTOTP
    Authenticator_SQ_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:Authenticator
        id: 11288.AT_CUSTQA
        externalId: jdoe
        meta:
          resourceType: Authenticator
          created: 2015-05-15T18:15:21+00:00
          location: https://server.example.com:8445/scim/tenantexample/v2/Authenticator/11288.AT_CUSTQA
          version: 1
        status:
          status: ENABLED
          active: true
          startDate: 2015-05-15T18:15:21+00:00
          expiryDate: 2018-05-15T18:15:21+00:00
        owner:
          type: User
          display: user12345
          value: 12345
          location: https://server.example.com:8445/scim/tenantexample/v2/Users/12345
        statistics:
          consecutiveFailed: 0
          consecutiveSuccess: 0
          maximumNumberOfUsages: 0
          totalFailed: 0
          totalSuccess: 0
        policy:
          display: AT_CUSTQA
          value: AT_CUSTQA
          location: https://server.example.com:8445/scim/tenantexample/v2/Policy/Authenticator/AT_CUSTQA
        urn:hid:scim:api:idp:2.0:SecurityQuestion:
          prompts:
            - prompt:
                display: Your oldest sibling's middle name
                value: PR_SIBLING
            - prompt:
                display: Childhood nickname
                value: PR_NICK
            - prompt:
                display: Name of your first stuffed animal ?
                value: PR_ANIMAL
          promptsRequiredForCreation: '3'
    Authenticator_ACTION_POST_registerOOB_Resp:
      value:
        schemas:
          - "urn:hid:scim:api:idp:2.0:Authenticator"
        id: "11111.AT_EMPSMS"
        externalId: "user1"
        meta:
          resourceType: "Authenticator"
          created: "2018-05-21T08:19:47Z"
          location: "https://server.example.com:8445/scim/tenantexample/v2/Authenticator/11111.AT_EMPSMS"
          version: "1"
        status:
          status: "ENABLED"
          active: true
          expiryDate: "2023-05-20T08:19:47Z"
          startDate: "2018-05-21T08:19:47Z"
        owner:
          type: "User"
          display: "user1"
          value: "11111"
          \$ref: "https://server.example.com:8445/scim/tenantexample/v2/Users/11111"
        statistics:
          consecutiveFailed: "0"
          consecutiveSuccess: "0"
          maximumNumberOfUsages: "0"
          totalFailed: "0"
          totalSuccess: "0"
        policy:
          display: "AT_EMPSMS"
          value: "AT_EMPSMS"
          \$ref: "https://server.example.com:8445/scim/tenantexample/v2/Policy/Authenticator/AT_EMPSMS"
        activationCode: "password02!"
    Authenticator_SQ_POST:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:Authenticator
        owner:
          value: 11288
        policy:
          value: AT_CUSTQA
        status:
          status: ENABLED
          startDate: 2015-05-15T18:15:21+00:00
          expiryDate: 2018-05-15T18:15:21+00:00
        urn:hid:scim:api:idp:2.0:SecurityQuestion:
          prompts:
            - prompt:
                value: PR_SIBLING
              answer: sibling name
            - prompt:
                value: PR_NICK
              answer: nickname
            - prompt:
                value: PR_ANIMAL
              answer: animal name
    Authenticator_LDAP_POST:
      value:
        owner:
          display: LDAP_USER_009
        policy:
          value: AT_LDAP
        status:
          status: ENABLED
          startDate: 2015-05-15T18:15:21+00:00
          expiryDate: 2018-05-15T18:15:21+00:00
    Authenticator_Device_POST:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:Authenticator
        owner:
          value: 11288
        policy:
          value: AT_CUSTOTP
        status:
          status: ENABLED
          startDate: 2015-05-15T18:15:21+00:00
          expiryDate: 2018-05-15T18:15:21+00:00
    Authenticator_Password_POST:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:Authenticator
        owner:
          value: 11288
        policy:
          value: AT_CUSTPW
        status:
          status: ENABLED
          startDate: 2015-05-15T18:15:21+00:00
          expiryDate: 2018-05-15T18:15:21+00:00
        urn:hid:scim:api:idp:2.0:Password:
          username: user12345
          password: Zaqaawsx12
    Authenticator_ACTION_POST_registerOOBEML:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:Authenticator
        urn:hid:scim:api:idp:2.0:Action:
          action: REGISTER-OOB
          attributes:
            - name: OOB_DEVICETYPE_CODE
              value: DT_OOBEML
        activationCode: password02!
        owner:
          display: user1
          value: "11111"
        policy:
          value: AT_OOBEML
    Authenticator_ACTION_POST_registerOOBSMS:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:Authenticator
        urn:hid:scim:api:idp:2.0:Action:
          action: REGISTER-OOB
          attributes:
            - name: OOB_DEVICETYPE_CODE
              value: DT_OOBSMS
        activationCode: password02!
        owner:
          display: user1
          value: "11111"
        policy:
          value: AT_OOBSMS
    Authenticator_SQ_PUT:
      value:
        urn:hid:scim:api:idp:2.0:SecurityQuestion:
          prompts:
            - prompt:
                value: PR_SIBLING
              answer: sibling name
            - prompt:
                value: PR_NICK
              answer: nickname
            - prompt:
                value: PR_ANIMAL
              answer: animal name
    Authenticator_Password_PUT:
      value:
        urn:hid:scim:api:idp:2.0:Password:
          username: user12345
          password: Zaqaawsx12
    Authenticator_LDAP_PUT:
      value:
        statistics:
          maximumNumberOfUsages: 10
    Authenticator_Device_PUT:
      value:
        statistics:
          maximumNumberOfUsages: 10
    DeviceTypeFIDO_POST:
      value:
        copyFrom: DT_XXX
        id: DT_YYY
        name: DT new name
        notes: DT new notes
        manufacturer: HID Global
        defaultCredentialTypeCode: CT_XXX
        maximumDevicePerUser: 5
        allowedCredentialTypes: ["any"]
        urn:hid:scim:api:idp:2.0:device:type:FIDO:
          challengeLength: 20
    DeviceTypeFIDO_PUT:
      value:
        name: DT new name
        notes: DT new notes
        manufacturer: HID Global
        defaultCredentialTypeCode: CT_XXX
        maximumDevicePerUser: 5
        allowedCredentialTypes: ["any"]
        urn:hid:scim:api:idp:2.0:device:type:FIDO:
          challengeLength: 20
    DeviceTypeFIDO_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:device:Type
          - urn:hid:scim:api:idp:2.0:device:type:FIDO
        meta:
          resourceType: DeviceType
          location: https://server.example.com:8445/configuration/tenantexample/v2/Device/Type/DT_TYPE
          version: '1'
        readOnly: false
        id: DT_YYY
        name: DT new name
        notes: DT new notes
        manufacturer: HID Global
        defaultCredentialTypeCode: CT_XXX
        maximumDevicePerUser: 5
        allowedCredentialTypes: ["any"]
        urn:hid:scim:api:idp:2.0:device:type:FIDO:
          deviceFormFactor: urn:hid:scim:api:idp:2.0:device:type:FIDO:Generic
          challengeLength: 20
    DeviceTypeVirtual_POST:
      value:
        copyFrom: DT_XXX
        id: DT_YYY
        name: DT new name
        notes: DT new notes
        manufacturer: HID Global
        defaultCredentialTypeCode: CT_XXX
        maximumDevicePerUser: 5
        allowedCredentialTypes: ["any"]
    DeviceTypeVirtual_PUT:
      value:
        name: DT new name
        notes: DT new notes
        manufacturer: HID Global
        defaultCredentialTypeCode: CT_XXX
        maximumDevicePerUser: 5
        allowedCredentialTypes: ["any"]
    DeviceTypeVirtual_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:device:Type
          - urn:hid:scim:api:idp:2.0:device:type:Virtual
        meta:
          resourceType: DeviceType
          location: https://server.example.com:8445/configuration/tenantexample/v2/Device/Type/DT_TYPE
          version: '1'
        readOnly: false
        id: DT_YYY
        name: DT new name
        notes: DT new notes
        manufacturer: HID Global
        defaultCredentialTypeCode: CT_XXX
        maximumDevicePerUser: 5
        allowedCredentialTypes: ["any"]
        urn:hid:scim:api:idp:2.0:device:type:Virtual:
          deviceFormFactor: urn:hid:scim:api:idp:2.0:device:type:Virtual:JWT
    DeviceTypeEMVCard_POST:
      value:
        copyFrom: DT_XXX
        id: DT_YYY
        name: DT new name
        notes: DT new notes
        manufacturer: HID Global
        defaultCredentialTypeCode: CT_XXX
        maximumDevicePerUser: 5
        allowedCredentialTypes: ["any"]
        urn:hid:scim:api:idp:2.0:device:type:EMVCard:
          challengeLength: 20
    DeviceTypeEMVCard_PUT:
      value:
        name: DT new name
        notes: DT new notes
        manufacturer: HID Global
        defaultCredentialTypeCode: CT_XXX
        maximumDevicePerUser: 5
        allowedCredentialTypes: ["any"]
        urn:hid:scim:api:idp:2.0:device:type:EMVCard:
          challengeLength: 20
    DeviceTypeEMVCard_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:device:Type
          - urn:hid:scim:api:idp:2.0:device:type:EMVCard
        meta:
          resourceType: DeviceType
          location: https://server.example.com:8445/configuration/tenantexample/v2/Device/Type/DT_TYPE
          version: '1'
        readOnly: false
        id: DT_YYY
        name: DT new name
        notes: DT new notes
        manufacturer: HID Global
        defaultCredentialTypeCode: CT_XXX
        maximumDevicePerUser: 5
        allowedCredentialTypes: ["any"]
        urn:hid:scim:api:idp:2.0:device:type:EMVCard:
          deviceFormFactor: urn:hid:scim:api:idp:2.0:device:type:EMVCard
          challengeLength: 20
    DeviceTypeToken_POST:
      value:
        copyFrom: DT_XXX
        id: DT_YYY
        name: DT new name
        notes: DT new notes
        manufacturer: HID Global
        defaultCredentialTypeCode: CT_XXX
        maximumDevicePerUser: 5
        allowedCredentialTypes: ["any"]
        urn:hid:scim:api:idp:2.0:device:type:Token:
          challengeLength: 20
          supportedAuthenticationMethod: BOTH
          syncAuthenticationCodeLength: 10
          asyncAuthenticationCodeLength: 15
          supportsUnlock: true
          unlockChallengeLength: 20
          supportsSynch: SUPPORT_ALL
          synchronisationBase: BOTH
          autoSynchEventCounter: 20
          autoSynchStartTime: 10
          autoSynchEndTime: 20
          supportsSignatureVerification: true
          supportsSoftPin: true
          pinMinLength: 4
          pinMaxLength: 8
          pinPosition: BEFORE_OR_AFTER
          allowedCredentialNumber: 10
          defaultPin: 1234
    DeviceTypeToken_PUT:
      value:
        name: DT new name
        notes: DT new notes
        manufacturer: HID Global
        defaultCredentialTypeCode: CT_XXX
        maximumDevicePerUser: 5
        allowedCredentialTypes: ["any"]
        urn:hid:scim:api:idp:2.0:device:type:Token:
          challengeLength: 20
          supportedAuthenticationMethod: BOTH
          syncAuthenticationCodeLength: 10
          asyncAuthenticationCodeLength: 15
          supportsUnlock: true
          unlockChallengeLength: 20
          supportsSynch: SUPPORT_ALL
          synchronisationBase: BOTH
          autoSynchEventCounter: 20
          autoSynchStartTime: 10
          autoSynchEndTime: 20
          supportsSignatureVerification: true
          supportsSoftPin: true
          pinMinLength: 4
          pinMaxLength: 8
          pinPosition: BEFORE_OR_AFTER
          allowedCredentialNumber: 10
          defaultPin: 1234
    DeviceTypeToken_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:device:Type
          - urn:hid:scim:api:idp:2.0:device:type:Token
        meta:
          resourceType: DeviceType
          location: https://server.example.com:8445/configuration/tenantexample/v2/Device/Type/DT_TYPE
          version: '1'
        readOnly: false
        id: DT_YYY
        name: DT new name
        notes: DT new notes
        manufacturer: HID Global
        defaultCredentialTypeCode: CT_XXX
        maximumDevicePerUser: 5
        allowedCredentialTypes: ["any"]
        urn:hid:scim:api:idp:2.0:device:type:Token:
          deviceFormFactor: urn:hid:scim:api:idp:2.0:device:type:Token
          challengeLength: 20
          supportedAuthenticationMethod: BOTH
          syncAuthenticationCodeLength: 10
          asyncAuthenticationCodeLength: 15
          supportsUnlock: true
          unlockChallengeLength: 20
          supportsSynch: SUPPORT_ALL
          synchronisationBase: BOTH
          autoSynchEventCounter: 20
          autoSynchStartTime: 10
          autoSynchEndTime: 20
          supportsSignatureVerification: true
          supportsSoftPin: true
          pinMinLength: 4
          pinMaxLength: 8
          pinPosition: BEFORE_OR_AFTER
          allowedCredentialNumber: 10
          defaultPin: 1234
    DeviceTypeCMSCard_POST:
      value:
        copyFrom: DT_XXX
        id: DT_YYY
        name: DT new name
        notes: DT new notes
        manufacturer: HID Global
        defaultCredentialTypeCode: CT_XXX
        maximumDevicePerUser: 5
        allowedCredentialTypes: ["any"]
        urn:hid:scim:api:idp:2.0:device:type:CMSCard:
          challengeLength: 20
          supportedAuthenticationMethod: BOTH
          syncAuthenticationCodeLength: 10
          asyncAuthenticationCodeLength: 15
          supportsUnlock: true
          unlockChallengeLength: 20
          supportsSynch: SUPPORT_ALL
          synchronisationBase: BOTH
          autoSynchEventCounter: 20
          autoSynchStartTime: 10
          autoSynchEndTime: 20
          supportsSignatureVerification: true
    DeviceTypeCMSCard_PUT:
      value:
        name: DT new name
        notes: DT new notes
        manufacturer: HID Global
        defaultCredentialTypeCode: CT_XXX
        maximumDevicePerUser: 5
        allowedCredentialTypes: ["any"]
        urn:hid:scim:api:idp:2.0:device:type:CMSCard:
          challengeLength: 20
          supportedAuthenticationMethod: BOTH
          syncAuthenticationCodeLength: 10
          asyncAuthenticationCodeLength: 15
          supportsUnlock: true
          unlockChallengeLength: 20
          supportsSynch: SUPPORT_ALL
          synchronisationBase: BOTH
          autoSynchEventCounter: 20
          autoSynchStartTime: 10
          autoSynchEndTime: 20
          supportsSignatureVerification: true
    CredentialType_POST:
      value:
        copyFrom: CT_ACODE
        id: CT_ACODE2
        name: new name
        notes: new notes
    CredentialType_PUT:
      value:
        name: new name
        notes: new notes
    CredentialType_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:credential:Type
        meta:
          resourceType: Credential
          location: https://server.example.com:8445/configuration/tenantexample/v2/Credential/Type/CT_PKICR1
          version: '1'
        id: CT_PKICR1
        name: PKI  Challenge Response v1
        notes: Validates a signed challenge, i.e. response, using the public key from a PKI x509 Certificates v1
        readOnly: false
    CredentialTypeSDB_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:credential:type:SDB
          - urn:hid:scim:api:idp:2.0:credential:Type
        meta:
          resourceType: Credential
          location: https://server.example.com:8445/configuration/tenantexample/v2/Credential/Type/CT_AIAT
          version: '1'
        id: CT_AIAT
        name: AI SKI Time and Event based credential
        notes: ActivID SKI Time and Event based (AT) credential
        readOnly: false
        urn:hid:scim:api:idp:2.0:credential:type:SDB:
          serviceName: PASSWORD
          algo: ai
          timeWindow:
            timeStep: 128
            smallWindowTimeStart: -3
            smallWindowTimeEnd: 2
            largeWindowTimeStart: -5
            largeWindowTimeEnd: 4
          eventWindow:
            smallWindowEventEnd: 2
            largeWindowEventEnd: 10
            eventCounterManualUpdateAllowedDiff: 1
    CredentialTypeSDB_POST:
      value:
        copyFrom: CT_AIAT
        id: CT_AIAT2
        name: new name
        notes: new notes
        urn:hid:scim:api:idp:2.0:credential:type:SDB:
          serviceName: PASSWORD
          algo: ai
          timeWindow:
            timeStep: 128
            smallWindowTimeStart: -3
            smallWindowTimeEnd: 2
            largeWindowTimeStart: -5
            largeWindowTimeEnd: 4
          eventWindow:
            smallWindowEventEnd: 2
            largeWindowEventEnd: 10
            eventCounterManualUpdateAllowedDiff: 1
    CredentialTypeSDB_PUT:
      value:
        name: new name
        notes: new notes
        urn:hid:scim:api:idp:2.0:credential:type:SDB:
          serviceName: PASSWORD
          algo: ai
          timeWindow:
            timeStep: 128
            smallWindowTimeStart: -3
            smallWindowTimeEnd: 2
            largeWindowTimeStart: -5
            largeWindowTimeEnd: 4
          eventWindow:
            smallWindowEventEnd: 2
            largeWindowEventEnd: 10
            eventCounterManualUpdateAllowedDiff: 1
    CredentialTypePushOATH_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:credential:type:PushOATH
          - urn:hid:scim:api:idp:2.0:credential:Type
        meta:
          resourceType: Credential
          location: https://server.example.com:8445/configuration/tenantexample/v2/Credential/Type/CT_PUSHOATH
          version: '1'
        id: CT_PUSHOATH
        name: Name for CT_PUSHOATH
        notes: Note for CT_PUSHOATH
        readOnly: false
        urn:hid:scim:api:idp:2.0:credential:type:PushOATH:
          keyValidityPeriod: 1825
          keyLabel: OATH_OCRA
          keyUsage: otp
          algo: hotp
          hotp:
            otpLen: 8
            validityWindow: 30
            smallWindowCounterEventEnd: 2
            largeWindowCounterEventEnd: 10
            eventCounterManualUpdateAllowedDiff: 1 
          totp:
            otpLen: 8
            timestep: 30
            validityWindow: 20
            smallWindowTimeStart: -3
            smallWindowTimeEnd: 3
            largeWindowTimeTimeStart: -5
            largeWindowTimeTimeEnd: 4
          ocra:
            ocraSuite: OCRA-1:HOTP-SHA1-8:QN08-T30S
            eventCounterResynchronizationWindowOverride: 30
            timeResynchronizationWindowOverride: 20
            eventCounterManualUpdateAllowedDiff: 1
            modes: [ "CHALLENGE_RESPONSE", "SIGNATURE" ]
    CredentialTypePushOATH_POST:
      value:
        copyFrom: CT_PUSHOATH
        id: CT_PUSHOATH2
        name: Name for CT_PUSHOATH2
        notes: Note for CT_PUSHOATH2
        urn:hid:scim:api:idp:2.0:credential:type:PushOATH:
          keyValidityPeriod: 1825
          keyLabel: OATH_OCRA
          keyUsage: otp
          algo: hotp
          hotp:
            otpLen: 8
            validityWindow: 30
            smallWindowCounterEventEnd: 2
            largeWindowCounterEventEnd: 10
            eventCounterManualUpdateAllowedDiff: 1 
          totp:
            otpLen: 8
            timestep: 30
            validityWindow: 20
            smallWindowTimeStart: -3
            smallWindowTimeEnd: 3
            largeWindowTimeTimeStart: -5
            largeWindowTimeTimeEnd: 4
          ocra:
            ocraSuite: OCRA-1:HOTP-SHA1-8:QN08-T30S
            eventCounterResynchronizationWindowOverride: 30
            timeResynchronizationWindowOverride: 20
            eventCounterManualUpdateAllowedDiff: 1
            modes: [ "CHALLENGE_RESPONSE", "SIGNATURE" ]
    CredentialTypePushOATH_PUT:
      value:
        name: Name for CT_PUSHOATH2
        notes: Note for CT_PUSHOATH2
        urn:hid:scim:api:idp:2.0:credential:type:PushOATH:
          keyValidityPeriod: 1825
          keyLabel: OATH_OCRA
          keyUsage: otp
          algo: hotp
          hotp:
            otpLen: 8
            validityWindow: 30
            smallWindowCounterEventEnd: 2
            largeWindowCounterEventEnd: 10
            eventCounterManualUpdateAllowedDiff: 1 
          totp:
            otpLen: 8
            timestep: 30
            validityWindow: 20
            smallWindowTimeStart: -3
            smallWindowTimeEnd: 3
            largeWindowTimeTimeStart: -5
            largeWindowTimeTimeEnd: 4
          ocra:
            ocraSuite: OCRA-1:HOTP-SHA1-8:QN08-T30S
            eventCounterResynchronizationWindowOverride: 30
            timeResynchronizationWindowOverride: 20
            eventCounterManualUpdateAllowedDiff: 1
            modes: [ "SIGNATURE" ]
    CredentialTypeOOB_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:credential:type:OOB
          - urn:hid:scim:api:idp:2.0:credential:Type
        meta:
          resourceType: Credential
          location: https://server.example.com:8445/configuration/tenantexample/v2/Credential/Type/CT_OOB
          version: '1'
        id: CT_OOB
        name: Name for CT_OOB
        notes: Note for CT_OOB
        readOnly: false
        urn:hid:scim:api:idp:2.0:credential:type:OOB:
          validityPeriod: 1200
          otpFormat: Digit
          otpLen: 8
          requestsThreshold: 3
    CredentialTypeOOB_POST:
      value:
        copyFrom: CT_OOB
        id: CT_OOB2
        name: Name for CT_OOB2
        notes: Note for CT_OOB2
        urn:hid:scim:api:idp:2.0:credential:type:OOB:
          validityPeriod: 1200
          otpFormat: Digit
          otpLen: 8
          requestsThreshold: 3
    CredentialTypeOOB_PUT:
      value:
        name: Name for CT_OOB
        notes: Note for CT_OOB
        urn:hid:scim:api:idp:2.0:credential:type:OOB:
          validityPeriod: 1200
          otpFormat: Digit
          otpLen: 8
          requestsThreshold: 3
    CredentialTypePushOOB_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:credential:type:PushOOB
          - urn:hid:scim:api:idp:2.0:credential:Type
        meta:
          resourceType: Credential
          location: https://server.example.com:8445/configuration/tenantexample/v2/Credential/Type/CT_PUSHOOB
          version: '1'
        id: CT_PUSHOOB
        name: Name for CT_PUSHOOB
        notes: Note for CT_PUSHOOB
        readOnly: false
        urn:hid:scim:api:idp:2.0:credential:type:PushOOB: 
          validityPeriod: 1200 
          otpFormat: Digit  
          otpLen: 8
    CredentialTypePushOOB_POST:
      value:
        copyFrom: CT_PUSHOOB
        id: CT_PUSHOOB2
        name: Name for CT_PUSHOOB2
        notes: Note for CT_PUSHOOB2
        urn:hid:scim:api:idp:2.0:credential:type:PushOOB: 
          validityPeriod: 1200 
          otpFormat: Digit  
          otpLen: 8
    CredentialTypePushOOB_PUT:
      value:
        name: Name for CT_PUSHOOB
        notes: Note for CT_PUSHOOB
        urn:hid:scim:api:idp:2.0:credential:type:PushOOB: 
          validityPeriod: 1200 
          otpFormat: Digit  
          otpLen: 8
    CredentialTypePushSMK_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:credential:type:PushSMK
          - urn:hid:scim:api:idp:2.0:credential:Type
        meta:
          resourceType: Credential
          location: https://server.example.com:8445/configuration/tenantexample/v2/Credential/Type/CT_SMKV4
          version: '1'
        id: CT_SMKV4
        name: Name for CT_SMKV4
        notes: Note for CT_SMKV4
        readOnly: false
        urn:hid:scim:api:idp:2.0:credential:type:PushSMK:
          keyValidityPeriod: 1825 
          keyLabel: sessionkey
    CredentialTypePushSMK_POST:
      value:
        copyFrom: CT_SMKV4
        id: CT_SMKV4_2
        name: Name for CT_SMKV4_2
        notes: Note for CT_SMKV4_2
        readOnly: false
        urn:hid:scim:api:idp:2.0:credential:type:PushSMK:
          keyValidityPeriod: 1825 
          keyLabel: sessionkey
    CredentialTypePushSMK_PUT:
      value:
        name: Name for CT_SMKV4_2
        notes: Note for CT_SMKV4_2
        readOnly: false
        urn:hid:scim:api:idp:2.0:credential:type:PushSMK:
          keyValidityPeriod: 1825 
          keyLabel: sessionkey
    CredentialTypePushPKI_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:credential:type:PushPKI
          - urn:hid:scim:api:idp:2.0:credential:Type
        meta:
          resourceType: Credential
          location: https://server.example.com:8445/configuration/tenantexample/v2/Credential/Type/CT_PUSHPKI
          version: '1'
        id: CT_PUSHPKI
        name: Name for CT_PUSHPKI
        notes: Note for CT_PUSHPKI
        readOnly: false
        urn:hid:scim:api:idp:2.0:credential:type:PushPKI:
          otpLen: 8
          approvalStatus: accept|deny|report
          keyValidityPeriod: 1825
          keyLabel: pushkey
          keyUsage: signature
    CredentialTypePushPKI_POST:
      value:
        copyFrom: CT_PUSHPKI
        id: CT_PUSHPKI2
        name: Name for CT_PUSHPKI2
        notes: Note for CT_PUSHPKI2
        urn:hid:scim:api:idp:2.0:credential:type:PushPKI:
          otpLen: 8
          approvalStatus: accept|deny|report
          keyValidityPeriod: 1825
          keyLabel: pushkey
          keyUsage: signature
    CredentialTypePushPKI_PUT:
      value:
        name: Name for CT_PUSHPKI2
        notes: Note for CT_PUSHPKI2
        urn:hid:scim:api:idp:2.0:credential:type:PushPKI:
          otpLen: 8
          approvalStatus: accept|deny|report
          keyValidityPeriod: 1825
          keyLabel: pushkey
          keyUsage: signature
    CredentialTypeOATH_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:credential:type:OATH
          - urn:hid:scim:api:idp:2.0:credential:Type
        meta:
          resourceType: Credential
          location: https://server.example.com:8445/configuration/tenantexample/v2/Credential/Type/CT_SEOS_OTP
          version: '1'
        id: CT_SEOS_OTP
        name: HID SEOS OATH Event based credential
        notes: HID SEOS OATH Event based credential
        readOnly: false
        urn:hid:scim:api:idp:2.0:credential:type:OATH:
          serviceName: PASSWORD
          algo: hotp|totp|ocra
          totp:
            timeStep: 128
            smallWindowTimeStart: -3
            smallWindowTimeEnd: 2
            largeWindowTimeStart: -5
            largeWindowTimeEnd: 4
          hotp:
            smallWindowEventEnd: 2
            largeWindowEventEnd: 10
            eventCounterManualUpdateAllowedDiff: 1
          ocra:
            eventCounterResynchronizationWindowOverride: 30
            timeResynchronizationWindowOverride: 20
            ocraSuiteCounterCROverride: OCRA-1:HOTP-SHA1-8:C-QA06
            ocraSuiteTimestampCROverride: OCRA-1:HOTP-SHA1-8:QA06-T30S
            ocraSuiteCounterSignOverride: OCRA-1:HOTP-SHA1-8:C-QA06
    CredentialTypeOATH_POST:
      value:
        copyFrom: CT_SEOS_OTP
        id: CT_SEOS2
        name: new name
        notes: new notes
        urn:hid:scim:api:idp:2.0:credential:type:OATH:
          serviceName: PASSWORD
          algo: hotp|totp|ocra
          totp:
            timeStep: 128
            smallWindowTimeStart: -3
            smallWindowTimeEnd: 2
            largeWindowTimeStart: -5
            largeWindowTimeEnd: 4
          hotp:
            smallWindowEventEnd: 2
            largeWindowEventEnd: 10
            eventCounterManualUpdateAllowedDiff: 1
          ocra:
            eventCounterResynchronizationWindowOverride: 30
            timeResynchronizationWindowOverride: 20
            ocraSuiteCounterCROverride: OCRA-1:HOTP-SHA1-8:C-QA06
            ocraSuiteTimestampCROverride: OCRA-1:HOTP-SHA1-8:QA06-T30S
            ocraSuiteCounterSignOverride: OCRA-1:HOTP-SHA1-8:C-QA06
    CredentialTypeOATH_PUT:
      value:
        name: new name
        notes: new notes
        urn:hid:scim:api:idp:2.0:credential:type:OATH:
          serviceName: PASSWORD
          algo: hotp|totp|ocra
          totp:
            timeStep: 128
            smallWindowTimeStart: -3
            smallWindowTimeEnd: 2
            largeWindowTimeStart: -5
            largeWindowTimeEnd: 4
          hotp:
            smallWindowEventEnd: 2
            largeWindowEventEnd: 10
            eventCounterManualUpdateAllowedDiff: 1
          ocra:
            eventCounterResynchronizationWindowOverride: 30
            timeResynchronizationWindowOverride: 20
            ocraSuiteCounterCROverride: OCRA-1:HOTP-SHA1-8:C-QA06
            ocraSuiteTimestampCROverride: OCRA-1:HOTP-SHA1-8:QA06-T30S
            ocraSuiteCounterSignOverride: OCRA-1:HOTP-SHA1-8:C-QA06
    CredentialTypePKICERT_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:credential:type:PKICERT
          - urn:hid:scim:api:idp:2.0:credential:Type
        meta:
          resourceType: Credential
          location: https://server.example.com:8445/configuration/tenantexample/v2/Credential/Type/CT_PKICERT
          version: '1'
        id: CT_PKICERT
        name: Name for CT_PKICERT
        notes: Note for CT_PKICERT
        readOnly: false
        urn:hid:scim:api:idp:2.0:credential:type:PKICERT: 
          authenticationMode : asynch
          signingCipher: SHA256WithRSA
          signingAlgorithm : RSA
    CredentialTypePKICERT_POST:
      value:
        copyFrom: CT_PKICERT
        id: CT_PKICERT2
        name: Name for CT_PKICERT2
        notes: Note for CT_PKICERT2
        urn:hid:scim:api:idp:2.0:credential:type:PKICERT: 
          authenticationMode : asynch
          signingCipher: SHA256WithRSA
          signingAlgorithm : RSA
    CredentialTypePKICERT_PUT:
      value:
        name: Name for CT_PKICERT
        notes: Note for CT_PKICERT
        urn:hid:scim:api:idp:2.0:credential:type:PKICERT: 
          authenticationMode : asynch
          signingCipher: SHA256WithRSA
          signingAlgorithm : RSA
    CredentialTypeFIDO_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:credential:type:FIDO
          - urn:hid:scim:api:idp:2.0:credential:Type
        meta:
          resourceType: Credential
          location: https://server.example.com:8445/configuration/tenantexample/v2/Credential/Type/CT_FIDO
          version: '1'
        id: CT_FIDO
        name: Name for CT_FIDO
        notes: Note for CT_FIDO
        readOnly: false
        urn:hid:scim:api:idp:2.0:credential:type:FIDO: 
          allowedAlgorithms : SHA256withECDSA
    CredentialTypeFIDO_POST:
      value:
        copyFrom: CT_FIDO
        id: CT_FIDO2
        name: Name for CT_FIDO2
        notes: Note for CT_FIDO2
        urn:hid:scim:api:idp:2.0:credential:type:FIDO: 
          allowedAlgorithms : SHA256withECDSA
    CredentialTypeFIDO_PUT:
      value:
        name: Name for CT_FIDO
        notes: Note for CT_FIDO
        urn:hid:scim:api:idp:2.0:credential:type:FIDO: 
          allowedAlgorithms : SHA256withECDSA
    CredentialTypeOOBACode_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:credential:type:OOBACode
          - urn:hid:scim:api:idp:2.0:credential:Type
        meta:
          resourceType: Credential
          location: https://server.example.com:8445/configuration/tenantexample/v2/Credential/Type/CT_OOBACode
          version: '1'
        id: CT_OOBACODE
        name: Name for CT_OOBACODE
        notes: Note for CT_OOBACODE
        readOnly: false
        urn:hid:scim:api:idp:2.0:credential:type:OOBACode: 
          validityPeriod: 1200 
          oobCredentialType: CT_OOB  
          pinCodeLen: 4
          expiryThreshold : 3
    CredentialTypeOOBACode_POST:
      value:
        copyFrom: CT_OOBACode
        id: CT_OOBACode2
        name: Name for CT_OOBACode2
        notes: Note for CT_OOBACode2
        urn:hid:scim:api:idp:2.0:credential:type:PushOOBACode: 
          validityPeriod: 1200 
          oobCredentialType: CT_OOB  
          pinCodeLen: 4
          expiryThreshold : 3
    CredentialTypeOOBACode_PUT:
      value:
        name: Name for CT_OOBACode
        notes: Note for CT_OOBACode
        urn:hid:scim:api:idp:2.0:credential:type:PushOOBACode: 
          validityPeriod: 1200 
          oobCredentialType: CT_OOB  
          pinCodeLen: 4
          expiryThreshold : 3
    CustomizationFlowPush_POST:
      value:
        schemas: ["urn:hid:scim:api:idp:2.0:Customization"]
        id: ID_FLOWPUSH
        payload: {"accessCriteria":[{"accessCriteriaId":"access_criteria.common_to_all","authenticators":{"firstFactorsFiltering":true,"secondFactorsFiltering":true,"acrFiltering":true},"factorsExclusion":[],"groupIds":{"criteriaType":"logic_pattern"},"securityGroupIds":{"criteriaType":"logic_pattern"},"roleIds":{"criteriaType":"logic_pattern"}}],"actions":[{"actionId":"action.change_password","accessCriteriaId":"access_criteria.common_to_all","type":"CHANGE_PWD","retry":3},{"actionId":"action.forgot_password","accessCriteriaId":"access_criteria.common_to_all","type":"FORGOT_PWD","validityPeriod":900,"retry":3,"resetPasswordMethods":{"email":{"template":"MESSAGE=The temporary password is:{$secret}.\rMESSAGE_fr=Le mot de passe temporaire est:{$secret}.\rSUBJECT=Demo PUSH","templateHtml":false},"sms":{"template":"MESSAGE=The temporary password is:{$secret}.\rMESSAGE_fr=Le mot de passe temporaire est:{$secret}.\rSUBJECT=Demo PUSH"}}}],"firstFactors":[{"factorId":"factor.user_password","accessCriteriaId":"access_criteria.common_to_all","type":"LOGIN","code":"AT_EMPPWD","acr":"1","stepUp":"automatic","retry":3,"actions":["action.change_password","action.forgot_password"]},{"factorId":"factor.otp_token","accessCriteriaId":"access_criteria.common_to_all","type":"OTP","code":"AT_EMPOTP","acr":"2","stepUp":"automatic","retry":1},{"factorId":"factor.qrcode","accessCriteriaId":"access_criteria.common_to_all","type":"QRCODE","code":"AT_PASA","acr":"3","stepUp":"notRequired","retry":3,"deviceType":"DT_TDSV4","pollTimeout":120,"forceDisplay":true,"cal":"accept|deny","tds":"You are authenticating via HID authentication portal"}],"secondFactors":[{"factorId":"factor.push_authentication","accessCriteriaId":"access_criteria.common_to_all","type":"PUSH","code":"AT_PASA","acr":"3","retry":3,"allowUserDeviceSelection":true},{"factorId":"factor.otp_token.2fa","accessCriteriaId":"access_criteria.common_to_all","type":"OTP","code":"AT_EMPOTP","acr":"2","retry":1,"upon":["factor.user_password"]},{"factorId":"factor.cust_pin","accessCriteriaId":"access_criteria.common_to_all","type":"LOGIN","code":"AT_EMPPIN","acr":"1","retry":1,"upon":["factor.user_password"]}]}
    CustomizationFlowOOB_POST:
      value:
        schemas: ["urn:hid:scim:api:idp:2.0:Customization"]
        id: ID_FLOWOOB
        payload: {"accessCriteria":[{"accessCriteriaId":"access_criteria.common_to_all","authenticators":{"firstFactorsFiltering":true,"secondFactorsFiltering":true,"acrFiltering":false}}],"firstFactors":[{"factorId":"factor.oob_user_accode","accessCriteriaId":"access_criteria.common_to_all","type":"CODE","code":"AT_EMPOOB","retry":3,"stepUp":"required","oobMethods":{"email":{"template":"MESSAGE=Please use the OTP below to complete the authentication process:{$secret}.\rMESSAGE_fr=Veuillez utiliser l''OTP ci-dessous pour terminer le processus d''authentification:{$secret}.\rSUBJECT=Demo OOB OTP","templateHtml":false},"sms":{"template":"MESSAGE=Please use the OTP below to complete the authentication process:{$secret}.\rMESSAGE_fr=Veuillez utiliser l''OTP ci-dessous pour terminer le processus d''authentification:{$secret}.\rSUBJECT=Demo OOB OTP"}}}],"secondFactors":[{"factorId":"factor.otp_user_accode","accessCriteriaId":"access_criteria.common_to_all","type":"OTP","code":"AT_EMPOOB","retry":3,"upon":["factor.oob_user_accode"]}]}
    CustomizationFlowPush_GET:
      value:
        schemas: ["urn:hid:scim:api:idp:2.0:Customization"]
        meta:
          resourceType: Customization
          created: 2022-05-05T12:38:13Z
          location: https://server.example.com:8445/configuration/tenantexample/v2/Custo/IDPWorkflows/ID_FLOWPUSH
          version: '1'
        id: ID_FLOWPUSH
        payload: {"accessCriteria":[{"accessCriteriaId":"access_criteria.common_to_all","authenticators":{"firstFactorsFiltering":true,"secondFactorsFiltering":true,"acrFiltering":true},"factorsExclusion":[],"groupIds":{"criteriaType":"logic_pattern"},"securityGroupIds":{"criteriaType":"logic_pattern"},"roleIds":{"criteriaType":"logic_pattern"}}],"actions":[{"actionId":"action.change_password","accessCriteriaId":"access_criteria.common_to_all","type":"CHANGE_PWD","retry":3},{"actionId":"action.forgot_password","accessCriteriaId":"access_criteria.common_to_all","type":"FORGOT_PWD","validityPeriod":900,"retry":3,"resetPasswordMethods":{"email":{"template":"MESSAGE=The temporary password is:{$secret}.\rMESSAGE_fr=Le mot de passe temporaire est:{$secret}.\rSUBJECT=Demo PUSH","templateHtml":false},"sms":{"template":"MESSAGE=The temporary password is:{$secret}.\rMESSAGE_fr=Le mot de passe temporaire est:{$secret}.\rSUBJECT=Demo PUSH"}}}],"firstFactors":[{"factorId":"factor.user_password","accessCriteriaId":"access_criteria.common_to_all","type":"LOGIN","code":"AT_EMPPWD","acr":"1","stepUp":"automatic","retry":3,"actions":["action.change_password","action.forgot_password"]},{"factorId":"factor.otp_token","accessCriteriaId":"access_criteria.common_to_all","type":"OTP","code":"AT_EMPOTP","acr":"2","stepUp":"automatic","retry":1},{"factorId":"factor.qrcode","accessCriteriaId":"access_criteria.common_to_all","type":"QRCODE","code":"AT_PASA","acr":"3","stepUp":"notRequired","retry":3,"deviceType":"DT_TDSV4","pollTimeout":120,"forceDisplay":true,"cal":"accept|deny","tds":"You are authenticating via HID authentication portal"}],"secondFactors":[{"factorId":"factor.push_authentication","accessCriteriaId":"access_criteria.common_to_all","type":"PUSH","code":"AT_PASA","acr":"3","retry":3,"allowUserDeviceSelection":true},{"factorId":"factor.otp_token.2fa","accessCriteriaId":"access_criteria.common_to_all","type":"OTP","code":"AT_EMPOTP","acr":"2","retry":1,"upon":["factor.user_password"]},{"factorId":"factor.cust_pin","accessCriteriaId":"access_criteria.common_to_all","type":"LOGIN","code":"AT_EMPPIN","acr":"1","retry":1,"upon":["factor.user_password"]}]}
    CustomizationFlowOOB_GET:
      value:
        schemas: ["urn:hid:scim:api:idp:2.0:Customization"]
        meta:
          resourceType: Customization
          created: 2022-05-05T12:38:13Z
          location: https://server.example.com:8445/configuration/tenantexample/v2/Custo/IDPWorkflows/ID_FLOWOOB
          version: '1'
        id: ID_FLOWOOB
        payload: {"accessCriteria":[{"accessCriteriaId":"access_criteria.common_to_all","authenticators":{"firstFactorsFiltering":true,"secondFactorsFiltering":true,"acrFiltering":false}}],"firstFactors":[{"factorId":"factor.oob_user_accode","accessCriteriaId":"access_criteria.common_to_all","type":"CODE","code":"AT_EMPOOB","retry":3,"stepUp":"required","oobMethods":{"email":{"template":"MESSAGE=Please use the OTP below to complete the authentication process:{$secret}.\rMESSAGE_fr=Veuillez utiliser l''OTP ci-dessous pour terminer le processus d''authentification:{$secret}.\rSUBJECT=Demo OOB OTP","templateHtml":false},"sms":{"template":"MESSAGE=Please use the OTP below to complete the authentication process:{$secret}.\rMESSAGE_fr=Veuillez utiliser l''OTP ci-dessous pour terminer le processus d''authentification:{$secret}.\rSUBJECT=Demo OOB OTP"}}}],"secondFactors":[{"factorId":"factor.otp_user_accode","accessCriteriaId":"access_criteria.common_to_all","type":"OTP","code":"AT_EMPOOB","retry":3,"upon":["factor.oob_user_accode"]}]}
    Device_ACTION_POST_resynchPINUnlock:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:Action
        urn:hid:scim:api:idp:2.0:Action:
          action: PIN-UNLOCK
          attributes:
            - name: CHALLENGE
              value: 20571256
    Device_ACTION_POST_automaticCounterResynch:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:Action
        urn:hid:scim:api:idp:2.0:Action:
          action: AUTO-SYNCH
          attributes:
              - name: OTP
                value: 20571257
    Device_ACTION_POST_manualCounter:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:Action
        urn:hid:scim:api:idp:2.0:Action:
          action: SYNCH-COUNTER
          attributes:
              - name: COUNTER
                value: 776083399
    DeviceTypeCMSCard_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:device:Type
          - urn:hid:scim:api:idp:2.0:device:type:CMSCard
        meta:
          resourceType: DeviceType
          location: https://server.example.com:8445/configuration/tenantexample/v2/Device/Type/DT_TYPE
          version: '1'
        readOnly: false
        id: DT_YYY
        name: DT new name
        notes: DT new notes
        manufacturer: HID Global
        defaultCredentialTypeCode: CT_XXX
        maximumDevicePerUser: 5
        allowedCredentialTypes: ["any"]
        urn:hid:scim:api:idp:2.0:device:type:CMSCard:
          deviceFormFactor: urn:hid:scim:api:idp:2.0:device:type:CMSCard
          challengeLength: 20
          supportedAuthenticationMethod: BOTH
          syncAuthenticationCodeLength: 10
          asyncAuthenticationCodeLength: 15
          supportsUnlock: true
          unlockChallengeLength: 20
          supportsSynch: SUPPORT_ALL
          synchronisationBase: BOTH
          autoSynchEventCounter: 20
          autoSynchStartTime: 10
          autoSynchEndTime: 20
          supportsSignatureVerification: true
    DeviceTypePush_POST:
      value:
        copyFrom: DT_XXX
        id: DT_YYY
        name: DT new name
        notes: DT new notes
        manufacturer: HID Global
        defaultCredentialTypeCode: CT_XXX
        maximumDevicePerUser: 5
        allowedCredentialTypes: ["any"]
        urn:hid:scim:api:idp:2.0:device:type:Push:
          challengeLength: 20
          supportedAuthenticationMethod: BOTH
          syncAuthenticationCodeLength: 10
          asyncAuthenticationCodeLength: 15
          serverTLSCertificate: Certificate pem base64
          provisioningProtocol:
            version: v5
            kdfLen: 10
            kdfCharset: ALPHA
            opMode: default
            pushNotif: true
          containerProfile:
            - keyType: SMK having on key SMK is mandatory
              keyId: KEY1
              credId: CT_XXX
              authPolicyCode: AT_XXX
              channelCode: CH_XXX
            - keyType: OTP
              keyId: KEY2
              credId: CT_YYY
              authPolicyCode: AT_YYY
              channelCode: CH_YYY
          custoFile: filename or fileAsBase64
          policyRule: rules json for HID Approve, opaque for AS
          keysProtectionPolicy:
            type: passworddevice
            lockPolicy:
              type: delay
              initialDelay: 2
              maxCounterValue: 6
            passwordPolicy:
              minLength: 6
              maxLength: 64
              restriction:
                minUpperCase: 1
                minLowerCase: 1
                minNumeric: 1
                minAlpha: 1
                minNonAlpha: 1
                maxUpperCase: 64
                maxLowerCase: 64
                maxNumeric: 64
                maxAlpha: 64
                maxNonAlpha: 64
                sequence: deny
              historyPolicy:
                maxHistory: 1
                minAge: 1
                maxAge: 180
            cachingPolicy:
              enabled: true
              timeout: 30
          appid: HIDApprove
          transactionHistory: none
    DeviceTypePush_PUT:
      value:
        name: DT new name
        notes: DT new notes
        manufacturer: HID Global
        defaultCredentialTypeCode: CT_XXX
        maximumDevicePerUser: 5
        allowedCredentialTypes: ["any"]
        urn:hid:scim:api:idp:2.0:device:type:Push:
          challengeLength: 20
          supportedAuthenticationMethod: BOTH
          syncAuthenticationCodeLength: 10
          asyncAuthenticationCodeLength: 15
          serverTLSCertificate: Certificate pem base64
          provisioningProtocol:
            version: v5
            kdfLen: 10
            kdfCharset: ALPHA
            opMode: default
            pushNotif: true
          containerProfile:
            - keyType: SMK having on key SMK is mandatory
              keyId: KEY1
              credId: CT_XXX
              authPolicyCode: AT_XXX
              channelCode: CH_XXX
            - keyType: OTP
              keyId: KEY2
              credId: CT_YYY
              authPolicyCode: AT_YYY
              channelCode: CH_YYY
          custoFile: filename or fileAsBase64
          policyRule: rules json for HID Approve, opaque for AS
          keysProtectionPolicy:
            type: passworddevice
            lockPolicy:
              type: delay
              initialDelay: 2
              maxCounterValue: 6
            passwordPolicy:
              minLength: 6
              maxLength: 64
              restriction:
                minUpperCase: 1
                minLowerCase: 1
                minNumeric: 1
                minAlpha: 1
                minNonAlpha: 1
                maxUpperCase: 64
                maxLowerCase: 64
                maxNumeric: 64
                maxAlpha: 64
                maxNonAlpha: 64
                sequence: deny
              historyPolicy:
                maxHistory: 1
                minAge: 1
                maxAge: 180
            cachingPolicy:
              enabled: true
              timeout: 30
          appid: HIDApprove
          transactionHistory: none
    DeviceTypePush_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:device:Type
          - urn:hid:scim:api:idp:2.0:device:type:Push
        meta:
          resourceType: DeviceType
          location: https://server.example.com:8445/configuration/tenantexample/v2/Device/Type/DT_TYPE
          version: '1'
        readOnly: false
        id: DT_YYY
        name: DT new name
        notes: DT new notes
        manufacturer: HID Global
        defaultCredentialTypeCode: CT_XXX
        maximumDevicePerUser: 5
        allowedCredentialTypes: ["any"]
        urn:hid:scim:api:idp:2.0:device:type:Push:
          deviceFormFactor: urn:hid:scim:api:idp:2.0:device:type:Push
          challengeLength: 20
          supportedAuthenticationMethod: BOTH
          syncAuthenticationCodeLength: 10
          asyncAuthenticationCodeLength: 15
          serverTLSCertificate: Certificate pem base64
          provisioningProtocol:
            version: v5
            kdfLen: 10
            kdfCharset: ALPHA
            opMode: default
            pushNotif: true
          containerProfile:
            - keyType: SMK having on key SMK is mandatory
              keyId: KEY1
              credId: CT_XXX
              authPolicyCode: AT_XXX
              channelCode: CH_XXX
            - keyType: OTP
              keyId: KEY2
              credId: CT_YYY
              authPolicyCode: AT_YYY
              channelCode: CH_YYY
          custoFile: filename or fileAsBase64
          policyRule: rules json for HID Approve, opaque for AS
          keysProtectionPolicy:
            type: passworddevice
            lockPolicy:
              type: delay
              initialDelay: 2
              maxCounterValue: 6
            passwordPolicy:
              minLength: 6
              maxLength: 64
              restriction:
                minUpperCase: 1
                minLowerCase: 1
                minNumeric: 1
                minAlpha: 1
                minNonAlpha: 1
                maxUpperCase: 64
                maxLowerCase: 64
                maxNumeric: 64
                maxAlpha: 64
                maxNonAlpha: 64
                sequence: deny
              historyPolicy:
                maxHistory: 1
                minAge: 1
                maxAge: 180
            cachingPolicy:
              enabled: true
              timeout: 30
          appid: HIDApprove
          transactionHistory: none
    AuthenticatorPolicyPassword_POST_V6:
      value:
        copyFrom: AT_XXX
        id: AT_YYY
        name: AT new name
        notes: AT new notes
        defaultValidDaysAdd: 1825
        defaultValidDaysEdit: 1825
        disableThreshold: 5
        defaultExpiryThreshold: -1
        sessionTimeout: 300000
        sessionValidPeriod: 3600000
        levelOfAssurance: '1'
        urn:hid:scim:api:idp:2.0:policy:authenticator:Password:
          allowExpiredReset: 1
          passwordPolicy:
            characterRange: NUM_AND_ALPHA
            minLength: 8
            maxLength: 100
            minDiffChars: 5
            atLeastOneNum: true
            atLeastOneLow: true
            atLeastOneUp: true
            atLeastOneSpecial: true
            notBlackListed: true
            notSequence: true
            notOldPassword: true
            notUserAttribute: true
            caseInsensitive: false
          usernamePolicy:
            characterRange: NUM_AND_ALPHA
            minLength: 8
            maxLength: 100
            minDiffChars: 5
    AuthenticatorPolicyCredentials_POST_V6:
      value:
        copyFrom: AT_XXX
        id: AT_YYY
        name: AT new name
        notes: AT new notes
    AuthenticatorPolicyCredentials_PUT_V6:
      value:
        name: AT new name
        notes: AT new notes
    AuthenticatorPolicySQ_POST_V6:
      value:
        copyFrom: AT_XXX
        id: AT_YYY
        name: AT new name
        notes: AT new notes
    AuthenticatorPolicySQ_PUT_V6:
      value:
        name: AT new name
        notes: AT new notes
    AuthenticatorPolicyPassword_PUT_V6:
      value:
        name: AT new name
        notes: AT new notes
        defaultValidDaysAdd: 1825
        defaultValidDaysEdit: 1825
        disableThreshold: 5
        defaultExpiryThreshold: -1
        sessionTimeout: 300000
        sessionValidPeriod: 3600000
        levelOfAssurance: '1'
        disabledTimeReset: 900
        urn:hid:scim:api:idp:2.0:policy:authenticator:Password:
          allowExpiredReset: 1
          passwordPolicy:
            characterRange: NUM_AND_ALPHA
            minLength: 8
            maxLength: 100
            minDiffChars: 5
            atLeastOneNum: true
            atLeastOneLow: true
            atLeastOneUp: true
            atLeastOneSpecial: true
            notBlackListed: true
            notSequence: true
            notOldPassword: true
            notUserAttribute: true
            caseInsensitive: false
          usernamePolicy:
            characterRange: NUM_AND_ALPHA
            minLength: 8
            maxLength: 100
            minDiffChars: 5
    AuthenticatorPolicyPassword_GET_V6:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:policy:Authenticator
          - urn:hid:scim:api:idp:2.0:policy:authenticator:Password
        meta:
          resourceType: AuthenticatorPolicy
          location: https://server.example.com:8445/configuration/tenantexample/v2/Policy/Authenticator/AT_XXX
          version: '1'
        readOnly: false
        id: AT_YYY
        name: AT new name
        notes: AT new notes
        defaultValidDaysAdd: 1825
        defaultValidDaysEdit: 1825
        disableThreshold: 5
        defaultExpiryThreshold: -1
        sessionTimeout: 300000
        sessionValidPeriod: 3600000
        levelOfAssurance: '1'
        disabledTimeReset: 900
        urn:hid:scim:api:idp:2.0:policy:authenticator:Password:
          allowExpiredReset: 1
          passwordPolicy:
            characterRange: NUM_AND_ALPHA
            minLength: 8
            maxLength: 100
            minDiffChars: 5
            atLeastOneNum: true
            atLeastOneLow: true
            atLeastOneUp: true
            atLeastOneSpecial: true
            notBlackListed: true
            notSequence: true
            notOldPassword: true
            notUserAttribute: true
            caseInsensitive: false
          usernamePolicy:
            characterRange: NUM_AND_ALPHA
            minLength: 8
            maxLength: 100
            minDiffChars: 5
    AuthenticatorPolicyCredential_GET_V6:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:policy:Authenticator
          - urn:hid:scim:api:idp:2.0:policy:authenticator:OTP
        meta:
          resourceType: AuthenticatorPolicy
          location: https://server.example.com:8445/configuration/tenantexample/v2/Policy/Authenticator/AT_ADSOTP
          version: '1'
        readOnly: false
        id: AT_ADSOTP
        name: ADFS Seos One Time Password
        notes: Seos One time password for ADFS users
        defaultValidDaysAdd: 18250
        defaultValidDaysEdit: 1
        disableThreshold: 10
        defaultExpiryThreshold: -1
        sessionTimeout: 3600000
        sessionValidPeriod: 86400000
        levelOfAssurance: '1'
        deliveryGateways:
          - display: Test
            value: 11154
        urn:hid:scim:api:idp:2.0:policy:authenticator:OTP:
          validCredentialPolicies:
            - CT_SEOS_OTP
          challengeType: UD
          disableThreshold: '10'
    AuthenticatorPolicySQ_GET_V6:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:policy:Authenticator
          - urn:hid:scim:api:idp:2.0:policy:authenticator:SecurityQuestion
        meta:
          resourceType: AuthenticatorPolicy
          location: https://server.example.com:8445/configuration/tenantexample/v2/Policy/Authenticator/AT_CUSTQA
          version: '1'
        readOnly: false
        id: AT_CUSTQA
        name: Customer Emergency Questions & Answers
        notes: Emergency Q&A for customer authentication
        defaultValidDaysAdd: 1825
        defaultValidDaysEdit: 1825
        disableThreshold: 8
        defaultExpiryThreshold: 0
        sessionTimeout: 3600000
        sessionValidPeriod: 86400000
        levelOfAssurance: '1'
        deliveryGateways:
          - display: Test
            value: 11154
        urn:hid:scim:api:idp:2.0:policy:authenticator:SecurityQuestion:
          prompts:
            - prompt:
                display: Childhood nickname
                value: PR_NICK
              policy:
                minLength: "4"
                maxLength: "20"
                onlyNum: "false"
                onlyAlpha: "false"
                numOrAlpha: "false"
                numAndAlpha: "false"
                caseInsensitive: "true"
                notUserAttribute: "false"
          promptsRequiredForCreation: '3'
    Task_POST:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:Task
        type: APPROVE_NOTIFICATION
        domain: t30a7090b6259296697652
        payload:
          deviceType: DT_TDSV4
          action: certpins
          pushDeliveryGateway: "11042"
          msg: Maintenance action request from authentication service
    Task_GET_PENDING:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:Task
        id: "11567"
        meta:
          resourceType: Task
          location: https://server.example.com:8445/scim/tenantexample/v2/Tasks/11567
          version: '1'
        type: APPROVE_NOTIFICATION
        domain: t30a7090b6259296697652
        payload:
          deviceType: DT_TDSV4
          action: certpins
          pushDeliveryGateway: "11042"
          msg: Maintenance action request from authentication service
        status: PENDING
        creationDate: 2022-02-16T10:10:03Z
        lastUpdate: 2022-02-16T10:10:03Z
    Task_GET_DONE:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:Task
        id: "11567"
        meta:
          resourceType: Task
          location: https://server.example.com:8445/scim/tenantexample/v2/Tasks/11567
          version: '1'
        type: APPROVE_NOTIFICATION
        domain: t30a7090b6259296697652
        payload:
          deviceType: DT_TDSV4
          action: certpins
          pushDeliveryGateway: "11042"
          msg: Maintenance action request from authentication service
        status: DONE
        creationDate: 2022-02-16T10:10:03Z
        lastUpdate: 2022-02-16T10:11:03Z
        progression: Sent 3/3 notifications.
    UserAttributeType_POST:
      value:
        id: MYATTR
        name: My custom attribute
        multiValued: true
    UserAttributeType_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:userattribute:Type
        id: MYATTR
        meta:
          resourceType: UserAttributeType
          location: https://server.example.com:8445/configuration/tenantexample/v2/User/AttributeType/MYATTR
          version: '1'
        name: My custom attribute
        encrypted: false
        predefined: false
        multivalued: true
    Role_POST:
      value:
        id: MYROLE
        name: My custom role
    Role_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:Role
        id: MYROLE
        meta:
          resourceType: Role
          location: https://server.example.com:8445/scim/tenantexample/v2/Roles/MYROLE
          version: '1'
        name: My custom role
        updatePermissionSet: true
    User_POST:
      value:
        userName: myUser
        groups:
          - value: UG_ROOT
        name:
          familyName: Doe
          givenName: John
        urn:hid:scim:api:idp:2.0:UserAttribute:
          attributes:
            - name: MYATTR
              type: string
              multiValued: true
              value:
                - value1
                - value2
    User_GET:
      value:
        schemas:
          - urn:ietf:params:scim:schemas:core:2.0:User
          - urn:hid:scim:api:idp:2.0:UserAttribute
          - urn:hid:scim:api:idp:2.0:UserAuthenticator
          - urn:hid:scim:api:idp:2.0:UserDevice
        id: '11824'
        meta:
          resourceType: User
          created: 2022-05-05T12:38:13Z
          location: https://server.example.com:8445/scim/tenantexample/v2/Users/11824
          version: '1'
        userName: myUser
        name:
          familyName: Doe
          givenName: John
        displayName: John Doe
        userType: FTRESS
        active: true
        groups:
          - type: Group
            display: ROOT
            value: UG_ROOT
            \$ref: https://server.example.com:8445/scim/tenantexample/v2/Groups/UG_ROOT
        urn:hid:scim:api:idp:2.0:UserAttribute:
          attributes:
            - name: LASTNAME
              type: string
              value: Doe
              readOnly: false
              predefined: true
              multiValued: false
            - name: FIRSTNAME
              type: string
              value: John
              readOnly: false
              predefined: true
              multiValued: false
            - name: MYATTR
              type: string
              value:
                - value1
                - value2
              readOnly: false
              predefined: false
              multiValued: true
        attributes:
          - urn:hid:scim:api:idp:2.0:UserAttribute
          - urn:hid:scim:api:idp:2.0:UserAuthenticator
          - urn:hid:scim:api:idp:2.0:UserDevice
    User_GET_response:
      value:
        schemas:
          - urn:ietf:params:scim:schemas:core:2.0:User
          - urn:hid:scim:api:idp:2.0:UserAttribute
          - urn:hid:scim:api:idp:2.0:UserAuthenticator
          - urn:hid:scim:api:idp:2.0:UserDevice
        id: '11824'
        meta:
          resourceType: User
          created: 2022-05-05T12:38:13Z
          location: https://server.example.com:8445/scim/tenantexample/v2/Users/11824
          version: '1'
        userName: myUser
        name:
          familyName: Doe
          givenName: John
        displayName: John Doe
        userType: FTRESS
        active: true
        groups:
          - type: Group
            display: ROOT
            value: UG_ROOT
            \$ref: https://server.example.com:8445/scim/tenantexample/v2/Groups/UG_ROOT
        urn:hid:scim:api:idp:2.0:UserAttribute:
          attributes:
            - name: LASTNAME
              type: string
              value: Doe
              readOnly: false
              predefined: true
              multiValued: false
            - name: FIRSTNAME
              type: string
              value: John
              readOnly: false
              predefined: true
              multiValued: false
            - name: ATR_EMAIL
              type: string
              value: jdoe@hidglobal.com
              readOnly: false
              predefined: true
              multiValued: false
            - name: MYATTR
              type: string
              value:
                - value1
                - value2
              readOnly: false
              predefined: false
              multiValued: true
        emails:
          - value: jdoe@hidglobal.com
        urn:hid:scim:api:idp:2.0:UserAuthenticator:
          type: object
          title: User Authenticator
          description: HID user Authenticator schema.
          properties:
            authenticators:
              description: A list of authenticators.
              type: array
              items:
                $ref: '#/components/schemas/UserAuthenticator'
        urn:hid:scim:api:idp:2.0:UserDevice:
          type: object
          title: User Device
          description: HID user Device schema.
          properties:
            devices:
              description: A list of devices.
              type: array
              items:
                $ref: '#/components/schemas/UserDevice'
    User_PUT:
      value:
        id: '11824'
        emails:
          - value: jdoe@hidglobal.com
        name:
          familyName: Doe
          givenName: John
        urn:hid:scim:api:idp:2.0:UserAttribute:
          attributes:
            - name: MYATTR
              type: string
              multiValued: true
              value:
                - value1
                - value2
                - new value
    User_PUT_response:
      value:
        schemas:
          - urn:ietf:params:scim:schemas:core:2.0:User
          - urn:hid:scim:api:idp:2.0:UserAttribute
        id: '11824'
        meta:
          resourceType: User
          created: 2022-05-05T12:38:13Z
          location: https://server.example.com:8445/scim/tenantexample/v2/Users/11824
          version: '1'
        userName: myUser
        name:
          familyName: Doe
          givenName: John
        displayName: John Doe
        userType: FTRESS
        active: true
        groups:
          - type: Group
            display: ROOT
            value: UG_ROOT
            \$ref: https://server.example.com:8445/scim/tenantexample/v2/Groups/UG_ROOT
        urn:hid:scim:api:idp:2.0:UserAttribute:
          attributes:
            - name: LASTNAME
              type: string
              value: Doe
              readOnly: false
              predefined: true
              multiValued: false
            - name: FIRSTNAME
              type: string
              value: John
              readOnly: false
              predefined: true
              multiValued: false
            - name: ATR_EMAIL
              type: string
              value: jdoe@hidglobal.com
              readOnly: false
              predefined: true
              multiValued: false
            - name: MYATTR
              type: string
              value:
                - value1
                - value2
                - new value
              readOnly: false
              predefined: false
              multiValued: true
        emails:
          - value: jdoe@hidglobal.com
    ScimFedUserRepository_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:User:Repository
        id: DS_aad1
        meta:
          resourceType: UserRepository
          location: https://server.example.com:8445/configuration/tenantexample/v2/User/Repository/ScimFed/DS_aad1
          version: '1'
        name: Datasource for Active Directory
        provisioningAgentCredential:
          type: User
          value: '11072'
          \$ref: https://server.example.com:8445/scim/tenantexample/v2/Users/11072
        adminGroupAssignment:
          type: Group
          value: USG_FTEMP
          \$ref: https://server.example.com:8445/scim/tenantexample/v2/Groups/USG_FTEMP
        userAuthenticationEndpoint:
          issuerUri: https://login.microsoftonline.com/bdf0910d-ab1b-49e7-9dd1-1gge92fa12ed/v2.0
          clientId: 0862c542-843a-413e-bdd6-47613da22704
        federatedAttributes:
          - type: AttributeType
            value: ATR_EMAIL
            \$ref: https://server.example.com:8445/configuration/tenantexample/v2/User/AttributeType/ATR_EMAIL
          - type: AttributeType
            value: LASTNAME
            \$ref: https://server.example.com:8445/configuration/tenantexample/v2/User/AttributeType/LASTNAME
          - type: AttributeType
            value: FIRSTNAME
            \$ref: https://server.example.com:8445/configuration/tenantexample/v2/User/AttributeType/FIRSTNAME
          - type: AttributeType
            value: ATR_MOBILE
            \$ref: https://server.example.com:8445/configuration/tenantexample/v2/User/AttributeType/ATR_MOBILE
    ScimFedUserRepository_POST:
      value:
        id: DS_aad1
        name: Datasource for Active Directory
        provisioningAgentCredential:
          value: '11072'
        adminGroupAssignment:
          value: USG_FTEMP
        userAuthenticationEndpoint:
          issuerUri: https://login.microsoftonline.com/bdf0910d-ab1b-49e7-9dd1-1gge92fa12ed/v2.0
          clientId: 0862c542-843a-413e-bdd6-47613da22704
        federatedAttributes:
          - value: ATR_EMAIL
          - value: LASTNAME
          - value: FIRSTNAME
          - value: ATR_MOBILE
    ScimFedUserRepository_PUT:
      value:
        id: DS_aad1
        roleAssignments:
          - roleId: RL_AUDITV
            mappingCriteria:
              groupMembership: 475f23fa-ad47-4ca9-b535-9792c9494daa
    ScimFedUserRepository_PUT_response:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:User:Repository
        id: DS_aad1
        meta:
          resourceType: UserRepository
          location: https://server.example.com:8445/configuration/tenantexample/v2/User/Repository/ScimFed/DS_aad1
          version: '1'
        name: Datasource for Active Directory
        provisioningAgentCredential:
          type: User
          value: '11072'
          \$ref: https://server.example.com:8445/scim/tenantexample/v2/Users/11072
        adminGroupAssignment:
          type: Group
          value: USG_FTEMP
          \$ref: https://server.example.com:8445/scim/tenantexample/v2/Groups/USG_FTEMP
        userAuthenticationEndpoint:
          issuerUri: https://login.microsoftonline.com/bdf0910d-ab1b-49e7-9dd1-1gge92fa12ed/v2.0
          clientId: 0862c542-843a-413e-bdd6-47613da22704
        federatedAttributes:
          - type: AttributeType
            value: ATR_EMAIL
            \$ref: https://server.example.com:8445/configuration/tenantexample/v2/User/AttributeType/ATR_EMAIL
          - type: AttributeType
            value: LASTNAME
            \$ref: https://server.example.com:8445/configuration/tenantexample/v2/User/AttributeType/LASTNAME
          - type: AttributeType
            value: FIRSTNAME
            \$ref: https://server.example.com:8445/configuration/tenantexample/v2/User/AttributeType/FIRSTNAME
          - type: AttributeType
            value: ATR_MOBILE
            \$ref: https://server.example.com:8445/configuration/tenantexample/v2/User/AttributeType/ATR_MOBILE
        roleAssignments:
          - roleId: RL_AUDITV
            mappingCriteria:
              groupMembership: 475f23fa-ad47-4ca9-b535-9792c9494daa
    ScimFedUserRepository_GETALL:
      value:
        schemas:
          - urn:ietf:params:scim:api:messages:2.0:ListResponse
        totalResults: 1
        resources:
          - schemas:
            - urn:hid:scim:api:idp:2.0:User:Repository
            id: DS_aad1
            meta:
              resourceType: UserRepository
              location: https://server.example.com:8445/configuration/tenantexample/v2/User/Repository/ScimFed/DS_aad1
              version: '1'
            name: Datasource for Active Directory
            provisioningAgentCredential:
              type: User
              value: '11072'
              \$ref: https://server.example.com:8445/scim/tenantexample/v2/Users/11072
            adminGroupAssignment:
              type: Group
              value: USG_FTEMP
              \$ref: https://server.example.com:8445/scim/tenantexample/v2/Groups/USG_FTEMP
            userAuthenticationEndpoint:
              issuerUri: https://login.microsoftonline.com/bdf0910d-ab1b-49e7-9dd1-1gge92fa12ed/v2.0
              clientId: 0862c542-843a-413e-bdd6-47613da22704
            federatedAttributes:
              - type: AttributeType
                value: ATR_EMAIL
                \$ref: https://server.example.com:8445/configuration/tenantexample/v2/User/AttributeType/ATR_EMAIL
              - type: AttributeType
                value: LASTNAME
                \$ref: https://server.example.com:8445/configuration/tenantexample/v2/User/AttributeType/LASTNAME
              - type: AttributeType
                value: FIRSTNAME
                \$ref: https://server.example.com:8445/configuration/tenantexample/v2/User/AttributeType/FIRSTNAME
              - type: AttributeType
                value: ATR_MOBILE
                \$ref: https://server.example.com:8445/configuration/tenantexample/v2/User/AttributeType/ATR_MOBILE
    PermissionSet_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:PermissionSet
        id: FS_RLASG
        meta:
          resourceType: PermissionSet
          location: https://server.example.com:8445/scim/tenantexample/v2/PermissionSets/FS_RLASG
          version: '1'
        permissionSetItems:
          - schemas:
            - urn:hid:scim:api:idp:2.0:PermissionSetItem
            id: M_U_ROLES
            parameter: RL_DEVADM|RL_SYSTEM|RL_RFE|RL_USERADM|RL_AUDITV|RL_CONFIG|RL_HELPDSK|RL_SUSRADM|RL_SADMIN|RL_STPADM|RL_SSPADM|RL_RGWADM|RL_CFGMGR
        name: Roles Assignment Functions
        resourceType: GROUP
    PermissionSet_PUT:
      value:
        id: FS_RLASG
        permissionSetItems:
            id: M_U_ROLES
            parameter: RL_DEVADM|RL_SYSTEM|RL_RFE|RL_USERADM|RL_AUDITV|RL_CONFIG|RL_HELPDSK|RL_SUSRADM|RL_SADMIN|RL_STPADM|RL_SSPADM|RL_RGWADM|RL_CFGMGR
    PermissionSet_GETALL:
      value:
        schemas:
          - urn:ietf:params:scim:api:messages:2.0:ListResponse
        totalResults: 1
        resources:
          - schemas:
            - urn:hid:scim:api:idp:2.0:PermissionSet
            id: FS_RLASG
            meta:
              resourceType: PermissionSet
              location: https://server.example.com:8445/scim/tenantexample/v2/PermissionSets/FS_RLASG
              version: '1'
            permissionSetItems:
              - schemas:
                - urn:hid:scim:api:idp:2.0:PermissionSetItem
                id: M_U_ROLES
                parameter: RL_DEVADM|RL_SYSTEM|RL_RFE|RL_USERADM|RL_AUDITV|RL_CONFIG|RL_HELPDSK|RL_SUSRADM|RL_SADMIN|RL_STPADM|RL_SSPADM|RL_RGWADM|RL_CFGMGR
            name: Roles Assignment Functions
            resourceType: GROUP
    RiskScoreProvider_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:RiskScoreProvider
        id: "1234"
        meta:
          resourceType: Risk Score Provider
          location: https://server.example.com:8445/configuration/tenantexample/v2/RiskScoreProvider/1234
          version: '1'
        name: Risk Score Provider
        notes: Adapter to hold Risk Management System Source configuration
        type: RMS_CFG_TM
        url: https://threatmark.com/v3
        connectionTimeOut: 60000
        credentials:
          user: api_username
          password: api_password
    RiskScoreProvider_POST:
      value:
        name: Risk Score Provider
        notes: Adapter to hold Risk Management System Source configuration
        type: RMS_CFG_TM
        url: https://threatmark.com/v3
        connectionTimeOut: 60000
        credentials:
          user: api_username
          password: api_password
    RiskScoreProvider_GETALL:
       value:
        schemas:
          - urn:ietf:params:scim:api:messages:2.0:ListResponse
        totalResults: 1
        resources:
          - schemas:
            - urn:hid:scim:api:idp:2.0:RiskScoreProvider
            id: "1234"
            meta:
              resourceType: Risk Score Provider
              location: https://server.example.com:8445/configuration/tenantexample/v2/RiskScoreProvider/1234
              version: '1'
            name: Risk Score Provider
            notes: Adapter to hold Risk Management System Source configuration
            type: RMS_CFG_TM
            url: https://threatmark.com/v3
            connectionTimeOut: 60000
            credentials:
              user: api_username
              password: api_password
    DeliveryGatewayEmail_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:DeliveryGateway:Email
        id: "11793"
        meta:
          resourceType: eMail Delivery Gateway
          location: https://server.example.com:8445/configuration/tenantexample/v2/DeliveryGateway/Email/11793
          version: '1'
        type: EMAIL
        name: Email Delivery Gateway
        notes: Delivery gateway for emails
        emailSubject: Subject
        attributeEmail: ATR_EMAIL
        attributeCcEmail: ATR_C,
        attributeBccEmail: ATR_BCC
        credentialMsgTmpl: MESSAGE=Your temporary password is {$secret}.
        challengeMsgTmpl: MESSAGE=The secret code is {$secret}
    DeliveryGatewayEmail_GETALL:
      value:
        schemas:
          - urn:ietf:params:scim:api:messages:2.0:ListResponse
        totalResults: 1
        resources: 
          - schemas:
              - urn:hid:scim:api:idp:2.0:DeliveryGateway:Email
            id: "11793"
            meta:
              resourceType: eMail Delivery Gateway
              location: https://server.example.com:8445/configuration/tenantexample/v2/DeliveryGateway/Email/11793
              version: '1'
            type: EMAIL
            name: Email Delivery Gateway
            notes: Delivery gateway for emails
            emailSubject: Subject
            attributeEmail: ATR_EMAIL
            attributeCcEmail: ATR_CC
            attributeBccEmail: ATR_BCC
            credentialMsgTmpl: MESSAGE=Your temporary password is {$secret}.
            challengeMsgTmpl: MESSAGE=The secret code is {$secret}
    DeliveryGatewayPush_POST:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:DeliveryGateway:Push
        type: AZURE_WNS_PUSH
        name: AzureWindows
        notes: Azure windows push adapater
        connectionString: sb://DNS hostname/;SharedAccessKeyName=<>;SharedAccessKey=<>
        hub: my hub
        notificationTimeToLive: "180"
        supportedOperatingSystems:
          - Windows
          - Window10
        appId: appId
        messageTemplates:
          credential:
            title: Activation
            msg: touch to activate
          challenge:
            title: Transaction
            msg: Validate transaction
    DeliveryGatewayPush_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:DeliveryGateway:Push
        id: "11053"
        meta:
          resourceType: Push Delivery Gateway
          location: https://server.example.com:8445/configuration/tenantexample/v2/DeliveryGateway/Push/11053
          version: '1'
        type: AZURE_WNS_PUSH
        name: AzureWindows
        notes: Azure windows push adapater
        hub: my hub
        notificationTimeToLive: "180"
        supportedOperatingSystems:
          - Windows
          - Window10
        appId: appId
        messageTemplates:
          credential:
            title: Activation
            msg: touch to activate
          challenge:
            title: Transaction
            msg: Validate transaction
    DeliveryGatewayPush_GETALL:
      value:
        schemas:
          - urn:ietf:params:scim:api:messages:2.0:ListResponse
        totalResults: 1
        resources: 
          - schemas:
              - urn:hid:scim:api:idp:2.0:DeliveryGateway:Push
            id: "11053"
            meta:
              resourceType: Push Delivery Gateway
              location: https://server.example.com:8445/configuration/tenantexample/v2/DeliveryGateway/Push/11053
              version: '1'
            type: AZURE_WNS_PUSH
            name: AzureWindows
            notes: Azure windows push adapater
            hub: my hub
            notificationTimeToLive: "180"
            supportedOperatingSystems:
              - Windows
              - Window10
            appId: appId
            messageTemplates:
              credential:
                title: Activation
                msg: touch to activate
              challenge:
                title: Transaction
                msg: Validate transaction
    DeliveryGatewaySMS_GET:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:DeliveryGateway:SMS
        id: "11794"
        meta:
          resourceType: eMail Delivery Gateway
          location: https://server.example.com:8445/configuration/tenantexample/v2/DeliveryGateway/SMS/11794
          version: '1'
        type: SMS
        name: SMPP Delivery Gateway
        notes: Delivery gateway for sms
        attributePhoneNumber: ATR_MOBILE
        credentialMsgTmpl: MESSAGE=Your temporary password is {$secret}
        challengeMsgTmpl: MESSAGE=The secret code is {$secret}
    DeliveryGatewaySMS_GETALL:
      value:
        schemas:
          - urn:ietf:params:scim:api:messages:2.0:ListResponse
        totalResults: 1
        resources: 
          - schemas:
              - urn:hid:scim:api:idp:2.0:DeliveryGateway:SMS
            id: "11794"
            meta:
              resourceType: eMail Delivery Gateway
              location: https://server.example.com:8445/configuration/tenantexample/v2/DeliveryGateway/SMS/11794
              version: '1'
            type: SMS
            name: SMPP Delivery Gateway
            notes: Delivery gateway for sms
            attributePhoneNumber: ATR_MOBILE
            credentialMsgTmpl: MESSAGE=Your temporary password is {$secret}
            challengeMsgTmpl: MESSAGE=The secret code is {$secret}
    DeliveryGatewaySMS_TEST:
      value:
        results:
          - name: TEST_CONNECTION
            value: "true"
    DeliveryGatewaySMS_SEND:
      value:
        schemas:
          - urn:hid:scim:api:idp:2.0:AdapterMessage
        address: (555) 123-4567
        secret: "1234"
        message: Your secret code is ${secret}.
    Device_POST:
      value:
        schemas: 
          - urn:hid:scim:api:idp:2.0:Device
        externalId: myExternalId
        friendlyName: friendlyName
        owner:
          value: '11288'
        type: DT_TDSV4
        status:
          expiryDate: '2024-11-22T11:01:32.067Z'
          startDate: '2022-11-22T11:01:32.067Z'
          status: PENDING
          active: false
    Device_GET:
      value:
        schemas: 
          - urn:hid:scim:api:idp:2.0:Device
        id: '11326'
        externalId: myExternalId
        meta:
          resourceType: Device
          created: '2022-11-22T11:01:32.067Z'
          location: https://server.example.com:8445/scim/tenantexample/v2/Device/11326
          version: 1
        friendlyName: friendlyName
        owner:
          type: User
          display: jdoe
          value: '11288'
        type: DT_TDSV4
        status:
          expiryDate: '2022-11-22T11:01:32.067Z'
          startDate: '2022-11-22T11:01:32.067Z'
          status: PENDING
          active: false
  schemas:
    AdaptativeAuthenticationRules:
      title: Adaptative Authentication Rules
      required:
        - stepUp
      properties:
        primaryAuthnBlock:
          items:
            $ref: '#/components/schemas/RiskScore'
          type: array
        primaryAuthnReject:
          items:
            $ref: '#/components/schemas/RiskScore'
          type: array
        stepUp:
          items:
            $ref: '#/components/schemas/StepUpRule'
          type: array
          description: stepUp rules. Only 1 value is allowed.
        secondaryAuthnBlock:
          items:
            $ref: '#/components/schemas/RiskScore'
          type: array
        secondaryAuthnReject:
          items:
            $ref: '#/components/schemas/RiskScore'
          type: array
      type: object
    AdapterMessage:
      properties:
        address:
          type: string
          example: jdoe@domain.com
        templateType:
          enum:
            - credential
            - challenge
          type: string
          example: credential
        secret:
          type: string
          example: password1234
        message:
          type: string
          example: Hellow world
      type: object
    Address:
      properties:
        formatted:
          type: string
      type: object
    Application:
      title: Application
      description: id, name and notes are required to create an Application
      properties:
        schemas:
          items:
            type: string
          type: array
          uniqueItems: true
          example: 
            - urn:hid:scim:api:idp:2.0:Application
        meta:
          $ref: '#/components/schemas/Meta'
        id:
          type: string
          maxLength: 10
          example: CH_2020
          description: Channel code
        name:
          type: string
          maxLength: 50
          example: HID Banking Demo App
          description: Application name
        notes:
          type: string
          maxLength: 100
          example: Demo app for banking
          description: Application notes
        type:
          type: string
          enum:
            - Generic
          readOnly: true
          example: Generic
          description: Application type
        riskScoreProvider:
          $ref: '#/components/schemas/RiskScoreProviderReference'
        authenticationPolicies:
          items:
            properties:
              value:
                description: code of Authentication Policy
                type: string
                example: AT_XXX
            type: object
          type: array
        adaptativeAuthenticationRules:
          $ref: '#/components/schemas/AdaptativeAuthenticationRules'
      type: object
    CardAuthApplication:
      title: Card Auth Application
      description: a Card Auth application to allow users to authenticate with a smart card
      required:
          - id
          - name
          - notes
          - deviceType
          - authenticatorPolicy
      properties:
        schemas:
          readOnly: true
          items:
            type: string
          type: array
          uniqueItems: true
          example: 
            - urn:hid:scim:api:idp:2.0:application:CardAuth
        meta:
          $ref: '#/components/schemas/Meta'
        id:
          type: string
          maxLength: 50
          example: APP_CARD
          description: Application id
        name:
          type: string
          maxLength: 50
          example: MiFare card application
          description: Application name
        notes:
          type: string
          maxLength: 100
          example: MiFare Standard 1K card application
          description: Application notes
        tech:
          type: array
          items:
              type: string
          example: 
            - 'MIFARE Classic'
            - 'Seos'
            - 'CUID'  
          description: Identifiers of the card technologies to allow during enrollment and authentication.
        techSubsetForEnroll:
          type: array
          items:
              type: string
          example: 
            - 'MIFARE Classic'
            - 'Seos'
          description: OPTIONAL subset of "tech" identifiers of the card technologies to allow during enrollment
        deviceType:
          properties:
            id:
              type: string
              maxLength: 50
              example: PROFILE_SSP_ENTRAID_DT_CARD
              description: Optional device type Id          
            maximumDevicePerUser: 
              description: maximum number of this type of device that can be assigned to a user
              type: integer
              example: 5
        authenticatorPolicy:
          properties:
            id:
              type: string
              maxLength: 50
              example: PROFILE_SSP_ENTRAID_AT_CARD
              description: Optional authentication policy Id          
            defaultValidDaysAdd:
              description: Valid days after creation (-1 is for never expires)
              type: integer
              format: int32
              example: -1
              minimum: -1
            defaultValidDaysEdit:
              description: Valid days after update (-1 is for never expires)
              type: integer
              format: int32
              example: -1
              minimum: -1
            disableThreshold:
              description: maximum number of successive failed before disabling/locking the authenticator
              type: integer
              example: 5
            defaultExpiryThreshold: 
              description: maximum number of usage of the authenticator
              type: integer
              example: -1
            sessionTimeout:
              description: session inactivity timeout
              type: integer
              example: 3600000
            sessionValidPeriod:
              description: session validity
              type: integer
              example: 86400000
            disabledTimeReset:
              description: auto unlock
              type: integer
              example: 0
            levelOfAssurance:
              description: level of authenticator / ACR value
              type: string
              example: urn:hidaaas:policy:at_card
    PINAuthApplication:
      title: PIN Auth Application
      description: a PIN Auth application to allow users to authenticate with a PIN
      required:
          - id
          - name
          - notes
      properties:
        schemas:
          readOnly: true
          items:
            type: string
          type: array
          uniqueItems: true
          example: 
            - urn:hid:scim:api:idp:2.0:application:PINAuth
        meta:
          $ref: '#/components/schemas/Meta'
        id:
          type: string
          maxLength: 50
          example: PIN_FOR_USERS
          description: Application id
        name:
          type: string
          maxLength: 50
          example: PIN authenticator for end-users authentication
          description: Application name
        notes:
          type: string
          maxLength: 100
          example: This application defines the PIN authenticator to be used for end-users authentication
          description: Application notes
        constraints:
          properties:
            minLength:
              type: integer
              description: PIN minimum length
              example: 4
            maxLength:
              type: integer
              description: PIN maximum length
              example: 12
            characterRange:
              type: string
              description:  Num ,  Alpha , numOrAlpha
              example: numOrAlpha  
        usageRestrictions:
          properties:
            userType:
              type: string
              description: allowed user type.
              example: UT_EMP
            validChannelCodes:
              type: array
              items:
                  type: string
              example: 
                - 'CH_EXTRAPP'
              description: Valid channel codes
        sessionPolicy:
          properties:
            id:
              type: string
              description: the code for authentication policy to create
              example: AT_PIN
            defaultValidDaysAdd:
              description: Valid days after creation (-1 is for never expires)
              type: integer
              format: int32
              example: -1
              minimum: -1
            defaultValidDaysEdit:
              description: Valid days after update (-1 is for never expires)
              type: integer
              format: int32
              example: -1
              minimum: -1              
            disableThreshold:
              description: maximum number of successive failed before disabling/locking the authenticator
              type: integer
              example: 5
            defaultExpiryThreshold: 
              description: maximum number of usage of the authenticator
              type: integer
              example: -1
            sessionTimeout:
              description: session inactivity timeout
              type: integer
              example: 3600000
            sessionValidPeriod:
              description: session validity
              type: integer
              example: 86400000
            disabledTimeReset:
              description: auto unlock
              type: integer
              example: 0
            allowExpiredReset:
              description: allow expire reset
              type: integer
              example: 3
            levelOfAssurance:
              description: level of authenticator / ACR value
              type: string
              example: urn:hidaaas:policy:at_pin              

    HIDApproveApplicationPostRequest:
      allOf:
        - $ref: "#/components/schemas/HIDApproveApplicationCommonPayload"
        - type: object
          required:
            - id
            - name
          properties:
            registrationSecret:
              $ref: "#/components/schemas/RegistrationSecret"
            oathKeys:
              type: array
              items:
                $ref: "#/components/schemas/OATHKey"
            publicKeys:
              type: array
              items:
                $ref: "#/components/schemas/PublicKey"

    HIDApproveApplicationResponse:
      allOf:
        - $ref: "#/components/schemas/HIDApproveApplicationCommonPayload"
        - type: object
          properties:
            deviceTypeCode:
              type: string
              maxLength: 30
              description: Device type created for the push application. Can't be updated.
            deviceAuthenticationTypeCode:
              type: string
              maxLength: 30
              description: Authentication shared policy for device authentication of the application. Can't be updated.
            registrationSecret:
              $ref: "#/components/schemas/RegistrationSecretResponse"
            oathKeys:
              type: array
              items:
                $ref: "#/components/schemas/OATHKeyResponse"
            publicKeys:
              type: array
              items:
                $ref: "#/components/schemas/PublicKeyResponse"


    HIDApproveApplicationPutRequest:
      allOf:
        - $ref: "#/components/schemas/HIDApproveApplicationCommonPayload"
        - type: object
          properties:
            registrationSecret:
              $ref: "#/components/schemas/RegistrationSecret"
            oathKeys:
              type: array
              items:
                $ref: "#/components/schemas/OATHKeyPutRequest"
            publicKeys:
              type: array
              items:
                $ref: "#/components/schemas/PublicKeyPutRequest"

    HIDApproveApplicationCommonPayloadWithoutExtension:
      title: HID Approve Application
      description: an  HID Approve application to allow users to authenticate with HID Approve.
      properties:
        schemas:
          readOnly: true
          items:
            type: string
          type: array
          uniqueItems: true
          example: 
            - urn:hid:scim:api:idp:2.0:application:HIDApprove
        meta:
          $ref: '#/components/schemas/Meta'
        id:
          type: string
          maxLength: 25
          example: HIDAPPROVEAPPID
          description: Application id. It can be alphanumeric upper and lowercase.
        name:
          type: string
          maxLength: 100
          example: HID_APPROVE_APP_NAME
          description: Application name
        notes:
          type: string
          maxLength: 500
          example: HID APPROVE APP NOTES
          description: Description of the application.
        maximumDevicePerUser:
          type: integer
          example: 5
          default: 5
          description: The maximum number of this type of device that can be assigned to a user.
        opMode:
          type: string
          enum:
            - default
            - fips_strict
            - fips_devbinding
          default: default
          description: Operation mode
        keysRefreshPeriod:
          type: integer
          example: 365
          default: 365
          description: Validity of keys before renewal.
        challengeLength:
          type: integer
          default: 8
          readOnly: true
          description: Default value for challenge length of each OCRA credential. Read only value.
        rules:
          $ref: '#/components/schemas/Rule'
        containersProtectionPolicy:
          $ref: '#/components/schemas/ContainersProtectionPolicy'

    HIDApproveApplicationCommonPayload:
      allOf:
        - $ref: "#/components/schemas/HIDApproveApplicationCommonPayloadWithoutExtension"
        - oneOf:
          - $ref: '#/components/schemas/HIDApproveAPPExtension'
          - $ref: '#/components/schemas/HIDApproveSDKExtension'

    RegistrationSecretResponse:
      allOf:
        - $ref: "#/components/schemas/RegistrationSecret"
        - type: object
          properties:
            registrationAuthenticationTypeCode:
              type: string
              description: Authentication Policy created for the push application device registration.
              pattern: <application_id>_AT[0-9][0-9]*
              example: idapp_AT1
            registrationCredTypeCode:
              type: string
              description: Registration CT code
            registrationDeviceTypeCode:
              type: string
              description: Registration DT code

    RegistrationSecret:
      title: Registration Secret
      description: Registration parameters for QR code information secret.
      properties:
        length:
          type: integer
          default: 10
          description: QR code secret length mobile/device authentication for registration, param kdflen on Devicetype.
        charset:
          type: string
          default: ALPHA
          description: charset must be one of ALPHA, ASCII.
          enum:
            - ALPHA
            - ASCII
        validityPeriod:
          type: integer
          default: 120
          description: Validity of QR code secret.
        retries:
          type: integer
          default: 1
          description: Number of time the QR code secret can be used for registration.

    HIDApproveSDKExtension:
      title: HID Approve SDK Extension
      properties:
        pushNotifications:
          $ref: '#/components/schemas/PushNotificationsSDK'

    PushNotifications:
      title: Push Notifications
      description: |
        Default push notifications messages and title.

        NOT USED FOR NOW.

        IT SHOULD BE IGNORE BY ADMIN PORTAL
      properties:    
        notificationTitle:
          type: string
          description: |
            Customization of the delivery gateway template for the notification title.

            NOT USED FOR NOW
        notificationMessage:
          type: string
          description: |
            Customization of the delivery gateway template for the notification message.

            NOT USED FOR NOW

    PushNotificationsSDK:
      title: Push Notifications
      description: Default push notifications messages, titles and azure hub configuration.
      properties:
        notificationTitle:
          type: string
          description: Customization of the delivery gateway template for the notification title
        notificationMessage:
          type: string
          description: Customization of the delivery gateway template for the notification message
        azureHub:
          type: object
          description: Configuration for Azure hub credentials.
          properties:
            hub:
              type: string
              description: The name of the Azure hub.
            connectionString:
              type: string
              description: The connection string for the Azure hub.
            ttl:
              type: integer
              description: Time To Live for the Azure hub configuration.

    HIDApproveCustomization:
      title: HID Approve Customization
      description: HID Approve Customization.
      properties:
        uicustomization:
          $ref: '#/components/schemas/UICustomization'
        contactdetails:
          $ref: '#/components/schemas/ContactDetails'
        fileName:
          type: string
          description: Store the customization json filename if a file is used instead of json payload.

    UICustomization: 
      title: UI Customization
      description: Customization settings for the user interface.
      properties:
        version:
          type: integer
          description: Version of the UI customization.
        label:
          $ref: '#/components/schemas/IdValuePair'
        color:
          $ref: '#/components/schemas/IdValuePair'
        bitmap:
          $ref: '#/components/schemas/IdValuePair'
        fontcolor:
          $ref: '#/components/schemas/IdValuePair'
        ocrafields:
          type: array
          description: List of OCR fields.
          items:
            $ref: '#/components/schemas/OcraFields'
        ocraallowscan:
          type: boolean
          description: Whether OCR scanning is allowed.

    IdValuePair:
      properties:
        id:
          type: string
        value:
          type: string
    OcraFields:
      title: Ocra Fields
      properties:
        label:
          $ref: '#/components/schemas/IdValuePair'

    ContactDetails:
      title: Contact Details
      description: Contact details configuration.
      properties:
        phonenumber:
          type: string
          description: Phone number for contact.
        email:
          type: object
          description: Email configuration.
          properties:
            address:
              type: string
              description: Email address.
            subject:
              type: string
              description: Email subject template.
        website:
          type: string
          description: Website URL.
        deviceid:
          type: boolean
          description: Whether to include device ID.
        devicesn:
          type: boolean
          description: Whether to include device serial number.
        
    HIDApproveAPPExtension:
      title: HID Approve APP Extension
      properties:
        pushNotifications:
          $ref: '#/components/schemas/PushNotifications'
        hidApproveCustomization:
          $ref: '#/components/schemas/HIDApproveCustomization'

    PublicKeyResponse:
      allOf:
        - $ref: "#/components/schemas/PublicKey"
        - type: object
          properties:
            authenticatorPolicyId:
              type: string
              description: Identifier for the authentication policy.
              pattern: <application_id>_AT[1-9][0-9]*
              example: idapp_AT1

    PublicKeyPutRequest:
      allOf:
        - $ref: "#/components/schemas/PublicKey"
        - type: object
          properties:
            action:
              type: string
              enum:
                - Delete
              description: |
                Action for this key. Should be specified ONLY for DELETE, useless for other use cases.

                If DELETE, the key will be deleted. It must NOT be in used.

                Only make sens in UPDATE (PUT call)
 
    PublicKey:
      title: Public Key
      description: PUSH PKI credential configuration.
      properties:
        keyLabel:
          type: string
          default: authkey
          minLength: 1
          maxLength: 15
          description: Label to identify the key. Unique id.
        keyUsage:
          type: string
          default: authentication
          enum:
            - authentication
            - signature
          description: Usage of the key, either for signature or authentication.
        protectionPolicyType:
          type: string
          description: ProtectionPolicyType must be one of container, password, devicelockorpassword, biometricorpassword or device.
          default: container
          enum:
            - container
            - password
            - devicelockorpassword
            - biometricorpassword
        otpLen:
          type: integer
          default: 8
          description: Length of the OTP (One-Time Password).
        sessionValidPeriod:
          type: integer
          format: int64
          default: 3600000
          description: Duration in milliseconds for which the session remains valid.
        approvalStatus:
          type: string
          default: accept|deny|report
        levelOfAssurance:
          type: string
          description: Level of assurance for the authenticator, typically an ACR(Authentication Context Class Reference) value.
        challengeTimeoutPeriod:
          type: integer
          default: 3600
          description: Time in seconds during which a push request can be approved or denied.
        challengeDisableThreshold:
          type: integer
          default: 8
          description: Maximum number of unsigned requests before the authenticator's counter must be reset.
        flaggedTransaction:
          $ref: '#/components/schemas/FlaggedTransaction'
    
    FlaggedTransaction:
      title: Flagged Transaction
      properties:
        blockAuthenticator:
          type: boolean
          default: true
        autoUnblockCooldownPeriod:
          type: integer

    OATHKeyResponse:
      allOf:
        - $ref: "#/components/schemas/OATHKey"
        - type: object
          properties:
            authenticatorPolicyId:
              type: string
              description: Id of the authentication policy to be used for this OATH key.
              maxLength: 30
              pattern: <application_id>_AT[1-9][0-9]*
              example: idapp_AT1

    OATHKeyPutRequest:
      allOf:
        - $ref: "#/components/schemas/OATHKey"
        - type: object
          properties:
            action:
              type: string
              enum:
                - Delete
              description: |
                Action for this key. Should be specified ONLY for DELETE, useless for other use cases.

                If DELETE, the key will be deleted. It must NOT be in used.

                Only make sens in UPDATE (PUT call)

    OATHKey:
      title: OATH Key
      description: OATH credential configuration.
      properties:
        keyLabel:
          type: string
          description: A label for the key, used for identification.
          minLength: 1
          maxLength: 15
          default: totpkey
        protectionPolicyType:
          type: string
          default: container
          description: Specifies the type of protection policy for the key.
          enum:
            - container
            - password
            - devicelockorpassword
            - biometricorpassword
        algo:
          type: string
          default: totp
          description: Algorithm used for the key.
          enum:
            - hotp
            - totp
            - ocra
        optLen:
          type: integer
          default: 8
          minimum: 6
          description: Length of the OTP (One-Time Password). Valid only for TOTO and HOTP. It is ignored otherwise.
        validityWindow:
          type: integer
          default: 30
          description: |
            	
              This setting defines the primary time window or number of events allowed for OTP validation:

              For HOTP, it defines by how far the device and the server counters are allowed to be desynchronized

              For example, using the default value of validityWindow = 20, the device counter can be 20 events ahead of the server counter

              For TOTP, it defines the number of seconds the device and server clocks are allowed to be desynchronized

              The window is defined by validityWindow * timestep

              For example, using the default values of validityWindow = 20 and timestep = 30 seconds, the window is 10 minutes. Therefore, when the server time is 12:00:00, the server will accept OTPs generated between 11:50:00 and 12:10:00

              See also largeWindowTimeStart and largeWindowTimeEnd

              Valid for:

              TOTP

              HOTP
          minimum: 1
        sessionValidPeriod:
         type: integer
         format: int64
         default: 3600000
         minimum: 0
         description: Duration in milliseconds for which the session remains valid.
        levelOfAssurance:
          type: string
          description: Level of assurance for the authenticator, typically an ACR(AuthenticationContextClassReference) value.
        timestep:
          type: integer
          minimum: 1
          default: 30
          description: |
            Time step in seconds for TOTP (Time-based One-Time Password)

            Possible values are greater or equal to 1

            Valid for:

            TOTP

            Ignored for other use cases

            Important: If you define a larger time window for OTP validation (largeWindowTimeStart and largeWindowTimeEnd ), the timestep value must be 30.
        ocraSuite:
          type: string
          default: OCRA-1:HOTP-SHA1-8:QN08-T30S
          description: Specifies the OCRA suite used for the key.
        approvalStatus:
          type: string
        modes:
          type: array
          items:
            type: string
            enum:
              - CHALLENGE_RESPONSE
              - SIGNATURE
            default: CHALLENGE_RESPONSE
            description: mode must contain 'CHALLENGE_RESPONSE' or / and 'SIGNATURE'. Valid only for ocra. It is ignored otherwise.
        smallWindowTimeStart:
          type: integer
          default: -3
          description: |
            This setting defines the small time window within which the device clock can be behind the server clock during OTP validation

            The OTP is validated against the smallWindowTime values only if validation against validityWindow fails

            Note: This parameter is not currently supported.
        smallWindowTimeEnd:
          type: integer
          default: 3
          description: |
            This setting defines the small time window within which the device clock can be ahead of the server clock during OTP validation

            The OTP is validated against the smallWindowTime values only if validation against validityWindow fails

            Note: This parameter is not currently supported.
        largeWindowTimeStart:
          type: integer
          default: -5
          description: |
           	
            This setting defines the larger time window within which the device clock can be behind the server clock during OTP validation

            The OTP validity is checked against the largeWindowTime values only if the validityWindow check fails

            To apply the larger time window, configure largeWindowTimeStart and largeWindowTimeEnd so that they define a wider range than validityWindow

            For example, with a timestep of 30 seconds, the OTP validation sequence is:

            validityWindow = 20*30 seconds = 600 seconds (10 minutes)

            If validation against validityWindow fails, the larger time window is evaluated:

            largeWindowTimeStart = -22*30 seconds = 660 seconds (11 minutes) behind the server clock

            largeWindowTimeEnd = 22*30 seconds = 660 seconds (11 minutes) ahead of the server clock

            Result - when the server time is 12:00:00, the server will accept OTPs generated between 11:49:00 and 12:11:00

            Valid for: TOTP.

            Important:  

                timestep must be set to 30 seconds

                largeWindowTimeStart must be a negative value
        largeWindowTimeEnd:
          type: integer
          default: 4
          description: |
            	
              This setting defines the larger time window within which the device clock can be ahead of the server clock during OTP validation

              The OTP validity is checked with largeWindowTime values only if the validityWindow check fails

              To apply the larger time window, configure largeWindowTimeStart and largeWindowTimeEnd so that they define a wider range than validityWindow

              For example, with a timestep of 30 seconds, the OTP validation sequence is:

              validityWindow = 20*30 seconds = 600 seconds (10 minutes)

              If validation against validityWindow fails, the larger time window is evaluated:

              largeWindowTimeStart = -22*30 seconds = 660 seconds (11 minutes) behind the server clock

              largeWindowTimeEnd = 22*30 seconds = 660 seconds (11 minutes) ahead of the server clock

              Result - when the server time is 12:00:00, the server will accept OTPs generated between 11:49:00 and 12:11:00

              Valid for:

              TOTP

              Important: 

                timestep must be set to 30 seconds

        disableThreshold:
          type: integer
          default: 5
          minimum: -1
          description: 	Number of successive failed authentication attempts before the authenticator is disabled.
        challengeDisableThreshold:
          type: integer
          default: -1
          minimum: -1
          description: |
            The maximum number of challenges that can be issued for validation without submission of a valid response from HID Approve

            Once this threshold is reached, the counter must be reset before a challenge will be issued

            Use -1 to disable the threshold

    Rule:
      title: Rule
      description: Rule for provisioning and authentication.
      properties:
        version:
          type: integer
          default: 1
          description: Version of the rule.
        refreshinterval:
          type: integer
          default: 1440
          description: Refresh interval.
        provisioning:
          type: array
          description: List of provisioning rule.
          items:
            $ref: "#/components/schemas/RuleDefinition"
        authentication:
          type: array
          description: List of authentication rules.
          items:
            $ref: "#/components/schemas/RuleDefinition"

    RuleDefinition:
      title: Rule Definition
      properties:
        ruleid:
          type: integer
          description: ID for the rule.
          default: 1
          minimum: 1
        phonestates:
          type: array
          description: Phone states for each rule.
          items:
            $ref: '#/components/schemas/PhoneState'
        outcome:
          type: string
          description: Outcome of the rule.
        message:
          type: string
          description: Message for the rule.
        bioclass:
          type: integer
          minimum: 0
          description: Biometric class for authentication.

    PhoneState:
      title: Phone State
      properties:
        os:
          type: string
          description: Operating system.
        osversion:
          type: string
          description: OS version.
        isRooted: 
          type: string
          description: Whether the device is rooted.
        keystore:
          type: string
          description: Type of keystore.
        minosversion:
          type: string
          description: Minimum OS version.
        maxosversion:
          type: string
          description: Maximum OS version.

    ContainersProtectionPolicy:
      title: Containers Protection Policy
      description: Configuration of containers protection policy.
      properties:
        type: 
          type: string
          default: biometricorpassword
          description: Type of key protection.
          enum:
            - device
            - devicelockorpassword
            - biometricorpassword
            - password
        lockPolicy:
          $ref: '#/components/schemas/LockPolicy'
        passwordPolicy:
          $ref: '#/components/schemas/PasswordPolicyApprove'
        cachingPolicy:
          $ref: '#/components/schemas/CachingPolicy'

    LockPolicy:
      title: Lock Policy
      description: Lock policy settings.
      properties:
        type:
          type: string
          enum:
            - Delay
            - Lock
            - Nolock
            - SILENT

        initialDelay:
          type: integer
          default: 2
          description: Initial delay for lock policy.
        maxCounterValue:
          type: integer
          default: 6
          description: Maximum counter value for lock policy.
          
    CachingPolicy: 
      title: Caching Policy
      description: Caching policy settings.
      properties:
        enabled:
          type: boolean
          default: true
          description: Whether caching is enabled.
        timeout:
          type: string
          default: 30
          description: Time out for caching policy.

    PasswordPolicyApprove:
      title: Password Policy
      description: Password policy settings.
      properties:
        minLength:
          type: integer
          default: 8
          description: Minimum length for password.
        maxLength:
          type: integer
          default: 64
          description: Maximum length for password.
        restriction:
          $ref: '#/components/schemas/Restriction'
        historyPolicy:
          $ref: '#/components/schemas/HistoryPolicy'


    Restriction:
      title: Restriction
      description: Password restrictions.
      properties:
        minUpperCase:
          type: integer
          default: 0
          description: Minimum number of upper case letters.
        minLowerCase:
          type: integer
          default: 0
          description: Minimum number of lower case letters.
        minNumeric:
          type: integer
          default: 0
          description: Minimum number of numeric characters.
        minAlpha:
          type: integer
          default: 0
          description: Minimum number of alphabetic characters.
        minNonAlph:
          type: integer
          default: 0
          description: Minimum number of non-alphabetic characters.
        maxUpperCase:
          type: integer
          default: 64
          description: Maximum number of upper case letters.
        maxLowerCase:
          type: integer
          default: 64
          description: Maximum number of lower case letters.
        maxNumeric:
          type: integer
          default: 64
          description: Maximum number of numeric characters.
        maxAlpha:
          type: integer
          default: 64
          description: Maximum number of alphabetic characters.
        maxNonAlpha:
          type: integer
          default: 64
          description: Maximum number of non-alphabetic characters.
        sequence:
          type: string
          default: deny
          enum:
            - allow
            - deny
          description: Allow or deny sequence of number/chars.

    HistoryPolicy:
      title:  History Policy
      description: Password history policy.
      properties:
        maxHistory:
          type: integer
          default: 1
          description: Maximum number of previous passwords to remember.
        minAge:
          type: integer
          default: 0
          description: Minimum age for password reuse.
        maxAge:
          type: integer
          default: 0
          description: Maximum age for password reuse.

    Attribute:
      properties:
        name:
          type: string
          example: CRED_ATT1
        readOnly:
          type: boolean
          example: false
        type:
          enum:
            - string
            - dateTime
            - integer
            - long
            - boolean
          type: string
          example: string
        value:
          type: string
          example: newValue
      type: object
    CreateAuditRecordResponse:
      type: object
      title: Create Audit Record Response
      description: Response returned when creating an audit record.
      properties:
        schemas:
          description: AuditRecord
          items:
            type: string
            example:
            - urn:hid:scim:api:idp:2.0:AuditRecord
          type: array
          uniqueItems: true
        id:
          description: The unique id of the Audit Record.
          type: string
          example: U11_IAM_PMWBUEFKXWJWGNJ0ZPD_SDC5WCPADTBMSGY.4:55
        meta:
          $ref: '#/components/schemas/Meta'
    AuditRecord:
      type: object
      title: Audit Record
      description: |
        Required parameters to create an Audit Record:
        * action
        * result
        * service
        * severity
        
        These parameters are readonly:
        * actingUserId
        * tenantId
        * created
        * integrityStatus
      properties:
        service:
          type: object
          title: Service Schema
          properties:
            id:
              type: string
              title: service id
              description: Id of the service in which the audited event occured.
              example: CaaS
              pattern: ^(.*)$
            name:
              type: string
              title: service friendly name
              description: name of the calling service
              default: ''
            version:
              type: string
              title: Version of the service. For convenience, not a "simple" number, but accepts letters, point, comma, dash and underscore
              default: ''
              example: 1.23.0b12_r2
              pattern: ^([a-zA-Z0-9\.\-_,:]+)$
            host:
              type: string
              title: Address of the source of the event
              description: Either a DNS-resolvable name or an IP address
              example: host12.subdomain.domain.com
              pattern: ^([a-zA-Z0-9\.\-_]+)$
        targetUserId:
          description: Represents a user that can be either internal or external to the system in the audit logs.
          allOf:
            - $ref: '#/components/schemas/AuditRecordSubjectId'
        correlationId:
          type: string
          title: Correlation ID
          description: The purpose of this field is to link several events together as being part of a "transaction". Defined and managed by the caller. For convenience, not a "simple" number, but accepts letters and dash as well.
          example: 64b6e0b2-a93f-44d4-bae3-91aec1c285a2
          pattern: ^([a-zA-Z0-9\-]+)$
        action:
          type: object
          title: Audited action
          properties:
            actionId:
              type: integer
              format: int32
              title: Identifier of the action
              description: Unique service-wide.
              example: 1234
            actionName:
              type: string
              title: Name of the action being audited
              example: primaryAuthenticateUser
            actionParameters:
              type: object
              title: the parameters of the action being audited
              description: Depends on action type. Not constrained and left free to be customized by the service
              example: { "text1": "myCustomParameter" }
        message:
          type: string
          description: a comment about the audited action
          default: ''
          example: message about audited action
        severity:
          type: string
          title: Severity
          description: Severity of the audited event - can be either "Information", "Warning", "Error" or "Alert"
          example: Information
        result:
          type: string
          title: Result of the audited action
          default: ''
          example: SUCCESS
        return_value:
          type: object
          title: Return Value (RV)
          description: RV only exists when severity is NOT Warning, Error or Alert. Depends on action type, and can be completely customized by the calling service.
        error:
          type: object
          properties:
            code:
              type: integer
              format: int32
            message:
              type: string
              example: message about error code
        actingUserId:
          readOnly: true
          allOf:
            - $ref: '#/components/schemas/AuditRecordSubjectId'
        tenantId:
          type: string
          title: Identifier of the tenant
          example: 35e0b388302323eca75047d8d3ffe7f715ef504c
          readOnly: true
        created:
          type: string
          title: Date of creation
          example: '2020-12-03T09:41:04.260Z'
          readOnly: true
        integrityStatus:
          type: string
          enum:
            - validated
            - unverified
            - tainted
          example: validated
          readOnly: true
    AuditRecordSubjectSession:
      title: Audit Record Subject Session
      type: object
      readOnly: true
      properties:
        id:
          type: string
          description: Session ID / ALSI. Encrypted as both sensitive (while active) and dynamic.
          example: '15addfc6'
        authenticationMethod:
          type: string
          description: Comma-separated list of the policies used to authenticate the subject
          example: AT_XXX
    AuditRecordSubjectId:
      title: Audit Record Subject Id
      type: object
      required:
        - immutableId
      properties:
        id:
          type: string
          description: User external id - for instance, UPN or email
          example: 'jdoe@company.com'
          readOnly: true
        immutableId:
          type: string
          description: |
            Numeric string of the user's internal immutable ID.
            
            While email, samAccountName, UPN, ... can change, this attribute represents an internal ID that never changes.
          example: '1234'
        tenantId:
          type: string
          description: might be useful for operations performed or affecting a user from a separate tenant - ex. creation of the tenant admin at on-boarding
          example: 35e0b388302323eca75047d8d3ffe7f715ef504c
          readOnly: true
        session:
          $ref: '#/components/schemas/AuditRecordSubjectSession'
    AuthenticatorStatistics:
      description: The statistics of the authenticator.
      type: object
      properties:
        consecutiveFailed:
          description: The number of continuous failures of the authenticator.
          type: integer
          format: int32
          example: 0
        consecutiveSuccess:
          description: The number of continuous success attempts of the authenticator.
          type: integer
          format: int32
          example: 0
        lastSuccessfulChannel:
          description: The name of the last successful channel.
          type: string
          example: OPERATOR
        lastSuccessfulDate:
          description: The date of the last successful authentication.
          type: string
          format: date-time
          example: 2017-11-20T14:05:03Z
        maximumNumberOfUsages:
          description: The maximum number of usages of the authenticator.
          type: integer
          format: int32
          example: 0
        totalFailed:
          description: The total number of failed times of the authenticator.
          type: integer
          format: int32
          example: 0
        totalSuccess:
          description: The total number of success times of the authenticator.
          type: integer
          format: int32
          example: 0
    AuthenticatorOwner:
      description: The user for whom the authenticator is created.
      type: object
      properties:
        type:
          description: The type of the owner.
          type: string
          example: User
        display:
          description: id reference for LDAP users not yet bound in ActivID when creating an authenticator with LDAP passthrough.
          type: string
          example: user12345
        value:
          description: the id of the user for which the authenticator is created.
          type: integer
          format: int32
          example: 12345
        location:
          description: The direct URI of the resource that was returned.
          type: string
          example: https://server.example.com:8445/scim/tenantexample/v2/Users/12345
    AuthenticatorStatusAttribute:
      description: The status of the authenticator.
      type: string
      enum:
        - ENABLED
        - DISABLED
      example: ENABLED
    AuthenticatorStatus:
      description: The status of the authenticator.
      type: object
      properties:
        status:
          $ref: '#/components/schemas/AuthenticatorStatusAttribute'
        active:
          description: The boolean value indicates the active status of the authenticator.
            <ul><li><code>true</code>:Indicates the authenticator is active.
            <li><code>false</code>:Indicates the authenticator is inactive. </li></ul>
          type: boolean
          example: true
        startDate:
          description: The start date and time (Valid from) of the authenticator (immutable).
          format: date-time
          type: string
          example: 2024-05-15T18:15:21+00:00
        expiryDate:
          description: The expiry date and time (Valid to) of the authenticator (immutable).
          format: date-time
          type: string
          example: 2029-05-15T18:15:21+00:00
        neverExpires:
          description: <code>true</code> if the authenticator never expires, <code>false</code> otherwise (immutable).
          type: boolean
          example: false
    AuthenticatorPolicyAttribute:
      title: Authenticator Policy Attribute for Authenticator
      description: Authenticator Policy Attribute for Authenticator
      type: object
      properties:
        display:
          description: The display name of the authenticator.
          type: string
          example: AT_CUSTPW
        value:
          description: The value of the authenticator.
          type: string
          example: AT_CUSTPW
        $ref:
          description: The direct URI of the resource that was created.
          type: string
          example: https://server.example.com:8445/scim/tenantexample/v2/Policy/Authenticator/AT_CUSTOTP
    Authenticator:
      type: object
      description: |
        Base class for authenticator. (work for Device and LDAP authenticator)
        You can have Device, LDAP, Password and Security Question authenticators.

        You can use only one extension depending of the type of your authenticator.

        Required parameters for creating an Authenticator are:
        * owner.value : the id of the user for which the authenticator is created.
        * policy.value : the authenticator policy id.
        * status.status : status of the authenticator (ENABLED or DISABLED).
        * status.startDate : authenticator "valid from" date.
        * status.expiryDate : authenticator "valid to" date.
        * status.neverExpires : <code>true</code> if the authenticator never expires, <code>false</code> otherwise.

        For LDAP Authenticator:
        * owner:display : id reference for LDAP users not yet bound in ActivID when creating an authenticator with LDAP passthrough.
        
        For Password authentication:
        * urn:hid:scim:api:idp:2.0:Password

        For Security Question authentication:
        * urn:hid:scim:api:idp:2.0:SecurityQuestion
        
        For Register OOB: 
        * owner (required) : display (user external id) or value (user id) can be used
        * policy (required) : Code of the authentication type
        * activationCode : if not set in the request, the server will generate one if useActivationCode is true (default)
        * urn:hid:scim:api:idp:2.0:Action : 
            - action: REGISTER-OOB (value static)
            - attributes:
              - name : OOB_DEVICETYPE_CODE (value static)
              - value : Code of device type that is compatible with credential type binded to the authentication type. Example DT_OOBEML with AT_OOBEML, DT_OOBSMS with AT_OOBSMS etc...
      title: Authenticator
      properties:
        schemas:
          description: HID Authenticator
          items:
            type: string
            example:
            - urn:hid:scim:api:idp:2.0:Authenticator
          type: array
          uniqueItems: true
          default:
            - urn:hid:scim:api:idp:2.0:Authenticator
        id:
          description: The unique id of the authenticator which is a combination of <code>User ID</code><b>.</b><code>Authenticator policy</code>.
          type: string
          example: 11288.AT_CUSTPW
          default: 11288.AT_CUSTPW
        externalId:
          description: The external ID of the authenticator.
          type: string
          example: jdoe
          default: jdoe
        meta:
          $ref: '#/components/schemas/Meta'
        status:
          $ref: '#/components/schemas/AuthenticatorStatus'
        owner:
          $ref: '#/components/schemas/AuthenticatorOwner'
        statistics:
          $ref: '#/components/schemas/AuthenticatorStatistics'
        policy:
          $ref: '#/components/schemas/AuthenticatorPolicyAttribute'
        urn:hid:scim:api:idp:2.0:SecurityQuestion:
          $ref: '#/components/schemas/AuthenticatorSQExtension'
        urn:hid:scim:api:idp:2.0:Password:
          $ref: '#/components/schemas/AuthenticatorPasswordExtension'
        urn:hid:scim:api:idp:2.0:Action:
          description: Component with action informations
          type: object
          properties:
            action:
              description: |
                - REGISTER-OOB : Register an OOB authenticator
              type: string
              enum:
                - REGISTER-OOB
            attributes:
              description: to add the mapping with the device type
              type: object
              properties:
                name:
                  description: Static name "OOB_DEVICETYPE_CODE" to use
                  type: string
                value:
                  description: Code of device type that is compatible with credential type binded to the authentication type.
                  type: string
        activationCode:
          description: password that protect the oob
          type: string
        useActivationCode:
          description: <code>true</code> (default) generates an activation code if not set in the request, <code>false</code> does not generate an activation code.
          type: boolean
          example: true
        lastSuccessfulDevice:
          description: For Device Authenticator, shows the last device used to authenticate if there's one. Otherwise, this parameter will not appear.
          type: object
          properties:
            type: 
              type: string
              example: Device
            value:
              description: id of the Device
              type: string
              example: "10564"
            $ref:
              description: The direct URI of the resource.
              type: string
              example: https://server.example.com:8445/scim/tenantexample/v2/Device/10564
    AuthenticatorPost:
      type: object
      description: |
        Base class for authenticator. (work for Device and LDAP authenticator)
        You can have Device, LDAP, Password and Security Question authenticators.

        You can use only one extension depending of the type of your authenticator.

        Required parameters for creating an Authenticator are:
        * owner.value : the id of the user for which the authenticator is created.
        * policy.value : the authenticator policy id.
        * status.status : status of the authenticator (ENABLED or DISABLED).
        * status.startDate : authenticator "valid from" date.
        * status.expiryDate : authenticator "valid to" date.
        * status.neverExpires : <code>true</code> if the authenticator never expires, <code>false</code> otherwise.

        For LDAP Authenticator:
        * owner:display : id reference for LDAP users not yet bound in ActivID when creating an authenticator with LDAP passthrough.
        
        For Password authentication:
        * urn:hid:scim:api:idp:2.0:Password

        For Security Question authentication:
        * urn:hid:scim:api:idp:2.0:SecurityQuestion
        
        For Register OOB: 
        * owner (required) : display (user external id) or value (user id) can be used
        * policy (required) : Code of the authentication type
        * activationCode : if not set in the request, the server will generate one if useActivationCode is true (default)
        * urn:hid:scim:api:idp:2.0:Action : 
            - action: REGISTER-OOB (value static)
            - attributes:
              - name : OOB_DEVICETYPE_CODE (value static)
              - value : Code of device type that is compatible with credential type binded to the authentication type. Example DT_OOBEML with AT_OOBEML, DT_OOBSMS with AT_OOBSMS etc...
      title: Authenticator
      properties:
        schemas:
          description: HID Authenticator
          items:
            type: string
            example:
            - urn:hid:scim:api:idp:2.0:Authenticator
          type: array
          uniqueItems: true
          default:
            - urn:hid:scim:api:idp:2.0:Authenticator
        id:
          description: The unique id of the authenticator which is a combination of <code>User ID</code><b>.</b><code>Authenticator policy</code>.
          type: string
          example: 11288.AT_CUSTPW
          default: 11288.AT_CUSTPW
        externalId:
          description: The external ID of the authenticator.
          type: string
          example: jdoe
          default: jdoe
        meta:
          $ref: '#/components/schemas/Meta'
        status:
          $ref: '#/components/schemas/AuthenticatorStatus'
        owner:
          $ref: '#/components/schemas/AuthenticatorOwner'
        statistics:
          $ref: '#/components/schemas/AuthenticatorStatistics'
        policy:
          $ref: '#/components/schemas/AuthenticatorPolicyAttribute'
        urn:hid:scim:api:idp:2.0:SecurityQuestion:
          $ref: '#/components/schemas/AuthenticatorSQExtension'
        urn:hid:scim:api:idp:2.0:Password:
          $ref: '#/components/schemas/AuthenticatorPasswordExtension'
        urn:hid:scim:api:idp:2.0:Action:
          description: Component with action informations
          type: object
          properties:
            action:
              description: |
                - REGISTER-OOB : Register an OOB authenticator
              type: string
              enum:
                - REGISTER-OOB
            attributes:
              description: to add the mapping with the device type
              type: object
              properties:
                name:
                  description: Static name "OOB_DEVICETYPE_CODE" to use
                  type: string
                value:
                  description: Code of device type that is compatible with credential type binded to the authentication type.
                  type: string
        activationCode:
          description: password that protect the oob
          type: string
        useActivationCode:
          description: <code>true</code> (default) generates an activation code if not set in the request, <code>false</code> does not generate an activation code.
          type: boolean
          example: true
    AuthenticatorAction:
      type: object
      title: Authenticator action
      description: |
        List of available Authenticator actions:
          - USER-CHALLENGE : get Challenge by User Code
          - DEVICE-CHALLENGE : get Challenge by Device
          - RESET : reset Authentication Fail Count
          - DELIVER-CHALLENGE : deliver Challenge
          - UNREGISTER-OOB : unregister OOB

        To perform USER-CHALLENGE action, attributes are:
          - USER.EXTERNALID (required) : user external id
          - CHANNEL : if a specific Channel is required to make the call
        
        To perform DEVICE-CHALLENGE action, attributes are:
          - DEVICETYPE (one of those attribute is required): device type code 
          - DEVICE.EXTERNALID (one of those attribute is required): device's serial number
          - DEVICE.ID (one of those attribute is required): device ID
          - CHANNEL : if a specific Channel is required to make the call
        
        To perform USER-CHALLENGE action, attributes are:
          - USER.EXTERNALID (required) : user external id
          - CHANNEL : if a specific Channel is required to make the call
        
        To perform RESET action, no attributes are expected
        
        To perform DELIVER-CHALLENGE action, attributes are:
          - DEVICETYPE (one of those attribute is required): device type code
          - DEVICE.EXTERNALID (one of those attribute is required): device's serial number
          - DEVICE.ID (one of those attribute is required): device ID
          - CHANNEL : if a specific Channel is required to make the call
          - USER.EXTERNALID : user external ID
        
        To perform UNREGISTER-OOB action, attributes are:
          - USER.EXTERNALID : userExternald will be discovered from the <UserID> in the URL. If the USER.EXTERNALID attribute is used, the <UserId> in the URL is optional
      properties:
        schemas:
          items:
            type: string
          type: array
          uniqueItems: true
          example:
            - urn:hid:scim:api:idp:2.0:Action
        id:
          type: string
          description: Authenticator id
          example: 11914.AT_TDS
        urn:hid:scim:api:idp:2.0:Action:
          title: Authenticator Action Extension
          properties:
            action:
              description: |
                - USER-CHALLENGE : get Challenge by User Code
                - DEVICE-CHALLENGE : get Challenge by Device
                - RESET : reset Authentication Fail Count
                - DELIVER-CHALLENGE : deliver Challenge
                - UNREGISTER-OOB : unregister OOB
              type: string
              enum:
                - USER-CHALLENGE
                - DEVICE-CHALLENGE
                - RESET
                - DELIVER-CHALLENGE
                - UNREGISTER-OOB
              example: USER-CHALLENGE
              default: USER-CHALLENGE
            attributes:
              items:
                properties:
                  name:
                    description: |
                      To perform USER-CHALLENGE action, attributes are:
                        - USER.EXTERNALID (required) : user external id
                        - CHANNEL : if a specific Channel is required to make the call
                      
                      To perform DEVICE-CHALLENGE action, attributes are:
                        - DEVICETYPE (one of those attribute is required): device type code 
                        - DEVICE.EXTERNALID (one of those attribute is required): device's serial number
                        - DEVICE.ID (one of those attribute is required): device ID
                        - CHANNEL : if a specific Channel is required to make the call
                      
                      To perform USER-CHALLENGE action, attributes are:
                        - USER.EXTERNALID (required) : user external id
                        - CHANNEL : if a specific Channel is required to make the call
                      
                      To perform RESET action, no attributes are expected
                      
                      To perform DELIVER-CHALLENGE action, attributes are:
                        - DEVICETYPE (one of those attribute is required): device type code
                        - DEVICE.EXTERNALID (one of those attribute is required): device's serial number
                        - DEVICE.ID (one of those attribute is required): device ID
                        - CHANNEL : if a specific Channel is required to make the call
                        - USER.EXTERNALID : user external ID
                      
                      To perform REGISTER-OOB action, attributes are:
                        - owner (required) : display (user external id) or value (user id) can be used
                        - policy (required)
                        - activationCode : if not set in the request, the server will generate one if useActivationCode is true (default)
                                            
                      To perform UNREGISTER-OOB action, attributes are:
                        - USER.EXTERNALID : userExternald will be discovered from the <UserID> in the URL. If the USER.EXTERNALID attribute is used, the <UserId> in the URL is optional
                        type: string
                        enum:
                          - DEVICETYPE
                          - DEVICE.EXTERNALID
                          - DEVICE.ID
                          - CHANNEL
                          - USER.EXTERNALID
                        example: DEVICE.ID
                  value:
                    type: string
                    example: 11936
                type: object
              type: array
          type: object
    AuthenticatorPolicy:
      title: Authenticator Policy
      description: |
        You cannot create an Authentication policy from scratch but can only clone and update one. Required attributes to clone an Authentication Policy:
          - copyFrom
          - id
          - name

        For Authenticator Policy Password, you can use urn:hid:scim:api:idp:2.0:policy:authenticator:Password extension.

        For Authenticator Policy Device, you can use one of the following extension:
          - urn:hid:scim:api:idp:2.0:policy:authenticator:PUSH
          - urn:hid:scim:api:idp:2.0:policy:authenticator:OTP
          - urn:hid:scim:api:idp:2.0:policy:authenticator:OOB
          - urn:hid:scim:api:idp:2.0:policy:authenticator:PKI
          - urn:hid:scim:api:idp:2.0:policy:authenticator:FIDO
          - urn:hid:scim:api:idp:2.0:policy:authenticator:LDAP
          - urn:hid:scim:api:idp:2.0:policy:authenticator:TXOOB

        (Deprecated) For Authenticator Policy Security Question, you can use urn:hid:scim:api:idp:2.0:policy:authenticator:SecurityQuestion.
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - properties:
            schemas:
              items:
                type: string
              type: array
              uniqueItems: true
              example:
                - urn:hid:scim:api:idp:2.0:policy:Authenticator
                - urn:hid:scim:api:idp:2.0:policy:authenticator:PUSH
            meta:
              $ref: '#/components/schemas/Meta'
            copyFrom:
              description: id of the Authentication Policy you want to clone
              type: string
              example: AT_CUSTPWD
              maxLength: 10
            id:
              description: id of the Authentication Policy
              type: string
              maxLength: 10
              example: AT_CUSTPWD2
            name:
              description: name of the Authentication Policy
              type: string
              maxLength: 50
              example: Employee Static Password
            notes:
              description: note of the Authentication Policy
              type: string
              maxLength: 500
              example: Static password login for employee authentication
            readOnly:
              description: true if the Authentication Policy is is immutable
              type: boolean
              example: false
            defaultValidDaysAdd:
              description: Valid days after creation (-1 is for never expires)
              type: integer
              format: int32
              example: 5
              minimum: -1
            defaultValidDaysEdit:
              description: Valid days after update (-1 is for never expires)
              type: integer
              format: int32
              example: 5
              minimum: -1
            disableThreshold:
              description: Disable threshold
              type: integer
              format: int32
              example: -1
              minimum: -1
            defaultExpiryThreshold:
              description: Default expiry threshold
              type: integer
              format: int64
              example: -1
              minimum: -1
            sessionTimeout:
              description: Session inactivity timeout (ms)
              type: integer
              format: int64
              minimum: -1
            sessionValidPeriod:
              type: integer
              format: int64
              minimum: -1
            disabledTimeReset:
              description: Disabled time reset (s)
              type: integer
              format: int64
              example: 900
              minimum: -1
            levelOfAssurance:
              description: Level of assurance
              type: string
            deliveryGateways:
              description: Valid delivery gateways ids
              type: array
              items:
                type: object
                properties:
                  display: 
                    type: string
                    example: OOBSMS
                  value:
                    type: string
                    example: 11051
          type: object
        - $ref: '#/components/schemas/AuthenticatorPolicyPasswordExtension'
        - $ref: '#/components/schemas/AuthenticatorPolicyPushExtension'
        - $ref: '#/components/schemas/AuthenticatorPolicyOTPExtension'
        - $ref: '#/components/schemas/AuthenticatorPolicyOOBExtension'
        - $ref: '#/components/schemas/AuthenticatorPolicyPKIExtension'
        - $ref: '#/components/schemas/AuthenticatorPolicyFIDOExtension'
        - $ref: '#/components/schemas/AuthenticatorPolicyTXOOBExtension'
        - $ref: '#/components/schemas/AuthenticatorPolicySQExtension'
      type: object
    Credential:
      description: |
        Credentials API
      title: Credential
      properties:
        schemas:
          items:
            type: string
          type: array
          uniqueItems: true
          example:
            - urn:hid:scim:api:idp:2.0:Credential
        id:
          description: id of credential
          type: string
          maxLength: 28
          example: 11039
        externalId:
          type: string
          description: The special character supported are <b>-+_!@#$%&*.,?</b>
          maxLength: 1000
          example: CN=(t30a7090b6259296697652) ActivID System User Signature, O=HID Global, OU=t30a7090b62592966976521636486586808
        meta:
          $ref: '#/components/schemas/Meta'
        type:
          description: Credential type
          type: string
          maxLength: 50
          example: CT_PKIDIRECT
        status:
          $ref: '#/components/schemas/CredentialStatus'
        attributes:
          description: attributes of the credential
          items:
            $ref: '#/components/schemas/Attribute'
          type: array
        totalUsed:
          type: string
          maxLength: 28
          example: 1
      type: object
    DeliveryGatewayEmail:
      type: object
      title: Email Delivery Gateway
      description: |
        The default Email Delivery Gateway is protected and cannot be deleted.
        The following parameters can be updated:
        * emailSubject
        * attributeEmail
        * attributeCcEmail
        * attributeBccEmail
        * challengeMsgTmpl
        * credentialMsgTmpl
        * challengeMsgTmplHtmlFormat
        * credentialMsgTmplHtmlFormat
      properties:
        schemas:
          description: The schema to recieve response after create an adapter.
          items:
            type: string
            example: 'urn:hid:scim:api:idp:2.0:DeliveryGateway:Email'
          type: array
          uniqueItems: true
        type:
          description: this is type of an email adapter.
          type: string
          example: EMAIL
        meta:
          $ref: '#/components/schemas/Meta'
        id:
          type: string
          example: '11053'
        name:
          description: The unique name of an adapter.
          type: string
          example: Email Delivery Gateway
        emailSubject:
          description: The E-Mail subject.
          type: string
          example: Email notification
        attributeEmail:
          description: The user Attribute that stores the email address of the recipient.
          type: string
          example: ATR_EMAIL
        attributeCcEmail:
          description: The User Attribute that stores the email address of the CC.
          type: string
          example: tom.doe@myemailserver.com
        attributeBccEmail:
          description: The User Attribute that stores the email address of the BCC.
          type: string
          example: tim.doe@myemailserver.com
        challengeMsgTmpl:
          description: Base name of templates for Challenge messages.
          type: string
          example: MESSAGE=The secret code is {$secret}
        credentialMsgTmpl:
          description: Base name of templates for Credential messages.
          type: string
          example: MESSAGE=The secret code is {$secret}
        challengeMsgTmplHtmlFormat:
          description: Defines if the Challenge messages are sent in the HTML format (yes/no).
          type: string
          example: no
        credentialMsgTmplHtmlFormat:
          description: Defines if the Credential messages are sent in the HTML format (yes/no).
          type: string
          example: no
    DeliveryGatewayPush:
      type: object
      title: Push Delivery Gateway
      description: |
        Required parameters for creating an Email Delivery Gateway:
        * type
        * name
        * connectionString
        * hub
        * supportedOperatingSystems
        * messageTemplates
      properties:
        schemas:
          description: The schema to recieve response after create an adapter.
          items:
            type: string
            example: 'urn:hid:scim:api:idp:2.0:DeliveryGateway:Push'
          type: array
          uniqueItems: true
        type:
          description: this is type of a push adapter.
          type: string
          enum:
            - AZURE_WNS_PUSH
            - AZURE_GCM_PUSH
            - AZURE_APNS_PUSH
          example: AZURE_WNS_PUSH
        meta:
          $ref: '#/components/schemas/Meta'
        id:
          type: string
          example: '11053'
        name:
          description: The unique name of an adapter.
          type: string
          example: AzureWindows
        notes:
          description: Description of the adapter.
          type: string
          example: Azure windows push adapater
        connectionString:
          description: This is end point of push aggregator hub
          type: string
          example: 'sb://DNS hostname/;SharedAccessKeyName=<>;SharedAccessKey=<>'
        hub:
          description: Name of a push aggregator
          type: string
          example: my hub
        notificationTimeToLive:
          description: Time to live in seconds. Default is zero
          type: string
          example: "180"
        supportedOperatingSystems:
          description: supported opearating systems of an adapter.
          type: array
          items:
            type: string
          example: 
            - 'Windows'
            - 'Window10'
        appId:
          description: supported appId
          type: string
          example: "appId"
        messageTemplates:
          description: Message template for credential and challenge.
          type: object
          properties:
            credential:
              description: Message template for credential
              type: object
              properties:
                title:
                  type: string
                  example: Activation
                msg:
                  type: string
                  example: touch to activate
            challenge:
              description: Message template for challenge
              type: object
              properties:
                title:
                  type: string
                  example: Transaction
                msg:
                  type: string
                  example: Validate transaction
    DeliveryGatewaySms:
      type: object
      title: SMS Delivery Gateway
      description: |
        The default SMS Delivery Gateway is protected and cannot be deleted.
        The following parameters can be updated:
        * challengeMsgTmpl
        * credentialMsgTmpl
        * attributePhoneNumber
      properties:
        schemas:
          description: The schema to recieve response after create an adapter.
          items:
            type: string
            example: 'urn:hid:scim:api:idp:2.0:DeliveryGateway:SMS'
          type: array
          uniqueItems: true
        type:
          description: this is type of a push adapter.
          type: string
          example: SMS
        meta:
          $ref: '#/components/schemas/Meta'
        id:
          type: string
          example: '11053'
        name:
          description: The unique name of the adapter.
          type: string
          example: SMS Delivery Gateway Mobile
        notes:
          description: Description of the adapter.
          type: string
          example: SMPP delivery gateway for OOB SMS
        attributePhoneNumber:
          description: User Attribute that stores the phone number.
          type: string
          example: ATR_MOBILE
        challengeMsgTmpl:
          description: Name of template for Challenge messages.
          type: string
          example: MESSAGE=The secret code is {$secret}
        credentialMsgTmpl:
          description: Name of template for Credential messages.
          type: string
          example: MESSAGE=The secret code is {$secret}
    DeviceStatusAttribute:
      properties:
        expiryDate:
          description: The expiry date of the device.
          format: date-time
          type: string
          example: 2029-05-15T18:15:21+00:00
        startDate:
          description: The start date of the device.
          format: date-time
          type: string
          example: 2024-05-15T18:15:21+00:00
        status:
          description: status of the Device
          type: string
          enum:
            - PENDING
            - ACTIVE
            - SUSPENDED
            - REVOKED
            - TERMINATED
          example: PENDING
        active:
          type: boolean
          example: false
        neverExpires:
          description: <code>true</code> if the device never expires, <code>false</code> otherwise.
          type: boolean
          example: false
      type: object
    Device:
      title: Device
      description: |
        Parameters required to create a device:
        * externalId
        * type
        * status (including startDate and expiryDate or neverExpires)
      properties:
        schemas:
          items:
            type: string
          type: array
          uniqueItems: true
          example: urn:hid:scim:api:idp:2.0:Device
        id:
          type: string
          description: Device external id.
          example: 11326
        externalId:
          type: string
          description: Device external id. The special character supported are <b>-+_!@#$%&*.,?</b>
          maxLength: 50
          example: myExternalId
        meta:
          $ref: '#/components/schemas/Meta'
        friendlyName:
          type: string
          description: Device friendly name
          example: friendlyName
        owner:
          description: owner of the device
          properties:
            type:
              description: type of the owner
              type: string
              example: User
            display:
              description: owner name
              type: string
              example: jdoe
            value:
              description: owner value
              type: string
              example: 11288
            $ref:
              description: owner reference
              type: string
              example: 'https://server.example.com/scim/tenantexample/v2/Users/11288'
          type: object
        type:
          description: type of the device
          type: string
          maxLength: 10
          example: DT_TDSV4
        status:
          $ref: '#/components/schemas/DeviceStatusAttribute'
        children:
          description: credentials linked to the device
          items:
            properties:
              value:
                description: id of the credential
                type: string
                example: 11290
              $ref:
                description: reference of the credential
                type: string
                example: 'https://server.example.com/scim/tenantexample/v2/Credential/11290'
            type: object
          type: array
      type: object
    QueryRequest_Device:
      title: Device search criteria
      required:
      - filter
      properties:
        schemas:
          description: The SCIM 2.0 search request representation.
          items:
            type: string
            example: urn:ietf:params:scim:api:messages:2.0:SearchRequest
          type: array
          uniqueItems: true
        filter:
          description: Use filter parameter to request a subset of resources.
          type: string
          example: type eq DT_TDSV4
        sortBy:
          description: The listed devices are sorted as per the mentioned parameter value.
          type: string
          example: id
        sortOrder:
          description: The listed devices are sorted as per the mentioned order (ascending or descending).
          type: string
          example: descending
        startIndex:
          description: The starting index of the list.
          type: integer
          format: int32
          example: 0
        count:
          description: The maximum devices count of the list.
          type: integer
          format: int32
          example: 100
      type: object
    DeviceActionResponse:
      title: Device Action Response
      properties:
        code:
          type: string
          example: 71176075
      type: object
    DeviceActionAttributeValue:
      title: Device Action Attribute Values
      properties:
        action:
          type: string
          description: |
            - AUTO-SYNCH : Automatic Counter Resynchronization
            - SYNCH-COUNTER : Manual Counter Resynchronization
            - PIN-UNLOCK : PIN Unlock
          enum:
            - AUTO-SYNCH
            - SYNCH-COUNTER
      type: object
    DeviceActionAttribute:
      title: Device Action Attribute
      properties:
        urn:hid:scim:api:idp:2.0:Action:
          title: Device action attribute
          description: |
            Valid device actions:
              - AUTO-SYNCH : Automatic Counter Resynchronization
              - SYNCH-COUNTER : Manual Counter Resynchronization
              - PIN-UNLOCK : PIN Unlock
          properties:
            action:
              $ref: '#/components/schemas/DeviceActionAttributeValue'
            attributes:
              items:
                properties:
                  name:
                    description: |
                      For AUTO-SYNCH:
                        - OTP (ie set OTP to current otp)
                      
                      For SYNCH-COUNTER:
                        - COUNTER (ie set counter to current counter value)
                      
                      For PIN-UNLOCK:
                        - CHALLENGE (ie set attribute CHALLENGE with the challenge displayed on the device)
                    type: string
                    example: OTP
                  value:
                    type: string
                    example: 20571257
                type: string
              type: array
          type: object
      type: object
    DeviceAction:
      title: Device action
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              items:
                type: string
              type: array
              uniqueItems: true
              example: urn:hid:scim:api:idp:2.0:Action
        - $ref: '#/components/schemas/DeviceActionAttribute'
      type: object
    DeviceImportMapping:
      type: object
      title: Device Import Mapping
      description: Object representing the mapping between the deviceType and an algorithm
      properties:
        deviceType:
          type: string
        algo:
          description: |
            Possible values for algo are:
            - ai : short name for HID tokens
            - hotp : short name for OATH HMAC-Based OTP
            - totp : short name for OATH Time based OTP
            - ocra : short name for OATH Challenge Response algorithm
          type: string
    DeviceImport:
      title: Device import
      description: |
        This release of the API only supports importing PSKC, SDS and PKI files.

        Parameters required to import a device:
        * adapter
        * mapping (for PSKC or SDS)
        * binding (for PKI)
        * encryptionKey
        * resyncWindow
        * status
        * payload
        * async
      properties:
        adapter:
          description: |
            Code of the adapter to use (OATH-PSKC, SDS and PKI are supported in this release) mapping – array of objects representing a mapping (deviceType and algo)
          type: string
          enum:
            - PKI
            - OATH-PSKC
            - SDS
          example: PKI
        binding:
          $ref: '#/components/schemas/DeviceImportBinding'
        mapping:
          items:
            $ref: '#/components/schemas/DeviceImportMapping'
          type: array
        status:
          description: Status of the device after import (ACTIVE or PENDING)
          type: string
          enum:
            - ACTIVE
            - PENDING
          example: ACTIVE
        owner:
          description: |
            (Optional) Reference of the user to who the device should be assigned

            If owner is specified, either value or display must also be specified:

            - value - userId
            - display - userCode
          properties:
            display:
              type: string
              example: Example
            value:
              type: string
              example: 12345
          type: object
        policy:
          description: |
            (Optional) Reference of the authentication policy for creating the user authenticator

            If policy is specified, the owner must also be specified:

              value - authentication policy code (for example, AT_EMPPKI)
          properties:
            value:
              type: string
              example: AT_EMPPKI
          type: object
        payload:
          description: Binary of the file to import, encoded in base64
          type: string
          maxLength: 41943040
          example: MIID2jCCAsKgAwIBAgIUGv8SgSymAr5oX44df4HY6vh1CVgwDQY
        async:
          description: Indicates if the import is synchronous or asynchronous
          type: boolean
          example: false
        correlationId:
          description: (Optional) If no correlationId is specified, a random one is generated. The correlationId will appear in all audit records for this import.
          type: string
          example: 1SFCBFBFVCGTCV7QVTBV
        startDate:
          description: (Optional) Can be used to define a "valid from" date for devices and credentials
          type: string
          example: '2021-12-03T16:45:20.153Z'
        endDate:
          description: (Optional) Can be used to define a "valid to" date for devices and credentials
          type: string
          example: '2021-12-03T16:45:20.153Z'
        encryptionKey:
          type: string
          example: "1564561615644168498961561854896"
      type: object
    DeviceImportResult:
      title: Device import result
      description: |
        In request, if async is set to false, it is a synchronous call and the API waits for the response.

         In request, if async is set to true, it is an asynchronous call and the API does not wait for the response.
      properties:
        result:
          description: |
            Empty if async is true
          type: array
          items:
            properties:
              device:
                $ref: '#/components/schemas/Device'
              result:
                type: integer
                format: int32
                description: error code for this device
                example: 101
              reason:
                type: string
                description: reason for this device
                example: Imported Token
            type: object
        correlationId:
          type: string
          description: id of the asynchronous request if async is true
          example: 1SFCBFBFVCGTCV7QVTBV (only for asynchronous request)
      type: object
    DeviceImportBinding:
      type: object
      title: Device Import Binding
      description: Object representing the binding between the deviceType and the associated credentialType to import
      properties:
        deviceType:
          description: Device type to bind.
          type: string
          maxLength: 10
          example: DT_SCPKI
        credentialType:
          description: Credential Type to bind
          type: string
          maxLength: 50
          example: CT_CRTCHK1
    DeviceProvisionStatusAttribute:
      description: The status of the provisioning.
      type: string
      example: UNPROCESSED
      enum:
        - IN_ISSUANCE
        - PROCESSED
        - REG_PROCESS
        - UNPROCESSED
    DeviceProvision:
      title: Device Provision
      description: |
        Parameters required to provision a device (online activation):
        * deviceType
        * description
        * owner
        * attributes

        Parameters required to provision a device (offline activation Time based):
        * deviceType
        * owner
        * attributes

        Parameters required to provision a device (offline activation Event based):
        * deviceType
        * owner
        * attributes
      properties:
        schemas:
          items:
            type: string
          type: array
          uniqueItems: true
          example: urn:hid:scim:api:idp:2.0:Provision
        id:
          description: The internal ID of the device provision.
          type: string
          maxLength: 28
        meta:
          $ref: '#/components/schemas/Meta'
        deviceType:
          description: The type of the device.
          type: string
          maxLength: 10
          example: DT_TDSV4
        status:
          description: status of the device provision
          type: object
          properties:
            status:
              $ref: '#/components/schemas/DeviceProvisionStatusAttribute'
            active:
              description: The boolean value indicates the active status of the device.
                          <ul><li><code>true</code>:Indicates the status is Active
                          <li><code>false</code>:Indicates the status is Inactive</li></ul>
              type: boolean
              example: false
        description:
          description: The description parameters of the provisioning.<br>
            <ul><li>did:Device ID
            <li>url:Provisioning URL
            <li>pch:Provisioning Channel Code
            <li>pth:Provisioning Authentication Type Code
            <li>pct:Provisioning Credential Type Code
            <li>pdt:Provisioning Device Type Code
            <li>mod:Mode</li></ul>
          type: string
          maxLength: 4000
          example: did=11333,url=scim.example.com/DOMAIN,pch=CH_TDSPROV,pth=AT_TDSOOB,pct=CT_TDSOOB,pdt=DT_TDSOOB,mod=GEN,sec=
        owner:
          description: The user for whom the device is provisioned.
          type: object
          properties:
            type:
              description: The type of the owner.
              type: string
              example: User
            display:
              description: The display name of the owner.
              type: string
              example: myUser
            value:
              description: The ID of the owner.
              type: integer
              format: int32
              example: 11055
            location:
              description: The direct URI of the resource.
              type: string
              example: https://server.example.com:8445/scim/tenantexample/v2/Users/11055
        attributes:
          items:
            description: A Multi-valued attribute.
            type: object
            properties:
              name:
                description: The name of the attribute.
                type: string
                example: AUTH_TYPE
              type:
                description: The type of the attribute.
                type: string
                example: string
              value:
                description: The value of the attribute.
                type: string
                example: AT_SMK
              readOnly:
                description: The boolean value indicates Readonly.
                type: boolean
                example: false
          type: array
      type: object
    CredentialType:
      description: |
        You cannot create 
        Parameters required to clone a device type:
        * copyFrom
        * id
        * name

        For Credential Type OATH, you must use urn:hid:scim:api:idp:2.0:credential:type:OATH
        * algo

        For Credential Type SDB, you must use urn:hid:scim:api:idp:2.0:credential:type:SDB
        * algo

        For Credential Type OOB, you must use urn:hid:scim:api:idp:2.0:credential:type:OOB
        * algo

        For Credential Type Push (PKI), you must use urn:hid:scim:api:idp:2.0:credential:type:PushPKI

        For Credential Type Push (SMK), you must use urn:hid:scim:api:idp:2.0:credential:type:PushSMK

        For Credential Type Push (OATH), you must use urn:hid:scim:api:idp:2.0:credential:type:PushOATH
        * algo

        For Credential Type Push (OOB), you must use urn:hid:scim:api:idp:2.0:credential:type:PushOOB
      type: object
      title: Credential Type
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              items:
                type: string
              type: array
              uniqueItems: true
              example:
                - urn:hid:scim:api:idp:2.0:credential:Type
            meta:
              $ref: '#/components/schemas/Meta'
            copyFrom:
              description: id of the CT you want to copy
              type: string
              maxLength: 10
              example: CT_ACODE
            id:
              description: ID of the Credential Type
              type: string
              maxLength: 10
              example: CT_PKICR1
            name:
              description: Name of the Credential Type
              type: string
              maxLength: 50
              example: PKI Challenge Response v1
            notes:
              description: Notes of the Credential Type
              type: string
              maxLength: 500
              example: Validates a signed challenge, i.e. response, using the public key from a PKI x509 Certificates v1
            readOnly:
              description: True if the Credential Type is safeguarded
              type: boolean
              example: false
        - $ref: "#/components/schemas/CredentialTypeOATHExtension"
        - $ref: "#/components/schemas/CredentialTypeSDBExtension"
        - $ref: "#/components/schemas/CredentialTypeOOBExtension"
        - $ref: "#/components/schemas/CredentialTypePushPKIExtension"
        - $ref: "#/components/schemas/CredentialTypePushSMKExtension"
        - $ref: "#/components/schemas/CredentialTypePushOATHExtension"
        - $ref: "#/components/schemas/CredentialTypePushOOBExtension"
        - $ref: "#/components/schemas/CredentialTypeFIDOExtension"
        - $ref: "#/components/schemas/CredentialTypeOOBACodeExtension"
        - $ref: "#/components/schemas/CredentialTypePKICERTExtension"
    CredentialTypeOATHExtension:
      type: object
      title: Credential Type - OATH - Extension
      properties:
        urn:hid:scim:api:idp:2.0:credential:type:OATH:
          properties:
            serviceName:
              description: The name for the password service.
              type: string
              example: PASSWORD
            algo:
              description: |
                can use "|" for multiples algorithms.
                * hotp : authentication based on event
                * totp : authentication based on time
                * ocra : authentication based on challenge-response
              type: string
              enum:
                - hotp
                - totp
                - ocra
                - hotp|ocra
                - totp|ocra
                - hotp|totp
                - hotp|totp|ocra
              example: hotp|totp|ocra
            totp:
              description: authentication based on time
              properties:
                timeStep:
                  description: Time Increment By
                  type: integer
                  format: int64
                  default: 128
                smallWindowTimeStart:
                  description: Small OTPWindow Time Start
                  type: integer
                  format: int64
                  default: -3
                smallWindowTimeEnd:
                  description: Small OTPWindow Time End
                  type: integer
                  format: int64
                  default: 2
                largeWindowTimeStart:
                  description: Large OTPWindow Time Start
                  type: integer
                  format: int64
                  default: -5
                largeWindowTimeEnd:
                  description: Large OTPWindow Time
                  type: integer
                  format: int64
                  default: 4
              type: object
            hotp:
              description: authentication based on event
              properties:
                smallWindowEventEnd:
                  description: The Event End for the small OTP synchronization window.
                  type: integer
                  format: int64
                  default: 2
                largeWindowEventEnd:
                  description: The Event End for the large OTP synchronization window.
                  type: integer
                  format: int64
                  default: 10
                eventCounterManualUpdateAllowedDiff:
                  description: The maximum difference allowed between a manual event counter entry and the previous counter value.
                  type: integer
                  format: int64
                  default: 1
              type: object
            ocra:
              properties:
                eventCounterResynchronizationWindowOverride:
                  description: The resynchronization window for the event counter.
                  type: integer
                  format: int64
                  default: 30
                timeResynchronizationWindowOverride:
                  description: The +/- time steps for the time resynchronization window.
                  type: integer
                  format: int64
                  default: 20
                ocraSuiteCounterCROverride:
                  description: The OCRA suite for the event counter.
                  type: string
                  example: OCRA-1:HOTP-SHA1-8:C-QA06
                ocraSuiteTimestampCROverride:
                  description: The OCRA suite for the timestamp.
                  type: string
                  example: OCRA-1:HOTP-SHA1-8:QA06-T30S
                ocraSuiteCounterSignOverride:
                  description: The OCRA suite for the event counter in plain signature mode.
                  type: string
                  example: OCRA-1:HOTP-SHA1-8:C-QA06
              type: object
          type: object
    CredentialTypeSDBExtension:
      type: object
      title: Credential Type - SDB - Extension
      properties:
        urn:hid:scim:api:idp:2.0:credential:type:SDB:
          properties:
            serviceName:
              description: The name for the password service.
              type: string
              example: PASSWORD
            algo:
              description: |
                Valid value: ai
              type: string
              example: ai
            timeWindow:
              properties:
                timeStep:
                  description: The number of seconds by which the time should be incremented.
                  type: integer
                  format: int64
                  default: 128
                smallWindowTimeStart:
                  description: The Time Start for the small OTP synchronization window.
                  type: integer
                  format: int64
                  default: -3
                smallWindowTimeEnd:
                  description: The Time End for the small OTP synchronization window.
                  type: integer
                  format: int64
                  default: 2
                largeWindowTimeStart:
                  description: The Time Start for the large OTP synchronization window.
                  type: integer
                  format: int64
                  default: -5
                largeWindowTimeEnd:
                  description: The Time End for the large OTP synchronization window.
                  type: integer
                  format: int64
                  default: 4
              type: object
            eventWindow:
              properties:
                smallWindowEventEnd:
                  description: The Event End for the small OTP synchronization window.
                  type: integer
                  format: int64
                  default: 2
                largeWindowEventEnd:
                  description: The Event End for the large OTP synchronization window.
                  type: integer
                  format: int64
                  default: 10
                eventCounterManualUpdateAllowedDiff:
                  description: The maximum difference allowed between a manual event counter entry and the previous counter value.
                  type: integer
                  format: int64
                  default: 1
              type: object
          type: object
    CredentialTypeOOBExtension:
      type: object
      title: Credential Type - OOB - Extension
      properties:
        urn:hid:scim:api:idp:2.0:credential:type:OOB:
          properties:
            validityPeriod:
              description: The number of seconds for which the OTP is valid.
              type: integer
              format: int64
              default: 1200
            otpLen:
              description: The length of the OTP.
              type: integer
              format: int64
              default: 8
            otpFormat:
              description: The format of the OTP. "Digit" or "Hex".
              type: string
              default: Digit
            requestsThreshold:
              description: The number of time an OOB OTP can be requested using the Activation Code without the OTP being used for authentication.
              type: integer
              format: int64
              default: 3
          type: object
    CredentialTypePushOOBExtension:
      type: object
      title: Credential Type - Push (OOB) - Extension
      properties:
        urn:hid:scim:api:idp:2.0:credential:type:PushOOB:
          properties:
            validityPeriod:
              description: The number of seconds for which the OTP is valid.
              type: integer
              format: int64
              default: 1200
            otpLen:
              description: The length of the OTP.
              type: integer
              format: int64
              default: 8
            otpFormat:
              description: The format of the OTP. "Digit" or "Hex".
              type: string
              default: Digit
          type: object
    CredentialTypePushOATHExtension:
      type: object
      title: Credential Type - Push (OATH) - Extension
      properties:
        urn:hid:scim:api:idp:2.0:credential:type:PushOATH:
          properties:
            keyValidityPeriod:
              description: The number of days for which the credential is valid.
              type: integer
              format: int64
              default: 1825
            keyLabel:
              description: The label for the key on HID Approve. This label must be unique.
              type: string
              default: OATH_OCRA
            keyUsage:
              description: The purpose of the key.
              type: string
              default: otp
            algo:
              description: |
                can use "|" for multiples algorithms.
                * hotp : authentication based on event
                * totp : authentication based on time
                * ocra : authentication based on challenge-response
              type: string
              enum:
                - hotp
                - totp
                - ocra
                - hotp|ocra
                - totp|ocra
                - hotp|totp
                - hotp|totp|ocra
              default: hotp|totp|ocra
            totp:
              description: authentication based on time
              properties:
                validityWindow:
                  description: |
                    window (in number of timesteps) that definies OTP validity relative to current server clock: 
                      clock - validityWindow * timestep to clock + validityWindow * timestep
                  type: integer
                  format: int64
                  default: 128
                timeStep:
                  description: Time Increment By
                  type: integer
                  format: int64
                  default: 128
                otpLen:
                  description: OTP length to be generated.
                  type: integer
                  format: int64
                  default: 8
                smallWindowTimeStart:
                  description: Small OTPWindow Time Start
                  type: integer
                  format: int64
                  default: -3
                smallWindowTimeEnd:
                  description: Small OTPWindow Time End
                  type: integer
                  format: int64
                  default: 2
                largeWindowTimeStart:
                  description: Large OTPWindow Time Start
                  type: integer
                  format: int64
                  default: -5
                largeWindowTimeEnd:
                  description: Large OTPWindow Time
                  type: integer
                  format: int64
                  default: 4
              type: object
            hotp:
              description: authentication based on event
              properties:
                validityWindow:
                  description: counter accepted values relative to server counter
                  type: integer
                  format: int64
                  default: 128
                otpLen:
                  description: OTP length to be generated.
                  type: integer
                  format: int64
                  default: 8
                smallWindowEventEnd:
                  description: The Event End for the small OTP synchronization window.
                  type: integer
                  format: int64
                  default: 2
                largeWindowEventEnd:
                  description: The Event End for the large OTP synchronization window.
                  type: integer
                  format: int64
                  default: 10
                eventCounterManualUpdateAllowedDiff:
                  description: The maximum difference allowed between a manual event counter entry and the previous counter value.
                  type: integer
                  format: int64
                  default: 1
              type: object
            ocra:
              properties:
                ocraSuite:
                  description: The OCRA suite.
                  type: string
                  example: OCRA-1:HOTP-SHA1-8:C-QN08
                eventCounterResynchronizationWindowOverride:
                  description: The resynchronization window for the event counter.
                  type: integer
                  format: int64
                  default: 30
                timeResynchronizationWindowOverride:
                  description: The +/- time steps for the time resynchronization window.
                  type: integer
                  format: int64
                  default: 20
                modes:
                  description: The OCRA modes. Supported modes are CHALLENGE_RESPONSE and SIGNATURE.
                  type: array
                  items:
                    type: string
                  uniqueItems: true
                  default: [ "CHALLENGE_RESPONSE", "SIGNATURE" ]
              type: object
          type: object
    CredentialTypePushSMKExtension:
      type: object
      title: Credential Type - Push (SMK) - Extension
      properties:
        urn:hid:scim:api:idp:2.0:credential:type:PushSMK:
          properties:
            keyValidityPeriod:
              description: The number of days for which the credential is valid.
              type: integer
              format: int64
              default: 1825
            keyLabel:
              description: The label for the key on HID Approve. This label must be unique.
              type: string
              default: signkey
          type: object
    CredentialTypePushPKIExtension:
      type: object
      title: Credential Type - Push (PKI) - Extension
      properties:
        urn:hid:scim:api:idp:2.0:credential:type:PushPKI:
          properties:
            otpLen:
              description: The length of the OTP to generate and associate to every logon or action validation request. Sent back by HID Approve to retrieve request data.
              type: integer
              format: int64
              default: 8
            approvalStatus:
              description: The approval status to be sent to the device. The default value is accept|deny|report.
              type: string
              default: accept|deny|report
            keyValidityPeriod:
              description: The number of days for which the credential is valid.
              type: integer
              format: int64
              default: 1825
            keyLabel:
              description: The label for the key on HID Approve. This label must be unique.
              type: string
              default: pushkey
            keyUsage:
              description: The purpose of the key.
              type: string
              default: signature
          type: object
    CredentialTypeOOBACodeExtension:
      type: object
      title: Credential Type - OOBACode - Extension
      properties:
        urn:hid:scim:api:idp:2.0:credential:type:OOBACode:
          properties:
            validityPeriod:
              description: The number of seconds for which the OTP is valid.
              type: integer
              format: int64
              default: 31536000
            pinCodeLen:
              description: The length of the credential's PIN	.
              type: integer
              format: int64
              default: 4
            oobCredentialType:
              description: A code of a valid OOB credential type .
              type: string
              default: CT_OOB
            expiryThreshold:
              description: The number of times the activation Code can be used to request an OTP via SMS or Email.
              type: integer
              format: int64
              default: -1
          type: object
    CredentialTypeFIDOExtension:
      type: object
      title: Credential Type - FIDO - Extension
      properties:
        urn:hid:scim:api:idp:2.0:credential:type:FIDO:
          properties:
            allowedAlgorithms:
              description: A comma-delimited list of crypto algorithms supported for signature. Leave the field blank to allow all algorithms .
              type: string
              default: SHA256withECDSA
          type: object
    CredentialTypePKICERTExtension:
      type: object
      title: Credential Type - PKICERT - Extension
      properties:
        urn:hid:scim:api:idp:2.0:credential:type:PKICERT:
          properties:
            authenticationMode:
              description: The value can be synch,asynch or "" (means both). If both is used, this parameter is not returned.
              type: string
              default: ""
            signingCipher:
              description: The cipher to be used when signing challenges. Is not returned if the authenticationMode is set to "synch".
              type: string
              default: SHA256WithRSA
            signingAlgorithm:
              description: A comma-delimited list of crypto algorithms supported for signature. Leave the field blank to allow all algorithms. Is not returned if the authenticationMode is set to "synch".
              type: string
              default: RSA
          type: object
    Customization:
      description: Customization
      type: object
      title: Customization
      properties:
        schemas:
          items:
            type: string
          type: array
          uniqueItems: true
        meta:
          $ref: '#/components/schemas/Meta'
        id:
          description: Id of the customization
          type: string
          maxLength: 50
        payload:
          description: Payload of the customization. See documentation for the content.
          type: object
    DeviceType:
      type: object
      title: Device Type
      description: |
        Parameters required to create a device type:
        * copyFrom
        * id
        * name

        For Device Type CMS Card, you must use urn:hid:scim:api:idp:2.0:credential:type:CMSCard

        For Device Type EMV Card, you must use urn:hid:scim:api:idp:2.0:credential:type:EMVCard

        For Device Type FIDO Device, you must use urn:hid:scim:api:idp:2.0:credential:type:Fido

        For Device Type Push Device, you must use urn:hid:scim:api:idp:2.0:credential:type:Push

        For Device Type Token, you must use urn:hid:scim:api:idp:2.0:credential:type:Token

        For Device Type Virtual, you must use urn:hid:scim:api:idp:2.0:credential:type:Virtual
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - properties:
            schemas:
              items:
                type: string
              type: array
              uniqueItems: true
            meta:
              $ref: '#/components/schemas/Meta'
            copyFrom:
              description: id from the base device type
              type: string
            id:
              description: id of device type
              type: string
              maxLength: 10
            name:
              description: name of the device type
              type: string
              maxLength: 50
            notes:
              description: note of the device type
              type: string
              maxLength: 500
            readOnly:
              description: true if immutable
              type: boolean
              example: false
            manufacturer:
              description: manufacturer linked to this device type
              type: string
            defaultCredentialTypeCode:
              description: based credential code
              type: string
            maximumDevicePerUser:
              description: maxium device per user
              type: integer
              format: int32
              minimum: -1
            allowedCredentialTypes:
              description: "list containing 'any' if all credential types are allowed, or list of valid credential types"
              items:
                type: string
              type: array
        - $ref: '#/components/schemas/DeviceTypeTokenExtension'
        - $ref: '#/components/schemas/DeviceTypeCMSCardExtension'
        - $ref: '#/components/schemas/DeviceTypeEMVCardExtension'
        - $ref: '#/components/schemas/DeviceTypeVirtualExtension'
        - $ref: '#/components/schemas/DeviceTypePushExtension'
        - $ref: '#/components/schemas/DeviceTypeFIDOExtension'
    DeviceTypeFIDOExtension:
      type: object
      title: Device Type - EMV Card - Extension
      properties:
        urn:hid:scim:api:idp:2.0:device:type:Fido:
          title: FIDO device type
          type: object
          properties:
            deviceFormFactor:
              type: string
              description: valid device form factor
              enum:
                - urn:hid:scim:api:idp:2.0:device:type:FIDO:Generic
            challengeLength:
              description: Applies to devices that support asynchronous authentication. Defines the length of the challenge provided to a user to generate an OTP on the device (in the challenge/response mode). This parameter is used to validate the submitted challenge.
              type: integer
              format: int32
              minimum: 0
    DeviceTypeVirtualExtension:
      type: object
      title: Device Type - Virtual - Extension
      properties:
        urn:hid:scim:api:idp:2.0:device:type:Virtual:
          title: Virtual device type
          type: object
          properties:
            deviceFormFactor:
              description: valid device form factor
              type: string
              enum:
                - urn:hid:scim:api:idp:2.0:device:type:Virtual
                - urn:hid:scim:api:idp:2.0:device:type:Virtual:JWT
                - urn:hid:scim:api:idp:2.0:device:type:Virtual:OOB
                - urn:hid:scim:api:idp:2.0:device:type:Virtual:PKI
                - urn:hid:scim:api:idp:2.0:device:type:Virtual:PKIMatch
                - urn:hid:scim:api:idp:2.0:device:type:Virtual:PIN
                - urn:hid:scim:api:idp:2.0:device:type:Virtual:SMSOOB
    DeviceTypeEMVCardExtension:
      type: object
      title: Device Type - EMV Card - Extension
      properties:
        urn:hid:scim:api:idp:2.0:device:type:EMVCard:
          title: CMS Card device type
          type: object
          properties:
            deviceFormFactor:
              type: string
              description: valid device form factor
              enum:
                - urn:hid:scim:api:idp:2.0:device:type:EMVCard
            challengeLength:
              description: Applies to devices that support asynchronous authentication. Defines the length of the challenge provided to a user to generate an OTP on the device (in the challenge/response mode). This parameter is used to validate the submitted challenge.
              type: integer
              format: int32
              minimum: 0
    DeviceTypeTokenExtension:
      type: object
      title: Device Type - Token - Extension
      properties:
        urn:hid:scim:api:idp:2.0:device:type:Token:
          title: Token device type
          type: object
          properties:
            deviceFormFactor:
              description: valid device form factor
              type: string
              enum:
                - urn:hid:scim:api:idp:2.0:device:type:Token
                - urn:hid:scim:api:idp:2.0:device:type:Token:Activkey
                - urn:hid:scim:api:idp:2.0:device:type:Token:DisplayCard
                - urn:hid:scim:api:idp:2.0:device:type:Token:BlueTrust
                - urn:hid:scim:api:idp:2.0:device:type:Token:OATH
                - urn:hid:scim:api:idp:2.0:device:type:Token:Desktop
                - urn:hid:scim:api:idp:2.0:device:type:Token:Mini
                - urn:hid:scim:api:idp:2.0:device:type:Token:FlexiToken
                - urn:hid:scim:api:idp:2.0:device:type:Token:Keychain
                - urn:hid:scim:api:idp:2.0:device:type:Token:CrescendoKey
                - urn:hid:scim:api:idp:2.0:device:type:Token:One
                - urn:hid:scim:api:idp:2.0:device:type:Token:Pocket
                - urn:hid:scim:api:idp:2.0:device:type:Token:SmartCard
            challengeLength:
              description: Applies to devices that support asynchronous authentication. Defines the length of the challenge provided to a user to generate an OTP on the device (in the challenge/response mode). This parameter is used to validate the submitted challenge.
              type: integer
              format: int32
              minimum: 0
            supportedAuthenticationMethod:
              description: |
                * Synchronous (One-Time Password) : devices of this type support synchronous authentication.
                * Asynchronous (Challenge Response) : devices of this type support asynchronous authentication.
                * Both : devices of this type support synchronous and asynchronous authentication.
              type: string
              enum:
                - SYNC
                - ASYNC
                - BOTH
              example: BOTH
            syncAuthenticationCodeLength:
              description: Maximum valid length of a synchronous OTP. This parameter is used to validate the submitted OTP.
              type: integer
              format: int32
              minimum: -1
            asyncAuthenticationCodeLength:
              description: Maximum valid length of an asynchronous OTP, generated in response to a challenge. This parameter is used to validate the submitted OTP.
              type: integer
              format: int32
              minimum: -1
            supportsUnlock:
              description: |
                A device might be locked if the user enters the PIN incorrectly a specified number of times. This parameter determines whether the unlock option appears in the View Device page for devices of this type.
                * true : devices of this type can be unlocked by a server-generated response to a device-issued challenge.
                * false : devices of this type cannot be unlocked.
              type: boolean
              example: false
            unlockChallengeLength:
              description: Length of the challenge provided to a user to unlock the device, when the user has locked it by incorrect entry of their PIN a specified number of times. This parameter is used to validate the submitted unlock challenge. The specified number of times is set on the device.
              type: integer
              format: int32
              minimum: -1
            supportsSynch:
              description: |
                * NO_SUPPORT : no support
                * ONLY_AUTOMATIC : devices of this type can be automatically resynchronized with host systems.
                * ONLY_MANUAL : devices of this type can be resynchronized manually with host systems.
                * SUPPORT_ALL : devices of this type can be resynchronized automatically and/or manually with host systems.
              type: string
              enum:
                - NO_SUPPORT
                - ONLY_AUTOMATIC
                - ONLY_MANUAL
                - SUPPORT_ALL
              example:
                SUPPORT_ALL
            synchronisationBase:
              description: |
                For devices that support synchronous authentication, this parameter defines the variables that are stored locally on the device and therefore might require resynchronization with the server.
                * NEITHER : Not allowed
                * COUNTER : Devices of this type can be resynchronized with host systems using one (manually) or a range (automatically) of counter values.
                * CLOCK : Devices of this type can be resynchronized with host systems using one (manually) or a range (automatically) of clock values.
                * BOTH : Devices of this type can be resynchronized with host systems using one (manually) or a range (automatically) of counter and clock values.
              type: string
              enum:
                - NEITHER
                - COUNTER
                - CLOCK
                - BOTH
              example: BOTH
            autoSynchEventCounter:
              description: |
                Counter range (COUNTER or BOTH type)
                Maximum number of increments by which the host system will increment the counter it is holding for an individual device of this type to resynchronize with that device when attempting an automatic resynchronization. The auto resync process will try to increment rather than decrement the counter value.
              type: integer
              format: int64
              example: 200
              minimum: 0
            autoSynchStartTime:
              description: |
                Time offset start (seconds) (CLOCK or BOTH type)
                Lower limit of the time window for which the host system will test its internal system clock values against the OTP received from a device of this type to try to resynchronize with that device. Applicable only to device types supporting synchronous authentication and automatic resynchronization. The default is -3600 seconds. This sets the start of the time period as 3600 seconds before the actual internal system clock time.
              type: integer
              format: int64
              example: -3600
            autoSynchEndTime:
              description: |
                Time offset end (seconds) (CLOCK or BOTH type)
                Upper limit of the time window for which the host system will test its internal system clock values against the OTP received from a device of this type to try to resynchronize with that device. Applicable only to device types supporting synchronous authentication and automatic resynchronization. The default is 3600 seconds. This sets the end of the time period as 3600 seconds after the actual internal system clock time.
              type: integer
              format: int64
              example: 3600
            supportsSignatureVerification:
              description: |
                Defines if a device can be used to digitally sign transactions.
                * true : devices of this type can be used for transaction signing.
                * false : devices of this type cannot be used for transaction signing.
              type: boolean
              example: false
            supportsSoftPin:
              description: |
                Defines if a device can use a server soft PIN (a PIN that is managed and verified by ActivID AS, not by the device itself).
                * true : devices of this type can use a soft PIN.
                * false : devices of this type cannot use a soft PIN (required for soft tokens)
              type: boolean
              example: false
            pinMinLength:
              description: Defines the minimum length of characters for the server soft PIN. Set the value according to the soft PIN policy of the device.
              type: integer
              format: int32
              example: 4
              minimum: 0
            pinMaxLength:
              description: Defines the maximum length of characters for the server soft PIN. Set the value according to the soft PIN policy of the device.
              type: integer
              format: int32
              example: 8
              minimum: 0
            pinPosition:
              description: |
                Defines how the user should enter the server soft PIN during authentication.
                * NONE : no support
                * BEFORE : the user enters the soft PIN before entering the OTP generated by the Token
                * AFTER : the user enters the soft PIN after entering the OTP generated by the Token
                * BEFORE_OR_AFTER : the user can enter the soft PIN either before or after entering the OTP generated by the Token
                Soft PIN position:
              type: string
              enum:
                - NONE
                - AFTER
                - BEFORE
                - BEFORE_OR_AFTER
            allowedCredentialNumber:
              description: Determines the number of credentials allowed in the device. Specifies the maximum number of credentials allowed
              type: integer
              format: int32
              default: 100
              example: 100
              minimum: -1
            defaultPin:
              description: When you import a device, it will use whatever you specify here as the Default PIN. This usually applies for ActivID Mini Tokens (AE, AT, and OE).
              type: string
    DeviceTypeCMSCardExtension:
      type: object
      title: Device Type - CMS Card - Extension
      properties:
        urn:hid:scim:api:idp:2.0:device:type:CMSCard:
          title: CMS Card device type
          type: object
          properties:
            deviceFormFactor:
              description: valid device form factor
              type: string
              enum:
                - urn:hid:scim:api:idp:2.0:device:type:CMSCard
            challengeLength:
              description: Applies to devices that support asynchronous authentication. Defines the length of the challenge provided to a user to generate an OTP on the device (in the challenge/response mode). This parameter is used to validate the submitted challenge.
              type: integer
              format: int32
              example: 6
              minimum: 0
            supportedAuthenticationMethod:
              description: |
                * SYNC (One-Time Password) : devices of this type support synchronous authentication.
                * ASYNC (Challenge Response) : devices of this type support asynchronous authentication.
                * BOTH : devices of this type support synchronous and asynchronous authentication.
              type: string
              enum:
                - SYNC
                - ASYNC
                - BOTH
              example: BOTH
            syncAuthenticationCodeLength:
              description: Maximum valid length of a synchronous OTP. This parameter is used to validate the submitted OTP.
              type: integer
              format: int32
              example: -1
              minimum: -1
            asyncAuthenticationCodeLength:
              description: Maximum valid length of an asynchronous OTP, generated in response to a challenge. This parameter is used to validate the submitted OTP.
              type: integer
              format: int32
              example: -1
              minimum: -1
            supportsUnlock:
              description: |
                A device might be locked if the user enters the PIN incorrectly a specified number of times. This parameter determines whether the unlock option appears in the View Device page for devices of this type.
                * true : devices of this type can be unlocked by a server-generated response to a device-issued challenge.
                * false : devices of this type cannot be unlocked.
              type: boolean
              example: false
            unlockChallengeLength:
              description: Length of the challenge provided to a user to unlock the device, when the user has locked it by incorrect entry of their PIN a specified number of times. This parameter is used to validate the submitted unlock challenge. The specified number of times is set on the device.
              type: integer
              format: int32
              minimum: -1
            supportsSynch:
              description: |
                * NO_SUPPORT : no support
                * ONLY_AUTOMATIC : devices of this type can be automatically resynchronized with host systems.
                * ONLY_MANUAL : devices of this type can be resynchronized manually with host systems.
                * SUPPORT_ALL : devices of this type can be resynchronized automatically and/or manually with host systems.
              type: string
              enum:
                - NO_SUPPORT
                - ONLY_AUTOMATIC
                - ONLY_MANUAL
                - SUPPORT_ALL
              example:
                SUPPORT_ALL
            synchronisationBase:
              description: |
                For devices that support synchronous authentication, this parameter defines the variables that are stored locally on the device and therefore might require resynchronization with the server.
                * NEITHER : Not allowed
                * COUNTER : Devices of this type can be resynchronized with host systems using one (manually) or a range (automatically) of counter values.
                * CLOCK : Devices of this type can be resynchronized with host systems using one (manually) or a range (automatically) of clock values.
                * BOTH : Devices of this type can be resynchronized with host systems using one (manually) or a range (automatically) of counter and clock values.
              type: string
              enum:
                - NEITHER
                - COUNTER
                - CLOCK
                - BOTH
              example: BOTH
            autoSynchEventCounter:
              description: |
                Counter range (COUNTER or BOTH type)
                Maximum number of increments by which the host system will increment the counter it is holding for an individual device of this type to resynchronize with that device when attempting an automatic resynchronization. The auto resync process will try to increment rather than decrement the counter value.
              type: integer
              format: int32
              example: 200
              minimum: 0
            autoSynchStartTime:
              description: |
                Time offset start (seconds) (CLOCK or BOTH type)
                Lower limit of the time window for which the host system will test its internal system clock values against the OTP received from a device of this type to try to resynchronize with that device. Applicable only to device types supporting synchronous authentication and automatic resynchronization. The default is -3600 seconds. This sets the start of the time period as 3600 seconds before the actual internal system clock time.
              type: integer
              format: int64
              example: -3600
            autoSynchEndTime:
              description: |
                Time offset end (seconds) (CLOCK or BOTH type)
                Upper limit of the time window for which the host system will test its internal system clock values against the OTP received from a device of this type to try to resynchronize with that device. Applicable only to device types supporting synchronous authentication and automatic resynchronization. The default is 3600 seconds. This sets the end of the time period as 3600 seconds after the actual internal system clock time.
              type: integer
              format: int64
              example: 3600
            supportsSignatureVerification:
              description: |
                Defines if a device can be used to digitally sign transactions.
                * true : devices of this type can be used for transaction signing.
                * false : devices of this type cannot be used for transaction signing.
              type: boolean
              example: false
    DeviceTypePushExtension:
      type: object
      title: Device Type - Push Device - Extension
      properties:
        urn:hid:scim:api:idp:2.0:device:type:Push:
          title: Push device type
          type: object
          properties:
            deviceFormFactor:
              description: valid device form factor
              type: string
              enum:
                - urn:hid:scim:api:idp:2.0:device:type:Push
              example: urn:hid:scim:api:idp:2.0:device:type:Push
            challengeLength:
              description: Applies to devices that support asynchronous authentication. Defines the length of the challenge provided to a user to generate an OTP on the device (in the challenge/response mode). This parameter is used to validate the submitted challenge.
              type: integer
              format: int32
              example: 10
              minimum: 0
            supportedAuthenticationMethod:
              description: |
                * SYNC (One-Time Password) : devices of this type support synchronous authentication.
                * ASYNC (Challenge Response) : devices of this type support asynchronous authentication.
                * BOTH : devices of this type support synchronous and asynchronous authentication.
              type: string
              enum:
                - SYNC
                - ASYNC
                - BOTH
              example: BOTH
            syncAuthenticationCodeLength:
              description: Maximum valid length of a synchronous OTP. This parameter is used to validate the submitted OTP.
              type: integer
              format: int32
              example: -1
              minimum: -1
            asyncAuthenticationCodeLength:
              description: Maximum valid length of an asynchronous OTP, generated in response to a challenge. This parameter is used to validate the submitted OTP.
              type: integer
              format: int32
              example: -1
              minimum: -1
            serverTLSCertificate:
              description: certificate seen by the mobile device when connecting to the server during service activation via an HTTPS connection.
              type: string
              example: |
                -----BEGIN CERTIFICATE-----
                MIIDSzCCAjOgAwIBAgIEco0o3jANBgkqhkiG9w0BAQsFADBWMRYwFAYDVQQLEw1B
                ...
                ax0oW532uDwEQKUpTOIhRjEbP6p8uhyPG4dyV46tPA==
                -----END CERTIFICATE-----
                -----BEGIN CERTIFICATE-----
                MIIDfDCCAmSgAwIBAgIJAKHzwx0jDzrsMA0GCSqGSIb3DQEBCwUAMCcxJTAjBgNV
                ...
                5F6PlD4k5Q9hBUKFdbO5wxc6R9cENfoEoZVnvtwCmbo=
                -----END CERTIFICATE-----
            provisioningProtocol:
              description: Device Type Provisioning Protocol
              type: object
              properties:
                version:
                  description: Defines the minimum version of the provisioning protocol supported by the server.
                  type: string
                  example: v5
                kdfLen:
                  description: Defines the length used to compute pss (pre-shared secret).
                  type: integer
                  format: int32
                  example: 10
                  minimum: 1
                kdfCharset:
                  description: |
                      Defines the char set used to compute pss (pre-shared secret).
                      * ALPHA : Only uppercase or numeric characters.
                      * ASCII : the ASCII "94" char set (ASCII printable characters from 0 to 126).
                  type: string
                  example: ASCII
                opMode:
                  description: |
                    * fips_strict : mobile operates in FIPS mode strictly as recommended by the NIST guidelines.
                    * fips_devbinding : mobile operates using FIPS-approved algorithms and continues to use Secure Element in device for binding (when it exists, even if the FIPS-certified status is unknown).
                    * default : mobile operates using best cryptographic practices recommended by HID Global.
                  type: string
                  enum:
                    - default
                    - fips_devbinding
                    - fips_strict
                pushNotif:
                  description: Enable or disable sending notification when creating a push transaction.
                  type: boolean
                  example: true
            containerProfile:
              type: array
              description: Defines the list of credentials and authenticators to generate during registration, as well as the mapping between each authentication policy and its channel.
              items:
                type: object
                properties:
                  keyType:
                    description: key type
                    type: string
                    example: SMK
                  keyId:
                    description: key id
                    type: string
                    example: KEY1
                  credId:
                    description: credential type
                    type: string
                    example: CT_SMKV4
                  authPolicyCode:
                    description: authentication policy
                    type: string
                    example: AT_SMK
                  channelCode:
                    description: channel code
                    type: string
                    example: CH_SMK
            custoFile:
              description: Defines the customization file used for the application, and as well the server public key pins used for the certificate pinning mechanism.
              type: string
              example: customization.json
            policyRule:
              description: Rules that define mobile device characteristics (such as OS, OS version, key store mode or rooted state), allowing to excluded matching devices from Service Registration.
              type: string
              example: |
                "rules": {
                  "refreshinterval": 1440,
                  "version": 1,
                  "provisioning": [{
                      "ruleid": 1,
                        "phonestates": [{
                            "isRooted": "true"
                        }],
                        "outcome": "deny",
                        "message": "Not allowed to provision for Rooted device"
                    }]
                }
            keysProtectionPolicy:
              description: Key Protection Policy Parameters
              type: object
              properties:
                type:
                  description: |
                    Protection type
                    When the Protection type is password, devicelockorpassword or biometricorpassword, the list of parameters must also be defined.
                    For the other types, these parameters are not required.
                    Available for Device Type (and Credential Type also if using HID Approve SDK):

                    device : protected by mobile device protection, (that is, no extra protection implementation).
                    password : password protection.
                    devicelockorpassword : protected by mobile screenlock security method if it exists at time of registration, else protected by a password.
                    biometricorpassword : protected by biometric credential (fingerprint/face) if it is enabled/available, else protected by a password.

                    Available for Credential Type:
                    container : ensures that the credential will use the protection policy defined in the Device Type Container keys protection policy.
                  type: string
                  enum:
                    - password
                    - device
                    - passworddevice
                    - none
                    - container
                    - devicelockorpassword
                    - biometricorpassword
                    - biometricordevicelock
                    - biometricandpassword
                  example: password
                lockPolicy:
                  description: Password lock policy
                  type: object
                  properties:
                    type:
                      description: |
                        * Delay : an exponential delay is inserted between each failed authentication attempt. This means the user must wait a short period before they can try again. This waiting time increases for each failed attempt until number of attempts reaches the COUNTER parameter value.
                        * Nolock : password never locks.
                        * Lock : password locks when number of attempts reaches COUNTER parameter value.
                        * SILENT : password validation is delegated to server-side controls and eventually blocking access on many consecutive failures by augmenting the failed authentication counter. To use this LockType, you need to create an additional Mobile Operation Protection Key Credential Type.
                      type: string
                      example: delay
                    initialDelay:
                      description: When LOCKTYPE is set to Delay, defines the number of times the waiting time is multiplied after an incorrect authentication attempt. The DELAY parameter corresponds to the initial delay in seconds. The resulting wait is calculated by doubling the initial delay for each failed attempt - wait = DELAY x 2^(attempts-1). By default, after the fourth failed attempt, the delay will be 16 seconds (where 2 x 2^3) If you increase the DELAY value to 4, this delay will be 32 seconds (where 4 x 2^3).
                      type: integer
                      format: int32
                      example: 2
                      minimum: 0
                    maxCounterValue:
                      description: Defines the maximum number of incorrect authentication attempts allowed before the credential locks
                      type: integer
                      format: int32
                      example: 6
                      minimum: 0
                passwordPolicy:
                  description: password policy
                  type: object
                  properties:
                    minLength:
                      description: Minimum password length
                      type: integer
                      format: int32
                      example: 4
                      minimum: 0
                    maxLength:
                      description: Maxmium password length
                      type: integer
                      format: int32
                      example: 8
                      minimum: 0
                    restriction:
                      description: password restriction
                      type: object
                      properties:
                        minUpperCase:
                          description: Minimum number of upper case characters
                          type: integer
                          format: int32
                          example: 2
                          minimum: 0
                        minLowerCase:
                          description: Minimum number of lower case characters
                          type: integer
                          format: int32
                          example: 2
                          minimum: 0
                        minNumeric:
                          description: Minimum number of numeric characters
                          type: integer
                          format: int32
                          example: 2
                        minAlpha:
                          description: Minimum number of alpha characters
                          type: integer
                          format: int32
                          example: 2
                          minimum: 0
                        minNonAlpha:
                          description: Minimum number of non-alpha characters
                          type: integer
                          format: int32
                          example: 2
                          minimum: 0
                        maxUpperCase:
                          description: Maximum number of upper case characters
                          type: integer
                          format: int32
                          example: 4
                          minimum: 0
                        maxLowerCase:
                          description: Maximum number of lower case characters
                          type: integer
                          format: int32
                          example: 4
                          minimum: 0
                        maxNumeric:
                          description: Maximum number of numeric characters
                          type: integer
                          format: int32
                          example: 4
                          minimum: 0
                        maxAlpha:
                          description: Maximum number of alpha characters
                          type: integer
                          format: int32
                          example: 4
                          minimum: 0
                        maxNonAlpha:
                          description: Maximum number of non-alpha characters
                          type: integer
                          format: int32
                          example: 4
                          minimum: 0
                        sequence: 
                          description: Allow or deny the usage of sequential characters in PIN or password.
                          type: string
                          enum:
                            - allow
                            - deny
                          example: deny
                    historyPolicy:
                      description: History policy
                      type: object
                      properties:
                        maxHistory:
                          description: |
                            This security setting determines the number of unique new passwords that have to be associated with the key before an old password can be reused.

                            * 0 authorizes users to reuse current password when password is changed.

                            * Default is 1.
                          type: integer
                          format: int32
                          example: 1
                          minimum: 0
                        minAge:
                          description: |
                            This security setting determines the period of time (in days) that a password must be used before the user can change it. It must be less than the maximum password age.

                            * 0 allows changes immediately.

                            * Default is 1 day.
                          type: integer
                          format: int32
                          example: 1
                          minimum: 0
                        maxAge:
                          description: |
                            This determines how long users can keep a password before they have to change it.

                            * 0 means the password never expires.
                          type: integer
                          format: int32
                          example: 0
                          minimum: 0
                cachingPolicy:
                  description: |
                    Password caching Mode, when password caching is enabled, password is prompted before displaying the push transaction content and it is cached during a set time to allow the user to approve/decline the transaction without re-entering the password.
                  type: object
                  properties:
                    enabled:
                      type: boolean
                      example : false
                    timeout:
                      description: Duration in seconds during which the password is kept in cache.
                      example: 30
                      type: integer
                      format: int32
                      minimum: 0
            appid:
              description: Mobile Application ID for PUSH.
              type: string
              example: HIDAppprove
            transactionHistory:
              description: Device transaction history.
              type: string
              example: none

    Group_SEARCH:
      title: Group search criteria
      required:
        - schema
      properties:
        schemas:
          items:
            type: string
          type: array
          uniqueItems: true
          example:
            - urn:ietf:params:scim:api:messages:2.0:SearchRequest
        filter:
          description: Valid operators are "eq".
          type: string
          example: id eq FTINIT
      type: object
    Group:
      type: object
      title: Group
      description: |
        Parameters required to create a group:
        * externalId
        * displayName
        * urn:hid:scim:api:idp:2.0:GroupParent.parent.value
      properties:
        schemas:
          description: urn:ietf:params:scim:schemas:core:2.0:Group
          type: array
          items:
            type: string
          example:
            - urn:ietf:params:scim:schemas:core:2.0:Group
            - urn:hid:scim:api:idp:2.0:GroupParent
          uniqueItems: true
        id:
          description: Root Group Name.
          type: string
          example: USG_CUST3
        externalId:
          description: Root Group Id provided by authentication server/service.
          type: string
          example: USG_CUST3
        meta:
          $ref: '#/components/schemas/Meta'
        displayName:
          description: display Name of Group.
          type: string
          example: My Test Group
        members:
          description: members of root group or subgroup under this root group.
          type: array
          items:
            type: object
            properties:
              type:
                type: string
                example: Group
              display:
                type: string
                example: ROOT
              value:
                type: string
                example: UG_ROOT
              $ref:
                type: string
                example: https://server.example.com:8445/scim/tenantexample/v2/Groups/UG_ROOT
        description:
          type: string
          maxLength: 100
          example: Description for my test group
        urn:hid:scim:api:idp:2.0:GroupParent:
          properties:
            parent:
              properties:
                type:
                  type: string
                  example: Group
                display:
                  type: string
                  example: Customers User Type
                value:
                  type: string
                  example: UT_CUST
                $ref:
                  type: string
                  example: 'https://server.example.com/scim/tenantexample/v2/Groups/UT_CUST'
              type: object
          type: object
    GroupParentExtension:
      title: Group Parent - Extension
      properties:
        parent:
          $ref: '#/components/schemas/ResourceReference'
      type: object
      description: Only for Administration Groups
    LdapUserRepository:
      type: object
      title: LDAP User Repository
      description: |
        Parameters required to create an LDAP User Repository:
        * id
        * name
        * host.address
        * host.port
        * host.baseNodeDn
        * host.loginCredentials.userDn
        * host.loginCredentials.userPassword
      properties:
        schemas:
          description: LDAP User Repository schema.
          items:
            type: string
            example: urn:hid:scim:api:idp:2.0:User:Repository
          type: array
          uniqueItems: true
        id:
          description: ID of the LDAP User Repository, this is used to identify uniquely out of other user repositories.
          type: string
          example: DS_1101
        meta:
          $ref: '#/components/schemas/Meta'
        name:
          description: Name of the LDAP User Repository.
          type: string
          example: LDAP data source configuration
        host:
          description: Server authentication information used to authenticate to the AD User Repository.
          type: object
          properties:
            address:
              description: hostname or IP of the server.
              type: string
              example: 10.16.103.235
            port:
              description: port to connect to the server.
              type: string
              example: 636
            baseNodeDn:
              description: Repository Base DN.
              type: string
              example: DC=AFIW2012,DC=ai,DC=com
            ldapsRootCaCertificate:
              description: Certificate in base64.
              type: string
              example: MIIDrTCCApWgAwIBAgIQGDt7HU <-- truncated --> kDkIk
            loginCredentials:
              $ref: '#/components/schemas/LdapUserRepositoryLoginCredentials'
        mappingConfiguration:
          description: Server authentication information used to authenticate to the AD User Repository.
          type: object
          properties:
            userClass:
              description: User Class.
              type: string
              example: Person
            ldapGroupClass:
              description: LDAP Group Class.
              type: string
              example: group
            userIdAttribute:
              description: User ID Attribute.
              type: string
              example: sAMAccountName
            groupMemberAttribute:
              description: Group Member Attribute.
              type: string
              example: memberOf
            accountStatusAttribute:
              description: Account Status Attribute.
              type: string
              example: UserAccountControl
            guidAttributeName:
              description: GUID Attribute Name.
              type: string
              example: objectguid
        userAttributesMapping:
          $ref: '#/components/schemas/LdapUserRepositoryAttributeMapping'
        roleAssignments:
          $ref: '#/components/schemas/LdapUserRepositoryRoleAssignment'
        userTypeAssignments:
          $ref: '#/components/schemas/LdapUserRepositoryGroupMapping'
        userGroupAssignments:
          $ref: '#/components/schemas/LdapUserRepositoryGroupMapping'
        referralStrategy:
          type: string
          enum:
            - followAll
            - followNone
            - followListed
        referrals:
          items:
            type: object
            properties:
              address:
                type: string
                maxLength: 100
                example: 10.16.103.236
              port:
                type: string
                maxLength: 5
                example: 636
              loginCredentials:
                $ref: '#/components/schemas/LdapUserRepositoryLoginCredentials'
          type: array
    LdapUserRepositoryGroupMapping:
      type: object
      title: LDAP User Repository - Group Mapping
      description: Array of objects describing a mapping between Authentication as a Service User Types or User Groups and root nodes DN
      properties:
        groupId:
          description: User Group ID in Authentication as a Service, e.g., UT_EMP.
          type: string
          maxLength: 100
          example: UT_EMP
        rootNodeDn:
          description: root node DN in Corporate Directory.
          type: string
          maxLength: 200
          example: DC=AFIW2012,DC=ai,DC=com
    LdapUserRepositoryRoleAssignment:
      type: object
      title: LDAP User Repository - Role Assignment
      description: User role mapping.
      properties:
        roleId:
          type: string
          maxLength: 20
          example: RL_AUDITV
        mappingType:
          type: string
          enum:
            - GROUP
            - OU
          example: GROUP
        groupDnOrOu:
          type: string
          maxLength: 255
          example: CN=admGR1,OU=OUGROUPS,DC=AFIW2012,DC=ai,DC=com
    LdapUserRepositoryAttributeMapping:
      type: object
      title: LDAP User Repository - Attribute Mapping
      description: User attribute mapping.
      properties:
        activIdAttribute:
          description: Code of the user attribute in Authentication as a Service, e.g., ATR_MOBILE, FIRSTNAME, LASTNAME, ATR_EMAIL and DOB.
          type: string
          maxLength: 10
          example: FIRSTNAME
        ldapAttribute:
          description: Code of the LDAP attribute present in Corporate Directory, e.g., givenName and phone_number.
          type: string
          maxLength: 100
          example: givenName
    LdapUserRepositoryLoginCredentials:
      type: object
      title: LDAP User Repository - Login Credentials
      description: object describing credentials to connect to the server.
      properties:
        userDn:
          description: User DN.
          type: string
          maxLength: 255
          example: "CN=Administrator,CN=Users,DC=AFIW2012,DC=ai,DC=com"          
        userPassword:
          description: User Password.
          type: string
          maxLength: 255
          example: "myPassword"  
    Meta:
      description: A Multi-valued attribute which provides life cycle information.
      type: object
      readOnly: true
      properties:
        resourceType:
          description: The name of the resource.
          type: string
          example: TheResource
        created:
          description: Indicates the date and time when the resource was created.
          format: date-time
          type: string
        location:
          description: The direct URI of the resource where the resource was created.
          type: string
          example: https://server.example.com:8445/scim/tenantexample/v2/<pathToResource>/<id>
        version:
          description: The version of the resource that was created.
          type: integer
          format: int32
          example: 1
    Name:
      title: Name
      properties:
        familyName:
          type: string
          maxLength: 2048
        formatted:
          type: string
        givenName:
          type: string
          maxLength: 2048
        honorificPrefix:
          type: string
        honorificSuffix:
          type: string
        middleName:
          type: string
      type: object
    Organization_SEARCH:
      title: Organization search criteria
      type: object
      required:
      - schemas
      - filter
      properties:
        schemas:
          description: The SCIM 2.0 Search Request schema.
          items:
            type: string
            example: urn:ietf:params:scim:api:messages:2.0:SearchRequest
          type: array
        filter:
          description: Use filter parameter to request a subset of resources. Supported operators are "eq".
            <ul>
              <li>type
              <li>externalId
              <li>id
            </ul>
          type: string
          example: type eq mytype and id eq myid and externalId eq jdoe and MYPARAM eq MYVALUE and MYPARAM1 eq MYVALUE1
    Organization:
      title: Organization
      properties:
        externalId:
          type: string
          description: The special character supported are <b>-+_!@#$%&*.,?</b>
          maxLength: 100
          example: MYORG1
        id:
          type: string
          maxLength: 50
          example: MY_ID1
        initialPassword:
          type: string
          maxLength: 50
          example: mypassword
        meta:
          $ref: '#/components/schemas/Meta'
        organizationBranding:
          $ref: '#/components/schemas/OrganizationBranding'
        organizationDelegation:
          $ref: '#/components/schemas/OrganizationDelegation'
        publicAttributes:
          items:
            $ref: '#/components/schemas/Attribute'
          type: array
        schemas:
          description: The SCIM 2.0 Organization schmea.
          items:
            type: string
            example: urn:ietf:params:scim:schemas:core:2.0:Organization
          type: array
          uniqueItems: true
        type:
          type: string
          maxLength: 50
          example: customer
      type: object
    OrganizationBranding:
      type: object
      title: Organization Branding
      description: The organization branding for HID Approve.
      properties:
        hidApproveCustoFiles:
              description: The customized files for branding.
              type: array
              items:
                type: object
                properties:
                  fileName:
                    description: The name of the file.
                    type: string
                  fileAsBase64:
                    description: The file format Base 64.
                    type: string
              example:
              - fileName: myCustoFile0.json
                fileAsBase64: myCustoFile0 b64
              - fileName: myCustoFile1.json
                fileAsBase64: myCustoFile1 b64
        authPortalCustoFile:
              description: The authentication portal customized files for branding.
              type: object
              properties:
                fileName:
                  description: The name of the file.
                  type: string
                  example: AaaS-AuthenticationPortal-Customization-v5.0.zip
                fileAsBase64:
                  description: The file format Base 64.
                  type: string
                  example: AaaS-AuthenticationPortal-Customization-v5.0.zip b64
    OrganizationCustomizationFile:
      type: object
      title: Organization Customization File
      properties:
        filename:
          type: string
        fileAsBase64:
          type: string
    OrganizationDelegation:
      title: Organization Delegation
      description: The organization to which delegation is given.
      type: object
      properties:
        id:
          description: The internal ID of the organization.
          type: string
          example: MY_ID1
        externalId:
          description: The external ID of the organization. The special character supported are <b>-+_!@#$%&*.,?</b>
          type: string
          example: ServiceProviderExternalId
        idProof:
          items:
            format: byte
            type: string
          type: array
        delegatedRoles:
          description: List of roles that are delegated to the proxy organization.
          type: array
          items:
            type: string
            example:
            - RL_ORGADMIN
            - RL_HIDADMIN
    Parameter:
      properties:
        name:
          type: string
          example: CRED_ATT1
        value:
          type: string
          example: newValue
        isObfuscated:
          type: boolean
          example: false
      type: object
    PasswordExtension:
      title: Password - Extension
      properties:
        username:
          type: string
          maxLength: 255
          description: if it supports it the special characters accepted are <b>-+_!@#$%&*.,?</b>
          example: user12345
        password:
          type: string
          maxLength: 128
          description: if it supports it the special characters accepted are <b>-+_!@#$%&*.,?</b>
          example: Zaqaawsx12
      type: object
    SQExtension:
      title: Security Questions - Extension
      properties:
        prompts:
          items:
            properties:
              prompt:
                properties:
                  display:
                    type: string
                    example: Childhood nickname
                  value:
                    type: string
                    example: PR_NICK
                type: object
              policy:
                properties:
                  minLength:
                    type: string
                    example: "4"
                  maxLength:
                    type: string
                    example: "20"
                  onlyNum:
                    type: string
                    example: "false"
                  onlyAlpha:
                    type: string
                    example: "false"
                  numOrAlpha:
                    type: string
                    example: "false"
                  numAndAlpha:
                    type: string
                    example: "false"
                  caseInsensitive:
                    type: string
                    example: "true"
                  notUserAttribute:
                    type: string
                    example: "false"
                type: object
            type: object
          type: array
        promptsRequiredForCreation:
          type: string
          example: '3'
      type: object
    PasswordPolicy:
      title: Password Policy
      properties:
        characterRange:
          description: |
            Type of Password Policy:
              - ONLY_NUM : use only numeric values
              - ONLY_ALPHA : use only alpha values
              - NUM_OR_ALPHA : use alpha and/or numeric values
              - NUM_AND_ALPHA : use alpha and numeric values
              - NOTHING : no restriction
          type: string
          enum:
            - ONLY_NUM
            - ONLY_ALPHA
            - NUM_OR_ALPHA
            - NUM_AND_ALPHA
            - NOTHING
          example: ONLY_NUM
        minLength:
          type: integer
          format: int32
          description: minimum length of the password
          example: 5
          minimum: 1
          maximum: 128
        maxLength:
          type: integer
          format: int32
          description: maximum length of the password
          minimum: 1
          maximum: 128
        minDiffChars:
          type: string
          description: minimum bumber of different characters
          example: 4
          minimum: 1
        atLeastOneNum:
          type: boolean
          description: at least one numeric character
          example : false
        atLeastOneLow:
          type: boolean
          description: at least one lowercase character
          example : false
        atLeastOneUp:
          type: boolean
          description: at least one uppercase character
          example : false
        atLeastOneSpecial:
          description: at least one special character
          type: boolean
          example : false
        notOldPassword:
          type: boolean
          description: forbidden previous password
          example : false
        notUserAttribute:
          type: boolean
          description: forbidden password containing username or is a user attribute
          example : false
        notBlackListed:
          description: forbidden black-listed password
          type: boolean
          example : false
        notSequence:
          description: forbidden sequence of letters or numbers in password
          type: boolean
          example : false
        caseInsensitive:
          type: boolean
          description: is case insensitive
          example : false
      type: object
    AuthenticatorPolicyPasswordExtension:
      title: Authenticator Policy Password Extension
      properties:
        urn:hid:scim:api:idp:2.0:policy:authenticator:Password:
          title: Password Policy Extension
          properties:
            allowExpiredReset:
              type: string
              description: change password after expiry
              example: 10
              minimum: 0
            passwordPolicy:
              $ref: '#/components/schemas/PasswordPolicy'
            usernamePolicy:
              $ref: '#/components/schemas/UsernamePolicy'
          type: object
      type: object
    AuthenticatorPolicyPushExtension:
      title: Authenticator Policy Push Extension
      properties:
        urn:hid:scim:api:idp:2.0:policy:authenticator:PUSH:
          title: Push Extension
          properties:
            validCredentialPolicies:
              description: list of valid credential policies
              items:
                type: string
                example:
                  - CT_PASAV4
              type: array
            challengeDisableThreshold:
              description: |
                The maximum number of challenges (aka "push action or validation request") that can be issued for validation without submission of a valid response from approve.
                Once this threshold is crossed, the count must be reset before a challenge will be issued.
                -1 : no threshold
              type: integer
              example: 10
              minimum: -1
            challengeTimeoutPeriod:
              description: |
                validity in seconds of the challenge (aka "push action or validation request") , after this period tx cannot be signed anymore
                -1 : no expiration
              type: integer
              example: 10
              minimum: -1
          type: object
      type: object
    AuthenticatorPolicyOTPExtension:
      title: Authenticator Policy OTP Extension
      properties:
        urn:hid:scim:api:idp:2.0:policy:authenticator:OTP:
          title: OTP Extension
          properties:
            validCredentialPolicies:
              description: list of valid credential policies
              items:
                type: string
                example:
                  - CT_OATH
              type: array
            challengeType:
              type: string
              description: |
                for C/R mode : defines how challenge is used during an asynchronous authentication. can be:
                UD : "User-defined challenge" (client sends challenge and response,  challenge generated by the client),
                UL : "Use last issued challenge" (client sends only response, challenge generated on server)
                CL : "Check against last issued challenge" (client sends challenge and response, challenge generated on server)
              enum:
                - UD
                - UL
                - CL
              example: UD
            challengeDisableThreshold:
              description: |
                The maximum number of challenges (aka "push action or validation request") that can be issued for validation without submission of a valid response from approve.
                Once this threshold is crossed, the count must be reset before a challenge will be issued.
                -1 : no threshold
              type: integer
              example: 10
              minimum: -1
            challengeTimeoutPeriod:
              description: |
                validity in seconds of the challenge (aka "push action or validation request") , after this period tx cannot be signed anymore
                -1 : no expiration
              type: integer
              example: 10
              minimum: -1
          type: object
      type: object
    AuthenticatorPolicyOOBExtension:
      title: Authenticator Policy OOB Extension
      properties:
        urn:hid:scim:api:idp:2.0:policy:authenticator:OOB:
          title: OOB Extension
          properties:
            validCredentialPolicies:
              description: list of valid credential policies
              items:
                type: string
                example:
                  - CT_OOB
                  - CT_ACODE
              type: array
          type: object
      type: object
    AuthenticatorPolicyPKIExtension:
      title: Authenticator Policy PKI Extension
      properties:
        urn:hid:scim:api:idp:2.0:policy:authenticator:PKI:
          title: PKI Extension
          properties:
            validCredentialPolicies:
              description: list of valid credential policies
              items:
                type: string
                example:
                  - CT_PKI
              type: array
            challengeDisableThreshold:
              description: |
                The maximum number of challenges (aka "push action or validation request") that can be issued for validation without submission of a valid response from approve.
                Once this threshold is crossed, the count must be reset before a challenge will be issued.
                -1 : no threshold
              type: integer
              example: 10
              minimum: -1
            challengeTimeoutPeriod:
              description: |
                validity in seconds of the challenge (aka "push action or validation request") , after this period tx cannot be signed anymore
                -1 : no expiration
              type: integer
              example: 10
              minimum: -1
          type: object
      type: object
    AuthenticatorPolicyFIDOExtension:
      title: Authenticator Policy FIDO Extension
      properties:
        urn:hid:scim:api:idp:2.0:policy:authenticator:FIDO:
          title: FIDO Extension
          properties:
            validCredentialPolicies:
              description: list of valid credential policies
              items:
                type: string
                example:
                  - CT_FIDO
              type: array
            challengeDisableThreshold:
              description: |
                The maximum number of challenges (aka "push action or validation request") that can be issued for validation without submission of a valid response from approve.
                Once this threshold is crossed, the count must be reset before a challenge will be issued.
                -1 : no threshold
              type: integer
              example: 10
              minimum: -1
            challengeTimeoutPeriod:
              description: |
                validity in seconds of the challenge (aka "push action or validation request") , after this period tx cannot be signed anymore
                -1 : no expiration
              type: integer
              example: 10
              minimum: -1
          type: object
      type: object
    AuthenticatorPolicyTXOOBExtension:
      title: Authenticator Policy TXOOB Extension
      properties:
        urn:hid:scim:api:idp:2.0:policy:authenticator:TXOOB:
          title: TXOOB Extension
          properties:
            validCredentialPolicies:
              description: list of valid credential policies
              items:
                type: string
                example:
                  - CT_TXOOB
              type: array
            challengeDisableThreshold:
              description: |
                The maximum number of challenges (aka "push action or validation request") that can be issued for validation without submission of a valid response from approve.
                Once this threshold is crossed, the count must be reset before a challenge will be issued.
                -1 : no threshold
              type: integer
              example: 10
              minimum: -1
            challengeTimeoutPeriod:
              description: |
                validity in seconds of the challenge (aka "push action or validation request") , after this period tx cannot be signed anymore
                -1 : no expiration
              type: integer
              example: 10
              minimum: -1
          type: object
      type: object
    AuthenticatorPolicySQExtension:
      title: Authenticator Policy Security Questions Extension
      properties:
        urn:hid:scim:api:idp:2.0:policy:authenticator:SecurityQuestion:
          title: Security Questions Extension
          properties:
            prompts:
              description: list of questions
              items:
                properties:
                  prompt:
                    description: question
                    properties:
                      display:
                        description: question display
                        type: string
                        example: Childhood nickname
                      value:
                        description: question value
                        type: string
                        example: PR_NICK
                    type: object
                  policy:
                    properties:
                      minLength:
                        type: string
                        example: "4"
                      maxLength:
                        type: string
                        example: "20"
                      onlyNum:
                        type: string
                        example: "false"
                      onlyAlpha:
                        type: string
                        example: "false"
                      numOrAlpha:
                        type: string
                        example: "false"
                      numAndAlpha:
                        type: string
                        example: "false"
                      caseInsensitive:
                        type: string
                        example: "true"
                      notUserAttribute:
                        type: string
                        example: "false"
                    type: object
                type: object
              type: array
            promptsRequiredForCreation:
              type: string
              example: '3'
          type: object
      type: object
    PermissionSet:
      title: Permission Sets
      properties:
        schemas:
          items:
            type: string
          type: array
          uniqueItems: true
          example: 
            - urn:hid:scim:api:idp:2.0:PermissionSet
        id:
          type: string
          maxLength: 10
          example: FS_RLASG
        meta:
          $ref: '#/components/schemas/Meta'
        permissionSetItems:
          items:
            $ref: '#/components/schemas/PermissionSetItem'
          type: array
        name:
          type: string
          maxLength: 50
          example: Roles Assignment Functions
        resourceType:
          type: string
          example: GROUP
      type: object
    PermissionSetItem:
      title: Permission Sets - Items
      properties:
        schemas:
          items:
            type: string
          type: array
          uniqueItems: true
          example: 
            - urn:hid:scim:api:idp:2.0:PermissionSetItem
        id:
          type: string
          maxLength: 15
          example: M_U_ROLES
        parameter:
          type: string
          maxLength: 4000
          example: RL_DEVADM|RL_SYSTEM|RL_RFE|RL_USERADM|RL_AUDITV|RL_CONFIG|RL_HELPDSK|RL_SUSRADM|RL_SADMIN|RL_STPADM|RL_SSPADM|RL_RGWADM|RL_CFGMGR
      type: object
    Prompt:
      title: Prompts
      properties:
        display:
          type: string
          maxLength: 150
        value:
          type: string
          maxLength: 10
      type: object
    PromptEntry:
      title: Prompts - Entry
      properties:
        answer:
          type: string
          maxLength: 200
          example: myAnswer
        policy:
          $ref: '#/components/schemas/SecurityQuestionPolicy'
        prompt:
          $ref: '#/components/schemas/Prompt'
      type: object
    AuditRecord_SEARCH:
      title: Audit Record search criteria
      required:
      - filter
      properties:
        filter:
          description: Use filter parameter to request a subset of resources.
          type: string
          example: action.actionParameters.COI eq 12P4NS361SK9MDQCF6F8
        count:
          description: Show the x first results.
          type: integer
          format: int32
          example: 100
        startIndex:
          description: Skip the x first results.
          type: integer
          format: int32
          example: 0
        sortBy:
          description: The sorting attribute of the search results.
          type: string
          enum: 
            - created
          example: created
          default: created
        sortOrder:
          description: The sorting attribute of the search results.
          type: string
          enum: 
            - desc
            - descending
            - asc
            - ascending
          example: desc
          default: desc
          
      type: object
    QueryRequest:
      title: Query Request
      properties:
        count:
          description: max number of results in the current page
          format: int32
          type: integer
          example: 100
        filter:
          type: string
          example: owner.value eq 20792
        sortBy:
          description: sorting attribute
          type: string
          example: id
        sortOrder:
          type: string
          example: descending
        startIndex:
          description: index of the first result
          format: int32
          type: integer
          example: 0
      type: object
    QueryRequest_Authenticator:
      title: Query Request - Authenticator
      properties:
        count:
          format: int32
          type: integer
          example: 100
        filter:
          description: Search for user authenticators.
          type: string
          example: owner.value eq 20792
        sortBy:
          type: string
          example: id
        sortOrder:
          type: string
          example: descending
        startIndex:
          format: int32
          type: integer
          example: 0
      type: object
    QueryRequest_Radius:
      title: Query Request - RADIUS
      properties:
        count:
          format: int32
          type: integer
          example: 100
        filter:
          description: Supported search criteria are owner.value and id. Operators supported are 'eq'.
          type: string
          example: owner.value eq 20792
        sortBy:
          type: string
          example: id
        sortOrder:
          type: string
          example: descending
        startIndex:
          format: int32
          type: integer
          example: 0
      type: object
    QueryRequest_DeviceProvision:
      title: Query Request - Device Provision
      properties:
        filter:
          description: Supported search criteria are deviceType, status.status and owner.value. Operators supported are 'eq'.
          type: string
          example: owner.value eq 20792
      type: object
    QueryResponseApplication:
      type: object
      title: Query Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/Application"
          type: object
    QueryResponseCardAuthApplication:
      type: object
      title: Query Card Auth Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/CardAuthApplication"
          type: object
    QueryResponsePINAuthApplication:
      type: object
      title: Query PIN Auth Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/PINAuthApplication"
          type: object
    QueryResponseHIDApproveApplication:
      type: object
      title: Query HID Approve Application Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
        - type: object
          properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/HIDApproveApplicationResponse"
                
    QueryResponseAuditRecord:
      type: object
      title: Query Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
            itemsPerPage:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/AuditRecord"
          type: object
    QueryResponseRiskScoreProvider:
      type: object
      title: Query Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/RiskScoreProvider"
          type: object
    QueryResponseAuthenticatorPolicy:
      type: object
      title: Query Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/AuthenticatorPolicy"
          type: object
    QueryResponseUserAttributeType:
      type: object
      title: Query Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/UserAttributeType"
          type: object
    QueryResponseScimFedUserRepository:
      type: object
      title: Query Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/ScimFedUserRepository"
          type: object
    QueryResponseLdapUserRepository:
      type: object
      title: Query Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/LdapUserRepository"
          type: object
    QueryResponseDeviceType:
      type: object
      title: Query Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/DeviceType"
          type: object
    QueryResponseDeliveryGatewaySms:
      type: object
      title: Query Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/DeliveryGatewaySms"
          type: object
    QueryResponseDeliveryGatewayPush:
      type: object
      title: Query Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/DeliveryGatewayPush"
          type: object
    QueryResponseDeliveryGatewayEmail:
      type: object
      title: Query Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/DeliveryGatewayEmail"
          type: object
    QueryResponseCustomization:
      type: object
      title: Query Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/Customization"
          type: object
    QueryResponseUser:
      type: object
      title: Query Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
            itemsPerPage:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/User"
          type: object
    QueryResponseTokensVault:
      type: object
      title: Query Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
            itemsPerPage:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/TokensVault"
          type: object
    QueryResponseTask:
      type: object
      title: Query Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/Task"
          type: object
    QueryResponseRole:
      type: object
      title: Query Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/Role"
          type: object
    QueryResponseResourceType:
      type: object
      title: Query Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/ResourceType"
          type: object
    QueryResponsePermissionSet:
      type: object
      title: Query Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/PermissionSet"
          type: object
    QueryResponseOrganization:
      type: object
      title: Query Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            itemsPerPage:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/Organization"
          type: object
    QueryResponseGroup:
      type: object
      title: Query Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
            itemsPerPage:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/Group"
          type: object
    QueryResponseDeviceProvision:
      type: object
      title: Query Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
            itemsPerPage:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/DeviceProvision"
          type: object
    QueryResponseDevice:
      type: object
      title: Query Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
            itemsPerPage:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/Device"
          type: object
    QueryResponseCredential:
      type: object
      title: Query Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
            itemsPerPage:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/Credential"
          type: object
    QueryResponseCredentialType:
      type: object
      title: Query Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/CredentialType"
          type: object
    QueryResponseAuthenticator:
      type: object
      title: Query Response
      allOf:
        - properties:
            ignored:
              description: This field must be ignored and is used for client generation with swagger code generator.
              nullable: true
          type: object
        - type: object
          properties:
            schemas:
              type: array
              items:
                type: string
                default: "urn:ietf:params:scim:api:messages:2.0:ListResponse"
            totalResults:
              type: integer
              format: int32
              example: 1
            startIndex:
              type: integer
              format: int32
            itemsPerPage:
              type: integer
              format: int32
        - properties:
            resources:
              type: array
              items:
                $ref: "#/components/schemas/Authenticator"
          type: object
    Radius:
      title: RADIUS
      properties:
        gatePolicy:
          items:
            properties:
              pushConfiguration:
                properties:
                  pushAuthenticationCode:
                    type: string
                    example: AT_PASA
                  pushKeyword:
                    type: string
                    example: pushkeyword
                  pushMessage:
                    type: string
                    example: Logon Request Message
                type: object
              name:
                type: string
                example: IIS Web Access Agent
              notes:
                type: string
                example: ActivID Web Access Agent for IIS channel
              channelCode:
                properties:
                  allChannels:
                    type: boolean
                    example: false
                  code:
                    type: string
                    example: CH_IIS
                type: object
              type:
                type: integer
                format: int32
                example: 1
              clientsAddresses:
                items:
                  type: string
                  example:
                    10.78.112.25
                type: array
              sharedSecret:
                type: string
                example: shared
              userMapping:
                properties:
                  stripIPDomain:
                    type: boolean
                    example : false
                  stripNTDomain:
                    type: boolean
                    example : false
                  type:
                    type: integer
                    format: int32
                    example: 0
                type: object
              challengeConfiguration:
                properties:
                  challengeKeyword:
                    type: string
                    example: challenge
                  challengePrompt:
                    type: string
                    example: Challenge
                  challengeResponseOOBPrompt:
                    type: string
                    example: Enter the password you just received
                  challengeResponsePrompt:
                    type: string
                    example: Enter OTP
                type: object
              parameter:
                type: object
                example: null
            type: object
          type: array
        parameter:
          type: object
          example: null
        radiusServer:
          type: object
          example: null
        realmProxyPolicy:
          type: object
          example: null
        requestFailurePolicy:
          type: object
          example: null
        restartTimeOffsetInSeconds:
          type: integer
          format: int32
          example: 15
        version:
          properties:
            version:
              type: string
              example: '2017-04-19T12:36:32Z'
          type: object
      type: object
    ResourceReference:
      title: Resource Reference - Generic
      required:
      - value
      properties:
        $ref:
          type: string
        display:
          type: string
        friendlyName:
          type: string
        primary:
          type: boolean
          example : false
        type:
          type: string
        value:
          type: string
      type: object
    ResourceType:
      title: Resource Reference
      properties:
        schemas:
          type: array
          items:
            type: string
            example: 'urn:ietf:params:scim:schemas:core:2.0:ResourceType'
        id:
          type: string
          example: Authenticator
        meta:
          $ref: '#/components/schemas/Meta'
        name:
          type: string
          example: Authenticator
        endpoint:
          type: string
          example: 'https://server.example.com:8445/scim/tenantexample/v2/Authenticators'
        description:
          type: string
          example: Authenticator
        schema:
          type: string
          example: 'urn:hid:scim:api:idp:2.0:Authenticator'
        schemaExtensions:
          type: array
          items:
            type: object
            properties:
              schema:
                type: string
                example: urn:hid:scim:api:idp:2.0:UserAttribute
              required:
                type: boolean
                example: false
          example: []
      type: object
    ResourceTypeAuthenticator:
      title: Resource Reference - Authenticator
      properties:
        schemas:
          type: array
          items:
            type: string
            example: 'urn:ietf:params:scim:schemas:core:2.0:ResourceType'
        id:
          type: string
          example: Authenticator
        meta:
          $ref: '#/components/schemas/Meta'
        name:
          type: string
          example: Authenticator
        endpoint:
          type: string
          example: 'https://server.example.com:8445/scim/tenantexample/v2/Authenticators'
        description:
          type: string
          example: Authenticator
        schema:
          type: string
          example: 'urn:hid:scim:api:idp:2.0:Authenticator'
        schemaExtensions:
          type: array
          items:
            type: object
            properties:
              schema:
                type: string
                example: urn:hid:scim:api:idp:2.0:UserAttribute
              required:
                type: boolean
                example: false
          example: []
      type: object
    ResourceTypeAuthenticatorPolicy:
      title: Resource Reference - Authenticator Policy
      properties:
        schemas:
          type: array
          items:
            type: string
            example: 'urn:ietf:params:scim:schemas:core:2.0:ResourceType'
        id:
          type: string
          example: AuthenticatorPolicy
        meta:
          $ref: '#/components/schemas/Meta'
        name:
          type: string
          example: AuthenticatorPolicy
        endpoint:
          type: string
          example: 'https://server.example.com:8445/scim/tenantexample/v2/Authenticators'
        description:
          type: string
          example: Authenticator policy
        schema:
          type: string
          example: 'urn:hid:scim:api:idp:2.0:policy:Authenticator'
        schemaExtensions:
          type: array
          items:
            type: object
            properties:
              schema:
                type: string
                example: urn:hid:scim:api:idp:2.0:UserAttribute
              required:
                type: boolean
                example: false
          example: []
      type: object
    ResourceTypeCredential:
      title: Resource Reference - Credentials
      properties:
        schemas:
          type: array
          items:
            type: string
            example: 'urn:ietf:params:scim:schemas:core:2.0:ResourceType'
        id:
          type: string
          example: Credential
        meta:
          $ref: '#/components/schemas/Meta'
        name:
          type: string
          example: Credential
        endpoint:
          type: string
          example: 'https://server.example.com:8445/scim/tenantexample/v2/Credential'
        description:
          type: string
          example: Credential
        schema:
          type: string
          example: 'urn:hid:scim:api:idp:2.0:Credential'
        schemaExtensions:
          type: array
          items:
            type: object
            properties:
              schema:
                type: string
                example: urn:hid:scim:api:idp:2.0:UserAttribute
              required:
                type: boolean
                example: false
          example: []
      type: object
    ResourceTypeDevice:
      title: Resource Reference - Device
      properties:
        schemas:
          type: array
          items:
            type: string
            example: 'urn:ietf:params:scim:schemas:core:2.0:ResourceType'
        id:
          type: string
          example: Device
        meta:
          $ref: '#/components/schemas/Meta'
        name:
          type: string
          example: Device
        endpoint:
          type: string
          example: 'https://server.example.com:8445/scim/tenantexample/v2/Devices'
        description:
          type: string
          example: Device
        schema:
          type: string
          example: 'urn:hid:scim:api:idp:2.0:Device'
        schemaExtensions:
          type: array
          items:
            type: object
            properties:
              schema:
                type: string
                example: urn:hid:scim:api:idp:2.0:UserAttribute
              required:
                type: boolean
                example: false
          example: []
      type: object
    ResourceTypeGroup:
      title: Resource Reference - Group
      properties:
        schemas:
          type: array
          items:
            type: string
            example: 'urn:ietf:params:scim:schemas:core:2.0:ResourceType'
        id:
          type: string
          example: Group
        meta:
          $ref: '#/components/schemas/Meta'
        name:
          type: string
          example: Group
        endpoint:
          type: string
          example: 'https://server.example.com:8445/scim/tenantexample/v2/Groups'
        description:
          type: string
          example: Group
        schema:
          type: string
          example: 'urn:ietf:params:scim:schemas:core:2.0:Group'
        schemaExtensions:
          type: array
          items:
            type: object
            properties:
              schema:
                type: string
                example: urn:hid:scim:api:idp:2.0:UserAttribute
              required:
                type: boolean
                example: false
          example: []
      type: object
    ResourceTypeProvision:
      title: Resource Reference - Provision
      properties:
        schemas:
          type: array
          items:
            type: string
            example: 'urn:ietf:params:scim:schemas:core:2.0:ResourceType'
        id:
          type: string
          example: Provision
        meta:
          $ref: '#/components/schemas/Meta'
        name:
          type: string
          example: Provision
        endpoint:
          type: string
          example: 'https://server.example.com:8445/scim/tenantexample/v2/Provision'
        description:
          type: string
          example: Device Provision
        schema:
          type: string
          example: 'urn:hid:scim:api:idp:2.0:Provision'
        schemaExtensions:
          type: array
          items:
            type: object
            properties:
              schema:
                type: string
                example: urn:hid:scim:api:idp:2.0:UserAttribute
              required:
                type: boolean
                example: false
          example: []
      type: object
    ResourceTypeUser:
      title: Resource Reference - User
      properties:
        schemas:
          type: array
          items:
            type: string
            example: 'urn:ietf:params:scim:schemas:core:2.0:ResourceType'
        id:
          type: string
          example: User
        meta:
          $ref: '#/components/schemas/Meta'
        name:
          type: string
          example: Provision
        endpoint:
          type: string
          example: 'https://server.example.com:8445/scim/tenantexample/v2/Users'
        description:
          type: string
          example: User Account
        schema:
          type: string
          example: 'urn:ietf:params:scim:schemas:core:2.0:User'
        schemaExtensions:
          type: array
          items:
            type: object
            properties:
              schema:
                type: string
                example: urn:hid:scim:api:idp:2.0:UserAttribute
              required:
                type: boolean
                example: false
          example:
            - schema: 'urn:hid:scim:api:idp:2.0:UserAttribute'
              required: false
            - schema: 'urn:hid:scim:api:idp:2.0:UserAuthenticator'
              required: false
            - schema: 'urn:hid:scim:api:idp:2.0:UserDevice'
              required: false
      type: object
    ServiceProviderConfig:
      title: Service Provider Configuration
      properties:
        schemas:
          type: array
          items:
            type: string
            example: 'urn:ietf:params:scim:schemas:core:2.0:ServiceProviderConfig'
        patch:
          properties:
            supported:
              type: boolean
              example: false
          type: object
        bulk:
          properties:
            supported:
              type: boolean
              example: false
            maxOperations:
              type: integer
              format: int32
              example: 0
            maxPayloadSize:
              type: integer
              format: int32
              example: 0
          type: object
        filter:
          properties:
            supported:
              type: boolean
              example: false
            maxResults:
              type: integer
              format: int32
              example: 100
          type: object
        changePassword:
          properties:
            supported:
              type: boolean
              example: false
          type: object
        sort:
          properties:
            supported:
              type: boolean
              example: false
          type: object
        etag:
          properties:
            supported:
              type: boolean
              example: false
          type: object
        authenticationSchemes:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
                example: oauthbearertoken
              description:
                type: string
                example: OAuth Bearer Token
              specUrl:
                type: string
                example: 'http://tools.ietf.org/html/draft-ietf-oauth-v2-bearer-01'
              primary:
                type: boolean
                example: true
      type: object
    RiskScore:
      title: Risk Score
      properties:
        type:
          type: string
          enum:
            - GlobalRiskScore
            - UserRiskScore
            - DeviceRiskScore
            - SessionRiskScore
            - ActionRiskScore
          description: type of the Risk Score
          example: GlobalRiskScore
        minValue:
          type: integer
          format: int32
          minimum: -1
          maximum: 1000
          description: minimum value of the Risk Score
          example: 1000
      type: object
    RiskScoreProvider:
      title: Risk Score Provider
      description: |
        Required parameters to create a Risk Score Provider:
        * type
        * url
        * name
        * connectionTimeOut
        * credentials
      properties:
        schemas:
          description: Risk Score Provider schema.
          items:
            type: string
            example: urn:hid:scim:api:idp:2.0:RiskScoreProvider
          type: array
          uniqueItems: true
        id:
          description: Internal ID of the Risk Score Provider.
          type: integer
          format: int32
          example: 12345
        meta:
          $ref: '#/components/schemas/Meta'
        name:
          description: The name of the Risk Score Provider.
          type: string
          example: Risk Score Provider
        notes:
          description: Description about the Risk Score Provider.
          type: string
          example: Adapter to hold Risk Management System Source configuration
        type:
          description: Type of the RMS configuration. Value should be "RMS_CFG_TM"(stands for Threat Mark server configuration). And this is the only type supported.
          type: string
          example: RMS_CFG_TM
        url:
          description: URL used to authenticate to the RMS service provider defined by the RMS deployment account settings.
          type: string
          example: https://threatmark.com/v3
        connectionTimeOut:
          description: Value should be in milliseconds.  Wait time for the response from RMS server.
          type: integer
          format: int64
          example: 60000
        credentials:
          description: Server authentication information used to authenticate to the RMS service provider defined by RMS deployment account settings.
          type: object
          properties:
            user:
              description: User Name shared by the RMS service provider.
              type: string
              example: api_username
            password:
              description: Password shared by the RMS service provider.
              type: string
              example: api_password
            apiKey:
              description: RMS server API key used to identify the account( Not supported as of now and for future use).
              type: string
              example: ""
      type: object
    RiskScoreProviderReference:
      title: Risk Score Provider Reference
      properties:
        rmsApplicationId:
          type: string
          example: HID-Demo
        rmsChannelId:
          type: string
          example: IB
        failOpenBehavior:
          type: boolean
          example: true
        $ref:
          type: string
          example: 'https://server.example.com:443/configuration/tenantexample/v2/RiskScoreProvider/12930'
      type: object
    Role:
      title: Role
      description: |
        Required parameters to create a Role:
        * id
        * name
      properties:
        schemas:
          items:
            type: string
          type: array
          uniqueItems: true
          example: 
            - urn:hid:scim:api:idp:2.0:Role
        id:
          type: string
          maxLength: 20
          example: RL_SADMIN
        meta:
          $ref: '#/components/schemas/Meta'
        name:
          type: string
          maxLength: 50
          example: Role Assignment
        description:
          type: string
          maxLength: 100
          example: Grants permissions to assign roles to all users except Prime User.
        updatePermissionSet:
          type: boolean
          example: true
      type: object
    ScimFedUserRepository:
      type: object
      title: SCIM Federation User Repository
      required:
      - id
      - name
      - federatedAttributes
      - provisioningAgentCredential
      - adminGroupAssignment
      properties:
        schemas:
          items:
              type: string
          type: array
          uniqueItems: true
          example: 
            - urn:hid:scim:api:idp:2.0:User:Repository
        id:
          type: string
          maxLength: 20
          example: DS_aad1
        meta:
          $ref: '#/components/schemas/Meta'
        name:
          type: string
          maxLength: 100
          example: Datasource for Active Directory
        provisioningAgentCredential:
          description: reference to the agent id (= user id of the user for whom the bearer token was configured in azure)
          properties:
            type:
              type: string
              example: User
            value:
              type: string
              example: '123'
            $ref:
              type: string
              example: https://example/scim/tenantexample/v2/Users/123
          type: object
        federatedAttributes:
          description: reference to an attribute type code that is provisioned by azure. This attribute will be protected from being overwritten (only prov agent is able to modify it).
          items:
            type: object
            properties:
              type:
                type: string
                example: AttributeType
              value:
                type: string
                example: LASTNAME
              $ref:
                type: string
                example: https://example/configuration/tenantexample/v2/User/AttributeType/ATR_EMAIL
          type: array
        adminGroupAssignment:
          type: object
          description: reference to a group where the federated users will be created.
          properties:
            type:
              type: string
              example: Group
            value:
              type: string
              example: USG_FTEMP
            $ref:
              type: string
              example: "https://example/scim/tenantexample/v2/Groups/USG_FTEMP"
        roleAssignments:
          description: gives federated users a role based on their Active Directory group membership.
          items:
            type: object
            properties:
              roleId:
                type: string
                example: RL_AUDITV
              mappingCriteria:
                type: object
                properties:
                  groupMembership:
                    type: string
                    example: 475f23fa-ad47-4ca9-b535-9792c9494daa
          type: array
        userAuthenticationEndpoint:
          description: defines the authentication endpoint and clientId to use to authenticate the federated users with their Active Directory password.
          properties:
            issuerUri:
              type: string
              maxLength: 100
              example: "https://login.microsoftonline.com/661d1cea-b313-49c3-809c-3a2cd8926dd0/v2.0"
            clientId:
              type: string
              maxLength: 100
              example: HIDauthnService
          type: object
    SecurityQuestionPolicy:
      title: Security Question Policy
      properties:
        caseInsensitive:
          type: string
          enum:
            - 'true'
            - 'false'
        dateFormat:
          type: string
        maxLength:
          type: string
          maxLength: 3
        minLength:
          type: string
          maxLength: 2
        notUserAttribute:
          type: string
          enum:
            - 'true'
            - 'false'
        numAndAlpha:
          type: string
          enum:
            - 'true'
            - 'false'
        numOrAlpha:
          type: string
          enum:
            - 'true'
            - 'false'
        onlyAlpha:
          type: string
          enum:
            - 'true'
            - 'false'
        onlyNum:
          type: string
          enum:
            - 'true'
            - 'false'
      type: object
    AuthenticatorSQExtension:
      title: Security Question Policy - Extension
      properties:
        prompts:
          items:
            $ref: '#/components/schemas/PromptEntry'
          type: array
        promptsRequiredForCreation:
          type: string
          maxLength: 28
        seedingType:
          type: string
          maxLength: 10
      type: object
    AuthenticatorPasswordExtension:
          description: HID Password schema
          type: object
          properties:
            username:
              description: The username of the owner (immutable).
              type: string
              example: user1235
            password:
              description: The password of the owner.
              type: string
              example: pass1235
    Statistics:
      properties:
        challengeCount:
          type: string
          example: 0
        consecutiveFailed:
          type: string
          example: 0
        consecutiveSuccess:
          type: string
          example: 0
        lastSuccessfulChannel:
          type: string
          example: 0
        lastSuccessfulDate:
          type: string
          example: 0
        lastUnsuccessfulChannel:
          type: string
          example: 0
        lastUnsuccessfulDate:
          type: string
          example: 0
        maximumNumberOfUsages:
          type: string
          example: 0
        totalFailed:
          type: string
          example: 0
        totalSuccess:
          type: string
          example: 0
      type: object
    CredentialStatusAttribute:
      type: string
      description: current status of credential
      enum:
        - ACTIVE
        - PENDING
        - SUSPENDED
        - REVOKED
        - TERMINATED
      example: ACTIVE
    CredentialStatus:
      description: Credential status
      properties:
        active:
          description: Credential is active
          type: boolean
          example: true
        expiryDate:
          description: expiry date
          format: date-time
          type: string
          example: 2026-11-09T19:36:26Z
        startDate:
          description: start date
          format: date-time
          type: string
          example: 2021-11-08T19:36:26Z
        neverExpires:
          description: <code>true</code> if the credential never expires, <code>false</code> otherwise.
          type: boolean
          example: true
        status:
          $ref: '#/components/schemas/CredentialStatusAttribute'
      type: object
    StepUpRule:
      title: Step Up Rule
      required:
      - initialPolicies
      - stepUpPolicies
      properties:
        initialPolicies:
          items:
            properties:
              value:
                description: code of Authentication Policy
                type: string
                example: AT_XXX
            type: object
          type: array
        conditions:
          items:
            $ref: '#/components/schemas/RiskScore'
          type: array
        stepUpPolicies:
          items:
            properties:
              value:
                description: code of Authentication Policy
                type: string
                example: AT_XXX
            type: object
          type: array
      type: object
    Task:
      type: object
      title: Task
      description: |
        Parameters required to create a Task of type APPROVE_NOTIFICATION:
        * type
        * domain
        * payload.deviceType
        * payload.action
        * payload.msg
        * payload.pushDeliveryGateway
      readOnly: true
      properties:
        schemas:
          description: urn:hid:scim:api:idp:2.0:Task
          type: array
          items:
            type: string
          example:
            - urn:hid:scim:api:idp:2.0:Task
          uniqueItems: true
        id:
          type: string
          example: '11567'
        meta:
          $ref: '#/components/schemas/Meta'
        type:
          type: string
          enum:
            - ATTRIBUTE_ENC
            - ATTRIBUTE_DEC
            - KEYS_RENEWAL
            - APPROVE_NOTIFICATION
          example: APPROVE_NOTIFICATION
        domain:
          type: string
          example: ONLINEBANK
        payload:
          $ref: '#/components/schemas/Task_payload'
        status:
          type: string
          enum:
            - PENDING
            - INPROGRESS
            - DONE
            - FAILED
            - CANCELED
          example: DONE
        progression:
          type: string
          example: Sent 3/3 notifications.
        creationDate:
          format: date-time
          type: string
        lastUpdate:
          format: date-time
          type: string
    Task_payload:
      title: Task 'APPROVE_NOTIFICATION' payload
      type: object
      properties:
        pushDeliveryGateway:
          type: string
          description: id of the azure oob adapter to use
          example: '11076'
        deviceType:
          type: string
          description: send notification to the devices of the device type
          example: DT_TDSV4
        action:
          type: string
          description: specific 'APPROVE_NOTIFICATION' action
          example: certpins
        msg:
          type: string
          description: message to include in notification
          example: Maintenance action request from authentication service
        date:
          type: string
          description: date to include in notification
          example: '1636467155625'
        expiry:
          type: string
          description: expiry to include in notification
          example: '1645370465000'
        ttl:
          type: string
          description: notification time to live (in seconds), if not specified ttl is 1 week
          example: 600000
          default: 604800
    TestAdapterResponse:
      title: Test Adapter Response
      properties:
        results:
          items:
            $ref: '#/components/schemas/Parameter'
          type: array
      type: object
    TokensVault:
      title: Tokens Vault
      properties:
        schemas:
          items:
            type: string
            example: urn:hid:scim:api:idp:2.0:PseudonymizationToken
          type: array
        token:
          description: the unique token value.
          type: string
          example: e52bbe12-6c9e-4b05-b622-af57ceaccf06
        value:
          description: the tokenâ€™s original (clear) value
          type: string
          example: 'RFE-V[3.0.13],RFE-H[example.com],RFE-CV[1523362826],RLM-V[8.1.1.107],NAS-IP[10.16.102.62]'
      type: object
    TokensVault_SEARCH:
      title: Tokens Vault search criteria
      properties:
        count:
          format: int32
          type: integer
          example: 100
        filter:
          description: Supported search criteria are ownerId (the user ID of the token owner), ownerExtId (the user external ID of the token owner), token (the unique token value) and value (the tokenâ€™s original (clear) value). Operators supported are 'eq'.
          type: string
          example: owner.value eq 20792
        sortBy:
          type: string
          example: id
        sortOrder:
          type: string
          example: descending
        startIndex:
          format: int32
          type: integer
          example: 0
      type: object
    User:
      title: User
      type: object
      properties:
        schemas:
          description: The core schemas:<ul><li><code>urn:ietf:params:scim:schemas:core:2.0:User</code>The SCIM 2.0 user representation<li><code>urn:hid:scim:api:idp:2.0:UserAttribute</code>HID schema to add additional attributes to user (optional)</li></ul>
          items:
            type: string
            example:
            - urn:ietf:params:scim:schemas:core:2.0:User
            - urn:hid:scim:api:idp:2.0:UserDevice
            - urn:hid:scim:api:idp:2.0:UserAttribute
            - urn:hid:scim:api:idp:2.0:UserAuthenticator
            - urn:ietf:params:scim:schemas:extension:enterprise:2.0:User
          type: array
          uniqueItems: true
        id:
          type: string
          example: 12345
        meta:
          $ref: '#/components/schemas/Meta'
        userType:
          type: string
          example: FTRESS
        active:
          type: boolean
          example: true
        externalId:
          type: string
          example: jdoe_001
          description: A unique identifier provided by the Service Consumer.
        userName:
          type: string
          example: jdoe
        title:
          type: string
          example: jdoe
        name:
          description: An Enrolled full name (given name + family name) of the user.
          type: object
          properties:
            familyName:
              description: The family name of the user.
              type: string
              example: Doe
            givenName:
              description: The given name of the user.
              type: string
              example: John
        phoneNumbers:
          description: A phone number.
          type: array
          items:
            type: object
            properties:
              type:
                description: Type of the phone number.
                type: string
                example: work
              value:
                description: The value of the phone number.
                type: string
                example: '+33123456789'
        addresses:
          description: An address.
          type: array
          items:
            type: object
            properties:
              type:
                description: Type of the address.
                type: string
                example: work
              formatted:
                description: Format of the address.
                type: string
                example: '5555555555'
        emails:
          description: The email address of the user.
          type: array
          items:
            type: object
            properties:
              value:
                description: Email ID
                type: string
                example: jdoe@hidglobal.com
              type:
                description: The nature of the Email ID.
                type: string
                example: work
        roles:
          description: List of roles the user is assigned to.
          type: array
          items:
            type: object
            properties:
              value:
                description: The value of the role.
                type: string
                example: RL_ORGADMIN
                enum:
                  - RL_ORGADMIN
                  - RL_CLIENTID
        groups:
          description: A One-valued attribute.
          type: array
          items:
            type: object
            properties:
              value:
                description: The value of the group.
                type: string
                example: UG_ROOT
        urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:
          title: User extension
          description: user extension (API >= 4)
          type: object
          properties:
            organization:
              type: string
              example: HID Global
        urn:hid:scim:api:idp:2.0:UserAttribute:
          type: object
          title: User Attribute
          description: HID user Attribute schema.
          properties:
            attributes:
              description: A Multi-valued attribute.
              type: array
              items:
                type: object
                properties:
                  name:
                    description: The name of the attribute.
                    type: string
                    example: DOB
                    enum:
                      - ADDRESS1
                      - ADDRESS2
                      - ADDRESS3
                      - ADDRESS4
                      - CITY
                      - DOB (Date of birth)
                      - ATR_MOBILE
                      - POSTCODE
                      - TITLE
                  type:
                    description: The type of the attribute.
                    type: string
                    example: string
                  value:
                    description: The value of the attribute (a string array if <code>multiValued</code> is true, or a string otherwise).
                    type: string
                    example: 2000-08-01
                  multiValued:
                    description: Indicates whether the attribute's value is an array or not, in accordance with the user attribute type (api-version >= 9). This is supported only by user attributes.
                    type: boolean
                    example: false
        urn:hid:scim:api:idp:2.0:UserAuthenticator:
          type: object
          title: User Authenticator
          description: HID user Authenticator schema.
          properties:
            authenticators:
              description: A list of authenticators.
              type: array
              items:
                $ref: '#/components/schemas/UserAuthenticator'
        urn:hid:scim:api:idp:2.0:UserDevice:
          type: object
          title: User Device
          description: HID user Device schema.
          properties:
            devices:
              description: A list of devices.
              type: array
              items:
                $ref: '#/components/schemas/UserDevice'
    UserPostRequest:
      title: User Create Request
      description: |
        Required parameters to create a User, with api-version >= 4:
        * userName
        * groups.value
      type: object
      required:
        - userName
      properties:
        schemas:
          description: The core schemas:<ul><li><code>urn:ietf:params:scim:schemas:core:2.0:User</code>The SCIM 2.0 user representation<li><code>urn:hid:scim:api:idp:2.0:UserAttribute</code>HID schema to add additional attributes to user (optional)</li></ul>
          items:
            type: string
            example:
              - urn:ietf:params:scim:schemas:core:2.0:User
              - urn:hid:scim:api:idp:2.0:UserDevice
              - urn:hid:scim:api:idp:2.0:UserAttribute
              - urn:hid:scim:api:idp:2.0:UserAuthenticator
              - urn:ietf:params:scim:schemas:extension:enterprise:2.0:User
          type: array
          uniqueItems: true
        meta:
          $ref: '#/components/schemas/Meta'
        userType:
          type: string
          example: FTRESS
        active:
          type: boolean
          example: true
        externalId:
          type: string
          example: jdoe_001
          description: A unique identifier provided by the Service Consumer.
        userName:
          type: string
          example: jdoe
        title:
          type: string
          example: jdoe
        name:
          description: An Enrolled full name (given name + family name) of the user.
          type: object
          properties:
            familyName:
              description: The family name of the user.
              type: string
              example: Doe
            givenName:
              description: The given name of the user.
              type: string
              example: John
        phoneNumbers:
          description: A phone number.
          type: array
          items:
            type: object
            properties:
              type:
                description: Type of the phone number.
                type: string
                example: work
              value:
                description: The value of the phone number.
                type: string
                example: '+33123456789'
        addresses:
          description: An address.
          type: array
          items:
            type: object
            properties:
              type:
                description: Type of the address.
                type: string
                example: work
              formatted:
                description: Format of the address.
                type: string
                example: '5555555555'
        emails:
          description: The email address of the user.
          type: array
          items:
            type: object
            properties:
              value:
                description: Email ID
                type: string
                example: jdoe@hidglobal.com
              type:
                description: The nature of the Email ID.
                type: string
                example: work
        roles:
          description: List of roles the user is assigned to.
          type: array
          items:
            type: object
            properties:
              value:
                description: The value of the role.
                type: string
                example: RL_ORGADMIN
                enum:
                  - RL_ORGADMIN
                  - RL_CLIENTID
        groups:
          description: A One-valued attribute.
          type: array
          items:
            type: object
            required:
              - value
            properties:
              value:
                description: The value of the group.
                type: string
                example: UG_ROOT
        urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:
          title: User extension
          description: user extension (API >= 4)
          type: object
          properties:
            organization:
              type: string
              example: HID Global
        urn:hid:scim:api:idp:2.0:UserAttribute:
          type: object
          title: User Attribute
          description: HID user Attribute schema.
          properties:
            attributes:
              description: A Multi-valued attribute.
              type: array
              items:
                type: object
                properties:
                  name:
                    description: The name of the attribute.
                    type: string
                    example: DOB
                    enum:
                      - ADDRESS1
                      - ADDRESS2
                      - ADDRESS3
                      - ADDRESS4
                      - CITY
                      - DOB (Date of birth)
                      - ATR_MOBILE
                      - POSTCODE
                      - TITLE
                  type:
                    description: The type of the attribute.
                    type: string
                    example: string
                  value:
                    description: The value of the attribute (a string array if <code>multiValued</code> is true, or a string otherwise).
                    type: string
                    example: 2000-08-01
                  multiValued:
                    description: Indicates whether the attribute's value is an array or not, in accordance with the user attribute type (api-version >= 9). This is supported only by user attributes.
                    type: boolean
                    example: false
        urn:hid:scim:api:idp:2.0:UserAuthenticator:
          type: object
          title: User Authenticator
          description: HID user Authenticator schema.
          properties:
            authenticators:
              description: A list of authenticators.
              type: array
              items:
                $ref: '#/components/schemas/UserAuthenticator'
        urn:hid:scim:api:idp:2.0:UserDevice:
          type: object
          title: User Device
          description: HID user Device schema.
          properties:
            devices:
              description: A list of devices.
              type: array
              items:
                $ref: '#/components/schemas/UserDevice'
    UserAuthenticator:
      type: object
      title: User Authenticator
      description: HID user Authenticator schema.
      properties:
        display:
          description: The name of the authenticator.
          type: string
          example: AT_EMPSMS
        $ref:
          description: The ref of the authenticator.
          type: string
          example: https://server.example.com/scim/tenantexample/v2/Authenticator/11058.AT_EMPSMS
        value:
          description: The value of the authenticator.
          type: string
          example: 11058.AT_EMPSMS
    UserDevice:
      type: object
      title: User Device
      description: HID user Device schema.
      properties:
        display:
          description: The name of the device.
          type: string
          example: 11059
        $ref:
          description: The ref of the devices.
          type: string
          example: https://server.example.com/scim/tenantexample/v2/Device/11059
        value:
          description: The value of the devices.
          type: string
          example: 11059
        friendlyName:
          description: The friendly name of the devices.
          type: string
          example: my OOB device
        lastSuccessfulDate:
          description: Last successful authentication time.
          type: string
          format: date-time
          example: 2023-02-27T16:08:11Z
        lastSuccessfulAuthPolicy:
          description: The last successful authentication type.
          type: string
          example: AT_OOB
    UserAttributeExtension:
      title: User Attribute - Extension
      properties:
        attributes:
          items:
            $ref: '#/components/schemas/Attribute'
          type: array
      type: object
    UserAttributeType:
      type: object
      title: User Attribute Type
      description: |
        Parameters required to create a User Attribute Type:
        * id
        * name
      properties:
        schemas:
          description: urn:hid:scim:api:idp:2.0:userattribute:Type
          type: array
          items:
            type: string
          example:
            - urn:hid:scim:api:idp:2.0:userattribute:Type
          uniqueItems: true
        id:
          description: A unique identifier provided by the Service Consumer.
          type: string
          example: DOB
        meta:
          $ref: '#/components/schemas/Meta'
        name:
          description: Name of the User Attribute.
          type: string
          maxLength: 50
          example: Date of Birth
        notes:
          description: Notes for the User Attribute.
          type: string
          maxLength: 100
          example: Note
        encrypted:
          description: Provides information wether this user attribute type is encrypted or not.
          type: boolean
          example: true
        predefined:
          description: Provides information wether this user attribute type is predefined or not (readonly).
          type: boolean
          example: true
        multiValued:
          description: Indicates whether this user attribute type accepts string arrays or not (api-version >= 9).
          type: boolean
          example: true
    UserAuthenticatorExtension:
      title: User Attribute - Extension
      properties:
        authenticators:
          items:
            $ref: '#/components/schemas/ResourceReference'
          type: array
      type: object
    UserDeviceExtension:
      title: User Device - Extension
      properties:
        devices:
          items:
            $ref: '#/components/schemas/ResourceReference'
          type: array
      type: object
    UserImportRequest:
      type: object
      title: User Import Request
      properties:
        authenticatorPolicy:
          description: authentication policy.
          type: object
          properties:
            value:
              description: The value of the authentication policy.
              type: string
              example: AT_STDPWD
        group:
          description: group.
          type: object
          properties:
            value:
              description: The value of the group.
              type: string
              example: UG_ROOT
        users:
          items:
            $ref: '#/components/schemas/User'
          type: array
        schemas:
          items:
            type: string
          type: array
          uniqueItems: true
    UserImportResponse:
      type: object
      title: User Import Response
      properties:
        meta:
          $ref: '#/components/schemas/Meta'
        correlationId:
          description: A unique identifier generated for user batch import by the authentication server/service.
          type: string
          example: 13ONJLVJ30NF0KPEOD73
        importSize:
          type: integer
          format: int32
        nbProcessed:
          type: integer
          format: int32
        nbFailed:
          type: integer
          format: int32
        nbAlreadyExisted:
          type: integer
          format: int32
        nbImported:
          type: integer
          format: int32
        status:
          type: string
        schemas:
          description: urn:hid:scim:api:idp:2.0:user:ImportResponse
          items:
            type: string
            example:
            - urn:hid:scim:api:idp:2.0:user:ImportResponse
          type: array
          uniqueItems: true
    UserQueryRequest:
      title: User Query Request
      properties:
        attributes:
          description: List of requested attributes separated by comas.
          items:
            type: string
          type: array
          uniqueItems: true
          example: ["urn:hid:scim:api:idp:2.0:UserAttribute","urn:hid:scim:api:idp:2.0:UserAuthenticator","urn:hid:scim:api:idp:2.0:UserDevice","urn:ietf:params:scim:schemas:extension:enterprise:2.0:User","roles"]
        count:
          description: Indicates the maximum number of query results per page in the response.
          type: integer
          format: int32
          example: 100
        filter:
          description: Use filter parameter to request a subset of resources.
          type: string
          example: groups eq UG_ROOT and name eq John Doe
        schemas:
          items:
            type: string
            example: urn:ietf:params:scim:api:messages:2.0:SearchRequest
            description: The SCIM 2.0 search request representation.
          type: array
          uniqueItems: true
        sortBy:
          description: Indicates the attribute value which is used to form the sorting order of response.
          type: string
          example: id
        sortOrder:
          description: Indicates the order of response applied by the parameter.
          type: string
          example: descending
          enum:
          - ascending
          - descending
        searchRepositories:
          type: boolean
          default: false
        startIndex:
          description: Indicates the 0-based index order of response.
          type: integer
          format: int32
          example: 0
      type: object
    UsernamePolicy:
      title: Username Policy
      properties:
        characterRange:
          description: |
            Type of Password Policy:
              - ONLY_NUM : use only numeric values
              - ONLY_ALPHA : use only alpha values
              - NUM_OR_ALPHA : use alpha and/or numeric values
              - NUM_AND_ALPHA : use alpha and numeric values
              - NOTHING : no restriction
          type: string
          enum:
            - ONLY_NUM
            - ONLY_ALPHA
            - NUM_OR_ALPHA
            - NUM_AND_ALPHA
            - NOTHING
          example: ONLY_NUM
        minLength:
          type: integer
          format: int32
          description: minimum length of the password
          example: 5
        maxLength:
          type: integer
          format: int32
          description: maximum length of the password
          example: 8
        minDiffChars:
          type: string
          description: minimum bumber of different characters
          example: 4
      type: object
  responses:
    NoContent:
      description: HTTP/1.1 204 NO CONTENT
    BadRequest:
      description: HTTP/1.1 400 BAD REQUEST
      content:
        application/scim+json:
          schema:
            type: object
            properties:
              schemas:
                type: array
                items:
                  type: string
                default:
                  - "urn:ietf:params:scim:api:messages:2.0:Error"
              detail:
                type: string
                example: Request is unparsable, syntactically incorrect, or violates schema.
              status:
                type: string
                default: 400
              errorCode:
                type: integer
                format: int32
                example: 10
    Unauthorized:
      description: HTTP/1.1 401 UNAUTHORIZED
      content:
        application/scim+json:
          schema:
            type: object
            properties:
              schemas:
                type: array
                items:
                  type: string
                default:
                  - "urn:ietf:params:scim:api:messages:2.0:Error"
              detail:
                type: string
                example: Bearer token is missing or invalid. Authorization failure. The authorization header is invalid or missing.
              status:
                type: string
                default: 401
              errorCode:
                type: integer
                format: int32
                example: 10
    Forbidden:
      description: HTTP/1.1 403 FORBIDDEN
      content:
        application/scim+json:
          schema:
            type: object
            properties:
              schemas:
                type: array
                items:
                  type: string
                default:
                  - "urn:ietf:params:scim:api:messages:2.0:Error"
              detail:
                type: string
                example: User does not have privileges.
              status:
                type: string
                default: 403
              errorCode:
                type: integer
                format: int32
                example: 10
    NotFound:
      description: HTTP/1.1 404 NOT FOUND
      content:
        application/scim+json:
          schema:
            type: object
            properties:
              schemas:
                type: array
                items:
                  type: string
                default:
                  - "urn:ietf:params:scim:api:messages:2.0:Error"
              detail:
                type: string
                example: Resource not found.
              status:
                type: string
                default: 404
              errorCode:
                type: integer
                format: int32
                example: 10
    Conflict:
      description: HTTP/1.1 409 CONFLICT
      content:
        application/scim+json:
          schema:
            type: object
            properties:
              schemas:
                type: array
                items:
                  type: string
                default:
                  - "urn:ietf:params:scim:api:messages:2.0:Error"
              detail:
                type: string
                example: Resource already exists.
              status:
                type: string
                default: 409
              errorCode:
                type: integer
                format: int32
                example: 10
    InternalServerError:
      description: HTTP/1.1 500 INTERNAL SERVER ERROR
      content:
        application/scim+json:
          schema:
            type: object
            properties:
              schemas:
                type: array
                items:
                  type: string
                default:
                  - "urn:ietf:params:scim:api:messages:2.0:Error"
              detail:
                type: string
                example: Server internal error
              status:
                type: string
                default: 500
              errorCode:
                type: integer
                format: int32
                example: 10
paths:
  /configuration/{tenant}/v2/Application/Generic:
    get:
      tags:
        - Application
      summary: Application/Generic - Get all applications
      description: Get all applications. The Application/Generic endpoint allows creating and managing channels through which users can authenticate to ActivID AS.
      operationId: getAllApplications
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/QueryResponseApplication"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    post:
      tags:
        - Application
      summary: Application/Generic - Create an application
      description: Create an application. The Application/Generic endpoint allows creating and managing channels through which users can authenticate to ActivID AS.
      operationId: createApplication
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/Application'
      responses:
        '201':
          description: HTTP/1.1 201 CREATED
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/Application"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/Application/Generic/{uid}:
    get:
      tags:
        - Application
      summary: Application/Generic/{uid} - Get an application
      description: Get an application. The Application/Generic endpoint allows creating and managing channels through which users can authenticate to ActivID AS.
      operationId: getApplication
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/Application"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    put:
      tags:
        - Application
      summary: Application/Generic/{uid} - Update an application
      description: Update an application. The Application/Generic endpoint allows creating and managing channels through which users can authenticate to ActivID AS.
      operationId: updateApplication
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/Application'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/Application"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
    delete:
      tags:
        - Application
      summary: Application/Generic/{uid} - Remove an application
      description: Remove an application. The Application/Generic endpoint allows creating and managing channels through which users can authenticate to ActivID AS.
      operationId: deleteApplication
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '204':
          $ref: "#/components/responses/NoContent"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"

  /configuration/{tenant}/v2/Application/CardAuth:
    get:
      tags:
        - Application
      summary: Application/CardAuth - Get all Card Auth applications
      description: Get all Card Auth applications applications. The Application/CardAuth endpoint allows creating and managing Card Auth applications so that users can authenticate with a smart card.
      operationId: getAllCardAuthApplications
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/QueryResponseCardAuthApplication"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    post:
      tags:
        - Application
      summary: Application/CardAuth - Create a Card Auth application
      description: Create a Card Auth application. The Application/CardAuth endpoint allows creating and managing Card Auth applications so that users can authenticate with a smart card.
      operationId: createCardAuthApplication
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/CardAuthApplication'
      responses:
        '201':
          description: HTTP/1.1 201 CREATED
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/CardAuthApplication"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/Application/CardAuth/{uid}:
    get:
      tags:
        - Application
      summary: Application/CardAuth/{uid} - Get a Card Auth application
      description: Get a Card Auth application. The Application/CardAuth endpoint allows creating and managing Card Auth applications so that users can authenticate with a smart card.
      operationId: getCardAuthApplication
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/CardAuthApplication"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    put:
      tags:
        - Application
      summary: Application/CardAuth/{uid} - Update a Card Auth application
      description: Update a Card Auth application. The Application/CardAuth endpoint allows creating and managing Card Auth applications so that users can authenticate with a smart card.
      operationId: updateCardAuthApplication
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/CardAuthApplication'        
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/CardAuthApplication"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"          
    delete:
      tags:
        - Application
      summary: Application/CardAuth/{uid} - Remove a Card Auth application
      description: Remove a Card Auth application. The Application/CardAuth endpoint allows creating and managing Card Auth applications so that users can authenticate with a smart card.
      operationId: deleteCardAuthApplication
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '204':
          $ref: "#/components/responses/NoContent"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/Application/PINAuth:
    get:
      tags:
        - Application
      summary: Application/PINAuth - Get all PIN Auth applications
      description: Get all PIN Auth applications applications. The Application/PINAuth endpoint allows creating and managing PIN Auth applications so that users can authenticate with a PIN.
      operationId: getAllPINAuthApplications
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/QueryResponsePINAuthApplication"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    post:
      tags:
        - Application
      summary: Application/PINAuth - Create a PIN Auth application
      description: Create a PIN Auth application. The Application/PINAuth endpoint allows creating and managing PIN Auth applications so that users can authenticate with a PIN.
      operationId: createPINAuthApplication
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/PINAuthApplication'
      responses:
        '201':
          description: HTTP/1.1 201 CREATED
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/PINAuthApplication"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/Application/PINAuth/{uid}:
    get:
      tags:
        - Application
      summary: Application/PINAuth/{uid} - Get a PIN Auth application
      description: Get a PIN Auth application. The Application/PINAuth endpoint allows creating and managing PIN Auth applications so that users can authenticate with a PIN.
      operationId: getPINAuthApplication
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/PINAuthApplication"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    put:
      tags:
        - Application
      summary: Application/PINAuth/{uid} - Update a PIN Auth application
      description: Update a PIN Auth application. The Application/PINAuth endpoint allows creating and managing PIN Auth applications so that users can authenticate with a PIN.
      operationId: updatePINAuthApplication
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/PINAuthApplication'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/PINAuthApplication"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"          
    delete:
      tags:
        - Application
      summary: Application/PINAuth/{uid} - Remove a Card Auth application
      description: Remove a PIN Auth application. The Application/PINAuth endpoint allows creating and managing PIN Auth applications so that users can authenticate with a PIN.
      operationId: deletePINAuthApplication
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '204':
          $ref: "#/components/responses/NoContent"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"

  /configuration/{tenant}/v2/Application/HIDApprove:
    get:
      tags:
        - Application
      summary: Application/HIDApprove - Get all HID Approve applications
      description: Get all HID Approve applications. The Application/HIDApprove endpoint allows creating and managing HID Approve applications so that users can authenticate with HID Approve.
      operationId: getAllHIDApproveApplications
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/QueryResponseHIDApproveApplication"
              examples:
                default:
                  $ref: '#/components/examples/HIDApproveApplicationsGetAll'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    post:
      tags:
        - Application
      summary: Application/HIDApprove - Create an HID Approve application
      description: Create an HID Approve application. The Application/HIDApprove endpoint allows creating and managing HID Approve applications so that users can authenticate with HID Approve.
      operationId: createHIDApproveApplication
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/HIDApproveApplicationPostRequest'
            examples:
              default:
                $ref: "#/components/examples/HIDApproveAPP"
              HIDApproveSDK:
                $ref: "#/components/examples/HIDApproveSDK"
      responses:
        '201':
          description: HTTP/1.1 201 CREATED
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/HIDApproveApplicationResponse"
              examples:
                default:
                  $ref: '#/components/examples/HIDApproveAPPResponse'
                sdk:
                  $ref: '#/components/examples/HIDApproveSDKResponse'
        '400':
          $ref: "#/components/responses/BadRequest"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"

  /configuration/{tenant}/v2/Application/HIDApprove/{uid}:
    get:
      tags:
        - Application
      summary: Application/HIDApprove/{uid} - Get an HID Approve application
      description: Get an HID Approve application. The Application/HIDApprove endpoint allows creating and managing HID Approve applications so that users can authenticate with HID Approve.
      operationId: getHIDApproveApplication
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/HIDApproveApplicationResponse"
              examples:
                default:
                  $ref: '#/components/examples/HIDApproveAPPResponse'
                sdk:
                  $ref: '#/components/examples/HIDApproveSDKResponse'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    put:
      tags:
        - Application
      summary: Application/HIDApprove/{uid} - Update an HID Approve application
      description: Update an HID Approve application. The Application/HIDApprove endpoint allows creating and managing HID Approve applications so that users can authenticate with HID Approve.
      operationId: updateHIDApproveApplication
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/HIDApproveApplicationPutRequest'
            examples:
              default:
                $ref: "#/components/examples/HIDApproveAPPPutRequest"
              HIDApproveSDK:
                $ref: "#/components/examples/HIDApproveSDKPutRequest"
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/HIDApproveApplicationResponse"
              examples:
                default:
                  $ref: '#/components/examples/HIDApproveAPPResponse'
                sdk:
                  $ref: '#/components/examples/HIDApproveSDKResponse'
        '400':
          $ref: "#/components/responses/BadRequest"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"          
    delete:
      tags:
        - Application
      summary: Application/HIDApprove/{uid} - Remove an HID Approve application
      description: Remove an HID Approve application. The Application/HIDApprove endpoint allows creating and managing HID Approve applications so that users can authenticate with HID Approve.
      operationId: deleteHIDApproveApplication
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '204':
          $ref: "#/components/responses/NoContent"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"


  /scim/{tenant}/v2/AuditRecords:
    get:
      tags:
        - Audit Records
      summary: AuditRecords - Get Audit Records filtered by attributes.
      description: Get Audit Records filtered by attributes.
      operationId: getAllAuditRecords
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
        - in: query
          name: attributes
          description: List of requested attributes separated by comas.
          schema:
            type: string
          example: service
        - in: query
          name: filter
          description: 
            Search an audit record. ActivID AS maintains a secure, tamper-evident audit log of all authentication, administration, and authorization requests.
            <br>Supported search criteria as follows:<table border="2px solid black" cellpadding="10">
            <tr><th width="60%">SCIM Attribute</th><th width="40%">Operators supported</th><tr>
            <tr><td>actingUserId.id</td><td>eq</td></tr>
            <tr><td>actingUserId.immutableId</td><td>eq</td></tr>
            <tr><td>actingUserId.session.authenticationMethod</td><td>eq, co, sw, ew</td></tr>
            <tr><td>action.actionName</td><td>eq, co, sw, ew</td></tr>
            <tr><td>action.actionParameters.CHC<br> - <br>This filter search based on the Channel in action parameters in audit record.  e.g., should search by exact match.</td><td>eq, co, sw, ew</td></tr>
            <tr><td>action.actionParameters.COI<br> - <br>This filter search based on the correlation ID returned in the response.  e.g., The correlation id returned for bulk user import.</td><td>eq, co, sw, ew</td></tr>
            <tr><td>action.actionParameters.DSN<br> - <br>This filter search based on the device serial number in action parameters in audit record.  e.g., should seach by exact match.</td><td>eq</td></tr>
            <tr><td>action.actionParameters.text1 to action.actionParameters.text10<br> - <br>This filter enables to search using up to 10 custom fields text1, text2, ..., text10 in audit record action parameters.</td><td>eq, co, sw, ew</td></tr>
            <tr><td>correlationId<br> - <br>This filter will search based on the X-Correlation_id header value. </td><td>eq, co, sw, ew</td></tr>
            <tr><td>created</td><td>lt, gt</td></tr>
            <tr><td>id</td><td>eq, co, sw, ew</td></tr>
            <tr><td>result<br>-<br>to filter successful or failed authentications</td><td>eq RESPONSE_SUCCESS or RESPONSE_FAILURE</td></tr>
            <tr><td>return_value.response<br>-<br>to filter successful or failed response in returned value. </td><td>eq SUCCESS or FAILURE</td></tr>
            <tr><td>targetUserId.id</td><td>eq</td></tr>
            <tr><td>targetUserId.immutableId</td><td>eq</td></tr>
            <tr><td>targetUserId.session.authenticationMethod</td><td>eq, co, sw, ew</td></tr>
            <tr><td>tokenized<br>-<br>defines if the records should be tokenized to protect PII in the audit data</td><td>eq true</td></tr></table>
          schema:
            type: string
          example: created gt 2020-12-03T09:41:04.260Z
        - in: query
          name: startIndex
          example: 0
          description: Skip the x first results.
          schema:
            format: int32
            type: integer
        - in: query
          name: count
          example: 10
          description: Show the x first results.
          schema:
            format: int32
            type: integer
        - in: query
          name: sortBy
          example: created
          description: The sorting attribute of the search results.
          schema:
            type: string
            enum:
              - created
        - in: query
          name: sortOrder
          example: desc
          description: The sorting attribute of the search results.
          schema:
            type: string
            enum:
              - desc
              - descending
              - asc
              - ascending
            
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/QueryResponseAuditRecord"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    post:
      tags:
        - Audit Records
      summary: AuditRecords - Create an audit record
      description: Create an audit record. ActivID AS maintains a secure, tamper-evident audit log of all authentication, administration, and authorization requests.
      operationId: createAuditRecord
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/AuditRecord'
      responses:
        '201':
          description: HTTP/1.1 201 CREATED
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/CreateAuditRecordResponse"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/AuditRecords/.search:
    post:
      tags:
        - Audit Records
      summary: AuditRecords/.search - Searches for an audit record
      description: Search an audit record. ActivID AS maintains a secure, tamper-evident audit log of all authentication, administration, and authorization requests.
        <br>Supported search criteria as follows:<table border="2px solid black" cellpadding="10">
        <tr><th width="60%">SCIM Attribute</th><th width="40%">Operators supported</th><tr>
        <tr><td>actingUserId.id</td><td>eq</td></tr>
        <tr><td>actingUserId.immutableId</td><td>eq</td></tr>
        <tr><td>actingUserId.session.authenticationMethod</td><td>eq, co, sw, ew</td></tr>
        <tr><td>action.actionName</td><td>eq, co, sw, ew</td></tr>
        <tr><td>action.actionParameters.CHC<br> - <br>This filter search based on the Channel in action parameters in audit record.  e.g., should search by exact match.</td><td>eq, co, sw, ew</td></tr>
        <tr><td>action.actionParameters.COI<br> - <br>This filter search based on the correlation ID returned in the response.  e.g., The correlation id returned for bulk user import.</td><td>eq, co, sw, ew</td></tr>
        <tr><td>action.actionParameters.DSN<br> - <br>This filter search based on the device serial number in action parameters in audit record.  e.g., should seach by exact match.</td><td>eq</td></tr>
        <tr><td>action.actionParameters.text1 to action.actionParameters.text10<br> - <br>This filter enables to search using up to 10 custom fields text1, text2, ..., text10 in audit record action parameters.</td><td>eq, co, sw, ew</td></tr>
        <tr><td>correlationId<br> - <br>This filter will search based on the X-Correlation_id header value. </td><td>eq, co, sw, ew</td></tr>
        <tr><td>created</td><td>lt, gt</td></tr>
        <tr><td>id</td><td>eq, co, sw, ew</td></tr>
        <tr><td>result<br>-<br>to filter successful or failed authentications</td><td>eq RESPONSE_SUCCESS or RESPONSE_FAILURE</td></tr>
        <tr><td>return_value.response<br>-<br>to filter successful or failed response in returned value. </td><td>eq SUCCESS or FAILURE</td></tr>
        <tr><td>targetUserId.id</td><td>eq</td></tr>
        <tr><td>targetUserId.immutableId</td><td>eq</td></tr>
        <tr><td>targetUserId.session.authenticationMethod</td><td>eq, co, sw, ew</td></tr>
        <tr><td>tokenized<br>-<br>defines if the records should be tokenized to protect PII in the audit data</td><td>eq true</td></tr></table>
      operationId: findAuditRecords
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/AuditRecord_SEARCH'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/QueryResponseAuditRecord'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Authenticator:
    get:
      tags:
        - Authenticator
      summary: Authenticator - Get Authenticators filtered by attributes.
      description: Get Authenticators filtered by attributes.
      operationId: getAllAuthenticator
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
        - in: query
          name: attributes
          description: List of requested attributes separated by comas.
          schema:
            type: string
          example: id
        - in: query
          name: filter
          description: List of requested filters separated by comas<br>Supported search criteria as follows:<table border="2px solid black" cellpadding="10"><tr><th width="15%">SCIM Attribute</th><th width="50%">Operators supported</th><tr><tr><td>owner.value</td><td>eq</td></tr><tr><td>id</td><td>eq</td></tr><tr><td colspan="2"><code>and</code> is the only supported logical operator.</td></tr></table><br>
          schema:
            type: string
          example: id eq 11039
        - in: query
          name: startIndex
          example: 0
          description: Skip the x first results.
          schema:
            format: int32
            type: integer
        - in: query
          name: count
          example: 10
          description: Show the x first results.
          schema:
            format: int32
            type: integer
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/QueryResponseAuthenticator"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    post:
      tags:
        - Authenticator
      summary: Authenticator - Creates a new Username/Password user authenticator.
      description: Create a new user authenticator using a Password. The Authenticator endpoint allows creating and managing authenticators which bind a user to a authenticator policy. The special character supported for password and username are are <b>-+_!@#$%&*.,?</b>
      operationId: createAuthenticator
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: "#/components/schemas/Authenticator"
            examples:
              Authenticator Username/Password:
                $ref: '#/components/examples/Authenticator_Password_POST'
              Authenticator Device:
                $ref: '#/components/examples/Authenticator_Device_POST'
              Authenticator Security Question:
                $ref: '#/components/examples/Authenticator_SQ_POST'
              Authenticator LDAP:
                $ref: '#/components/examples/Authenticator_LDAP_POST'
              Register OOB Email:
                $ref: '#/components/examples/Authenticator_ACTION_POST_registerOOBEML'
              Register OOB SMS:
                $ref: '#/components/examples/Authenticator_ACTION_POST_registerOOBSMS'
      responses:
        '201':
          description: HTTP/1.1 201 CREATED
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: "#/components/schemas/AuthenticatorPost"
              examples:
                Authenticator Username/Password:
                  $ref: '#/components/examples/Authenticator_Password_GET'
                Authenticator Device:
                  $ref: '#/components/examples/Authenticator_Device_GET_CREATE'
                Authenticator Security Question:
                  $ref: '#/components/examples/Authenticator_SQ_GET'
                Authenticator LDAP:
                  $ref: '#/components/examples/Authenticator_LDAP_GET'
                Register OOB:
                  $ref: '#/components/examples/Authenticator_ACTION_POST_registerOOB_Resp'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Authenticator/{uid}:
    get:
      tags:
        - Authenticator
      summary: Authenticator/{uid} - Obtains a known user authenticator
      description: Retrieve a specific user authenticator using the internal ID. The Authenticator endpoint allows creating and managing authenticators which bind a user to a authenticator policy.
      operationId: getAuthenticator
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: query
          name: attributes
          description: List of requested attributes separated by comas.
          example: ["id"]
          schema:
            items:
              type: string
            type: array
            uniqueItems: true
        - in: query
          name: excludedAttributes
          description: List of excluded attributes separated by comas.
          schema:
            items:
              type: string
            type: array
            uniqueItems: true
          example: ["externalId"]
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: "#/components/schemas/Authenticator"
              examples:
                Authenticator Username/Password:
                  $ref: '#/components/examples/Authenticator_Password_GET'
                Authenticator Device:
                  $ref: '#/components/examples/Authenticator_Device_GET'
                Authenticator Security Question:
                  $ref: '#/components/examples/Authenticator_SQ_GET'
                Authenticator LDAP:
                  $ref: '#/components/examples/Authenticator_LDAP_GET'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    put:
      tags:
        - Authenticator
      summary: Authenticator/{uid} - Replaces a known user authenticator
      description: Replace a specific user authenticator using the internal ID. The Authenticator endpoint allows creating and managing authenticators which bind a user to a authenticator policy.
      operationId: updateAuthenticator
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: "#/components/schemas/Authenticator"
            examples:
              Authenticator Username/Password:
                  $ref: '#/components/examples/Authenticator_Password_PUT'
              Authenticator Device:
                  $ref: '#/components/examples/Authenticator_Device_PUT'
              Authenticator Security Question:
                  $ref: '#/components/examples/Authenticator_SQ_PUT'
              Authenticator LDAP:
                  $ref: '#/components/examples/Authenticator_LDAP_PUT'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: "#/components/schemas/Authenticator"
              examples:
                Authenticator Username/Password:
                  $ref: '#/components/examples/Authenticator_Password_GET'
                Authenticator Device:
                  $ref: '#/components/examples/Authenticator_Device_GET'
                Authenticator Security Question:
                  $ref: '#/components/examples/Authenticator_SQ_GET'
                Authenticator LDAP:
                  $ref: '#/components/examples/Authenticator_LDAP_GET'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
    delete:
      tags:
        - Authenticator
      summary: Authenticator/{uid} - Deletes a known user authenticator
      description: Delete a specific user authenticator using the internal ID. An empty response with <code>204</code> status code is returned upon success. The Authenticator endpoint allows creating and managing authenticators which bind a user to a authenticator policy.
      operationId: deleteAuthenticator
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '204':
          $ref: "#/components/responses/NoContent"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    post:
      tags:
        - Authenticator
      summary: Authenticator/{uid} - Call an Authentication function
      description: | 
        Call an Authentication function. 
        Possible actions are:
        * USER-CHALLENGE
        * DEVICE-CHALLENGE
        * RESET
        * RESET-REQUEST-COUNT
        * DELIVER-CHALLENGE
        * REGISTER-OOB
        * UNREGISTER-OOB
      operationId: actionOnAuthenticator
      parameters:
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/AuthenticatorAction'
            examples:
              Get Challenge by User Code:
                $ref: '#/components/examples/Authenticator_ACTION_POST_getChallengeByUC'
              Get Challenge by Device:
                $ref: '#/components/examples/Authenticator_ACTION_POST_getChallengeByDevice'
              Reset Authentication Fail Count:
                $ref: '#/components/examples/Authenticator_ACTION_POST_resetAuthFailCount'
              Reset Request Counter:
                $ref: '#/components/examples/Authenticator_ACTION_POST_resetAuthFailCount'
              Deliver Challenge:
                $ref: '#/components/examples/Authenticator_ACTION_POST_deliverChallenge'
              Unregister OOB:
                $ref: '#/components/examples/Authenticator_ACTION_POST_unregisterOOB'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: '#/components/schemas/AuthenticatorAction'
              examples:
                Get Challenge by User Code:
                  $ref: '#/components/examples/Authenticator_ACTION_POST_getChallengeByUC_Resp'
                Get Challenge by Device:
                  $ref: '#/components/examples/Authenticator_ACTION_POST_getChallengeByDevice_Resp'
                Reset Authentication Fail Count:
                  $ref: '#/components/examples/Authenticator_ACTION_POST_resetAuthFailCount_Resp'
                Deliver Challenge:
                  $ref: '#/components/examples/Authenticator_ACTION_POST_deliverChallenge_Resp'
                Unregister OOB:
                  $ref: '#/components/examples/Authenticator_ACTION_POST_unregisterOOB_Resp'
                Reset OOB Request Count:
                  $ref: '#/components/examples/Authenticator_ACTION_POST_resetOOBRequestCount_Resp'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Authenticator/.search:
    post:
      tags:
        - Authenticator
      summary: Authenticator/.search - Search for user authenticators
      description: Search for user authenticators. The Authenticator endpoint allows creating and managing authenticators which bind a user to a authenticator policy.<br>Supported search criteria as follows:<table border="2px solid black" cellpadding="10">
          <tr><th width="15%">SCIM Attribute</th><th width="50%">Operators supported</th><tr>
          <tr><td>owner.value</td><td>eq</td></tr>
          <tr><td>id</td><td>eq</td></tr>
          <tr><td colspan="2"><code>and</code> is the only supported logical operator.</td></tr></table><br>
      operationId: findAuthenticators
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/QueryRequest_Authenticator'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: "#/components/schemas/QueryResponseAuthenticator"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Credential:
    get:
      tags:
        - Credential
      summary: Credential - Get Credentials filtered by attributes.
      description: Get Credentials filtered by attributes.
      operationId: getAllCredential
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
        - in: query
          name: attributes
          description: List of requested attributes separated by comas.
          schema:
            type: string
          example: id
        - in: query
          name: filter
          description: List of requested filters separated by comas<br>Supported search criteria as follows:<table border="2px solid black" cellpadding="10"><tr><th width="15%">SCIM Attribute</th><th width="50%">Operators supported</th><tr><tr><td>type</td><td>eq</td></tr><tr><td>attribute.value</td><td>eq, co, sw, ew</td></tr><tr><td>externalId</td><td>eq</td></tr><tr><td>id</td><td>eq</td></tr><tr><td>status.expiryDate</td><td>eq, gt, lt</td></tr><tr><td>status.startDate</td><td>eq, gt, lt</td></tr><tr><td>status.status</td><td>eq, gt, lt</td></tr><tr><td>owner.value</td><td>eq</td></tr></table>
          schema:
            type: string
          example: id eq 11039
        - in: query
          name: startIndex
          example: 0
          description: Skip the x first results.
          schema:
            format: int32
            type: integer
        - in: query
          name: count
          example: 10
          description: Show the x first results.
          schema:
            format: int32
            type: integer
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/QueryResponseCredential"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Credential/{uid}:
    get:
      tags:
        - Credential
      summary: Credential/{uid} - Obtains a known credential
      description: Retrieve a known specific credential using the internal ID.
      operationId: getCredential
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: query
          name: attributes
          description: List of requested attributes separated by comas.
          example: ["id"]
          schema:
            items:
              type: string
            type: array
            uniqueItems: true
        - in: query
          name: excludedAttributes
          description: List of excluded attributes separated by comas.
          example: ["type"]
          schema:
            items:
              type: string
            type: array
            uniqueItems: true
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/Credential"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    put:
      tags:
        - Credential
      summary: Credential/{uid} - Updates a known credential
      description: Update a known specific credential using the internal ID.
      operationId: updateCredential
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/Credential'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/Credential"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
    delete:
      tags:
        - Credential
      summary: Credential/{uid} - Deletes a known credential
      description: Delete a known specific credential using the internal ID. An empty response with the <code>204</code> status code is returned upon success.
      operationId: deleteCredential
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '204':
          $ref: "#/components/responses/NoContent"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Credential/.search:
    post:
      tags:
        - Credential
      summary: Credential/.search - Searches for all credentials
      description: Search for credentials with the supported search criteria.<br>Supported search criteria as follows:<table border="2px solid black" cellpadding="10">
          <tr><th width="15%">SCIM Attribute</th><th width="50%">Operators supported</th><tr>
          <tr><td>type</td><td>eq</td></tr>
          <tr><td>attribute.value</td><td>eq, co, sw, ew</td></tr>
          <tr><td>externalId</td><td>eq</td></tr>
          <tr><td>id</td><td>eq</td></tr>
          <tr><td>status.expiryDate</td><td>eq, gt, lt</td></tr>
          <tr><td>status.startDate</td><td>eq, gt, lt</td></tr>
          <tr><td>status.status</td><td>eq, gt, lt</td></tr>
          <tr><td>owner.value</td><td>eq</td></tr></table>
      operationId: findCredentials
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/QueryRequest'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/QueryResponseCredential'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Device:
    get:
      tags:
        - Device
      summary: Device - Get Devices filtered by attributes.
      description: Get Devices filtered by attributes.
      operationId: getAllDeviceSearch
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
        - in: query
          name: attributes
          description: List of requested attributes separated by comas.
          schema:
            type: string
          example: id
        - in: query
          name: filter
          description: List of requested filters separated by comas<br>Supported search criteria as follows:<table border="2px solid black" cellpadding="10"><tr><th width="15%">SCIM Attribute</th><th width="25%">Operators supported</th><th width="25%">Comments</th><tr><tr><td>id</td><td>eq</td><td></td></tr><tr><td>externalId</td><td>eq, co, sw, ew</td><td></td></tr><tr><td>type</td><td>eq</td><td></td></tr><tr><td>status.status</td><td>eq</td><td>Requires 'type' to be specified in the filter.</td></tr><tr><td>status.expiryDate</td><td>eq, gt, lt</td><td></td></tr><tr><td>status.startDate</td><td>eq</td><td>Requires 'type' to be specified in the filter.</td></tr><tr><td>owner.value</td><td>eq</td><td></td></tr></table>
          schema:
            type: string
          example: id eq 11039
        - in: query
          name: startIndex
          example: 0
          description: Skip the x first results.
          schema:
            format: int32
            type: integer
        - in: query
          name: count
          example: 10
          description: Show the x first results.
          schema:
            format: int32
            type: integer
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/QueryResponseDevice"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    post:
      tags:
        - Device
      summary: Device - Creates a new device
      description: Create a new device.
      operationId: createDevice
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/Device'
            examples:
                Create device:
                  $ref: "#/components/examples/Device_POST"
      responses:
        '201':
          description: HTTP/1.1 201 CREATED
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/Device"
              examples:
                Create device:
                  $ref: "#/components/examples/Device_GET"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Device/{uid}:
    get:
      tags:
        - Device
      summary: Device/{uid} - Obtains a known specific device
      description: Retrieve a specific device using the internal ID.
      operationId: getDevice
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: query
          name: attributes
          description: List of requested attributes separated by comas.
          example: ["id"]
          schema:
            items:
              type: string
            type: array
            uniqueItems: true
        - in: query
          name: excludedAttributes
          description: List of excluded attributes separated by comas.
          example: ["description"]
          schema:
            items:
              type: string
            type: array
            uniqueItems: true
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/Device"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    post:
      tags:
        - Device
      summary: Device/{uid} - Resynchronizes OATH Device with OTP
      description: Resynchronize the OATH device. Possible actions are AUTO-SYNCH, SYNCH-COUNTER, PIN-UNLOCK
      operationId: actionOnDevice
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/DeviceAction'
            examples:
              Device Action - Automatic Counter Resynch:
                $ref: '#/components/examples/Device_ACTION_POST_automaticCounterResynch'
              Device Action - Manual Counter:
                $ref: '#/components/examples/Device_ACTION_POST_manualCounter'
              Device Action - Resynch PIN Unlock:
                $ref: '#/components/examples/Device_ACTION_POST_resynchPINUnlock'
      responses:
        '200':
          description: HTTP/1.1 200 OK (for PIN-UNLOCK)
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/DeviceActionResponse"
        '204':
          description: No Content (for AUTO-SYNCH and SYNCH-COUNTER)
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
    put:
      tags:
        - Device
      summary: Device/{uid} - Assigns a device to a known user
      description: Assign a device to a known user using the internal ID.
      operationId: updateDevice
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/Device'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/Device"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
    delete:
      tags:
        - Device
      summary: Device/{uid} - Deletes a known specific device
      description: Delete a specific device using the internal ID. An empty response with the 204 status code is returned upon success.
      operationId: deleteDevice
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '204':
          $ref: "#/components/responses/NoContent"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Device/.search:
    post:
      tags:
        - Device
      summary: Device/.search - Searches for devices
      description: Search for devices with the supported criteria.<br>Supported search criteria as follows:<table border="2px solid black" cellpadding="10">
          <tr><th width="15%">SCIM Attribute</th><th width="25%">Operators supported</th><th width="25%">Comments</th><tr>
          <tr><td>id</td><td>eq</td><td></td></tr>
          <tr><td>externalId</td><td>eq, co, sw, ew</td><td></td></tr>
          <tr><td>type</td><td>eq</td><td></td></tr>
          <tr><td>status.status</td><td>eq</td><td>Requires 'type' to be specified in the filter.</td></tr>
          <tr><td>status.expiryDate</td><td>eq, gt, lt</td><td></td></tr>
          <tr><td>status.startDate</td><td>eq</td><td>Requires 'type' to be specified in the filter.</td></tr>
          <tr><td>assignedToUser</td><td>eq</td><td>'true' or 'false'</td></tr>
          <tr><td>owner.value</td><td>eq</td><td></td></tr></table>
      operationId: findDevices
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/QueryRequest_Device'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/QueryResponseDevice'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Device/.import:
    post:
      tags:
        - Device
      summary: Device/.import - Import a new device
      description: Import a new device.The request body is same for synchronous and asynchronous device import.<br><br><br><b>Synchrounous</b><ul><li>For Synchrounous, <code>async</code> parameter must be set to <code>false</code> and the API returns the response once the import is finished. Supports Portable Symmetric Key Container (PSKC) and (SDS) files. The mapping defines the deviceType to use during creation of the device depending on the algorithms found in the file. Possible values for algo are:<table border="2px solid black" cellpadding="10"><tr><th width="15%">Authentication Type</th><th width="25%">Description</th><tr><tr><td>hotp</td><td>short name for OATH HMAC-Based OTP</td></tr><tr><td>totp</td><td>short name for OATH Time based OTP</td></tr><tr><td>ocra</td><td>short name for Challenge Response algorithm</td></tr><tr><td>AI</td><td>Active ID algorithm(only supported for SDS format)</td></tr></table><br>Points to remember:</li><li>The value for algo is not case-sensitive</li><li>Only the slots from the file with hotp, totp or ocra algorithms will be imported. Other entries using a different algo will be ignored.</li><li>If a slot uses hotp, totp or ocra, the mapping must define a deviceType for the corresponding algo.</li><li>If there are multiple slot entries with the OCRA algorithm for the same device, then the slot's OCRA suite must be used to map the correct deviceType.</li><li>For SDS file import the "adapter" must be defined as "SDS".</li></ul><br><br><br><b>Asynchrounous</b><ul><li>For Asynchrounous, <code>async</code> parameter must be set to <code>true</code>. The API validates all the required parameters and returns the response with <code>correlationId</code> while the import process is running in backend.To know the status of import, use the <code>/AuditRecords/.search</code> API and pass <code>correlationId</code>. The returned response contains, the events such as import start, end etc., The event which is generated at the end of import contains a number of devices successfully imported and failed.<br><br>Supports only Portable Symmetric Key Container (PSKC) files. The mapping defines the deviceType to use during creation of the device depending on the algorithms found in the file. Possible values for algo are:<table border="2px solid black" cellpadding="10"><tr><th width="15%">Authentication Type</th><th width="25%">Description</th><tr><tr><td>hotp</td><td>short name for OATH HMAC-Based OTP</td></tr><tr><td>totp</td><td>short name for OATH Time based OTP</td></tr><tr><td>ocra</td><td>short name for Challenge Response algorithm</td></tr></table><br>Points to remember:</li><li>The value for algo is not case-sensitive.</li><li>Only the slots from the file with hotp, totp or ocra algorithms will be imported. Other entries using a different algo will be ignored.</li><li>If a slot uses hotp, totp or ocra, the mapping must define a deviceType for the corresponding algo.</li><li>If there are multiple slot entries with the OCRA algorithm for the same device, then the slotâ€™s OCRA suite must be used to map the correct deviceType.</li></ul>
      operationId: importDevices
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/DeviceImport'
            examples:
              Synchrounous:
                $ref: '#/components/examples/DeviceImport_PSKC_SDS_SYNCH'
              Asynchrounous:
                $ref: '#/components/examples/DeviceImport_PSKC_SDS_ASYNCH'
      responses:
        '201':
          description: HTTP/1.1 201 CREATED
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/DeviceImportResult'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Device/Provision:
    post:
      tags:
        - Device Provision
      summary: Device/Provision - Creates a new device provision
      description: |
        Create a new device provision.<br>This is the first step to request an HID Approve Activation. This API is used internally by the HID Approve SDK to provide support for the HID Approve Activation workflow. It is not intended to be used in any other context.

        Parameters required to provision a device (online activation):
        * deviceType
        * description
        * owner
        * attributes

        Parameters required to provision a device (offline activation Time based):
        * deviceType
        * owner
        * attributes

        Parameters required to provision a device (offline activation Event based):
        * deviceType
        * owner
        * attributes
      operationId: createDeviceProvision
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/DeviceProvision'
      responses:
        '201':
          description: HTTP/1.1 201 CREATED
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/DeviceProvision"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Device/Provision/{uid}:
    get:
      tags:
        - Device Provision
      summary: Device/Provision/{uid} - Obtains a known device provision
      description: Retrieve a known specific device provision using the internal ID.
      operationId: getDeviceProvision
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: query
          name: attributes
          description: List of requested attributes separated by comas.
          example: ["id"]
          schema:
            items:
              type: string
            type: array
            uniqueItems: true
        - in: query
          name: excludedAttributes
          description: List of excluded attributes separated by comas.
          example: ["description"]
          schema:
            items:
              type: string
            type: array
            uniqueItems: true
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/DeviceProvision"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    put:
      tags:
        - Device Provision
      summary: Device/Provision/{uid} - Update a known device provision
      description: Update a known specific device provision using the internal ID.
      operationId: updateDeviceProvision
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/DeviceProvision'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/DeviceProvision"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
    delete:
      tags:
        - Device Provision
      summary: Device/Provision/{uid} - Deletes a known device provision.
      description: Delete a known specific device provision using the internal ID. An empty response with the <code>204</code> status code is returned upon success.  This API is used internally by the HID Approve SDK to provide support for the HID Approve Activation workflow. It is not intended to be used in any other context.
      operationId: deleteDeviceProvision
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '204':
          $ref: "#/components/responses/NoContent"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Device/Provision/.search:
    post:
      tags:
        - Device Provision
      summary: Device/Provision/.search - Searches for device provisions.
      description: Search for device provisions. This API is used internally by the HID Approve SDK to provide support for the HID Approve Activation workflow. It is not intended to be used in any other context.<br>Supported search criteria as follows:<table border="2px solid black" cellpadding="10">
          <tr><th width="15%">SCIM Attribute</th><th width="25%">Operators supported</th><th width="25%">Comments</th><tr>
          <tr><td>deviceType</td><td>eq</td><td>mandatory</td></tr>
          <tr><td>status.status</td><td>eq</td><td></td></tr>
          <tr><td>owner.value</td><td>eq</td><td></td></tr></table>
      operationId: findDeviceProvisions
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/QueryRequest_DeviceProvision'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/QueryResponseDeviceProvision'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Groups:
    get:
      tags:
        - Groups
      summary: Groups - Get Groups filtered by attributes.
      description: Get Groups filtered by attributes.
      operationId: getAllGroupsSearch
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
        - in: query
          name: attributes
          description: List of requested attributes separated by comas.
          schema:
            type: string
          example: id
        - in: query
          name: filter
          description: List of requested filters separated by comas<br>Supported search criteria as follows:<table border="2px solid black" cellpadding="10"><tr><th width="15%">SCIM Attribute</th><th width="25%">Operators supported</th></tr><tr><td>id</td><td>eq</td></tr><tr><td>externalId</td><td>eq</td></tr><tr><td>displayName</td><td>eq</td></tr></table>
          schema:
            type: string
          example: id eq USG_CUST3
        - in: query
          name: startIndex
          example: 0
          description: Skip the x first results.
          schema:
            format: int32
            type: integer
        - in: query
          name: count
          example: 10
          description: Show the x first results.
          schema:
            format: int32
            type: integer
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/QueryResponseGroup"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    post:
      tags:
        - Groups
      summary: Groups - Create a group
      description: Create a group which returns all members and "userAttributeTypes" array only if the query parameter "api-version" equals or greater than 3. eg:- /scim/{tenant}/v2/Groups/{id}?api-version=7
      operationId: createGroup
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: query
          name: api-version
          required: false
          schema:
            type: integer
            minimum: 1
            example: 7
          description: The version of API used.
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/Group'
      responses:
        '201':
          description: HTTP/1.1 201 CREATED
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/Group"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Groups/{uid}:
    get:
      tags:
        - Groups
      summary: Groups/{uid} - Get a group
      description: Get a group which returns all members and "userAttributeTypes" array only if the query parameter "api-version" equals or greater than 3. eg:- /scim/{tenant}/v2/Groups/{id}?api-version=7
      operationId: getGroup
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: query
          name: attributes
          description: List of requested attributes separated by comas.
          example: ["id"]
          schema:
            items:
              type: string
            type: array
            uniqueItems: true
        - in: query
          name: excludedAttributes
          description: List of excluded attributes separated by comas.
          example: ["description"]
          schema:
            items:
              type: string
            type: array
            uniqueItems: true
        - in: query
          name: api-version
          required: false
          schema:
            type: integer
            minimum: 1
            example: 7
          description: The version of API used.
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/Group"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    put:
      tags:
        - Groups
      summary: Groups/{uid} - Update a group by adding a user attribute
      description: Update a group by adding a user attribute which returns "userAttributeTypes" only if the query parameter "api-version" equals or greater than 3. eg:- /scim/{tenant}/v2/Groups/{id}?api-version=7
        <ul>
          <li>This can only be performed on root groups (= user types).
          <li>The query parameter "api-version" must equal or be greater than 3.
          <li>Only the property "id" from "urn:hid:scim:api:idp:2.0:userattribute:Type" is read (so other parameters are optional).
        </ul>
      operationId: updateGroup
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: query
          name: api-version
          required: false
          schema:
            type: integer
            minimum: 1
            example: 7
          description: The version of API used.
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/Group'
            examples:
              Not using api-version >= 3:
                $ref: '#/components/examples/Group'
              Using api-version >= 3:
                $ref: '#/components/examples/Group_V3'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/Group"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
    delete:
      tags:
        - Groups
      summary: Groups/{uid} - Remove a group
      description: Remove a group
      operationId: deleteGroup
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '204':
          $ref: "#/components/responses/NoContent"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Groups/.search:
    post:
      tags:
        - Groups
      summary: Groups/.search - Searches for a group
      description: Search a group.<br>Supported search criteria as follows:<table border="2px solid black" cellpadding="10">
          <tr><th width="15%">SCIM Attribute</th><th width="25%">Operators supported</th></tr>
          <tr><td>id</td><td>eq</td></tr>
          <tr><td>externalId</td><td>eq</td></tr>
          <tr><td>displayName</td><td>eq</td></tr>
          <tr><td colspan=2>Logical operators are <b>NOT</b> supported. Supported output are attributes, excludedAttributes. Not supported are count, startIndex, sortBy, sortOrder</td></tr></table>
      operationId: findGroups
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/Group_SEARCH'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/QueryResponseGroup'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Organization:
    get:
      tags:
        - Organization
      summary: Organization - Get Organization filtered by attributes.
      description: Get Organization filtered by attributes.
      operationId: getAllOrganizationSearch
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
        - in: query
          name: attributes
          description: List of requested attributes separated by comas.
          schema:
            type: string
          example: id
        - in: query
          name: filter
          description: List of requested filters separated by comas<br>Supported search criteria as follows:<table border="2px solid black" cellpadding="10"><tr><th width="15%">SCIM Attribute</th><th width="25%">Operators supported</th><th width="25%">Comments</th></tr><tr><td>type</td><td>eq</td><td></td></tr><tr><td>param name</td><td>eq</td><td>param value</td></tr><tr><td>externalId</td><td>eq</td><td></td></tr><tr><td>id</td><td>eq</td><td></td></tr></table>
          schema:
            type: string
          example: id eq MY_ID1
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/QueryResponseOrganization"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    post:
      tags:
        - Organization
      summary: Organization - Creates a new organization
      description: Create a new organization.
      operationId: createOrganization
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/Organization'
      responses:
        '201':
          description: HTTP/1.1 201 CREATED
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/Organization"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Organization/{uid}:
    get:
      tags:
        - Organization
      summary: Organization/{uid} - Obtains a known organization
      description: Retrieve a known specific organization using the internal ID.
      operationId: getOrganization
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: query
          name: attributes
          description: List of requested attributes separated by comas.
          example: ["id"]
          schema:
            items:
              type: string
            type: array
            uniqueItems: true
        - in: query
          name: excludedAttributes
          description: List of excluded attributes separated by comas.
          example: ["type"]
          schema:
            items:
              type: string
            type: array
            uniqueItems: true
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/Organization"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    put:
      tags:
        - Organization
      summary: Organization/{uid} - Updates a known organizaiton
      description: Update a known specific organization using the internal ID.
      operationId: updateOrganization
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/Organization'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/Organization"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
    delete:
      tags:
        - Organization
      summary: Organization/{uid} - Deletes a known organization
      description: Delete a known specific organization using the internal ID. An empty response with the <code>204</code> status code is returned upon success.
      operationId: deleteOrganization
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '204':
          $ref: "#/components/responses/NoContent"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Organization/.search:
    post:
      tags:
        - Organization
      summary: Organization/.search - Searches for organizations
      description: Search organizations.<br>Supported search criteria as follows:<table border="2px solid black" cellpadding="10">
          <tr><th width="15%">SCIM Attribute</th><th width="25%">Operators supported</th><th width="25%">Comments</th></tr>
          <tr><td>type</td><td>eq</td><td></td></tr>
          <tr><td>param name</td><td>eq</td><td>param value</td></tr>
          <tr><td>externalId</td><td>eq</td><td></td></tr>
          <tr><td>id</td><td>eq</td><td></td></tr></table>
      operationId: findOrganizations
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/Organization_SEARCH'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/QueryResponseOrganization'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/PermissionSets:
    get:
      tags:
        - Permission Sets
      summary: PermissionSets - Get all permission sets
      description: Get all permission sets. This function allows modifying permission sets with the SCIM API when creating roles.
      operationId: getAllPermissionSets
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/QueryResponsePermissionSet"
              examples:
                Get All Permission Sets:
                  $ref: '#/components/examples/PermissionSet_GETALL'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/PermissionSets/{uid}:
    get:
      tags:
        - Permission Sets
      summary: PermissionSets/{uid} - Get a permission set
      description: Get a permission set. This function allows modifying permission sets with the SCIM API when creating roles.
      operationId: getPermissionSet
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/PermissionSet"
              examples:
                PermissionSet:
                  $ref: '#/components/examples/PermissionSet_GET'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    put:
      tags:
        - Permission Sets
      summary: PermissionSets/{uid} - Update a permission set
      description: Update a permission set. This function allows modifying permission sets with the SCIM API when creating roles.
      operationId: updatePermissionSet
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/PermissionSet'
            examples:
              PermissionSet:
                $ref: '#/components/examples/PermissionSet_PUT'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/PermissionSet"
              examples:
                PermissionSet:
                  $ref: '#/components/examples/PermissionSet_GET'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Radius/{uid}:
    get:
      tags:
        - RADIUS
      summary: Radius/{uid} - Get RFE configuration
      description: Get RFE configuration.
      operationId: getRFEConfiguration
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/Radius"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Radius/{uid}/stale:
    get:
      tags:
        - RADIUS
      summary: Radius/{uid}/stale - Show if RFE configuration is stale
      description: Show if RFE configuration is stale.
      operationId: isRFEConfigurationStale
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                type: boolean
                example: false
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/ResourceTypes:
    get:
      tags:
        - Resource Types
      summary: ResourceTypes - Get all resource types
      description: Get all resource types.
      operationId: getResourceTypes
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: query
          name: attributes
          description: List of requested attributes separated by comas.
          example: id
          schema:
            type: string
        - in: query
          name: filter
          description: List of requested filters separated by comas
          schema:
            type: string
          example: id eq AuthenticatorPolicy
        - in: query
          name: sortBy
          description: The listed devices are sorted as per the mentioned parameter value.
          schema:
            type: string
          example: id
        - in: query
          name: sortOrder
          example: descending
          description: The listed devices are sorted as per the mentioned order (ascending or descending).
          schema:
            type: string
        - in: query
          name: startIndex
          description: Skip the x first results.
          example: 0
          schema:
            format: int32
            type: integer
        - in: query
          name: count
          description: Show the x first results.
          example: 10
          schema:
            format: int32
            type: integer
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/QueryResponseResourceType"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/ResourceTypes/Authenticator:
    get:
      tags:
        - Resource Types
      summary: ResourceTypes/Authenticator - Get resource type for Authenticator
      description: Get resource type for Authenticator.
      operationId: getAuthenticatorType
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/ResourceTypeAuthenticator"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/ResourceTypes/AuthenticatorPolicy:
    get:
      tags:
        - Resource Types
      summary: ResourceTypes/AuthenticatorPolicy - Get resource type for Authenticator Policy
      description: Get resource type for Authenticator Policy.
      operationId: getAuthenticatorPolicyType
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/ResourceTypeAuthenticatorPolicy"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/ResourceTypes/Credential:
    get:
      tags:
        - Resource Types
      summary: ResourceTypes/Credential - Get resource type for Credential
      description: Get resource type for Credential.
      operationId: getCredentialType
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/ResourceTypeCredential"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/ResourceTypes/Device:
    get:
      tags:
        - Resource Types
      summary: ResourceTypes/Device - Get resource type for Device
      description: Get resource type for Device.
      operationId: getDeviceType_
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/ResourceTypeDevice"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/ResourceTypes/Group:
    get:
      tags:
        - Resource Types
      summary: ResourceTypes/Group - Get resource type for Group
      description: Get resource type for Group.
      operationId: getGroupType
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/ResourceTypeGroup"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/ResourceTypes/Provision:
    get:
      tags:
        - Resource Types
      summary: ResourceTypes/Provision - Get resource type for Provision
      description: Get resource type for Provision.
      operationId: getDeviceProvisionType
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/ResourceTypeProvision"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/ResourceTypes/User:
    get:
      tags:
        - Resource Types
      summary: ResourceTypes/User - Get resource type for User
      description: Get resource type for User.
      operationId: getUserType
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/ResourceTypeUser"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Roles:
    get:
      tags:
        - Roles
      summary: Roles - Obtains all roles
      description: Retrieve all existing roles within a tenant.
      operationId: getAllRoles
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/QueryResponseRole"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    post:
      tags:
        - Roles
      summary: Roles - Creates a new role
      description: Create a new role within a tenant.
      operationId: createRole
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/Role'
            examples:
              Role:
                $ref: '#/components/examples/Role_POST'
      responses:
        '201':
          description: HTTP/1.1 201 CREATED
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/Role"
              examples:
                Role:
                  $ref: '#/components/examples/Role_GET'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Roles/{uid}:
    get:
      tags:
        - Roles
      summary: Roles/{uid} - Obtains a known role
      description: Retrieve a known specific role using the internal ID.
      operationId: getRole
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/Role"
              examples:
                Role:
                  $ref: '#/components/examples/Role_GET'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    delete:
      tags:
        - Roles
      summary: Roles/{uid} - Deletes a known role.
      description: Delete a known specific role using the internal ID. An empty response with the <code>204</code> status code is returned upon success.
      operationId: deleteRole
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '204':
          $ref: "#/components/responses/NoContent"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/ServiceProviderConfig:
    get:
      tags:
        - Service Provider Configuration
      summary: ServiceProviderConfig - Get service provider configuration
      description: Get service provider configuration.
      operationId: getServiceProviderConfig
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/ServiceProviderConfig"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Tasks:
    get:
      tags:
        - Tasks
      summary: Tasks - Get all tasks
      description: Get all tasks.
      operationId: getTasks
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/QueryResponseTask"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    post:
      tags:
        - Tasks
      summary: Tasks - Create tasks
      description: Create Task. Only 'APPROVE_NOTIFICATION' is supported, and only allowed on the domain definied in ORGADMIN_DOMAIN property.
      operationId: createTask
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/Task'
            examples:
              Task 'APPROVE_NOTIFICATION':
                $ref: '#/components/examples/Task_POST'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/Task"
              examples:
                Task 'APPROVE_NOTIFICATION':
                  $ref: '#/components/examples/Task_GET_PENDING'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Tasks/{uid}:
    get:
      tags:
        - Tasks
      summary: Tasks/{uid} - Get a task
      description: Get a task.
      operationId: getTask
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/Task"
              examples:
                Task 'APPROVE_NOTIFICATION':
                  $ref: '#/components/examples/Task_GET_DONE'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    delete:
      tags:
        - Tasks
      summary: Tasks/{uid} - Delete a task
      description: Delete a task.
      operationId: deleteTask
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '204':
          $ref: "#/components/responses/NoContent"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/TokensVault:
    get:
      tags:
        - Tokens Vault
      summary: TokensVault - Get TokensVault filtered by attributes.
      description: Get TokensVault filtered by attributes.
      operationId: getAllTokensVaultSearch
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
        - in: query
          name: attributes
          description: List of requested attributes separated by comas.
          schema:
            type: string
          example: token
        - in: query
          name: filter
          description: List of requested filters separated by comas<br>Supported search criteria as follows:<table border="2px solid black" cellpadding="10"><tr><th width="15%">SCIM Attribute</th><th width="25%">Operators supported</th></tr><tr><td>ownerID</td><td>eq</td></tr><tr><td>ownerExtID</td><td>eq</td></tr><tr><td>token</td><td>eq</td></tr><tr><td>value</td><td>eq</td></tr></table>
          schema:
            type: string
          example: token eq e52bbe12-6c9e-4b05-b622-af57ceaccf06
        - in: query
          name: startIndex
          example: 0
          description: Skip the x first results.
          schema:
            format: int32
            type: integer
        - in: query
          name: count
          example: 10
          description: Show the x first results.
          schema:
            format: int32
            type: integer
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/QueryResponseTokensVault"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/TokensVault/{uid}:
    get:
      tags:
        - Tokens Vault
      summary: TokensVault/{uid} - Get the original (clear) value of a token.
      description: Get the original (clear) value of a token using the internal ID. This function allows searching for pseudonymizations tokens in an exported audit to get their original value.
      operationId: getTokenValue
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/TokensVault"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/TokensVault/.search:
    post:
      tags:
        - Tokens Vault
      summary: TokensVault/.search - Searches for pseudonymizations tokens
      description: Search for pseudonymizations tokens (Pseudonymization is a de-identification technique in which sensitive data are replaced with tokens.) in an an exported audit log to get their original value.<br>Supported search criteria as follows:<table border="2px solid black" cellpadding="10">
          <tr><th width="15%">SCIM Attribute</th><th width="25%">Operators supported</th></tr>
          <tr><td>ownerID</td><td>eq</td></tr>
          <tr><td>ownerExtID</td><td>eq</td></tr>
          <tr><td>token</td><td>eq</td></tr>
          <tr><td>value</td><td>eq</td></tr></table>
      operationId: findTokens
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/TokensVault_SEARCH'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: "#/components/schemas/QueryResponseTokensVault"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Users:
    get:
      tags:
        - Users
      summary: Users - Get Users filtered by attributes.
      description: Get Users filtered by attributes.
      operationId: getAllUsersSearch
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
        - in: query
          name: attributes
          description: List of requested attributes separated by comas.
          example: ["urn:hid:scim:api:idp:2.0:UserAttribute","urn:hid:scim:api:idp:2.0:UserAuthenticator","urn:hid:scim:api:idp:2.0:UserDevice","urn:ietf:params:scim:schemas:extension:enterprise:2.0:User","roles"]
          schema:
            items:
              type: string
            type: array
            uniqueItems: true
        - in: query
          name: filter
          description: List of requested filters separated by comas<br>Supported search criteria as follows:<table border="2px solid black" cellpadding="10"><tr><th width="15%">SCIM Attribute</th><th width="25%">Operators supported</th></tr><tr><td>username</td><td>eq (equal), co (contains), ew (ends with), sw (starts with), pr (present (has value))</td></tr><tr><td>externalId</td><td>eq, co, ew, sw, pr</td></tr><tr><td>groups.value</td><td>eq</td></tr><tr><td>role</td><td>eq, co, ew, sw, pr</td></tr><tr><td>userType</td><td>eq</td></tr><tr><td>Other supported attributes</td><td>eq</td></tr></table><br>
          schema:
            type: string
          example: username eq jdoe
        - in: query
          name: startIndex
          example: 0
          description: Skip the x first results.
          schema:
            format: int32
            type: integer
        - in: query
          name: count
          example: 10
          description: Show the x first results.
          schema:
            format: int32
            type: integer
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/QueryResponseUser"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    post:
      tags:
        - Users
      summary: Users - Creates a new user
      description: Create a new user.
      operationId: createUser
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: query
          name: attributes
          description: List of requested attributes separated by comas.
          example: ["urn:hid:scim:api:idp:2.0:UserAttribute","urn:hid:scim:api:idp:2.0:UserAuthenticator","urn:hid:scim:api:idp:2.0:UserDevice","urn:ietf:params:scim:schemas:extension:enterprise:2.0:User","roles"]
          schema:
            items:
              type: string
            type: array
            uniqueItems: true
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
        - in: query
          name: api-version
          required: false
          schema:
            type: integer
            minimum: 1
            example: 7
          description:
            <ul>
              <li>api-version < 4
                <ul>
                  <li>userName is readonly
                  <li>externalId is mandatory and equals to userName
                </ul>
              <li>api-version >= 4
                <ul>
                  <li>userName is mandatory
                  <li>externalId and userName can be different
                </ul>
            </ul>
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/UserPostRequest'
            examples:
              api-version >=9:
                $ref: "#/components/examples/User_POST"
      responses:
        '201':
          description: HTTP/1.1 201 CREATED
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/User"
              examples:
                api-version >=4:
                  $ref: "#/components/examples/User_GET"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Users/{uid}:
    get:
      tags:
        - Users
      summary: Users/{uid} - Obtains a known user
      description: Retrieve specific user using the internal ID.
      operationId: getUser
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: query
          name: attributes
          description: List of requested attributes separated by comas.
          example: ["urn:hid:scim:api:idp:2.0:UserAttribute","urn:hid:scim:api:idp:2.0:UserAuthenticator","urn:hid:scim:api:idp:2.0:UserDevice","urn:ietf:params:scim:schemas:extension:enterprise:2.0:User","roles"]
          schema:
            items:
              type: string
            type: array
            uniqueItems: true
        - in: query
          name: api-version
          required: false
          schema:
            type: integer
            minimum: 1
            example: 7
          description:
            <ul>
              <li>api-version < 4
                <ul>
                  <li>userName is readonly
                  <li>externalId is mandatory and equals to userName
                </ul>
              <li>api-version >= 4
                <ul>
                  <li>userName is mandatory
                  <li>externalId and userName can be different
                </ul>
              <li>api-version >= 7
                <ul>
                  <li>lastSuccessfulDate attribute added in user devices
                  <li>lastSuccessfulAuthPolicy attribute added in user devices
                </ul>
            </ul>
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/User"
              examples:
                Get user with attributes:
                  $ref: '#/components/examples/User_GET_response'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    put:
      tags:
        - Users
      summary: Users/{uid} - Updates a known user
      description: Update attributes of a specific user using the internal ID.
      operationId: updateUser
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: query
          name: attributes
          description: List of requested attributes separated by comas.
          example: ["urn:hid:scim:api:idp:2.0:UserAttribute","urn:hid:scim:api:idp:2.0:UserAuthenticator","urn:hid:scim:api:idp:2.0:UserDevice","roles"]
          schema:
            items:
              type: string
            type: array
            uniqueItems: true
        - in: query
          name: api-version
          required: false
          schema:
            type: integer
            minimum: 1
            example: 7
          description:
            <ul>
              <li>api-version < 4
                <ul>
                  <li>userName is readonly
                  <li>externalId is mandatory and equals to userName
                </ul>
              <li>api-version >= 4
                <ul>
                  <li>userName is mandatory
                  <li>externalId and userName can be different
                </ul>
            </ul>
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/User'
            examples:
              Add email to user:
                $ref: '#/components/examples/User_PUT'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/User"
              examples:
                Add email to user:
                  $ref: '#/components/examples/User_PUT_response'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
    delete:
      tags:
        - Users
      summary: Users/{uid} - Deletes a known user
      description: Delete a specific user using the internal ID. An empty response with the <code>204</code> status code is returned upon success.
      operationId: deleteUser
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '204':
          $ref: "#/components/responses/NoContent"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Users/.forget:
    post:
      tags:
        - Users
      summary: Users/.forget - Removes all anonymization tokens of a user
      description: The forget method removes all anonymization tokens (personally identifiable information) for a user in the Audit log.<br> Use only <code>externalId</code> parameter in the request to forget a user. Do not use other parameters.<ul><li> Delete the user before calling forgetUser.<li>Perform this with <code>Forget User</code> permission assigned.</li></ul>
      operationId: forgetUser
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              type: object
              properties:
                externalId:
                  type: string
                  example: jdoe
      responses:
        '200':
          description: HTTP/1.1 200 OK
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Users/.import:
    post:
      tags:
        - Users
      summary: Users/.import - Bulk User Import
      description: Import users in batch. <ul><li>This endpoint allows to import users in batch. It takes an array of the users.<li>Also, make sure to set all the information you want for your users. If you forgot something, the only solution is to call updateUser on each user you wish to modify. It is not possible to re-submit an import batch with new or updated information.</li></ui>
      operationId: importUsers
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
        - in: query
          name: api-version
          required: false
          schema:
            type: integer
            minimum: 1
            example: 7
          description:
            <ul>
              <li>api-version < 4
                <ul>
                  <li>userName is readonly
                  <li>externalId is mandatory and equals to userName
                </ul>
              <li>api-version >= 4
                <ul>
                  <li>userName is mandatory
                  <li>externalId and userName can be different
                </ul>
            </ul>
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/UserImportRequest'
      responses:
        '201':
          description: HTTP/1.1 201 CREATED
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/UserImportResponse'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Users/.import/{uid}:
    get:
      tags:
        - Users
      summary: Users/.import/{uid} - Getting status of user bulk import request
      description: Getting status of user bulk import using the correlation id.
      operationId: getUserImportStatus
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/UserImportResponse'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /scim/{tenant}/v2/Users/.search:
    post:
      tags:
        - Users
      summary: Users/.search - Searches for users
      description: Search for users with the supported criteria.<br>Supported search criteria as follows:<table border="2px solid black" cellpadding="10">
          <tr><th width="15%">SCIM Attribute</th><th width="25%">Operators supported</th></tr>
          <tr><td>username</td><td>eq (equal), co (contains), ew (ends with), sw (starts with), pr (present (has value))</td></tr>
          <tr><td>externalId</td><td>eq, co, ew, sw, pr</td></tr>
          <tr><td>displayName</td><td>eq, co, ew, sw, pr</td></tr>
          <tr><td>emails</td><td>eq, co, ew, sw, pr</td></tr>
          <tr><td>name.familyName</td><td>eq, co, ew, sw, pr</td></tr>
          <tr><td>name.givenName</td><td>eq, co, ew, sw, pr</td></tr>
          <tr><td>phoneNumbers</td><td>eq, co, ew, sw, pr</td></tr>
          <tr><td>title</td><td>eq, co, ew, sw, pr</td></tr>
          <tr><td>groups.value</td><td>eq</td></tr>
          <tr><td>role</td><td>eq, co, ew, sw, pr</td></tr>
          <tr><td>userType</td><td>eq</td></tr>
          <tr><td>userRepositoryId</td><td>eq, co, ew, sw, pr</td></tr>
          <tr><td>Other supported attributes</td><td>eq</td></tr>
          <tr><td colspan="2"><code>and</code> is the only supported logical operator.</td></tr></table><br>
          Note that if a user attribute type is set as 'encrypted' (see /Configuration/{tenant}/v2/User/AttributeType) then only 'eq' operator is supported.
      operationId: findUsers
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
        - in: query
          name: attributes
          description: List of requested attributes separated by comas.
          example: ["urn:hid:scim:api:idp:2.0:UserAttribute","urn:hid:scim:api:idp:2.0:UserAuthenticator","urn:hid:scim:api:idp:2.0:UserDevice","urn:ietf:params:scim:schemas:extension:enterprise:2.0:User","roles"]
          schema:
            items:
              type: string
            type: array
            uniqueItems: true
        - in: query
          name: api-version
          required: false
          schema:
            type: integer
            minimum: 1
            example: 7
          description:
            <ul>
              <li>api-version >= 7
                <ul>
                  <li>The endpoint supports the sorting.
                </ul>
            </ul>
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/UserQueryRequest'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: "#/components/schemas/QueryResponseUser"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/Credential/Type:
    get:
      tags:
        - Credential Type
      summary: Credential/Type - Obtains all credential type
      description: Retrieve all credential type.
      operationId: getAllCredentialType
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/QueryResponseCredentialType"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    post:
      tags:
        - Credential Type
      summary: Credential/Type - Creates a new credential type
      description: Create a new credential type using the <code>copyFrom</code> parameter to specify a device type Id from the configuration. Creating a credential type from scratch is not possible.
      operationId: createCredentialType
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/CredentialType'
            examples:
              Credential Type - Generic:
                $ref: '#/components/examples/CredentialType_POST'
              Credential Type - SDB:
                $ref: '#/components/examples/CredentialTypeSDB_POST'
              Credential Type - OATH:
                $ref: '#/components/examples/CredentialTypeOATH_POST'
              Credential Type - OOB:
                $ref: '#/components/examples/CredentialTypeOOB_POST'
              Credential Type - Push (PKI):
                $ref: '#/components/examples/CredentialTypePushPKI_POST'
              Credential Type - Push (SMK):
                $ref: '#/components/examples/CredentialTypePushSMK_POST'
              Credential Type - Push (OATH):
                $ref: '#/components/examples/CredentialTypePushOATH_POST'
              Credential Type - Push (OOB):
                $ref: '#/components/examples/CredentialTypePushOOB_POST'
              Credential Type - OOBACode:
                $ref: '#/components/examples/CredentialTypeOOBACode_POST'
              Credential Type - FIDO:
                $ref: '#/components/examples/CredentialTypeFIDO_POST'
              Credential Type - PKICERT:
                $ref: '#/components/examples/CredentialTypePKICERT_POST'
      responses:
        '201':
          description: HTTP/1.1 201 CREATED
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: "#/components/schemas/CredentialType"
              examples:
                Credential Type - Generic:
                  $ref: '#/components/examples/CredentialType_GET'
                Credential Type - SDB:
                  $ref: '#/components/examples/CredentialTypeSDB_GET'
                Credential Type - OATH:
                  $ref: '#/components/examples/CredentialTypeOATH_GET'
                Credential Type - OOB:
                  $ref: '#/components/examples/CredentialTypeOOB_GET'
                Credential Type - Push (PKI):
                  $ref: '#/components/examples/CredentialTypePushPKI_GET'
                Credential Type - Push (SMK):
                  $ref: '#/components/examples/CredentialTypePushSMK_GET'
                Credential Type - Push (OATH):
                  $ref: '#/components/examples/CredentialTypePushOATH_GET'
                Credential Type - Push (OOB):
                  $ref: '#/components/examples/CredentialTypePushOOB_GET'
                Credential Type - FIDO:
                  $ref: '#/components/examples/CredentialTypeFIDO_GET'
                Credential Type - PKICERT:
                  $ref: '#/components/examples/CredentialTypePKICERT_GET'
                Credential Type - OOBACode:
                  $ref: '#/components/examples/CredentialTypeOOBACode_GET'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/Credential/Type/{uid}:
    get:
      tags:
        - Credential Type
      summary: Credential/Type/{uid} - Obtains a credential type
      description: Retrieve a credential type.
      operationId: getCredType
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/CredentialType"
              examples:
                Credential Type - Generic:
                  $ref: '#/components/examples/CredentialType_GET'
                Credential Type - SDB:
                  $ref: '#/components/examples/CredentialTypeSDB_GET'
                Credential Type - OATH:
                  $ref: '#/components/examples/CredentialTypeOATH_GET'
                Credential Type - OOB:
                  $ref: '#/components/examples/CredentialTypeOOB_GET'
                Credential Type - Push (PKI):
                  $ref: '#/components/examples/CredentialTypePushPKI_GET'
                Credential Type - Push (SMK):
                  $ref: '#/components/examples/CredentialTypePushSMK_GET'
                Credential Type - Push (OATH):
                  $ref: '#/components/examples/CredentialTypePushOATH_GET'
                Credential Type - Push (OOB):
                  $ref: '#/components/examples/CredentialTypePushOOB_GET'
                Credential Type - FIDO:
                  $ref: '#/components/examples/CredentialTypeFIDO_GET'
                Credential Type - PKICERT:
                  $ref: '#/components/examples/CredentialTypePKICERT_GET'
                Credential Type - OOBACode:
                  $ref: '#/components/examples/CredentialTypeOOBACode_GET'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    put:
      tags:
        - Credential Type
      summary: Credential/Type/{uid} - Update a credential type
      description: Update a credential type using the <code>copyFrom</code> parameter to specify a device type Id from the configuration. Creating a credential type from scratch is not possible.
      operationId: updateCredentialType
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/CredentialType'
            examples:
              Credential Type - Generic:
                $ref: '#/components/examples/CredentialType_PUT'
              Credential Type - SDB:
                $ref: '#/components/examples/CredentialTypeSDB_PUT'
              Credential Type - OATH:
                $ref: '#/components/examples/CredentialTypeOATH_PUT'
              Credential Type - OOB:
                $ref: '#/components/examples/CredentialTypeOOB_PUT'
              Credential Type - Push (PKI):
                $ref: '#/components/examples/CredentialTypePushPKI_PUT'
              Credential Type - Push (SMK):
                $ref: '#/components/examples/CredentialTypePushSMK_PUT'
              Credential Type - Push (OATH):
                $ref: '#/components/examples/CredentialTypePushOATH_PUT'
              Credential Type - Push (OOB):
                $ref: '#/components/examples/CredentialTypePushOOB_PUT'
              Credential Type - OOBACode:
                $ref: '#/components/examples/CredentialTypeOOBACode_PUT'
              Credential Type - FIDO:
                $ref: '#/components/examples/CredentialTypeFIDO_PUT'
              Credential Type - PKICERT:
                $ref: '#/components/examples/CredentialTypePKICERT_PUT'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: "#/components/schemas/CredentialType"
              examples:
                Credential Type - Generic:
                  $ref: '#/components/examples/CredentialType_GET'
                Credential Type - SDB:
                  $ref: '#/components/examples/CredentialTypeSDB_GET'
                Credential Type - OATH:
                  $ref: '#/components/examples/CredentialTypeOATH_GET'
                Credential Type - OOB:
                  $ref: '#/components/examples/CredentialTypeOOB_GET'
                Credential Type - Push (PKI):
                  $ref: '#/components/examples/CredentialTypePushPKI_GET'
                Credential Type - Push (SMK):
                  $ref: '#/components/examples/CredentialTypePushSMK_GET'
                Credential Type - Push (OATH):
                  $ref: '#/components/examples/CredentialTypePushOATH_GET'
                Credential Type - Push (OOB):
                  $ref: '#/components/examples/CredentialTypePushOOB_GET'
                Credential Type - OOBACode:
                  $ref: '#/components/examples/CredentialTypeOOBACode_GET'
                Credential Type - FIDO:
                  $ref: '#/components/examples/CredentialTypeFIDO_GET'
                Credential Type - PKICERT:
                  $ref: '#/components/examples/CredentialTypePKICERT_GET'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
    delete:
      tags:
        - Credential Type
      summary: Credential/Type/{uid} - Deletes a known specific credential type
      description: Delete a known specific credential type using the internal ID. An empty response with the <code>204</code> status code is returned upon success.<br><br><b>Note for service:</b> It is forbidden to delete Built-in device type (For example, DT_TDSV4, DT_TDSV4F, DT_TDSV4I and DT_TDSV4M), and it returns <code>403</code> status code if executed.
      operationId: deleteCredentialType
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '204':
          $ref: "#/components/responses/NoContent"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/Custo/{application}:
    get:
      tags:
        - Customization
      summary: Custo/{application} - Obtains all Customizations related to the specified application
      description: Retrieve all Customizations.
      operationId: getAllCustomizations
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: application
          description: <code>application</code> is a unique identifier of the application the customization refers to.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: "#/components/schemas/QueryResponseCustomization"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    post:
      tags:
        - Customization
      summary: Custo/{application} - Create a new Customization
      description: Create a new Customization.
      operationId: createCustomization
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: application
          description: <code>application</code> is a unique identifier of the application the customization refers to.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json:
            schema:
              $ref: '#/components/schemas/Customization'
            examples:
              Customization - Flow PUSH:
                $ref: '#/components/examples/CustomizationFlowPush_POST'
              Customization - Flow OOB:
                $ref: '#/components/examples/CustomizationFlowOOB_POST'
      responses:
        '201':
          description: HTTP/1.1 201 CREATED
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: "#/components/schemas/Customization"
              examples:
                Customization - Flow PUSH:
                  $ref: '#/components/examples/CustomizationFlowPush_GET'
                Customization - Flow OOB:
                  $ref: '#/components/examples/CustomizationFlowOOB_GET'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/Custo/{application}/{uid}:
    get:
      tags:
        - Customization
      summary: Custo/{application}/{uid} - Obtains a known specific Customization
      description: Retrieve a known specific Customization using the internal ID and related application.
      operationId: getCustomization
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: application
          description: <code>application</code> is a unique identifier of the application the customization refers to.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: "#/components/schemas/Customization"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    put:
      tags:
        - Customization
      summary: Custo/{application}/{uid} - Updates a known specific Customization
      description: Update a known specific Customization using the internal ID and related application.
      operationId: updateCustomization
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: application
          description: <code>application</code> is a unique identifier of the application the customization refers to.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json:
            schema:
              $ref: '#/components/schemas/Customization'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: "#/components/schemas/Customization"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
    delete:
      tags:
        - Customization
      summary: Custo/{application}/{uid} - Deletes a known specific Customization
      description: Delete a known specific Customization using the internal ID and related application. An empty response with the <code>204</code> status code is returned upon success.
      operationId: deleteCustomization
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: application
          description: <code>application</code> is a unique identifier of the application the customization refers to.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '204':
          $ref: "#/components/responses/NoContent"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/DeliveryGateway/Email:
    get:
      tags:
        - Delivery Gateway Email
      summary: DeliveryGateway/Email - Obtains all email delivery gateway in the system
      description: Obtains all email delivery gateway in the system within a tenant.
      operationId: getAllEmailOOB
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/QueryResponseDeliveryGatewayEmail"
              examples:
                Get All Email Delivery Gateways:
                  $ref: '#/components/examples/DeliveryGatewayEmail_GETALL'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/DeliveryGateway/Email/{uid}:
    get:
      tags:
        - Delivery Gateway Email
      summary: DeliveryGateway/Email/{uid} - Obtains a known specific email delivery adapter
      description: Obtains a known specific email delivery adapter using the internal ID.
      operationId: getEmailOOB
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/DeliveryGatewayEmail"
              examples:
                Get Delivery Gateway Email:
                  $ref: "#/components/examples/DeliveryGatewayEmail_GET"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    put:
      tags:
        - Delivery Gateway Email
      summary: DeliveryGateway/Email/{uid} - Updates a known specific email delivery adapter
      description: Updates a known specific email delivery adapter
      operationId: updateEmailOOB
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/DeliveryGatewayEmail'
            examples:
               Update Delivery Gateway Email:
                $ref: "#/components/examples/DeliveryGatewayEmail_GET"
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/DeliveryGatewayEmail"
              examples:
                Update Delivery Gateway Email:
                  $ref: "#/components/examples/DeliveryGatewayEmail_GET"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/DeliveryGateway/Push:
    get:
      tags:
        - Delivery Gateway Push
      summary: DeliveryGateway/Push - Obtains all push delivery gateway in the system
      description: Obtains all push delivery gateway in the system within a tenant.
      operationId: getAllPushOOB
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/QueryResponseDeliveryGatewayPush"
              examples:
                Get All Push Delivery Gateways:
                  $ref: '#/components/examples/DeliveryGatewayPush_GETALL'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    post:
      summary: DeliveryGateway/Push - Create a new push delivery gateway adapter
      description: Create a new push delivery gateway adapter.
      tags:
        - Delivery Gateway Push
      operationId: createPushOOB
      parameters:
        - in: path
          description: <code>tenant</code> is a unique identifier of the client.
          name: tenant
          example: t30a7090b6259296697652
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/DeliveryGatewayPush'
            examples:
              Create Delivery Gateway Push:
                $ref: "#/components/examples/DeliveryGatewayPush_POST"
      responses:
        '201':
          description: HTTP/1.1 201 CREATED
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/DeliveryGatewayPush"
              examples:
                Create Delivery Gateway Push:
                  $ref: "#/components/examples/DeliveryGatewayPush_GET"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/DeliveryGateway/Push/{uid}:
    get:
      tags:
        - Delivery Gateway Push
      summary: DeliveryGateway/Push/{uid} - Obtains a known specific push delivery adapter
      description: Obtains a known specific push delivery adapter using the internal ID.
      operationId: getPushOOB
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/DeliveryGatewayPush"
              examples:
                Get Delivery Gateway Push:
                  $ref: "#/components/examples/DeliveryGatewayPush_GET"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    put:
      tags:
        - Delivery Gateway Push
      summary: DeliveryGateway/Push/{uid} - Updates a known specific push delivery adapter
      description: Updates a known specific push delivery adapter
      operationId: updatePushOOB
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/DeliveryGatewayPush'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/DeliveryGatewayPush"
              examples:
                Update Delivery Gateway Push:
                  $ref: "#/components/examples/DeliveryGatewayPush_GET"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
    delete:
      tags:
        - Delivery Gateway Push
      summary: DeliveryGateway/Push/{uid} - Deletes a known specific push delivery adapter
      description: Deletes a known specific push delivery adapter
      operationId: deletePushOOB
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '204':
          $ref: "#/components/responses/NoContent"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/DeliveryGateway/SMS:
    get:
      tags:
        - Delivery Gateway SMS
      summary: DeliveryGateway/SMS - Obtains all sms delivery gateway in the system
      description: Obtains all sms delivery gateway in the system within a tenant.
      operationId: getAllSMSOOB
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/QueryResponseDeliveryGatewaySms"
              examples:
                Get All SMS Delivery Gateways:
                  $ref: '#/components/examples/DeliveryGatewaySMS_GETALL'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/DeliveryGateway/SMS/{uid}:
    get:
      tags:
        - Delivery Gateway SMS
      summary: DeliveryGateway/SMS/{uid} - Obtains a known specific sms delivery adapter
      description: Obtains a known specific sms delivery adapter using the internal ID.
      operationId: getSMSOOB
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/DeliveryGatewaySms"
              examples:
                Get Delivery Gateway SMS:
                  $ref: "#/components/examples/DeliveryGatewaySMS_GET"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    put:
      tags:
        - Delivery Gateway SMS
      summary: DeliveryGateway/SMS/{uid} - Updates a known specific sms delivery adapter
      description: Updates a known specific sms delivery adapter
      operationId: updateSMSOOB
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/DeliveryGatewaySms'
            examples:
              Update Delivery Gateway SMS:
                $ref: "#/components/examples/DeliveryGatewaySMS_GET"
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/DeliveryGatewaySms"
              examples:
                Update Delivery Gateway SMS:
                  $ref: "#/components/examples/DeliveryGatewaySMS_GET"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/Device/Type:
    get:
      tags:
        - Device Type
      summary: Device/Type - Obtains all device type
      description: Retrieve all device type.
      operationId: getAllDeviceType
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: query
          name: api-version
          required: false
          schema:
            type: integer
            minimum: 1
            example: 7
          description: The version of API used.
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/QueryResponseDeviceType"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    post:
      tags:
        - Device Type
      summary: Device/Type - Creates a new device type
      description: Create a new device type using the <code>copyFrom</code> parameter to specify a device type Id from the configuration. Creating a device type from scratch is not possible.
      operationId: createDeviceType
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: query
          name: api-version
          required: false
          schema:
            type: integer
            minimum: 1
            example: 7
          description: The version of API used.
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/DeviceType'
            examples:
              Device Type FIDO:
                $ref: '#/components/examples/DeviceTypeFIDO_POST'
              Device Type Virtual:
                $ref: '#/components/examples/DeviceTypeVirtual_POST'
              Device Type EMVCard:
                $ref: '#/components/examples/DeviceTypeEMVCard_POST'
              Device Type Token:
                $ref: '#/components/examples/DeviceTypeToken_POST'
              Device Type CMSCard:
                $ref: '#/components/examples/DeviceTypeCMSCard_POST'
              Device Type Push:
                $ref: '#/components/examples/DeviceTypePush_POST'
      responses:
        '201':
          description: HTTP/1.1 201 CREATED
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/DeviceType'
              examples:
                Device Type FIDO:
                  $ref: '#/components/examples/DeviceTypeFIDO_GET'
                Device Type Virtual:
                  $ref: '#/components/examples/DeviceTypeVirtual_GET'
                Device Type EMVCard:
                  $ref: '#/components/examples/DeviceTypeEMVCard_GET'
                Device Type Token:
                  $ref: '#/components/examples/DeviceTypeToken_GET'
                Device Type CMSCard:
                  $ref: '#/components/examples/DeviceTypeCMSCard_GET'
                Device Type Push:
                  $ref: '#/components/examples/DeviceTypePush_GET'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/Device/Type/{uid}:
    get:
      tags:
        - Device Type
      summary: Device/Type/{uid} - Obtains a known specific device type
      description: Retrieve a known specific device type using the internal ID.
      operationId: getDeviceType
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: query
          name: api-version
          required: false
          schema:
            type: integer
            minimum: 1
            example: 7
          description: The version of API used.
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/DeviceType'
              examples:
                Device Type FIDO:
                  $ref: '#/components/examples/DeviceTypeFIDO_GET'
                Device Type Virtual:
                  $ref: '#/components/examples/DeviceTypeVirtual_GET'
                Device Type EMVCard:
                  $ref: '#/components/examples/DeviceTypeEMVCard_GET'
                Device Type Token:
                  $ref: '#/components/examples/DeviceTypeToken_GET'
                Device Type CMSCard:
                  $ref: '#/components/examples/DeviceTypeCMSCard_GET'
                Device Type Push:
                  $ref: '#/components/examples/DeviceTypePush_GET'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    put:
      tags:
        - Device Type
      summary: Device/Type/{uid} - Updates a known specific device type
      description: Update a known specific device type using the internal ID.<br><br><b>Note for service:</b> It is forbidden to update Built-in device type (For example, DT_TDSV4, DT_TDSV4F, DT_TDSV4I and DT_TDSV4M), and it returns <code>403</code> status code if executed.
      operationId: updateDeviceType
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: query
          name: api-version
          required: false
          schema:
            type: integer
            minimum: 1
            example: 7
          description: The version of API used.
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/DeviceType'

              examples:
                Device Type FIDO:
                  $ref: '#/components/examples/DeviceTypeFIDO_PUT'
                Device Type Virtual:
                  $ref: '#/components/examples/DeviceTypeVirtual_PUT'
                Device Type EMVCard:
                  $ref: '#/components/examples/DeviceTypeEMVCard_PUT'
                Device Type Token:
                  $ref: '#/components/examples/DeviceTypeToken_PUT'
                Device Type CMSCard:
                  $ref: '#/components/examples/DeviceTypeCMSCard_PUT'
                Device Type Push:
                  $ref: '#/components/examples/DeviceTypePush_PUT'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/DeviceType'
              examples:
                Device Type FIDO:
                  $ref: '#/components/examples/DeviceTypeFIDO_GET'
                Device Type Virtual:
                  $ref: '#/components/examples/DeviceTypeVirtual_GET'
                Device Type EMVCard:
                  $ref: '#/components/examples/DeviceTypeEMVCard_GET'
                Device Type Token:
                  $ref: '#/components/examples/DeviceTypeToken_GET'
                Device Type CMSCard:
                  $ref: '#/components/examples/DeviceTypeCMSCard_GET'
                Device Type Push:
                  $ref: '#/components/examples/DeviceTypePush_GET'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
    delete:
      tags:
        - Device Type
      summary: Device/Type/{uid} - Deletes a known specific device type
      description: Delete a known specific device type using the internal ID. An empty response with the <code>204</code> status code is returned upon success.<br><br><b>Note for service:</b> It is forbidden to delete Built-in device type (For example, DT_TDSV4, DT_TDSV4F, DT_TDSV4I and DT_TDSV4M), and it returns <code>403</code> status code if executed.
      operationId: deleteDeviceType
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: query
          name: api-version
          required: false
          schema:
            type: integer
            minimum: 1
            example: 7
          description: The version of API used.
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '204':
          $ref: "#/components/responses/NoContent"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/User/Repository/Ldap:
    get:
      tags:
        - User Repository
      summary: User/Repository/Ldap - Obtains all LDAP user repositories
      description: Retrieve all LDAP user repositories.
      operationId: getAllLdapUserRepositories
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/QueryResponseLdapUserRepository"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    post:
      tags:
        - User Repository
      summary: User/Repository/Ldap - Creates a new LDAP User Repository
      description: Create a new LDAP User Repository.
      operationId: createLdapUserRepository
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/LdapUserRepository'
      responses:
        '201':
          description: HTTP/1.1 201 CREATED
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/LdapUserRepository"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/User/Repository/Ldap/{uid}:
    get:
      tags:
        - User Repository
      summary: User/Repository/Ldap/{uid} - Obtains a known specific LDAP User Repository
      description: Retrieve a known specific LDAP User Repository using the internal ID.
      operationId: getLdapUserRepository
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/LdapUserRepository"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    put:
      tags:
        - User Repository
      summary: User/Repository/Ldap/{uid} - Update a known specific LDAP User Repository configuration.
      description: id can NOT be changed. All other parameters can be updated.In this update request we are adding a new user attribute mapping (bind ldap attribute SURNAME to ActivID attribute LASTNAME).
      operationId: updateLdapUserRepository
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/LdapUserRepository'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/LdapUserRepository"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
    delete:
      tags:
        - User Repository
      summary: User/Repository/Ldap/{uid} - Deletes a known specific LDAP User Repository
      description: Delete a known specific LDAP User Repository using the internal ID. An empty response with the <code>204</code> status code is returned upon success.
      operationId: deleteLdapUserRepository
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '204':
          $ref: "#/components/responses/NoContent"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/User/Repository/ScimFed:
    get:
      tags:
        - User Repository
      summary: User/Repository/ScimFed - Obtains all SCIMFed user repositories
      description: Retrieve all SCIMFed user repositories.
      operationId: getAllScimFedUserRepositories
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/QueryResponseScimFedUserRepository"
              examples:
                Get All SCIM Fed User Repositories:
                  $ref: '#/components/examples/ScimFedUserRepository_GETALL'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    post:
      tags:
        - User Repository
      summary: User/Repository/ScimFed - Creates a new SCIMFed User Repository
      description: Create a new SCIMFed User Repository.
      operationId: createScimFedUserRepository
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/ScimFedUserRepository'
            examples:
              SCIMFed without role assignments:
                $ref: '#/components/examples/ScimFedUserRepository_POST'
      responses:
        '201':
          description: HTTP/1.1 201 CREATED
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/ScimFedUserRepository"
              examples:
                SCIMFed without role assignments:
                  $ref: '#/components/examples/ScimFedUserRepository_GET'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/User/Repository/ScimFed/{uid}:
    get:
      tags:
        - User Repository
      summary: User/Repository/ScimFed/{uid} - Obtains a known SCIMFed User Repository
      description: Retrieve a known specific SCIMFed User Repository using the internal ID.
      operationId: getScimFedUserRepository
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/ScimFedUserRepository"
              examples:
                SCIMFed without role assignments:
                  $ref: '#/components/examples/ScimFedUserRepository_GET'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    put:
      tags:
        - User Repository
      summary: User/Repository/ScimFed/{uid} - Update a known specific SCIMFed User Repository configuration.
      description: Update a known specific SCIMFed User Repository.
      operationId: updateScimFedUserRepository
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/ScimFedUserRepository'
            examples:
              SCIMFed add role assignments:
                $ref: '#/components/examples/ScimFedUserRepository_PUT'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/ScimFedUserRepository"
              examples:
                SCIMFed add role assignments:
                  $ref: '#/components/examples/ScimFedUserRepository_PUT_response'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
    delete:
      tags:
        - User Repository
      summary: User/Repository/ScimFed/{uid} - Deletes a known specific SCIMFed User Repository
      description: Delete a known specific SCIMFed User Repository using the internal ID. An empty response with the <code>204</code> status code is returned upon success.
      operationId: deleteScimFedUserRepository
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '204':
          $ref: "#/components/responses/NoContent"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/User/AttributeType:
    get:
      tags:
        - User Attribute Type
      summary: User/AttributeType - Retrieve all user attribute types
      description: Retrieve all user attribute types.
      operationId: getAllUserAttributeTypes
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/QueryResponseUserAttributeType"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    post:
      tags:
        - User Attribute Type
      summary: User/AttributeType - Create User Attribute
      description: Create User Attribute.
      operationId: createUserAttributeType
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/UserAttributeType'
            examples:
              User Attribute Type:
                $ref: '#/components/examples/UserAttributeType_POST'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/UserAttributeType"
              examples:
                User Attribute Type:
                  $ref: '#/components/examples/UserAttributeType_GET'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/User/AttributeType/{uid}:
    get:
      tags:
        - User Attribute Type
      summary: User/AttributeType/{uid} - Retrieve a user attribute type
      description: Retrieve a user attribute type.
      operationId: getUserAttributeType
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/UserAttributeType"
              examples:
                User Attribute Type:
                  $ref: '#/components/examples/UserAttributeType_GET'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    put:
      tags:
        - User Attribute Type
      summary: User/AttributeType/{uid} - Update a user attribute type
      description: Update a user attribute type. Can update name and notes of a user attribute.
      operationId: updateUserAttributeType
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/UserAttributeType'
            examples:
                User Attribute Type:
                  $ref: '#/components/examples/UserAttributeType_POST'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/UserAttributeType"
              examples:
                User Attribute Type:
                  $ref: '#/components/examples/UserAttributeType_GET'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
    delete:
      tags:
        - User Attribute Type
      summary: User/AttributeType/{uid} - Delete a known user attribute
      description: Delete a specific user attribute using the attribute ID. An empty response with the <code>204</code> status code is returned upon success.
      operationId: deleteUserAttributeType
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '204':
          $ref: "#/components/responses/NoContent"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/Policy/Authenticator:
    get:
      tags:
        - Authenticator Policy
      summary: Policy/Authenticator - Obtains all configuration authenticator policies
      description: Retrieve all authenticator policies.
      operationId: getAllAuthenticatorPolicies
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: query
          name: attributes
          description: List of requested attributes separated by comas.
          example: ["id"]
          schema:
            items:
              type: string
            type: array
            uniqueItems: true
        - in: query
          name: excludedAttributes
          description: List of excluded attributes separated by comas.
          example: ["notes"]
          schema:
            items:
              type: string
            type: array
            uniqueItems: true
        - in: query
          name: api-version
          required: false
          schema:
            type: integer
            minimum: 1
            example: 7
          description: The version of API used.
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/QueryResponseAuthenticatorPolicy'
              examples:
                QueryResponse Authenticator Policy:
                  $ref: '#/components/examples/QueryResponse_Authenticator_Policy'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    post:
      tags:
        - Authenticator Policy
      summary: Policy/Authenticator - Creates a new authenticator policy
      description: Create a new authenticator policy using the <code>copyFrom</code> parameter to specify an Authenticator Policy Id from the configuration. Creating an authenticator policy from scratch is not possible.
      operationId: createAuthenticatorPolicy
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: query
          name: api-version
          required: false
          schema:
            type: integer
            minimum: 1
            example: 7
          description: The version of API used.
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/AuthenticatorPolicy'
            examples:
              AuthenticatorPolicy Username/Password:
                $ref: '#/components/examples/AuthenticatorPolicyPassword_POST_V6'
              Authenticator Policy Device:
                $ref: '#/components/examples/AuthenticatorPolicyCredentials_POST_V6'
              Authenticator Policy Security Questions:
                $ref: '#/components/examples/AuthenticatorPolicySQ_POST_V6'
      responses:
        '201':
          description: HTTP/1.1 201 CREATED
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/AuthenticatorPolicy'
              examples:
                Authenticator Policy Username/Password:
                  $ref: '#/components/examples/AuthenticatorPolicyPassword_GET_V6'
                Authenticator Policy Device:
                  $ref: '#/components/examples/AuthenticatorPolicyCredential_GET_V6'
                Authenticator Policy Security Questions:
                  $ref: '#/components/examples/AuthenticatorPolicySQ_GET_V6'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/Policy/Authenticator/{uid}:
    get:
      tags:
        - Authenticator Policy
      summary: Policy/Authenticator/{uid} - Obtains a known authenticator policy
      description: Retrieve a known specific authenticator policy using the internal ID.
      operationId: getAuthenticatorPolicy
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: query
          name: attributes
          description: List of requested attributes separated by comas.
          example: ["id"]
          schema:
            items:
              type: string
            type: array
            uniqueItems: true
        - in: query
          name: excludedAttributes
          description: List of excluded attributes separated by comas.
          example: ["notes"]
          schema:
            items:
              type: string
            type: array
            uniqueItems: true
        - in: query
          name: api-version
          required: false
          schema:
            type: integer
            minimum: 1
            example: 7
          description: The version of API used.
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/AuthenticatorPolicy'
              examples:
                Authenticator Policy Username/Password:
                  $ref: '#/components/examples/AuthenticatorPolicyPassword_GET_V6'
                Authenticator Policy Device:
                  $ref: '#/components/examples/AuthenticatorPolicyCredential_GET_V6'
                Authenticator Policy Security Questions:
                  $ref: '#/components/examples/AuthenticatorPolicySQ_GET_V6'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    put:
      tags:
        - Authenticator Policy
      summary: Policy/Authenticator/{uid} - Updates a known authenticator policy
      description: Update a known specific authenticator policy using the internal ID.
      operationId: updateAuthenticatorPolicy
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: query
          name: api-version
          required: false
          schema:
            type: integer
            minimum: 1
            example: 7
          description: The version of API used.
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/AuthenticatorPolicy'
              examples:
                AuthenticatorPolicy Username/Password:
                  $ref: '#/components/examples/AuthenticatorPolicyPassword_PUT_V6'
                Authenticator Policy Device:
                  $ref: '#/components/examples/AuthenticatorPolicyCredentials_PUT_V6'
                Authenticator Policy Security Questions:
                  $ref: '#/components/examples/AuthenticatorPolicySQ_PUT_V6'
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/AuthenticatorPolicy'
              examples:
                Authenticator Policy Username/Password:
                  $ref: '#/components/examples/AuthenticatorPolicyPassword_GET_V6'
                Authenticator Policy Device:
                  $ref: '#/components/examples/AuthenticatorPolicyCredential_GET_V6'
                Authenticator Policy Security Questions:
                  $ref: '#/components/examples/AuthenticatorPolicySQ_GET_V6'
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
    delete:
      tags:
        - Authenticator Policy
      summary: Policy/Authenticator/{uid} - Deletes a known authenticator policy configuration
      description: Delete a known specific authenticator policy configuration using the internal ID. An empty response with the <code>204</code> status code is returned upon success.
      operationId: deleteAuthenticatorPolicy
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: query
          name: api-version
          required: false
          schema:
            type: integer
            minimum: 1
            example: 7
          description: The version of API used.
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '204':
          $ref: "#/components/responses/NoContent"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/RiskScoreProvider:
    get:
      tags:
        - Risk Score Provider
      summary: RiskScoreProvider - Obtains all Risk Score Providers
      description: Retrieve all Risk Score Providers.
      operationId: getAllRiskScoreProviders
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/QueryResponseRiskScoreProvider"
              examples:
                Get All Risk Score Providers:
                  $ref: "#/components/examples/RiskScoreProvider_GETALL"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    post:
      tags:
        - Risk Score Provider
      summary: RiskScoreProvider - Creates a new Risk Score Provider
      description: Create a new Risk Score Provider.
      operationId: createRiskScoreProvider
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/RiskScoreProvider'
            examples:
              Create Risk Score Providers:
                $ref: "#/components/examples/RiskScoreProvider_POST"
      responses:
        '201':
          description: HTTP/1.1 201 CREATED
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/RiskScoreProvider"
              examples:
                Create Risk Score Providers:
                  $ref: "#/components/examples/RiskScoreProvider_GET"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
  /configuration/{tenant}/v2/RiskScoreProvider/{uid}:
    get:
      tags:
        - Risk Score Provider
      summary: RiskScoreProvider/{uid} - Obtains a known specific Risk Score Provider
      description: Retrieve a known specific Risk Score Provider using the internal ID.
      operationId: getRiskScoreProvider
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/RiskScoreProvider"
              examples:
                Create Risk Score Providers:
                  $ref: "#/components/examples/RiskScoreProvider_GET"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
    put:
      tags:
        - Risk Score Provider
      summary: RiskScoreProvider/{uid} - Updates a known specific Risk Score Provider
      description: Update a known specific Risk Score Provider using the internal ID.
      operationId: updateRiskScoreProvider
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      requestBody:
        content:
          application/scim+json;charset=utf-8:
            schema:
              $ref: '#/components/schemas/RiskScoreProvider'
            examples:
              Create Risk Score Providers:
                $ref: "#/components/examples/RiskScoreProvider_POST"
      responses:
        '200':
          description: HTTP/1.1 200 OK
          content:
            application/scim+json:
              schema:
                $ref: "#/components/schemas/RiskScoreProvider"
              examples:
                Create Risk Score Providers:
                  $ref: "#/components/examples/RiskScoreProvider_GET"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '409':
          $ref: "#/components/responses/Conflict"
        '500':
          $ref: "#/components/responses/InternalServerError"
    delete:
      tags:
        - Risk Score Provider
      summary: RiskScoreProvider/{uid} - Deletes a known specific Risk Score Provider
      description: Delete a known specific Risk Score Provider using the internal ID. An empty response with the <code>204</code> status code is returned upon success.
      operationId: deleteRiskScoreProvider
      parameters:
        - in: path
          name: tenant
          example: t30a7090b6259296697652
          description: <code>tenant</code> is a unique identifier of the client.
          required: true
          schema:
            type: string
        - in: path
          name: uid
          description: Unique id of the resource
          example: id
          required: true
          schema:
            type: string
        - in: header
          name: Authorization
          description: Access token prefixed with <code>Bearer</code>
          required: true
          example: Bearer rpxdmgAAAW3OqaiJvylEZ/yUcY7NxzKSJp54fPKb
          schema:
            type: string
      responses:
        '204':
          $ref: "#/components/responses/NoContent"
        '401':
          $ref: "#/components/responses/Unauthorized"
        '403':
          $ref: "#/components/responses/Forbidden"
        '404':
          $ref: "#/components/responses/NotFound"
        '500':
          $ref: "#/components/responses/InternalServerError"
