diff --git a/.github/workflows/jcapi-powershell-ci.yml b/.github/workflows/jcapi-powershell-ci.yml index 19772d247..4d07690d8 100644 --- a/.github/workflows/jcapi-powershell-ci.yml +++ b/.github/workflows/jcapi-powershell-ci.yml @@ -4,6 +4,12 @@ on: pull_request: branches: - master + +permissions: + contents: read + pull-requests: read + actions: write + concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true @@ -186,7 +192,7 @@ jobs: Build-SDK-V1: needs: ["Setup-Build-Dependencies", "Check-PR-Labels", "Validate-SDK-Module"] - if: contains(github.event.pull_request.labels.*.name, 'v1') || contains(github.event.pull_request.labels.*.name, 'v2') + if: contains(github.event.pull_request.labels.*.name, 'v1') runs-on: ubuntu-latest timeout-minutes: 70 steps: @@ -296,7 +302,7 @@ jobs: Test-SDK-V1: needs: ["Build-SDK-V1", "Check-PR-Labels"] - if: contains(github.event.pull_request.labels.*.name, 'v1') || contains(github.event.pull_request.labels.*.name, 'v2') + if: contains(github.event.pull_request.labels.*.name, 'v1') runs-on: ubuntu-latest timeout-minutes: 70 steps: @@ -324,9 +330,9 @@ jobs: $ErrorActionnPreference = 'Stop' ./Test-Module.ps1 -JCApiKey:($env:PESTER_APIKEY) -JCOrgId:($env:PESTER_ORGID) -JCApiKeyMTP:($env:PESTER_MSP_APIKEY) -JCProviderId:($env:PESTER_PROVIDERID) -ExcludeTagList:("MTP") -IncludeTagList:("*") -testModulePath:("./SDKs/PowerShell/JumpCloud.SDK.V1/test-module.ps1") - Test-SDK-V2: - needs: ["Build-SDK-V1", "Build-SDK-V2", "Check-PR-Labels"] - if: contains(github.event.pull_request.labels.*.name, 'v2') + Test-SDK-V2-Only: + needs: ["Build-SDK-V2", "Check-PR-Labels"] + if: contains(github.event.pull_request.labels.*.name, 'v2') && !contains(github.event.pull_request.labels.*.name, 'v1') runs-on: ubuntu-latest timeout-minutes: 70 steps: @@ -383,13 +389,51 @@ jobs: $ErrorActionnPreference = 'Stop' ./Test-Module.ps1 -JCApiKey:($env:PESTER_APIKEY) -JCOrgId:($env:PESTER_ORGID) -JCApiKeyMTP:($env:PESTER_MSP_APIKEY) -JCProviderId:($env:PESTER_PROVIDERID) -ExcludeTagList:("MTP") -IncludeTagList:("*") -testModulePath:("./SDKs/PowerShell/JumpCloud.SDK.V2/test-module.ps1") + Test-SDK-V2-With-V1: + needs: ["Build-SDK-V1", "Build-SDK-V2", "Check-PR-Labels"] + if: contains(github.event.pull_request.labels.*.name, 'v2') && contains(github.event.pull_request.labels.*.name, 'v1') + runs-on: ubuntu-latest + timeout-minutes: 70 + steps: + - uses: actions/checkout@v4 + - uses: actions/cache@v3 + with: + path: "/home/runner/.local/share/powershell/Modules/" + key: PS-Dependencies + - uses: actions/download-artifact@v4 + with: + name: build-JumpCloud.SDK.V1 + path: /home/runner/work/jcapi-powershell/jcapi-powershell/SDKs/PowerShell/ + - name: Unzip JumpCloud.SDK.V1 module + shell: pwsh + run: | + Expand-Archive -Path /home/runner/work/jcapi-powershell/jcapi-powershell/SDKs/PowerShell/JumpCloud.SDK.V1.zip -DestinationPath /home/runner/work/jcapi-powershell/jcapi-powershell/SDKs/PowerShell/ -Force + - uses: actions/download-artifact@v4 + with: + name: build-JumpCloud.SDK.V2 + path: /home/runner/work/jcapi-powershell/jcapi-powershell/SDKs/PowerShell/ + - name: Unzip JumpCloud.SDK.V2 module + shell: pwsh + run: | + Expand-Archive -Path /home/runner/work/jcapi-powershell/jcapi-powershell/SDKs/PowerShell/JumpCloud.SDK.V2.zip -DestinationPath /home/runner/work/jcapi-powershell/jcapi-powershell/SDKs/PowerShell/ -Force + - name: Test JumpCloud.SDK.V2 + shell: pwsh + env: + PESTER_APIKEY: ${{ secrets.PESTER_APIKEY }} + PESTER_ORGID: ${{ secrets.PESTER_ORGID }} + PESTER_MSP_APIKEY: ${{ secrets.PESTER_MSP_APIKEY }} + PESTER_PROVIDERID: ${{ secrets.PESTER_PROVIDERID }} + run: | + $ErrorActionnPreference = 'Stop' + ./Test-Module.ps1 -JCApiKey:($env:PESTER_APIKEY) -JCOrgId:($env:PESTER_ORGID) -JCApiKeyMTP:($env:PESTER_MSP_APIKEY) -JCProviderId:($env:PESTER_PROVIDERID) -ExcludeTagList:("MTP") -IncludeTagList:("*") -testModulePath:("./SDKs/PowerShell/JumpCloud.SDK.V2/test-module.ps1") + ## ---------------------------------------------------------------- ## MTP Test Jobs ## ---------------------------------------------------------------- Test-SDK-MTP-V1: needs: ["Build-SDK-V1", "Check-PR-Labels"] - if: contains(github.event.pull_request.labels.*.name, 'v1') || contains(github.event.pull_request.labels.*.name, 'v2') + if: contains(github.event.pull_request.labels.*.name, 'v1') runs-on: ubuntu-latest timeout-minutes: 70 steps: @@ -417,9 +461,9 @@ jobs: $ErrorActionnPreference = 'Stop' ./Test-Module.ps1 -JCApiKey:($env:PESTER_APIKEY) -JCOrgId:($env:PESTER_ORGID) -JCApiKeyMTP:($env:PESTER_MSP_APIKEY) -JCProviderId:($env:PESTER_PROVIDERID) -ExcludeTagList:("None") -IncludeTagList:("MTP") -testModulePath:("./SDKs/PowerShell/JumpCloud.SDK.V1/test-module.ps1") - Test-SDK-MTP-V2: - needs: ["Build-SDK-V1", "Build-SDK-V2", "Check-PR-Labels"] - if: contains(github.event.pull_request.labels.*.name, 'v2') + Test-SDK-MTP-V2-Only: + needs: ["Build-SDK-V2", "Check-PR-Labels"] + if: contains(github.event.pull_request.labels.*.name, 'v2') && !contains(github.event.pull_request.labels.*.name, 'v1') runs-on: ubuntu-latest timeout-minutes: 70 steps: @@ -465,6 +509,44 @@ jobs: Remove-Item -Path $versionedDir.FullName -Force Write-Host "Module '$moduleName' is now correctly placed at '$moduleDir'." + - name: Test MTP JumpCloud.SDK.V2 + shell: pwsh + env: + PESTER_APIKEY: ${{ secrets.PESTER_APIKEY }} + PESTER_ORGID: ${{ secrets.PESTER_ORGID }} + PESTER_MSP_APIKEY: ${{ secrets.PESTER_MSP_APIKEY }} + PESTER_PROVIDERID: ${{ secrets.PESTER_PROVIDERID }} + run: | + $ErrorActionnPreference = 'Stop' + ./Test-Module.ps1 -JCApiKey:($env:PESTER_APIKEY) -JCOrgId:($env:PESTER_ORGID) -JCApiKeyMTP:($env:PESTER_MSP_APIKEY) -JCProviderId:($env:PESTER_PROVIDERID) -ExcludeTagList:("None") -IncludeTagList:("MTP") -testModulePath:("./SDKs/PowerShell/JumpCloud.SDK.V2/test-module.ps1") + + Test-SDK-MTP-V2-With-V1: + needs: ["Build-SDK-V1", "Build-SDK-V2", "Check-PR-Labels"] + if: contains(github.event.pull_request.labels.*.name, 'v2') && contains(github.event.pull_request.labels.*.name, 'v1') + runs-on: ubuntu-latest + timeout-minutes: 70 + steps: + - uses: actions/checkout@v4 + - uses: actions/cache@v3 + with: + path: "/home/runner/.local/share/powershell/Modules/" + key: PS-Dependencies + - uses: actions/download-artifact@v4 + with: + name: build-JumpCloud.SDK.V1 + path: /home/runner/work/jcapi-powershell/jcapi-powershell/SDKs/PowerShell/ + - name: Unzip JumpCloud.SDK.V1 module + shell: pwsh + run: | + Expand-Archive -Path /home/runner/work/jcapi-powershell/jcapi-powershell/SDKs/PowerShell/JumpCloud.SDK.V1.zip -DestinationPath /home/runner/work/jcapi-powershell/jcapi-powershell/SDKs/PowerShell/ -Force + - uses: actions/download-artifact@v4 + with: + name: build-JumpCloud.SDK.V2 + path: /home/runner/work/jcapi-powershell/jcapi-powershell/SDKs/PowerShell/ + - name: Unzip JumpCloud.SDK.V2 module + shell: pwsh + run: | + Expand-Archive -Path /home/runner/work/jcapi-powershell/jcapi-powershell/SDKs/PowerShell/JumpCloud.SDK.V2.zip -DestinationPath /home/runner/work/jcapi-powershell/jcapi-powershell/SDKs/PowerShell/ -Force - name: Test MTP JumpCloud.SDK.V2 shell: pwsh env: diff --git a/.github/workflows/jcapi-powershell-release.yml b/.github/workflows/jcapi-powershell-release.yml index 23f59deb0..3d6177ae7 100644 --- a/.github/workflows/jcapi-powershell-release.yml +++ b/.github/workflows/jcapi-powershell-release.yml @@ -6,6 +6,12 @@ on: - closed branches: - master + +permissions: + contents: write # required for gh release create in Draft-Release-* jobs + pull-requests: read + actions: read + jobs: Check-PR-Labels: if: github.event.pull_request.merged == true @@ -160,9 +166,9 @@ jobs: Manual-Approval-Release: needs: [Draft-Release-V1, Draft-Release-V2, Draft-Release-DI] if: | - always() && - (needs.Draft-Release-V1.result == 'success' || - needs.Draft-Release-V2.result == 'success' || + always() && + (needs.Draft-Release-V1.result == 'success' || + needs.Draft-Release-V2.result == 'success' || needs.Draft-Release-DI.result == 'success') environment: PublishToPSGallery runs-on: ubuntu-latest diff --git a/.gitleaks.toml b/.gitleaks.toml index c7f42a2b2..5f4769270 100644 --- a/.gitleaks.toml +++ b/.gitleaks.toml @@ -12,4 +12,5 @@ regexTarget = "match" description = "ignore REPLACE_KEY_VALUE in curl documentation" regexes = [ '''REPLACE_KEY_VALUE''', + '''SOME_STRING_VALUE''' ] \ No newline at end of file diff --git a/ApiTransform.ps1 b/ApiTransform.ps1 index f2bc6cad0..5bf4711e3 100644 --- a/ApiTransform.ps1 +++ b/ApiTransform.ps1 @@ -454,6 +454,24 @@ $TransformConfig = [Ordered]@{ 'workdays_post' = 'Workday_Create'; 'workdays_put' = 'Workday_Set'; 'workdays_workers' = 'WorkdayWorker_Get'; + # 'AccessRequestApi_CreateAccessRequest' = 'UserAccessRequest_Create'; + # 'AccessRequestApi_GetAccessRequest' = 'UserAccessRequest_Get'; + # 'AccessRequestApi_UpdateAccessRequest' = 'UserAccessRequest_Set'; + # 'AccessRequestApi_RevokeAccessRequest' = 'UserAccessRequest_Delete'; + 'WorkflowAccessRequestApi_UserApprovalRequest' = 'AccessRequestApproval_Set' + 'WorkflowAccessRequestApi_GetAllWorkflowAccessRequests' = 'AccessRequest_List' + 'WorkflowAccessRequestApi_GetWorkflowAccessRequests' = 'AccessRequest_Get'; + # 'WorkflowAccessRequestApi_CreateWorkflowAccessRequest' = 'AccessRequest_Create' # unsure how this endpoint works/ removing from CUT-4022 + 'WorkflowAccessRequestApi_UpdateWorkflowAccessRequests' = 'AccessRequest_Set' + 'WorkflowAccessRequestApi_GetAccessRequestApprovalProgressAdminPortal' = 'AccessRequestProgress_Get' + 'AccessWorkflowApi_GetAllAccessWorkFlows' = 'ApprovalFlow_List' + 'AccessWorkflowApi_CreateAccessWorkflow' = 'ApprovalFlow_Create' + 'AccessWorkflowApi_DeleteAccessWorkflow' = 'ApprovalFlow_Delete' + 'AccessWorkflowApi_GetAccessWorkflow' = 'ApprovalFlow_Get' + 'AccessWorkflowApi_UpdateAccessWorkflow' = 'ApprovalFlow_Set' + 'AccessWorkflowSettingsApi_GetAccessWorkflowSettings' = 'ApprovalFlowSettings_Get' + # 'AccessWorkflowSettingsApi_CreateAccessWorkflowSettings' = 'WorkflowSettings_Create' # this should be created automatically, no need to include the function in the SDK + 'AccessWorkflowSettingsApi_UpdateAccessWorkflowSettings' = 'ApprovalFlowSettings_Set' }; ExcludedList = @( # Excluded items are listed by Path and do not include opperation type (put, post, get, etc.) @@ -507,10 +525,7 @@ $TransformConfig = [Ordered]@{ '/integrations/autotask/{UUID}/mappings', '/integrations/{integration_type}/{UUID}/errors', '/providers/{provider_id}/integrations/autotask', - '/softwareapps/{software_app_id}/retry-installation', - '/accessrequests/', - '/accessrequests/{accessId}', - '/accessrequests/{accessId}/revoke' + '/softwareapps/{software_app_id}/retry-installation' ) } } diff --git a/Configs/JumpCloud.SDK.V2.yaml b/Configs/JumpCloud.SDK.V2.yaml index 1c618b99a..bb359b8c2 100644 --- a/Configs/JumpCloud.SDK.V2.yaml +++ b/Configs/JumpCloud.SDK.V2.yaml @@ -1,44 +1,33 @@ +customFunctionPrefix: JcSdk +prefix: JcSdkInternal debug: true -verbose: true -# Values -# azure: false -powershell: true +help-link-prefix: https://github.com/TheJumpCloud/jcapi-powershell/tree/$(branch)/SDKs/PowerShell/ +sample-generation: true +clear-output-folder: true +input-file: +- SwaggerSpecs/JumpCloud.SDK.V2.json +directive: +- hide: true + where: + prefix: JcSdk branch: master +namespace: JumpCloud.SDK.V2 metadata: - authors: JumpCloud - owners: JumpCloud description: The JumpCloud V2 PowerShell SDK copyright: (c) JumpCloud. All rights reserved. companyName: JumpCloud + formatsToProcess: [] + tags: JumpCloud, DaaS, Jump, Cloud, Directory requireLicenseAcceptance: false licenseUri: https://github.com/TheJumpCloud/jcapi-powershell/tree/$(branch)/LICENSE - projectUri: https://github.com/TheJumpCloud/jcapi-powershell/tree/$(branch)/SDKs/PowerShell/JumpCloud.SDK.V2/ + owners: JumpCloud iconUri: https://console.jumpcloud.com/img/login-viewport-logo.png - tags: JumpCloud, DaaS, Jump, Cloud, Directory - formatsToProcess: [] - -# Names -prefix: JcSdkInternal -customFunctionPrefix: JcSdk -help-link-prefix: https://github.com/TheJumpCloud/jcapi-powershell/tree/$(branch)/SDKs/PowerShell/ - -# Folders -clear-output-folder: true -output-folder: SDKs/PowerShell/JumpCloud.SDK.V2 -base-folder: '..' - -input-file: - - SwaggerSpecs/JumpCloud.SDK.V2.json -# title: JumpCloud.SDK.V2 + authors: JumpCloud + projectUri: https://github.com/TheJumpCloud/jcapi-powershell/tree/$(branch)/SDKs/PowerShell/JumpCloud.SDK.V2/ +verbose: true module-name: JumpCloud.SDK.V2 -namespace: JumpCloud.SDK.V2 -sample-generation: true -module-version: 0.1.2 +output-folder: SDKs/PowerShell/JumpCloud.SDK.V2 dll-name: JumpCloud.SDK.V2.private - -directive: - - where: - prefix: JcSdk - hide: true -# Prevent response flattening: https://github.com/Azure/autorest.powershell/issues/743 -# inlining-threshold: 0 +module-version: 0.2.0 +powershell: true +base-folder: .. diff --git a/JumpCloud.SDK.V2.md b/JumpCloud.SDK.V2.md index bd9d89d0e..3792a7583 100644 --- a/JumpCloud.SDK.V2.md +++ b/JumpCloud.SDK.V2.md @@ -1,10 +1,45 @@ +## JumpCloud.SDK.V2-0.2.0 + +Release Date: February 26, 2026 + +#### RELEASE NOTES + +``` +Add accessRequest workflow functions/ general SDK updates from source +``` + +#### Generated Changes: + +
+Functions Added + +No changes +
+ +
+Functions Modified + +No changes +
+ +
+Functions Removed + +No changes +
+ ## JumpCloud.SDK.V2-0.1.2 + Release Date: December 16, 2025 + #### RELEASE NOTES + ``` Updated existing functions based on updated OpenAPI specs ``` + #### IMPROVEMENTS: + Updated existing functions based on updated OpenAPI specs #### Generated Changes: @@ -13,27 +48,34 @@ Updated existing functions based on updated OpenAPI specs Functions Added No changes +
Functions Modified No changes +
Functions Removed No changes +
## JumpCloud.SDK.V2-0.1.1 + Release Date: November 24, 2025 + #### RELEASE NOTES + ``` Updated existing functions based on updated OpenAPI specs ``` + #### FEATURES: The JumpCloud V2 SDK module has been updated to support the EU region. Users can now specify the region when initializing the SDK. @@ -44,44 +86,53 @@ The JumpCloud V2 SDK module has been updated to support the EU region. Users can Functions Added No changes +
Functions Modified No changes +
Functions Removed No changes +
## JumpCloud.SDK.V2-0.0.49 + Release Date: March 10, 2025 + #### RELEASE NOTES + ``` Updated existing functions based on updated swagger specs ``` #### IMPROVEMENTS: + Updated existing functions based on updated swagger specs + #### Generated Changes:
Functions Added No changes +
Functions Modified -* New-JcSdkSoftwareApp.ps1 -* Set-JcSdkAppleMdm.ps1 -* Set-JcSdkSoftwareApp.ps1 -* Update-JcSdkGSuite.ps1 +- New-JcSdkSoftwareApp.ps1 +- Set-JcSdkAppleMdm.ps1 +- Set-JcSdkSoftwareApp.ps1 +- Update-JcSdkGSuite.ps1
@@ -89,454 +140,526 @@ No changes Functions Removed No changes + ## JumpCloud.SDK.V2-0.0.48 + Release Date: June 17, 2024 + #### RELEASE NOTES + ``` This release includes an update to functions that return formatted json data. ``` #### BUG FIXES: + Functions that return formatted json data will now validate that the response is non-null before attempting to convert the response from Json. This resulted in an error for null responses in previous versions of the module. + #### Generated Changes:
Functions Added No changes +
Functions Modified No changes +
Functions Removed No changes +
## JumpCloud.SDK.V2-0.0.47 + Release Date: June 06, 2024 + #### RELEASE NOTES + ``` This is a rollup release of the DirectoryInsights Module, no functional changes have been made ``` + #### FEATURES: + NA + #### IMPROVEMENTS: + NA + #### BUG FIXES: + NA + #### Generated Changes:
Functions Added No changes +
Functions Modified No changes +
Functions Removed No changes +
## JumpCloud.SDK.V2-0.0.46 + Release Date: May 15, 2024 + #### RELEASE NOTES + ``` This release fixes the input models for the Update-JcSdkBulkUser and New-JcSdkBulkUser functions ``` + #### FEATURES: + NA + #### IMPROVEMENTS: + NA + #### BUG FIXES: + Fixes the issue of not being able to set all SystemUser attributes via the Update-JcSdkBulkUser and New-JcSdkBulkUser functions + #### Generated Changes:
Functions Added No changes +
Functions Modified No changes +
Functions Removed No changes +
## JumpCloud.SDK.V2-0.0.45 + Release Date: April 15, 2024 + #### RELEASE NOTES + ``` This is a rollup release for the V2 module, no functional changes were made. ``` + #### FEATURES: + NA + #### IMPROVEMENTS: + NA + #### BUG FIXES: + NA + #### Generated Changes:
Functions Added No changes +
Functions Modified No changes +
Functions Removed No changes +
## JumpCloud.SDK.V2-0.0.44 + Release Date: March 27, 2024 + #### RELEASE NOTES + ``` This is a rollup release for the V2 module, no functional changes were made ``` + #### FEATURES: + NA + #### IMPROVEMENTS: + NA + #### BUG FIXES: + NA + #### Generated Changes:
Functions Added No changes +
Functions Modified No changes +
Functions Removed No changes +
## JumpCloud.SDK.V2-0.0.43 + Release Date: February 27, 2024 + #### RELEASE NOTES + ``` Added retry functionality for functions if a 503 error is experienced ``` + #### FEATURES: + NA + #### IMPROVEMENTS: + Added retry functionality for functions if a 503 error is experienced + #### BUG FIXES: + NA + #### Generated Changes:
Functions Added No changes +
Functions Modified -* Clear-JcSdkAppleMdmDevice.ps1 -* Clear-JcSdkAppleMdmDeviceActivationLock.ps1 -* Get-JcSdkActiveDirectory.ps1 -* Get-JcSdkActiveDirectoryAgent.ps1 -* Get-JcSdkActiveDirectoryAssociation.ps1 -* Get-JcSdkActiveDirectoryTraverseUser.ps1 -* Get-JcSdkActiveDirectoryTraverseUserGroup.ps1 -* Get-JcSdkAdministratorOrganization.ps1 -* Get-JcSdkAdministratorOrganizationLink.ps1 -* Get-JcSdkAppleMdm.ps1 -* Get-JcSdkAppleMdmDevice.ps1 -* Get-JcSdkAppleMdmEnrollmentProfile.ps1 -* Get-JcSdkApplicationAssociation.ps1 -* Get-JcSdkApplicationTraverseUser.ps1 -* Get-JcSdkApplicationTraverseUserGroup.ps1 -* Get-JcSdkAuthenticationPolicy.ps1 -* Get-JcSdkBulkUserState.ps1 -* Get-JcSdkBulkUsersResult.ps1 -* Get-JcSdkCommandAssociation.ps1 -* Get-JcSdkCommandTraverseSystem.ps1 -* Get-JcSdkCommandTraverseSystemGroup.ps1 -* Get-JcSdkCustomEmailConfiguration.ps1 -* Get-JcSdkCustomEmailTemplate.ps1 -* Get-JcSdkDirectory.ps1 -* Get-JcSdkDuoAccount.ps1 -* Get-JcSdkDuoApplication.ps1 -* Get-JcSdkGSuite.ps1 -* Get-JcSdkGSuiteAssociation.ps1 -* Get-JcSdkGSuiteTranslationRule.ps1 -* Get-JcSdkGSuiteTraverseUser.ps1 -* Get-JcSdkGSuiteTraverseUserGroup.ps1 -* Get-JcSdkGSuiteUsersToImport.ps1 -* Get-JcSdkGroup.ps1 -* Get-JcSdkGsuiteUsersToImportFormatted.ps1 -* Get-JcSdkIPList.ps1 -* Get-JcSdkLdapServer.ps1 -* Get-JcSdkLdapServerAssociation.ps1 -* Get-JcSdkLdapServerSambaDomain.ps1 -* Get-JcSdkLdapServerTraverseUser.ps1 -* Get-JcSdkLdapServerTraverseUserGroup.ps1 -* Get-JcSdkNextScheduledBulkUserState.ps1 -* Get-JcSdkOffice365.ps1 -* Get-JcSdkOffice365Association.ps1 -* Get-JcSdkOffice365TranslationRule.ps1 -* Get-JcSdkOffice365TraverseUser.ps1 -* Get-JcSdkOffice365TraverseUserGroup.ps1 -* Get-JcSdkOffice365UsersToImport.ps1 -* Get-JcSdkOrganizationPolicyResult.ps1 -* Get-JcSdkPolicy.ps1 -* Get-JcSdkPolicyAssociation.ps1 -* Get-JcSdkPolicyGroup.ps1 -* Get-JcSdkPolicyGroupAssociation.ps1 -* Get-JcSdkPolicyGroupMember.ps1 -* Get-JcSdkPolicyGroupMembership.ps1 -* Get-JcSdkPolicyGroupTraverseSystem.ps1 -* Get-JcSdkPolicyGroupTraverseSystemGroup.ps1 -* Get-JcSdkPolicyResult.ps1 -* Get-JcSdkPolicyStatus.ps1 -* Get-JcSdkPolicyTemplate.ps1 -* Get-JcSdkPolicyTraverseSystem.ps1 -* Get-JcSdkPolicyTraverseSystemGroup.ps1 -* Get-JcSdkProviderAdministrator.ps1 -* Get-JcSdkProviderOrganization.ps1 -* Get-JcSdkProvidersInvoice.ps1 -* Get-JcSdkRadiusServerAssociation.ps1 -* Get-JcSdkRadiusServerTraverseUser.ps1 -* Get-JcSdkRadiusServerTraverseUserGroup.ps1 -* Get-JcSdkSoftwareApp.ps1 -* Get-JcSdkSoftwareAppAssociation.ps1 -* Get-JcSdkSoftwareAppStatus.ps1 -* Get-JcSdkSoftwareAppTraverseSystem.ps1 -* Get-JcSdkSoftwareAppTraverseSystemGroup.ps1 -* Get-JcSdkSubscription.ps1 -* Get-JcSdkSystemAssociation.ps1 -* Get-JcSdkSystemFdeKey.ps1 -* Get-JcSdkSystemGroup.ps1 -* Get-JcSdkSystemGroupAssociation.ps1 -* Get-JcSdkSystemGroupMember.ps1 -* Get-JcSdkSystemGroupMembership.ps1 -* Get-JcSdkSystemGroupTraverseCommand.ps1 -* Get-JcSdkSystemGroupTraversePolicy.ps1 -* Get-JcSdkSystemGroupTraversePolicyGroup.ps1 -* Get-JcSdkSystemGroupTraverseUser.ps1 -* Get-JcSdkSystemGroupTraverseUserGroup.ps1 -* Get-JcSdkSystemInsightAlf.ps1 -* Get-JcSdkSystemInsightAlfException.ps1 -* Get-JcSdkSystemInsightAlfExplicitAuth.ps1 -* Get-JcSdkSystemInsightApp.ps1 -* Get-JcSdkSystemInsightAppCompatShim.ps1 -* Get-JcSdkSystemInsightAuthorizedKey.ps1 -* Get-JcSdkSystemInsightAzureInstanceMetadata.ps1 -* Get-JcSdkSystemInsightAzureInstanceTag.ps1 -* Get-JcSdkSystemInsightBattery.ps1 -* Get-JcSdkSystemInsightBitlockerInfo.ps1 -* Get-JcSdkSystemInsightBrowserPlugin.ps1 -* Get-JcSdkSystemInsightCertificate.ps1 -* Get-JcSdkSystemInsightChassisInfo.ps1 -* Get-JcSdkSystemInsightChromeExtension.ps1 -* Get-JcSdkSystemInsightConnectivity.ps1 -* Get-JcSdkSystemInsightCrash.ps1 -* Get-JcSdkSystemInsightCupDestination.ps1 -* Get-JcSdkSystemInsightDiskEncryption.ps1 -* Get-JcSdkSystemInsightDiskInfo.ps1 -* Get-JcSdkSystemInsightDnsResolver.ps1 -* Get-JcSdkSystemInsightEtcHost.ps1 -* Get-JcSdkSystemInsightFirefoxAddon.ps1 -* Get-JcSdkSystemInsightGroup.ps1 -* Get-JcSdkSystemInsightIeExtension.ps1 -* Get-JcSdkSystemInsightInterfaceAddress.ps1 -* Get-JcSdkSystemInsightInterfaceDetail.ps1 -* Get-JcSdkSystemInsightKernelInfo.ps1 -* Get-JcSdkSystemInsightLaunchd.ps1 -* Get-JcSdkSystemInsightLinuxPackage.ps1 -* Get-JcSdkSystemInsightLoggedinUser.ps1 -* Get-JcSdkSystemInsightLogicalDrive.ps1 -* Get-JcSdkSystemInsightManagedPolicy.ps1 -* Get-JcSdkSystemInsightMount.ps1 -* Get-JcSdkSystemInsightOSVersion.ps1 -* Get-JcSdkSystemInsightPatch.ps1 -* Get-JcSdkSystemInsightProgram.ps1 -* Get-JcSdkSystemInsightPythonPackage.ps1 -* Get-JcSdkSystemInsightSafariExtension.ps1 -* Get-JcSdkSystemInsightScheduledTask.ps1 -* Get-JcSdkSystemInsightSecureboot.ps1 -* Get-JcSdkSystemInsightService.ps1 -* Get-JcSdkSystemInsightShadow.ps1 -* Get-JcSdkSystemInsightSharedFolder.ps1 -* Get-JcSdkSystemInsightSharedResource.ps1 -* Get-JcSdkSystemInsightSharingPreference.ps1 -* Get-JcSdkSystemInsightSipConfig.ps1 -* Get-JcSdkSystemInsightStartupItem.ps1 -* Get-JcSdkSystemInsightSystemControl.ps1 -* Get-JcSdkSystemInsightSystemInfo.ps1 -* Get-JcSdkSystemInsightTpmInfo.ps1 -* Get-JcSdkSystemInsightUptime.ps1 -* Get-JcSdkSystemInsightUsbDevice.ps1 -* Get-JcSdkSystemInsightUser.ps1 -* Get-JcSdkSystemInsightUserAssist.ps1 -* Get-JcSdkSystemInsightUserGroup.ps1 -* Get-JcSdkSystemInsightUserSshKey.ps1 -* Get-JcSdkSystemInsightWifiNetwork.ps1 -* Get-JcSdkSystemInsightWifiStatus.ps1 -* Get-JcSdkSystemInsightWindowsSecurityCenter.ps1 -* Get-JcSdkSystemInsightWindowsSecurityProduct.ps1 -* Get-JcSdkSystemMember.ps1 -* Get-JcSdkSystemPolicyStatus.ps1 -* Get-JcSdkSystemTraverseCommand.ps1 -* Get-JcSdkSystemTraversePolicy.ps1 -* Get-JcSdkSystemTraversePolicyGroup.ps1 -* Get-JcSdkSystemTraverseUser.ps1 -* Get-JcSdkSystemTraverseUserGroup.ps1 -* Get-JcSdkUserAssociation.ps1 -* Get-JcSdkUserGroup.ps1 -* Get-JcSdkUserGroupAssociation.ps1 -* Get-JcSdkUserGroupMember.ps1 -* Get-JcSdkUserGroupMembership.ps1 -* Get-JcSdkUserGroupTraverseActiveDirectory.ps1 -* Get-JcSdkUserGroupTraverseApplication.ps1 -* Get-JcSdkUserGroupTraverseDirectory.ps1 -* Get-JcSdkUserGroupTraverseGSuite.ps1 -* Get-JcSdkUserGroupTraverseLdapServer.ps1 -* Get-JcSdkUserGroupTraverseOffice365.ps1 -* Get-JcSdkUserGroupTraverseRadiusServer.ps1 -* Get-JcSdkUserGroupTraverseSystem.ps1 -* Get-JcSdkUserGroupTraverseSystemGroup.ps1 -* Get-JcSdkUserMember.ps1 -* Get-JcSdkUserPushEndpoint.ps1 -* Get-JcSdkUserTraverseActiveDirectory.ps1 -* Get-JcSdkUserTraverseApplication.ps1 -* Get-JcSdkUserTraverseDirectory.ps1 -* Get-JcSdkUserTraverseGSuite.ps1 -* Get-JcSdkUserTraverseLdapServer.ps1 -* Get-JcSdkUserTraverseOffice365.ps1 -* Get-JcSdkUserTraverseRadiusServer.ps1 -* Get-JcSdkUserTraverseSystem.ps1 -* Get-JcSdkUserTraverseSystemGroup.ps1 -* Get-JcSdkWorkday.ps1 -* Get-JcSdkWorkdayWorker.ps1 -* Grant-JcSdkWorkday.ps1 -* Import-JcSdkScim.ps1 -* Import-JcSdkWorkday.ps1 -* Import-JcSdkWorkdayResult.ps1 -* Invoke-JcSdkReclaimSoftwareAppLicense.ps1 -* Lock-JcSdkAppleMdmDevice.ps1 -* New-JcSdkActiveDirectory.ps1 -* New-JcSdkActiveDirectoryAgent.ps1 -* New-JcSdkAdministratorOrganization.ps1 -* New-JcSdkAuthenticationPolicy.ps1 -* New-JcSdkBulkUser.ps1 -* New-JcSdkBulkUserState.ps1 -* New-JcSdkCustomEmailConfiguration.ps1 -* New-JcSdkDuoAccount.ps1 -* New-JcSdkDuoApplication.ps1 -* New-JcSdkGSuiteTranslationRule.ps1 -* New-JcSdkIPList.ps1 -* New-JcSdkLdapServerSambaDomain.ps1 -* New-JcSdkOffice365TranslationRule.ps1 -* New-JcSdkPolicy.ps1 -* New-JcSdkPolicyGroup.ps1 -* New-JcSdkProviderAdministrator.ps1 -* New-JcSdkSoftwareApp.ps1 -* New-JcSdkSystemGroup.ps1 -* New-JcSdkUserGroup.ps1 -* New-JcSdkWorkday.ps1 -* Remove-JcSdkActiveDirectory.ps1 -* Remove-JcSdkActiveDirectoryAgent.ps1 -* Remove-JcSdkAdministratorOrganization.ps1 -* Remove-JcSdkAppleMdm.ps1 -* Remove-JcSdkAppleMdmDevice.ps1 -* Remove-JcSdkApplicationLogo.ps1 -* Remove-JcSdkAuthenticationPolicy.ps1 -* Remove-JcSdkBulkUserState.ps1 -* Remove-JcSdkCustomEmailConfiguration.ps1 -* Remove-JcSdkDuoAccount.ps1 -* Remove-JcSdkDuoApplication.ps1 -* Remove-JcSdkGSuiteTranslationRule.ps1 -* Remove-JcSdkIPList.ps1 -* Remove-JcSdkLdapServerSambaDomain.ps1 -* Remove-JcSdkOffice365TranslationRule.ps1 -* Remove-JcSdkPolicy.ps1 -* Remove-JcSdkPolicyGroup.ps1 -* Remove-JcSdkProviderAdministrator.ps1 -* Remove-JcSdkSoftwareApp.ps1 -* Remove-JcSdkSystemGroup.ps1 -* Remove-JcSdkUserGroup.ps1 -* Remove-JcSdkUserPushEndpoint.ps1 -* Remove-JcSdkWorkdayAuthorization.ps1 -* Restart-JcSdkAppleMdmDevice.ps1 -* Set-JcSdkActiveDirectoryAssociation.ps1 -* Set-JcSdkAppleMdm.ps1 -* Set-JcSdkApplicationAssociation.ps1 -* Set-JcSdkCommandAssociation.ps1 -* Set-JcSdkCustomEmailConfiguration.ps1 -* Set-JcSdkDuoApplication.ps1 -* Set-JcSdkGSuiteAssociation.ps1 -* Set-JcSdkIPList.ps1 -* Set-JcSdkLdapServerAssociation.ps1 -* Set-JcSdkLdapServerSambaDomain.ps1 -* Set-JcSdkOffice365Association.ps1 -* Set-JcSdkPolicy.ps1 -* Set-JcSdkPolicyAssociation.ps1 -* Set-JcSdkPolicyGroup.ps1 -* Set-JcSdkPolicyGroupAssociation.ps1 -* Set-JcSdkPolicyGroupMember.ps1 -* Set-JcSdkRadiusServerAssociation.ps1 -* Set-JcSdkSoftwareApp.ps1 -* Set-JcSdkSoftwareAppAssociation.ps1 -* Set-JcSdkSystemAssociation.ps1 -* Set-JcSdkSystemGroup.ps1 -* Set-JcSdkSystemGroupAssociation.ps1 -* Set-JcSdkSystemGroupMember.ps1 -* Set-JcSdkUserAssociation.ps1 -* Set-JcSdkUserGroup.ps1 -* Set-JcSdkUserGroupAssociation.ps1 -* Set-JcSdkUserGroupMember.ps1 -* Set-JcSdkWorkday.ps1 -* Stop-JcSdkAppleMdmDevice.ps1 -* Sync-JcSdkAppleMdmDevice.ps1 -* Update-JcSdkAppleMdmDeviceLockInformation.ps1 -* Update-JcSdkAuthenticationPolicy.ps1 -* Update-JcSdkBulkUser.ps1 -* Update-JcSdkGSuite.ps1 -* Update-JcSdkIPList.ps1 -* Update-JcSdkLdapServer.ps1 -* Update-JcSdkOffice365.ps1 -* Update-JcSdkUserPushEndpoint.ps1 +- Clear-JcSdkAppleMdmDevice.ps1 +- Clear-JcSdkAppleMdmDeviceActivationLock.ps1 +- Get-JcSdkActiveDirectory.ps1 +- Get-JcSdkActiveDirectoryAgent.ps1 +- Get-JcSdkActiveDirectoryAssociation.ps1 +- Get-JcSdkActiveDirectoryTraverseUser.ps1 +- Get-JcSdkActiveDirectoryTraverseUserGroup.ps1 +- Get-JcSdkAdministratorOrganization.ps1 +- Get-JcSdkAdministratorOrganizationLink.ps1 +- Get-JcSdkAppleMdm.ps1 +- Get-JcSdkAppleMdmDevice.ps1 +- Get-JcSdkAppleMdmEnrollmentProfile.ps1 +- Get-JcSdkApplicationAssociation.ps1 +- Get-JcSdkApplicationTraverseUser.ps1 +- Get-JcSdkApplicationTraverseUserGroup.ps1 +- Get-JcSdkAuthenticationPolicy.ps1 +- Get-JcSdkBulkUserState.ps1 +- Get-JcSdkBulkUsersResult.ps1 +- Get-JcSdkCommandAssociation.ps1 +- Get-JcSdkCommandTraverseSystem.ps1 +- Get-JcSdkCommandTraverseSystemGroup.ps1 +- Get-JcSdkCustomEmailConfiguration.ps1 +- Get-JcSdkCustomEmailTemplate.ps1 +- Get-JcSdkDirectory.ps1 +- Get-JcSdkDuoAccount.ps1 +- Get-JcSdkDuoApplication.ps1 +- Get-JcSdkGSuite.ps1 +- Get-JcSdkGSuiteAssociation.ps1 +- Get-JcSdkGSuiteTranslationRule.ps1 +- Get-JcSdkGSuiteTraverseUser.ps1 +- Get-JcSdkGSuiteTraverseUserGroup.ps1 +- Get-JcSdkGSuiteUsersToImport.ps1 +- Get-JcSdkGroup.ps1 +- Get-JcSdkGsuiteUsersToImportFormatted.ps1 +- Get-JcSdkIPList.ps1 +- Get-JcSdkLdapServer.ps1 +- Get-JcSdkLdapServerAssociation.ps1 +- Get-JcSdkLdapServerSambaDomain.ps1 +- Get-JcSdkLdapServerTraverseUser.ps1 +- Get-JcSdkLdapServerTraverseUserGroup.ps1 +- Get-JcSdkNextScheduledBulkUserState.ps1 +- Get-JcSdkOffice365.ps1 +- Get-JcSdkOffice365Association.ps1 +- Get-JcSdkOffice365TranslationRule.ps1 +- Get-JcSdkOffice365TraverseUser.ps1 +- Get-JcSdkOffice365TraverseUserGroup.ps1 +- Get-JcSdkOffice365UsersToImport.ps1 +- Get-JcSdkOrganizationPolicyResult.ps1 +- Get-JcSdkPolicy.ps1 +- Get-JcSdkPolicyAssociation.ps1 +- Get-JcSdkPolicyGroup.ps1 +- Get-JcSdkPolicyGroupAssociation.ps1 +- Get-JcSdkPolicyGroupMember.ps1 +- Get-JcSdkPolicyGroupMembership.ps1 +- Get-JcSdkPolicyGroupTraverseSystem.ps1 +- Get-JcSdkPolicyGroupTraverseSystemGroup.ps1 +- Get-JcSdkPolicyResult.ps1 +- Get-JcSdkPolicyStatus.ps1 +- Get-JcSdkPolicyTemplate.ps1 +- Get-JcSdkPolicyTraverseSystem.ps1 +- Get-JcSdkPolicyTraverseSystemGroup.ps1 +- Get-JcSdkProviderAdministrator.ps1 +- Get-JcSdkProviderOrganization.ps1 +- Get-JcSdkProvidersInvoice.ps1 +- Get-JcSdkRadiusServerAssociation.ps1 +- Get-JcSdkRadiusServerTraverseUser.ps1 +- Get-JcSdkRadiusServerTraverseUserGroup.ps1 +- Get-JcSdkSoftwareApp.ps1 +- Get-JcSdkSoftwareAppAssociation.ps1 +- Get-JcSdkSoftwareAppStatus.ps1 +- Get-JcSdkSoftwareAppTraverseSystem.ps1 +- Get-JcSdkSoftwareAppTraverseSystemGroup.ps1 +- Get-JcSdkSubscription.ps1 +- Get-JcSdkSystemAssociation.ps1 +- Get-JcSdkSystemFdeKey.ps1 +- Get-JcSdkSystemGroup.ps1 +- Get-JcSdkSystemGroupAssociation.ps1 +- Get-JcSdkSystemGroupMember.ps1 +- Get-JcSdkSystemGroupMembership.ps1 +- Get-JcSdkSystemGroupTraverseCommand.ps1 +- Get-JcSdkSystemGroupTraversePolicy.ps1 +- Get-JcSdkSystemGroupTraversePolicyGroup.ps1 +- Get-JcSdkSystemGroupTraverseUser.ps1 +- Get-JcSdkSystemGroupTraverseUserGroup.ps1 +- Get-JcSdkSystemInsightAlf.ps1 +- Get-JcSdkSystemInsightAlfException.ps1 +- Get-JcSdkSystemInsightAlfExplicitAuth.ps1 +- Get-JcSdkSystemInsightApp.ps1 +- Get-JcSdkSystemInsightAppCompatShim.ps1 +- Get-JcSdkSystemInsightAuthorizedKey.ps1 +- Get-JcSdkSystemInsightAzureInstanceMetadata.ps1 +- Get-JcSdkSystemInsightAzureInstanceTag.ps1 +- Get-JcSdkSystemInsightBattery.ps1 +- Get-JcSdkSystemInsightBitlockerInfo.ps1 +- Get-JcSdkSystemInsightBrowserPlugin.ps1 +- Get-JcSdkSystemInsightCertificate.ps1 +- Get-JcSdkSystemInsightChassisInfo.ps1 +- Get-JcSdkSystemInsightChromeExtension.ps1 +- Get-JcSdkSystemInsightConnectivity.ps1 +- Get-JcSdkSystemInsightCrash.ps1 +- Get-JcSdkSystemInsightCupDestination.ps1 +- Get-JcSdkSystemInsightDiskEncryption.ps1 +- Get-JcSdkSystemInsightDiskInfo.ps1 +- Get-JcSdkSystemInsightDnsResolver.ps1 +- Get-JcSdkSystemInsightEtcHost.ps1 +- Get-JcSdkSystemInsightFirefoxAddon.ps1 +- Get-JcSdkSystemInsightGroup.ps1 +- Get-JcSdkSystemInsightIeExtension.ps1 +- Get-JcSdkSystemInsightInterfaceAddress.ps1 +- Get-JcSdkSystemInsightInterfaceDetail.ps1 +- Get-JcSdkSystemInsightKernelInfo.ps1 +- Get-JcSdkSystemInsightLaunchd.ps1 +- Get-JcSdkSystemInsightLinuxPackage.ps1 +- Get-JcSdkSystemInsightLoggedinUser.ps1 +- Get-JcSdkSystemInsightLogicalDrive.ps1 +- Get-JcSdkSystemInsightManagedPolicy.ps1 +- Get-JcSdkSystemInsightMount.ps1 +- Get-JcSdkSystemInsightOSVersion.ps1 +- Get-JcSdkSystemInsightPatch.ps1 +- Get-JcSdkSystemInsightProgram.ps1 +- Get-JcSdkSystemInsightPythonPackage.ps1 +- Get-JcSdkSystemInsightSafariExtension.ps1 +- Get-JcSdkSystemInsightScheduledTask.ps1 +- Get-JcSdkSystemInsightSecureboot.ps1 +- Get-JcSdkSystemInsightService.ps1 +- Get-JcSdkSystemInsightShadow.ps1 +- Get-JcSdkSystemInsightSharedFolder.ps1 +- Get-JcSdkSystemInsightSharedResource.ps1 +- Get-JcSdkSystemInsightSharingPreference.ps1 +- Get-JcSdkSystemInsightSipConfig.ps1 +- Get-JcSdkSystemInsightStartupItem.ps1 +- Get-JcSdkSystemInsightSystemControl.ps1 +- Get-JcSdkSystemInsightSystemInfo.ps1 +- Get-JcSdkSystemInsightTpmInfo.ps1 +- Get-JcSdkSystemInsightUptime.ps1 +- Get-JcSdkSystemInsightUsbDevice.ps1 +- Get-JcSdkSystemInsightUser.ps1 +- Get-JcSdkSystemInsightUserAssist.ps1 +- Get-JcSdkSystemInsightUserGroup.ps1 +- Get-JcSdkSystemInsightUserSshKey.ps1 +- Get-JcSdkSystemInsightWifiNetwork.ps1 +- Get-JcSdkSystemInsightWifiStatus.ps1 +- Get-JcSdkSystemInsightWindowsSecurityCenter.ps1 +- Get-JcSdkSystemInsightWindowsSecurityProduct.ps1 +- Get-JcSdkSystemMember.ps1 +- Get-JcSdkSystemPolicyStatus.ps1 +- Get-JcSdkSystemTraverseCommand.ps1 +- Get-JcSdkSystemTraversePolicy.ps1 +- Get-JcSdkSystemTraversePolicyGroup.ps1 +- Get-JcSdkSystemTraverseUser.ps1 +- Get-JcSdkSystemTraverseUserGroup.ps1 +- Get-JcSdkUserAssociation.ps1 +- Get-JcSdkUserGroup.ps1 +- Get-JcSdkUserGroupAssociation.ps1 +- Get-JcSdkUserGroupMember.ps1 +- Get-JcSdkUserGroupMembership.ps1 +- Get-JcSdkUserGroupTraverseActiveDirectory.ps1 +- Get-JcSdkUserGroupTraverseApplication.ps1 +- Get-JcSdkUserGroupTraverseDirectory.ps1 +- Get-JcSdkUserGroupTraverseGSuite.ps1 +- Get-JcSdkUserGroupTraverseLdapServer.ps1 +- Get-JcSdkUserGroupTraverseOffice365.ps1 +- Get-JcSdkUserGroupTraverseRadiusServer.ps1 +- Get-JcSdkUserGroupTraverseSystem.ps1 +- Get-JcSdkUserGroupTraverseSystemGroup.ps1 +- Get-JcSdkUserMember.ps1 +- Get-JcSdkUserPushEndpoint.ps1 +- Get-JcSdkUserTraverseActiveDirectory.ps1 +- Get-JcSdkUserTraverseApplication.ps1 +- Get-JcSdkUserTraverseDirectory.ps1 +- Get-JcSdkUserTraverseGSuite.ps1 +- Get-JcSdkUserTraverseLdapServer.ps1 +- Get-JcSdkUserTraverseOffice365.ps1 +- Get-JcSdkUserTraverseRadiusServer.ps1 +- Get-JcSdkUserTraverseSystem.ps1 +- Get-JcSdkUserTraverseSystemGroup.ps1 +- Get-JcSdkWorkday.ps1 +- Get-JcSdkWorkdayWorker.ps1 +- Grant-JcSdkWorkday.ps1 +- Import-JcSdkScim.ps1 +- Import-JcSdkWorkday.ps1 +- Import-JcSdkWorkdayResult.ps1 +- Invoke-JcSdkReclaimSoftwareAppLicense.ps1 +- Lock-JcSdkAppleMdmDevice.ps1 +- New-JcSdkActiveDirectory.ps1 +- New-JcSdkActiveDirectoryAgent.ps1 +- New-JcSdkAdministratorOrganization.ps1 +- New-JcSdkAuthenticationPolicy.ps1 +- New-JcSdkBulkUser.ps1 +- New-JcSdkBulkUserState.ps1 +- New-JcSdkCustomEmailConfiguration.ps1 +- New-JcSdkDuoAccount.ps1 +- New-JcSdkDuoApplication.ps1 +- New-JcSdkGSuiteTranslationRule.ps1 +- New-JcSdkIPList.ps1 +- New-JcSdkLdapServerSambaDomain.ps1 +- New-JcSdkOffice365TranslationRule.ps1 +- New-JcSdkPolicy.ps1 +- New-JcSdkPolicyGroup.ps1 +- New-JcSdkProviderAdministrator.ps1 +- New-JcSdkSoftwareApp.ps1 +- New-JcSdkSystemGroup.ps1 +- New-JcSdkUserGroup.ps1 +- New-JcSdkWorkday.ps1 +- Remove-JcSdkActiveDirectory.ps1 +- Remove-JcSdkActiveDirectoryAgent.ps1 +- Remove-JcSdkAdministratorOrganization.ps1 +- Remove-JcSdkAppleMdm.ps1 +- Remove-JcSdkAppleMdmDevice.ps1 +- Remove-JcSdkApplicationLogo.ps1 +- Remove-JcSdkAuthenticationPolicy.ps1 +- Remove-JcSdkBulkUserState.ps1 +- Remove-JcSdkCustomEmailConfiguration.ps1 +- Remove-JcSdkDuoAccount.ps1 +- Remove-JcSdkDuoApplication.ps1 +- Remove-JcSdkGSuiteTranslationRule.ps1 +- Remove-JcSdkIPList.ps1 +- Remove-JcSdkLdapServerSambaDomain.ps1 +- Remove-JcSdkOffice365TranslationRule.ps1 +- Remove-JcSdkPolicy.ps1 +- Remove-JcSdkPolicyGroup.ps1 +- Remove-JcSdkProviderAdministrator.ps1 +- Remove-JcSdkSoftwareApp.ps1 +- Remove-JcSdkSystemGroup.ps1 +- Remove-JcSdkUserGroup.ps1 +- Remove-JcSdkUserPushEndpoint.ps1 +- Remove-JcSdkWorkdayAuthorization.ps1 +- Restart-JcSdkAppleMdmDevice.ps1 +- Set-JcSdkActiveDirectoryAssociation.ps1 +- Set-JcSdkAppleMdm.ps1 +- Set-JcSdkApplicationAssociation.ps1 +- Set-JcSdkCommandAssociation.ps1 +- Set-JcSdkCustomEmailConfiguration.ps1 +- Set-JcSdkDuoApplication.ps1 +- Set-JcSdkGSuiteAssociation.ps1 +- Set-JcSdkIPList.ps1 +- Set-JcSdkLdapServerAssociation.ps1 +- Set-JcSdkLdapServerSambaDomain.ps1 +- Set-JcSdkOffice365Association.ps1 +- Set-JcSdkPolicy.ps1 +- Set-JcSdkPolicyAssociation.ps1 +- Set-JcSdkPolicyGroup.ps1 +- Set-JcSdkPolicyGroupAssociation.ps1 +- Set-JcSdkPolicyGroupMember.ps1 +- Set-JcSdkRadiusServerAssociation.ps1 +- Set-JcSdkSoftwareApp.ps1 +- Set-JcSdkSoftwareAppAssociation.ps1 +- Set-JcSdkSystemAssociation.ps1 +- Set-JcSdkSystemGroup.ps1 +- Set-JcSdkSystemGroupAssociation.ps1 +- Set-JcSdkSystemGroupMember.ps1 +- Set-JcSdkUserAssociation.ps1 +- Set-JcSdkUserGroup.ps1 +- Set-JcSdkUserGroupAssociation.ps1 +- Set-JcSdkUserGroupMember.ps1 +- Set-JcSdkWorkday.ps1 +- Stop-JcSdkAppleMdmDevice.ps1 +- Sync-JcSdkAppleMdmDevice.ps1 +- Update-JcSdkAppleMdmDeviceLockInformation.ps1 +- Update-JcSdkAuthenticationPolicy.ps1 +- Update-JcSdkBulkUser.ps1 +- Update-JcSdkGSuite.ps1 +- Update-JcSdkIPList.ps1 +- Update-JcSdkLdapServer.ps1 +- Update-JcSdkOffice365.ps1 +- Update-JcSdkUserPushEndpoint.ps1
@@ -544,38 +667,50 @@ No changes Functions Removed No changes + ## JumpCloud.SDK.V2-0.0.42 + Release Date: February 07, 2024 + #### RELEASE NOTES + ``` This is a rollup release for the V2 module, no functional changes were made. Usage examples were added to the Set-JcSdkSystemAssociation and Set-JcSdkUserAssociation functions. ``` + #### FEATURES: + NA + #### IMPROVEMENTS: + NA + #### BUG FIXES: + NA + #### Generated Changes:
Functions Added No changes +
Functions Modified -* New-JcSdkActiveDirectoryAgent.ps1 -* New-JcSdkPolicy.ps1 -* New-JcSdkSoftwareApp.ps1 -* Set-JcSdkPolicy.ps1 -* Set-JcSdkSoftwareApp.ps1 -* Set-JcSdkSystemAssociation.ps1 -* Set-JcSdkUserAssociation.ps1 +- New-JcSdkActiveDirectoryAgent.ps1 +- New-JcSdkPolicy.ps1 +- New-JcSdkSoftwareApp.ps1 +- Set-JcSdkPolicy.ps1 +- Set-JcSdkSoftwareApp.ps1 +- Set-JcSdkSystemAssociation.ps1 +- Set-JcSdkUserAssociation.ps1
@@ -583,108 +718,138 @@ No changes Functions Removed No changes + ## JumpCloud.SDK.V2-0.0.41 + Release Date: November 29, 2023 + #### RELEASE NOTES + ``` Unset a property of the office_365 functions which now allows admins to set the `UserLockoutAction` and `User PasswordExpirationAction` values ``` + #### FEATURES: + NA + #### IMPROVEMENTS: + NA + #### BUG FIXES: + Addressed an issue in `Update-JcSdkOffice365` where the `UserLockoutAction` and `User PasswordExpirationAction` values could not be set + #### Generated Changes:
Functions Added No changes +
Functions Modified No changes +
Functions Removed No changes +
## JumpCloud.SDK.V2-0.0.40 + Release Date: November 14, 2023 + #### RELEASE NOTES + ``` This is a rollup release for the DI module, no functional changes were made ``` + #### FEATURES: + NA + #### IMPROVEMENTS: + NA + #### BUG FIXES: + NA + #### Generated Changes:
Functions Added No changes +
Functions Modified -* Get-JcSdkAppleMdm.ps1 -* Get-JcSdkProvidersInvoice.ps1 -* New-JcSdkProviderAdministrator.ps1 -* New-JcSdkSoftwareApp.ps1 -* New-JcSdkSystemGroup.ps1 -* New-JcSdkUserGroup.ps1 -* Set-JcSdkSoftwareApp.ps1 -* Set-JcSdkSystemGroup.ps1 -* Set-JcSdkUserGroup.ps1 -* Update-JcSdkGSuite.ps1 +- Get-JcSdkAppleMdm.ps1 +- Get-JcSdkProvidersInvoice.ps1 +- New-JcSdkProviderAdministrator.ps1 +- New-JcSdkSoftwareApp.ps1 +- New-JcSdkSystemGroup.ps1 +- New-JcSdkUserGroup.ps1 +- Set-JcSdkSoftwareApp.ps1 +- Set-JcSdkSystemGroup.ps1 +- Set-JcSdkUserGroup.ps1 +- Update-JcSdkGSuite.ps1
Functions Removed -* Get-JcSdkGsuiteUsersToImportFormated.ps1 +- Get-JcSdkGsuiteUsersToImportFormated.ps1
## JumpCloud.SDK.V2-0.0.39 + Release Date: June 07, 2023 + #### RELEASE NOTES + ``` This is a rollup release for the V2 module, no functional changes were made ``` + #### Generated Changes:
Functions Added No changes +
Functions Modified -* Get-JcSdkSystemGroupTraverseCommand.ps1 -* Get-JcSdkSystemTraverseCommand.ps1 -* New-JcSdkSystemGroup.ps1 -* New-JcSdkUserGroup.ps1 -* Set-JcSdkSystemGroup.ps1 -* Set-JcSdkUserGroup.ps1 -* Update-JcSdkBulkUser.ps1 -* Update-JcSdkOffice365.ps1 +- Get-JcSdkSystemGroupTraverseCommand.ps1 +- Get-JcSdkSystemTraverseCommand.ps1 +- New-JcSdkSystemGroup.ps1 +- New-JcSdkUserGroup.ps1 +- Set-JcSdkSystemGroup.ps1 +- Set-JcSdkUserGroup.ps1 +- Update-JcSdkBulkUser.ps1 +- Update-JcSdkOffice365.ps1
@@ -692,36 +857,44 @@ No changes Functions Removed No changes + ## JumpCloud.SDK.V2-0.0.38 + Release Date: May 04, 2023 + #### RELEASE NOTES + ``` This release addresses a bugfix for both the `Get-JCSdkGSuiteUsersToImport` & `Get-JCSdkOffice365UsersToImport` functions. In addition several models have been updated with new functionatily from the public facing API. ``` + #### BUG FIXES: + `Get-JCSdkGSuiteUsersToImport` & `Get-JCSdkOffice365UsersToImport` now support automatic pagination + #### Generated Changes:
Functions Added No changes +
Functions Modified -* Get-JcSdkGSuiteUsersToImport.ps1 -* Get-JcSdkOffice365UsersToImport.ps1 -* New-JcSdkPolicy.ps1 -* New-JcSdkSystemGroup.ps1 -* New-JcSdkUserGroup.ps1 -* Set-JcSdkAppleMdm.ps1 -* Set-JcSdkPolicy.ps1 -* Set-JcSdkSystemGroup.ps1 -* Set-JcSdkUserGroup.ps1 +- Get-JcSdkGSuiteUsersToImport.ps1 +- Get-JcSdkOffice365UsersToImport.ps1 +- New-JcSdkPolicy.ps1 +- New-JcSdkSystemGroup.ps1 +- New-JcSdkUserGroup.ps1 +- Set-JcSdkAppleMdm.ps1 +- Set-JcSdkPolicy.ps1 +- Set-JcSdkSystemGroup.ps1 +- Set-JcSdkUserGroup.ps1
@@ -729,29 +902,35 @@ No changes Functions Removed No changes + ## JumpCloud.SDK.V2-0.0.37 + Release Date: March 13, 2023 + #### RELEASE NOTES + ``` This is a rollup release for the V2 module, no functional changes were made other than new parameters on several functions. ``` + #### Generated Changes:
Functions Added No changes +
Functions Modified -* New-JcSdkCustomEmailConfiguration.ps1 -* New-JcSdkSoftwareApp.ps1 -* Set-JcSdkCustomEmailConfiguration.ps1 -* Set-JcSdkSoftwareApp.ps1 +- New-JcSdkCustomEmailConfiguration.ps1 +- New-JcSdkSoftwareApp.ps1 +- Set-JcSdkCustomEmailConfiguration.ps1 +- Set-JcSdkSoftwareApp.ps1
@@ -759,15 +938,21 @@ No changes Functions Removed No changes + ## JumpCloud.SDK.V2-0.0.36 + Release Date: January 27, 2023 + #### RELEASE NOTES + ``` This release address an incompatability with the `-Filter` parameter on V2 endpoitns ``` + #### BUG FIXES: + Multiple filter can now be passed into V2 endpoint functions. To use multiple filters on the V2 module, please refer to the individual function documentation. In general filter parameters will consist of an array of strings where filter strings are composed of the field, operator and value you wish to search for. Ex. `Get-JcSdkSystemInsightApp -Filter @("system_id:eq:61a90ffe7ef39016dc09ec5c", "bundle_name:eq:googleChrome") #### Generated Changes: @@ -776,27 +961,35 @@ Multiple filter can now be passed into V2 endpoint functions. To use multiple fi Functions Added No changes +
Functions Modified No changes +
Functions Removed No changes +
## JumpCloud.SDK.V2-0.0.35 + Release Date: December 28, 2022 + #### RELEASE NOTES + ``` This release is a rollup of SDK changes and adds several new system insights tables to the SDK module. See Functions Added for a full list of system insight functions added. ``` + #### FEATURES: + Get-JcSdkAppleMdm — `ProxyUseDefaultCredentials` parameter added Get-JcSdkBulkUserState — `Filter` parameter added Get-JcSdkProviderAdministrator — `SortIgnoreCase` parameter added @@ -811,6 +1004,7 @@ Set-JcSdkUserGroup — `MemberQueryExemptions` `MembershipAutomated` parameters Update-JcSdkAuthenticationPolicy — `UserVerificationRequirement` parameter added #### BUG FIXES: + Fix for Set-JcSdkUserAssociation where removing a user/ system association would timeout #### Generated Changes: @@ -818,278 +1012,278 @@ Fix for Set-JcSdkUserAssociation where removing a user/ system association would
Functions Added -* Get-JcSdkSystemInsightAzureInstanceMetadata.ps1 -* Get-JcSdkSystemInsightAzureInstanceTag.ps1 -* Get-JcSdkSystemInsightChassisInfo.ps1 -* Get-JcSdkSystemInsightLinuxPackage.ps1 -* Get-JcSdkSystemInsightSecureboot.ps1 -* Get-JcSdkSystemInsightTpmInfo.ps1 -* Get-JcSdkSystemInsightUserAssist.ps1 -* Get-JcSdkSystemInsightWindowsSecurityCenter.ps1 +- Get-JcSdkSystemInsightAzureInstanceMetadata.ps1 +- Get-JcSdkSystemInsightAzureInstanceTag.ps1 +- Get-JcSdkSystemInsightChassisInfo.ps1 +- Get-JcSdkSystemInsightLinuxPackage.ps1 +- Get-JcSdkSystemInsightSecureboot.ps1 +- Get-JcSdkSystemInsightTpmInfo.ps1 +- Get-JcSdkSystemInsightUserAssist.ps1 +- Get-JcSdkSystemInsightWindowsSecurityCenter.ps1
Functions Modified -* Clear-JcSdkAppleMdmDevice.ps1 -* Clear-JcSdkAppleMdmDeviceActivationLock.ps1 -* Get-JcSdkActiveDirectory.ps1 -* Get-JcSdkActiveDirectoryAgent.ps1 -* Get-JcSdkActiveDirectoryAssociation.ps1 -* Get-JcSdkActiveDirectoryTraverseUser.ps1 -* Get-JcSdkActiveDirectoryTraverseUserGroup.ps1 -* Get-JcSdkAdministratorOrganization.ps1 -* Get-JcSdkAdministratorOrganizationLink.ps1 -* Get-JcSdkAppleMdm.ps1 -* Get-JcSdkAppleMdmDevice.ps1 -* Get-JcSdkAppleMdmEnrollmentProfile.ps1 -* Get-JcSdkApplicationAssociation.ps1 -* Get-JcSdkApplicationTraverseUser.ps1 -* Get-JcSdkApplicationTraverseUserGroup.ps1 -* Get-JcSdkAuthenticationPolicy.ps1 -* Get-JcSdkBulkUserState.ps1 -* Get-JcSdkBulkUsersResult.ps1 -* Get-JcSdkCommandAssociation.ps1 -* Get-JcSdkCommandTraverseSystem.ps1 -* Get-JcSdkCommandTraverseSystemGroup.ps1 -* Get-JcSdkCustomEmailConfiguration.ps1 -* Get-JcSdkCustomEmailTemplate.ps1 -* Get-JcSdkDirectory.ps1 -* Get-JcSdkDuoAccount.ps1 -* Get-JcSdkDuoApplication.ps1 -* Get-JcSdkGSuite.ps1 -* Get-JcSdkGSuiteAssociation.ps1 -* Get-JcSdkGSuiteTranslationRule.ps1 -* Get-JcSdkGSuiteTraverseUser.ps1 -* Get-JcSdkGSuiteTraverseUserGroup.ps1 -* Get-JcSdkGSuiteUsersToImport.ps1 -* Get-JcSdkGroup.ps1 -* Get-JcSdkGroupSuggestion.ps1 -* Get-JcSdkGsuiteUsersToImportFormated.ps1 -* Get-JcSdkIPList.ps1 -* Get-JcSdkLdapServer.ps1 -* Get-JcSdkLdapServerAssociation.ps1 -* Get-JcSdkLdapServerSambaDomain.ps1 -* Get-JcSdkLdapServerTraverseUser.ps1 -* Get-JcSdkLdapServerTraverseUserGroup.ps1 -* Get-JcSdkNextScheduledBulkUserState.ps1 -* Get-JcSdkOffice365.ps1 -* Get-JcSdkOffice365Association.ps1 -* Get-JcSdkOffice365TranslationRule.ps1 -* Get-JcSdkOffice365TraverseUser.ps1 -* Get-JcSdkOffice365TraverseUserGroup.ps1 -* Get-JcSdkOffice365UsersToImport.ps1 -* Get-JcSdkOrganizationPolicyResult.ps1 -* Get-JcSdkPolicy.ps1 -* Get-JcSdkPolicyAssociation.ps1 -* Get-JcSdkPolicyGroup.ps1 -* Get-JcSdkPolicyGroupAssociation.ps1 -* Get-JcSdkPolicyGroupMember.ps1 -* Get-JcSdkPolicyGroupMembership.ps1 -* Get-JcSdkPolicyGroupTraverseSystem.ps1 -* Get-JcSdkPolicyGroupTraverseSystemGroup.ps1 -* Get-JcSdkPolicyResult.ps1 -* Get-JcSdkPolicyStatus.ps1 -* Get-JcSdkPolicyTemplate.ps1 -* Get-JcSdkPolicyTraverseSystem.ps1 -* Get-JcSdkPolicyTraverseSystemGroup.ps1 -* Get-JcSdkProviderAdministrator.ps1 -* Get-JcSdkProviderOrganization.ps1 -* Get-JcSdkProvidersInvoice.ps1 -* Get-JcSdkRadiusServerAssociation.ps1 -* Get-JcSdkRadiusServerTraverseUser.ps1 -* Get-JcSdkRadiusServerTraverseUserGroup.ps1 -* Get-JcSdkSoftwareApp.ps1 -* Get-JcSdkSoftwareAppAssociation.ps1 -* Get-JcSdkSoftwareAppStatus.ps1 -* Get-JcSdkSoftwareAppTraverseSystem.ps1 -* Get-JcSdkSoftwareAppTraverseSystemGroup.ps1 -* Get-JcSdkSubscription.ps1 -* Get-JcSdkSystemAssociation.ps1 -* Get-JcSdkSystemFdeKey.ps1 -* Get-JcSdkSystemGroup.ps1 -* Get-JcSdkSystemGroupAssociation.ps1 -* Get-JcSdkSystemGroupMember.ps1 -* Get-JcSdkSystemGroupMembership.ps1 -* Get-JcSdkSystemGroupTraverseCommand.ps1 -* Get-JcSdkSystemGroupTraversePolicy.ps1 -* Get-JcSdkSystemGroupTraversePolicyGroup.ps1 -* Get-JcSdkSystemGroupTraverseUser.ps1 -* Get-JcSdkSystemGroupTraverseUserGroup.ps1 -* Get-JcSdkSystemInsightAlf.ps1 -* Get-JcSdkSystemInsightAlfException.ps1 -* Get-JcSdkSystemInsightAlfExplicitAuth.ps1 -* Get-JcSdkSystemInsightApp.ps1 -* Get-JcSdkSystemInsightAppCompatShim.ps1 -* Get-JcSdkSystemInsightAuthorizedKey.ps1 -* Get-JcSdkSystemInsightBattery.ps1 -* Get-JcSdkSystemInsightBitlockerInfo.ps1 -* Get-JcSdkSystemInsightBrowserPlugin.ps1 -* Get-JcSdkSystemInsightCertificate.ps1 -* Get-JcSdkSystemInsightChromeExtension.ps1 -* Get-JcSdkSystemInsightConnectivity.ps1 -* Get-JcSdkSystemInsightCrash.ps1 -* Get-JcSdkSystemInsightCupDestination.ps1 -* Get-JcSdkSystemInsightDiskEncryption.ps1 -* Get-JcSdkSystemInsightDiskInfo.ps1 -* Get-JcSdkSystemInsightDnsResolver.ps1 -* Get-JcSdkSystemInsightEtcHost.ps1 -* Get-JcSdkSystemInsightFirefoxAddon.ps1 -* Get-JcSdkSystemInsightGroup.ps1 -* Get-JcSdkSystemInsightIeExtension.ps1 -* Get-JcSdkSystemInsightInterfaceAddress.ps1 -* Get-JcSdkSystemInsightInterfaceDetail.ps1 -* Get-JcSdkSystemInsightKernelInfo.ps1 -* Get-JcSdkSystemInsightLaunchd.ps1 -* Get-JcSdkSystemInsightLoggedinUser.ps1 -* Get-JcSdkSystemInsightLogicalDrive.ps1 -* Get-JcSdkSystemInsightManagedPolicy.ps1 -* Get-JcSdkSystemInsightMount.ps1 -* Get-JcSdkSystemInsightOSVersion.ps1 -* Get-JcSdkSystemInsightPatch.ps1 -* Get-JcSdkSystemInsightProgram.ps1 -* Get-JcSdkSystemInsightPythonPackage.ps1 -* Get-JcSdkSystemInsightSafariExtension.ps1 -* Get-JcSdkSystemInsightScheduledTask.ps1 -* Get-JcSdkSystemInsightService.ps1 -* Get-JcSdkSystemInsightShadow.ps1 -* Get-JcSdkSystemInsightSharedFolder.ps1 -* Get-JcSdkSystemInsightSharedResource.ps1 -* Get-JcSdkSystemInsightSharingPreference.ps1 -* Get-JcSdkSystemInsightSipConfig.ps1 -* Get-JcSdkSystemInsightStartupItem.ps1 -* Get-JcSdkSystemInsightSystemControl.ps1 -* Get-JcSdkSystemInsightSystemInfo.ps1 -* Get-JcSdkSystemInsightUptime.ps1 -* Get-JcSdkSystemInsightUsbDevice.ps1 -* Get-JcSdkSystemInsightUser.ps1 -* Get-JcSdkSystemInsightUserGroup.ps1 -* Get-JcSdkSystemInsightUserSshKey.ps1 -* Get-JcSdkSystemInsightWifiNetwork.ps1 -* Get-JcSdkSystemInsightWifiStatus.ps1 -* Get-JcSdkSystemMember.ps1 -* Get-JcSdkSystemPolicyStatus.ps1 -* Get-JcSdkSystemTraverseCommand.ps1 -* Get-JcSdkSystemTraversePolicy.ps1 -* Get-JcSdkSystemTraversePolicyGroup.ps1 -* Get-JcSdkSystemTraverseUser.ps1 -* Get-JcSdkSystemTraverseUserGroup.ps1 -* Get-JcSdkUserAssociation.ps1 -* Get-JcSdkUserGroup.ps1 -* Get-JcSdkUserGroupAssociation.ps1 -* Get-JcSdkUserGroupMember.ps1 -* Get-JcSdkUserGroupMembership.ps1 -* Get-JcSdkUserGroupTraverseActiveDirectory.ps1 -* Get-JcSdkUserGroupTraverseApplication.ps1 -* Get-JcSdkUserGroupTraverseDirectory.ps1 -* Get-JcSdkUserGroupTraverseGSuite.ps1 -* Get-JcSdkUserGroupTraverseLdapServer.ps1 -* Get-JcSdkUserGroupTraverseOffice365.ps1 -* Get-JcSdkUserGroupTraverseRadiusServer.ps1 -* Get-JcSdkUserGroupTraverseSystem.ps1 -* Get-JcSdkUserGroupTraverseSystemGroup.ps1 -* Get-JcSdkUserMember.ps1 -* Get-JcSdkUserPushEndpoint.ps1 -* Get-JcSdkUserTraverseActiveDirectory.ps1 -* Get-JcSdkUserTraverseApplication.ps1 -* Get-JcSdkUserTraverseDirectory.ps1 -* Get-JcSdkUserTraverseGSuite.ps1 -* Get-JcSdkUserTraverseLdapServer.ps1 -* Get-JcSdkUserTraverseOffice365.ps1 -* Get-JcSdkUserTraverseRadiusServer.ps1 -* Get-JcSdkUserTraverseSystem.ps1 -* Get-JcSdkUserTraverseSystemGroup.ps1 -* Get-JcSdkWorkday.ps1 -* Get-JcSdkWorkdayWorker.ps1 -* Grant-JcSdkWorkday.ps1 -* Import-JcSdkScim.ps1 -* Import-JcSdkWorkday.ps1 -* Import-JcSdkWorkdayResult.ps1 -* Invoke-JcSdkReclaimSoftwareAppLicense.ps1 -* Lock-JcSdkAppleMdmDevice.ps1 -* New-JcSdkActiveDirectory.ps1 -* New-JcSdkActiveDirectoryAgent.ps1 -* New-JcSdkAdministratorOrganization.ps1 -* New-JcSdkAuthenticationPolicy.ps1 -* New-JcSdkBulkUser.ps1 -* New-JcSdkBulkUserState.ps1 -* New-JcSdkCustomEmailConfiguration.ps1 -* New-JcSdkDuoAccount.ps1 -* New-JcSdkDuoApplication.ps1 -* New-JcSdkGSuiteTranslationRule.ps1 -* New-JcSdkIPList.ps1 -* New-JcSdkLdapServerSambaDomain.ps1 -* New-JcSdkOffice365TranslationRule.ps1 -* New-JcSdkPolicy.ps1 -* New-JcSdkPolicyGroup.ps1 -* New-JcSdkProviderAdministrator.ps1 -* New-JcSdkSoftwareApp.ps1 -* New-JcSdkSystemGroup.ps1 -* New-JcSdkUserGroup.ps1 -* New-JcSdkWorkday.ps1 -* Remove-JcSdkActiveDirectory.ps1 -* Remove-JcSdkActiveDirectoryAgent.ps1 -* Remove-JcSdkAdministratorOrganization.ps1 -* Remove-JcSdkAppleMdm.ps1 -* Remove-JcSdkAppleMdmDevice.ps1 -* Remove-JcSdkApplicationLogo.ps1 -* Remove-JcSdkAuthenticationPolicy.ps1 -* Remove-JcSdkBulkUserState.ps1 -* Remove-JcSdkCustomEmailConfiguration.ps1 -* Remove-JcSdkDuoAccount.ps1 -* Remove-JcSdkDuoApplication.ps1 -* Remove-JcSdkGSuiteTranslationRule.ps1 -* Remove-JcSdkIPList.ps1 -* Remove-JcSdkLdapServerSambaDomain.ps1 -* Remove-JcSdkOffice365TranslationRule.ps1 -* Remove-JcSdkPolicy.ps1 -* Remove-JcSdkPolicyGroup.ps1 -* Remove-JcSdkProviderAdministrator.ps1 -* Remove-JcSdkSoftwareApp.ps1 -* Remove-JcSdkSystemGroup.ps1 -* Remove-JcSdkUserGroup.ps1 -* Remove-JcSdkUserPushEndpoint.ps1 -* Remove-JcSdkWorkdayAuthorization.ps1 -* Restart-JcSdkAppleMdmDevice.ps1 -* Set-JcSdkActiveDirectoryAssociation.ps1 -* Set-JcSdkAppleMdm.ps1 -* Set-JcSdkApplicationAssociation.ps1 -* Set-JcSdkCommandAssociation.ps1 -* Set-JcSdkCustomEmailConfiguration.ps1 -* Set-JcSdkDuoApplication.ps1 -* Set-JcSdkGSuiteAssociation.ps1 -* Set-JcSdkIPList.ps1 -* Set-JcSdkLdapServerAssociation.ps1 -* Set-JcSdkLdapServerSambaDomain.ps1 -* Set-JcSdkOffice365Association.ps1 -* Set-JcSdkPolicy.ps1 -* Set-JcSdkPolicyAssociation.ps1 -* Set-JcSdkPolicyGroup.ps1 -* Set-JcSdkPolicyGroupAssociation.ps1 -* Set-JcSdkPolicyGroupMember.ps1 -* Set-JcSdkRadiusServerAssociation.ps1 -* Set-JcSdkSoftwareApp.ps1 -* Set-JcSdkSoftwareAppAssociation.ps1 -* Set-JcSdkSystemAssociation.ps1 -* Set-JcSdkSystemGroup.ps1 -* Set-JcSdkSystemGroupAssociation.ps1 -* Set-JcSdkSystemGroupMember.ps1 -* Set-JcSdkUserAssociation.ps1 -* Set-JcSdkUserGroup.ps1 -* Set-JcSdkUserGroupAssociation.ps1 -* Set-JcSdkUserGroupMember.ps1 -* Set-JcSdkWorkday.ps1 -* Stop-JcSdkAppleMdmDevice.ps1 -* Sync-JcSdkAppleMdmDevice.ps1 -* Update-JcSdkAppleMdmDeviceLockInformation.ps1 -* Update-JcSdkAuthenticationPolicy.ps1 -* Update-JcSdkBulkUser.ps1 -* Update-JcSdkGSuite.ps1 -* Update-JcSdkIPList.ps1 -* Update-JcSdkLdapServer.ps1 -* Update-JcSdkOffice365.ps1 -* Update-JcSdkUserPushEndpoint.ps1 +- Clear-JcSdkAppleMdmDevice.ps1 +- Clear-JcSdkAppleMdmDeviceActivationLock.ps1 +- Get-JcSdkActiveDirectory.ps1 +- Get-JcSdkActiveDirectoryAgent.ps1 +- Get-JcSdkActiveDirectoryAssociation.ps1 +- Get-JcSdkActiveDirectoryTraverseUser.ps1 +- Get-JcSdkActiveDirectoryTraverseUserGroup.ps1 +- Get-JcSdkAdministratorOrganization.ps1 +- Get-JcSdkAdministratorOrganizationLink.ps1 +- Get-JcSdkAppleMdm.ps1 +- Get-JcSdkAppleMdmDevice.ps1 +- Get-JcSdkAppleMdmEnrollmentProfile.ps1 +- Get-JcSdkApplicationAssociation.ps1 +- Get-JcSdkApplicationTraverseUser.ps1 +- Get-JcSdkApplicationTraverseUserGroup.ps1 +- Get-JcSdkAuthenticationPolicy.ps1 +- Get-JcSdkBulkUserState.ps1 +- Get-JcSdkBulkUsersResult.ps1 +- Get-JcSdkCommandAssociation.ps1 +- Get-JcSdkCommandTraverseSystem.ps1 +- Get-JcSdkCommandTraverseSystemGroup.ps1 +- Get-JcSdkCustomEmailConfiguration.ps1 +- Get-JcSdkCustomEmailTemplate.ps1 +- Get-JcSdkDirectory.ps1 +- Get-JcSdkDuoAccount.ps1 +- Get-JcSdkDuoApplication.ps1 +- Get-JcSdkGSuite.ps1 +- Get-JcSdkGSuiteAssociation.ps1 +- Get-JcSdkGSuiteTranslationRule.ps1 +- Get-JcSdkGSuiteTraverseUser.ps1 +- Get-JcSdkGSuiteTraverseUserGroup.ps1 +- Get-JcSdkGSuiteUsersToImport.ps1 +- Get-JcSdkGroup.ps1 +- Get-JcSdkGroupSuggestion.ps1 +- Get-JcSdkGsuiteUsersToImportFormated.ps1 +- Get-JcSdkIPList.ps1 +- Get-JcSdkLdapServer.ps1 +- Get-JcSdkLdapServerAssociation.ps1 +- Get-JcSdkLdapServerSambaDomain.ps1 +- Get-JcSdkLdapServerTraverseUser.ps1 +- Get-JcSdkLdapServerTraverseUserGroup.ps1 +- Get-JcSdkNextScheduledBulkUserState.ps1 +- Get-JcSdkOffice365.ps1 +- Get-JcSdkOffice365Association.ps1 +- Get-JcSdkOffice365TranslationRule.ps1 +- Get-JcSdkOffice365TraverseUser.ps1 +- Get-JcSdkOffice365TraverseUserGroup.ps1 +- Get-JcSdkOffice365UsersToImport.ps1 +- Get-JcSdkOrganizationPolicyResult.ps1 +- Get-JcSdkPolicy.ps1 +- Get-JcSdkPolicyAssociation.ps1 +- Get-JcSdkPolicyGroup.ps1 +- Get-JcSdkPolicyGroupAssociation.ps1 +- Get-JcSdkPolicyGroupMember.ps1 +- Get-JcSdkPolicyGroupMembership.ps1 +- Get-JcSdkPolicyGroupTraverseSystem.ps1 +- Get-JcSdkPolicyGroupTraverseSystemGroup.ps1 +- Get-JcSdkPolicyResult.ps1 +- Get-JcSdkPolicyStatus.ps1 +- Get-JcSdkPolicyTemplate.ps1 +- Get-JcSdkPolicyTraverseSystem.ps1 +- Get-JcSdkPolicyTraverseSystemGroup.ps1 +- Get-JcSdkProviderAdministrator.ps1 +- Get-JcSdkProviderOrganization.ps1 +- Get-JcSdkProvidersInvoice.ps1 +- Get-JcSdkRadiusServerAssociation.ps1 +- Get-JcSdkRadiusServerTraverseUser.ps1 +- Get-JcSdkRadiusServerTraverseUserGroup.ps1 +- Get-JcSdkSoftwareApp.ps1 +- Get-JcSdkSoftwareAppAssociation.ps1 +- Get-JcSdkSoftwareAppStatus.ps1 +- Get-JcSdkSoftwareAppTraverseSystem.ps1 +- Get-JcSdkSoftwareAppTraverseSystemGroup.ps1 +- Get-JcSdkSubscription.ps1 +- Get-JcSdkSystemAssociation.ps1 +- Get-JcSdkSystemFdeKey.ps1 +- Get-JcSdkSystemGroup.ps1 +- Get-JcSdkSystemGroupAssociation.ps1 +- Get-JcSdkSystemGroupMember.ps1 +- Get-JcSdkSystemGroupMembership.ps1 +- Get-JcSdkSystemGroupTraverseCommand.ps1 +- Get-JcSdkSystemGroupTraversePolicy.ps1 +- Get-JcSdkSystemGroupTraversePolicyGroup.ps1 +- Get-JcSdkSystemGroupTraverseUser.ps1 +- Get-JcSdkSystemGroupTraverseUserGroup.ps1 +- Get-JcSdkSystemInsightAlf.ps1 +- Get-JcSdkSystemInsightAlfException.ps1 +- Get-JcSdkSystemInsightAlfExplicitAuth.ps1 +- Get-JcSdkSystemInsightApp.ps1 +- Get-JcSdkSystemInsightAppCompatShim.ps1 +- Get-JcSdkSystemInsightAuthorizedKey.ps1 +- Get-JcSdkSystemInsightBattery.ps1 +- Get-JcSdkSystemInsightBitlockerInfo.ps1 +- Get-JcSdkSystemInsightBrowserPlugin.ps1 +- Get-JcSdkSystemInsightCertificate.ps1 +- Get-JcSdkSystemInsightChromeExtension.ps1 +- Get-JcSdkSystemInsightConnectivity.ps1 +- Get-JcSdkSystemInsightCrash.ps1 +- Get-JcSdkSystemInsightCupDestination.ps1 +- Get-JcSdkSystemInsightDiskEncryption.ps1 +- Get-JcSdkSystemInsightDiskInfo.ps1 +- Get-JcSdkSystemInsightDnsResolver.ps1 +- Get-JcSdkSystemInsightEtcHost.ps1 +- Get-JcSdkSystemInsightFirefoxAddon.ps1 +- Get-JcSdkSystemInsightGroup.ps1 +- Get-JcSdkSystemInsightIeExtension.ps1 +- Get-JcSdkSystemInsightInterfaceAddress.ps1 +- Get-JcSdkSystemInsightInterfaceDetail.ps1 +- Get-JcSdkSystemInsightKernelInfo.ps1 +- Get-JcSdkSystemInsightLaunchd.ps1 +- Get-JcSdkSystemInsightLoggedinUser.ps1 +- Get-JcSdkSystemInsightLogicalDrive.ps1 +- Get-JcSdkSystemInsightManagedPolicy.ps1 +- Get-JcSdkSystemInsightMount.ps1 +- Get-JcSdkSystemInsightOSVersion.ps1 +- Get-JcSdkSystemInsightPatch.ps1 +- Get-JcSdkSystemInsightProgram.ps1 +- Get-JcSdkSystemInsightPythonPackage.ps1 +- Get-JcSdkSystemInsightSafariExtension.ps1 +- Get-JcSdkSystemInsightScheduledTask.ps1 +- Get-JcSdkSystemInsightService.ps1 +- Get-JcSdkSystemInsightShadow.ps1 +- Get-JcSdkSystemInsightSharedFolder.ps1 +- Get-JcSdkSystemInsightSharedResource.ps1 +- Get-JcSdkSystemInsightSharingPreference.ps1 +- Get-JcSdkSystemInsightSipConfig.ps1 +- Get-JcSdkSystemInsightStartupItem.ps1 +- Get-JcSdkSystemInsightSystemControl.ps1 +- Get-JcSdkSystemInsightSystemInfo.ps1 +- Get-JcSdkSystemInsightUptime.ps1 +- Get-JcSdkSystemInsightUsbDevice.ps1 +- Get-JcSdkSystemInsightUser.ps1 +- Get-JcSdkSystemInsightUserGroup.ps1 +- Get-JcSdkSystemInsightUserSshKey.ps1 +- Get-JcSdkSystemInsightWifiNetwork.ps1 +- Get-JcSdkSystemInsightWifiStatus.ps1 +- Get-JcSdkSystemMember.ps1 +- Get-JcSdkSystemPolicyStatus.ps1 +- Get-JcSdkSystemTraverseCommand.ps1 +- Get-JcSdkSystemTraversePolicy.ps1 +- Get-JcSdkSystemTraversePolicyGroup.ps1 +- Get-JcSdkSystemTraverseUser.ps1 +- Get-JcSdkSystemTraverseUserGroup.ps1 +- Get-JcSdkUserAssociation.ps1 +- Get-JcSdkUserGroup.ps1 +- Get-JcSdkUserGroupAssociation.ps1 +- Get-JcSdkUserGroupMember.ps1 +- Get-JcSdkUserGroupMembership.ps1 +- Get-JcSdkUserGroupTraverseActiveDirectory.ps1 +- Get-JcSdkUserGroupTraverseApplication.ps1 +- Get-JcSdkUserGroupTraverseDirectory.ps1 +- Get-JcSdkUserGroupTraverseGSuite.ps1 +- Get-JcSdkUserGroupTraverseLdapServer.ps1 +- Get-JcSdkUserGroupTraverseOffice365.ps1 +- Get-JcSdkUserGroupTraverseRadiusServer.ps1 +- Get-JcSdkUserGroupTraverseSystem.ps1 +- Get-JcSdkUserGroupTraverseSystemGroup.ps1 +- Get-JcSdkUserMember.ps1 +- Get-JcSdkUserPushEndpoint.ps1 +- Get-JcSdkUserTraverseActiveDirectory.ps1 +- Get-JcSdkUserTraverseApplication.ps1 +- Get-JcSdkUserTraverseDirectory.ps1 +- Get-JcSdkUserTraverseGSuite.ps1 +- Get-JcSdkUserTraverseLdapServer.ps1 +- Get-JcSdkUserTraverseOffice365.ps1 +- Get-JcSdkUserTraverseRadiusServer.ps1 +- Get-JcSdkUserTraverseSystem.ps1 +- Get-JcSdkUserTraverseSystemGroup.ps1 +- Get-JcSdkWorkday.ps1 +- Get-JcSdkWorkdayWorker.ps1 +- Grant-JcSdkWorkday.ps1 +- Import-JcSdkScim.ps1 +- Import-JcSdkWorkday.ps1 +- Import-JcSdkWorkdayResult.ps1 +- Invoke-JcSdkReclaimSoftwareAppLicense.ps1 +- Lock-JcSdkAppleMdmDevice.ps1 +- New-JcSdkActiveDirectory.ps1 +- New-JcSdkActiveDirectoryAgent.ps1 +- New-JcSdkAdministratorOrganization.ps1 +- New-JcSdkAuthenticationPolicy.ps1 +- New-JcSdkBulkUser.ps1 +- New-JcSdkBulkUserState.ps1 +- New-JcSdkCustomEmailConfiguration.ps1 +- New-JcSdkDuoAccount.ps1 +- New-JcSdkDuoApplication.ps1 +- New-JcSdkGSuiteTranslationRule.ps1 +- New-JcSdkIPList.ps1 +- New-JcSdkLdapServerSambaDomain.ps1 +- New-JcSdkOffice365TranslationRule.ps1 +- New-JcSdkPolicy.ps1 +- New-JcSdkPolicyGroup.ps1 +- New-JcSdkProviderAdministrator.ps1 +- New-JcSdkSoftwareApp.ps1 +- New-JcSdkSystemGroup.ps1 +- New-JcSdkUserGroup.ps1 +- New-JcSdkWorkday.ps1 +- Remove-JcSdkActiveDirectory.ps1 +- Remove-JcSdkActiveDirectoryAgent.ps1 +- Remove-JcSdkAdministratorOrganization.ps1 +- Remove-JcSdkAppleMdm.ps1 +- Remove-JcSdkAppleMdmDevice.ps1 +- Remove-JcSdkApplicationLogo.ps1 +- Remove-JcSdkAuthenticationPolicy.ps1 +- Remove-JcSdkBulkUserState.ps1 +- Remove-JcSdkCustomEmailConfiguration.ps1 +- Remove-JcSdkDuoAccount.ps1 +- Remove-JcSdkDuoApplication.ps1 +- Remove-JcSdkGSuiteTranslationRule.ps1 +- Remove-JcSdkIPList.ps1 +- Remove-JcSdkLdapServerSambaDomain.ps1 +- Remove-JcSdkOffice365TranslationRule.ps1 +- Remove-JcSdkPolicy.ps1 +- Remove-JcSdkPolicyGroup.ps1 +- Remove-JcSdkProviderAdministrator.ps1 +- Remove-JcSdkSoftwareApp.ps1 +- Remove-JcSdkSystemGroup.ps1 +- Remove-JcSdkUserGroup.ps1 +- Remove-JcSdkUserPushEndpoint.ps1 +- Remove-JcSdkWorkdayAuthorization.ps1 +- Restart-JcSdkAppleMdmDevice.ps1 +- Set-JcSdkActiveDirectoryAssociation.ps1 +- Set-JcSdkAppleMdm.ps1 +- Set-JcSdkApplicationAssociation.ps1 +- Set-JcSdkCommandAssociation.ps1 +- Set-JcSdkCustomEmailConfiguration.ps1 +- Set-JcSdkDuoApplication.ps1 +- Set-JcSdkGSuiteAssociation.ps1 +- Set-JcSdkIPList.ps1 +- Set-JcSdkLdapServerAssociation.ps1 +- Set-JcSdkLdapServerSambaDomain.ps1 +- Set-JcSdkOffice365Association.ps1 +- Set-JcSdkPolicy.ps1 +- Set-JcSdkPolicyAssociation.ps1 +- Set-JcSdkPolicyGroup.ps1 +- Set-JcSdkPolicyGroupAssociation.ps1 +- Set-JcSdkPolicyGroupMember.ps1 +- Set-JcSdkRadiusServerAssociation.ps1 +- Set-JcSdkSoftwareApp.ps1 +- Set-JcSdkSoftwareAppAssociation.ps1 +- Set-JcSdkSystemAssociation.ps1 +- Set-JcSdkSystemGroup.ps1 +- Set-JcSdkSystemGroupAssociation.ps1 +- Set-JcSdkSystemGroupMember.ps1 +- Set-JcSdkUserAssociation.ps1 +- Set-JcSdkUserGroup.ps1 +- Set-JcSdkUserGroupAssociation.ps1 +- Set-JcSdkUserGroupMember.ps1 +- Set-JcSdkWorkday.ps1 +- Stop-JcSdkAppleMdmDevice.ps1 +- Sync-JcSdkAppleMdmDevice.ps1 +- Update-JcSdkAppleMdmDeviceLockInformation.ps1 +- Update-JcSdkAuthenticationPolicy.ps1 +- Update-JcSdkBulkUser.ps1 +- Update-JcSdkGSuite.ps1 +- Update-JcSdkIPList.ps1 +- Update-JcSdkLdapServer.ps1 +- Update-JcSdkOffice365.ps1 +- Update-JcSdkUserPushEndpoint.ps1
@@ -1097,70 +1291,81 @@ Fix for Set-JcSdkUserAssociation where removing a user/ system association would Functions Removed No changes + ## JumpCloud.SDK.V2-0.0.34 + Release Date: June 21, 2022 + #### RELEASE NOTES + ``` This release removes the V2 function Get-JCSdkApplication, a duplicate version of this function exists already in the V1 Module. ``` + #### Generated Changes:
Functions Added No changes +
Functions Modified -* New-JcSdkUserGroup.ps1 -* Remove-JcSdkActiveDirectory.ps1 -* Set-JcSdkPolicy.ps1 -* Set-JcSdkPolicyGroup.ps1 -* Set-JcSdkUserGroup.ps1 +- New-JcSdkUserGroup.ps1 +- Remove-JcSdkActiveDirectory.ps1 +- Set-JcSdkPolicy.ps1 +- Set-JcSdkPolicyGroup.ps1 +- Set-JcSdkUserGroup.ps1
Functions Removed -* Get-JcSdkApplication.ps1 +- Get-JcSdkApplication.ps1
## JumpCloud.SDK.V2-0.0.33 + Release Date: May 31, 2022 + #### RELEASE NOTES + ``` This release includes several new functions for the V2 SDK, see "Generated Changes" for a complete list of functions added/modified. ``` + #### BUG FIXES: In previous versions of the SDK, the `Get-JcSdkGsuiteUsersToImport` function would not return the `nextPageToken` which was required to paginate to the next page of Google Workspace users, this release addressed the issue and the function should now return the page token. + #### Generated Changes:
Functions Added -* Get-JcSdkApplication.ps1 -* Get-JcSdkGsuiteUsersToImportFormated.ps1 -* Import-JcSdkScim.ps1 +- Get-JcSdkApplication.ps1 +- Get-JcSdkGsuiteUsersToImportFormated.ps1 +- Import-JcSdkScim.ps1
Functions Modified -* Get-JcSdkGSuiteUsersToImport.ps1 -* Get-JcSdkSoftwareApp.ps1 -* New-JcSdkBulkUser.ps1 -* New-JcSdkBulkUserState.ps1 -* New-JcSdkOffice365TranslationRule.ps1 -* New-JcSdkSoftwareApp.ps1 -* Set-JcSdkSoftwareApp.ps1 +- Get-JcSdkGSuiteUsersToImport.ps1 +- Get-JcSdkSoftwareApp.ps1 +- New-JcSdkBulkUser.ps1 +- New-JcSdkBulkUserState.ps1 +- New-JcSdkOffice365TranslationRule.ps1 +- New-JcSdkSoftwareApp.ps1 +- Set-JcSdkSoftwareApp.ps1
@@ -1168,210 +1373,217 @@ In previous versions of the SDK, the `Get-JcSdkGsuiteUsersToImport` function wou Functions Removed No changes + ## JumpCloud.SDK.V2-0.0.32 + Release Date: May 02, 2022 + #### RELEASE NOTES + ``` This release includes several new functions to interact with MTP functions. Documentation and parameter updates. ``` + #### BUG FIXES: + SDK generated functions that can not accept the x-org-id header strip that header before calling that endpoint. Previously an error was thrown on each of these functions. + #### Generated Changes:
Functions Added -* Get-JcSdkAdministratorOrganization.ps1 -* Get-JcSdkAdministratorOrganizationLink.ps1 -* Get-JcSdkProviderAdministrator.ps1 -* Get-JcSdkProviderOrganization.ps1 -* Get-JcSdkProvidersInvoice.ps1 -* New-JcSdkAdministratorOrganization.ps1 -* New-JcSdkProviderAdministrator.ps1 -* Remove-JcSdkAdministratorOrganization.ps1 -* Remove-JcSdkProviderAdministrator.ps1 +- Get-JcSdkAdministratorOrganization.ps1 +- Get-JcSdkAdministratorOrganizationLink.ps1 +- Get-JcSdkProviderAdministrator.ps1 +- Get-JcSdkProviderOrganization.ps1 +- Get-JcSdkProvidersInvoice.ps1 +- New-JcSdkAdministratorOrganization.ps1 +- New-JcSdkProviderAdministrator.ps1 +- Remove-JcSdkAdministratorOrganization.ps1 +- Remove-JcSdkProviderAdministrator.ps1
Functions Modified -* Clear-JcSdkAppleMdmDevice.ps1 -* Clear-JcSdkAppleMdmDeviceActivationLock.ps1 -* Get-JcSdkActiveDirectory.ps1 -* Get-JcSdkActiveDirectoryAgent.ps1 -* Get-JcSdkActiveDirectoryAssociation.ps1 -* Get-JcSdkActiveDirectoryTraverseUser.ps1 -* Get-JcSdkActiveDirectoryTraverseUserGroup.ps1 -* Get-JcSdkAppleMdmDevice.ps1 -* Get-JcSdkApplicationAssociation.ps1 -* Get-JcSdkApplicationTraverseUser.ps1 -* Get-JcSdkApplicationTraverseUserGroup.ps1 -* Get-JcSdkAuthenticationPolicy.ps1 -* Get-JcSdkBulkUserState.ps1 -* Get-JcSdkBulkUsersResult.ps1 -* Get-JcSdkCommandAssociation.ps1 -* Get-JcSdkCommandTraverseSystem.ps1 -* Get-JcSdkCommandTraverseSystemGroup.ps1 -* Get-JcSdkCustomEmailConfiguration.ps1 -* Get-JcSdkDuoAccount.ps1 -* Get-JcSdkDuoApplication.ps1 -* Get-JcSdkGSuite.ps1 -* Get-JcSdkGSuiteAssociation.ps1 -* Get-JcSdkGSuiteTranslationRule.ps1 -* Get-JcSdkGSuiteTraverseUser.ps1 -* Get-JcSdkGSuiteTraverseUserGroup.ps1 -* Get-JcSdkGroupSuggestion.ps1 -* Get-JcSdkIPList.ps1 -* Get-JcSdkLdapServer.ps1 -* Get-JcSdkLdapServerAssociation.ps1 -* Get-JcSdkLdapServerSambaDomain.ps1 -* Get-JcSdkLdapServerTraverseUser.ps1 -* Get-JcSdkLdapServerTraverseUserGroup.ps1 -* Get-JcSdkOffice365.ps1 -* Get-JcSdkOffice365Association.ps1 -* Get-JcSdkOffice365TranslationRule.ps1 -* Get-JcSdkOffice365TraverseUser.ps1 -* Get-JcSdkOffice365TraverseUserGroup.ps1 -* Get-JcSdkPolicy.ps1 -* Get-JcSdkPolicyAssociation.ps1 -* Get-JcSdkPolicyGroup.ps1 -* Get-JcSdkPolicyGroupMember.ps1 -* Get-JcSdkPolicyGroupMembership.ps1 -* Get-JcSdkPolicyGroupTraverseSystem.ps1 -* Get-JcSdkPolicyGroupTraverseSystemGroup.ps1 -* Get-JcSdkPolicyResult.ps1 -* Get-JcSdkPolicyTemplate.ps1 -* Get-JcSdkPolicyTraverseSystem.ps1 -* Get-JcSdkPolicyTraverseSystemGroup.ps1 -* Get-JcSdkRadiusServerAssociation.ps1 -* Get-JcSdkRadiusServerTraverseUser.ps1 -* Get-JcSdkRadiusServerTraverseUserGroup.ps1 -* Get-JcSdkSoftwareApp.ps1 -* Get-JcSdkSoftwareAppAssociation.ps1 -* Get-JcSdkSoftwareAppStatus.ps1 -* Get-JcSdkSoftwareAppTraverseSystem.ps1 -* Get-JcSdkSoftwareAppTraverseSystemGroup.ps1 -* Get-JcSdkSystemAssociation.ps1 -* Get-JcSdkSystemFdeKey.ps1 -* Get-JcSdkSystemGroup.ps1 -* Get-JcSdkSystemGroupAssociation.ps1 -* Get-JcSdkSystemGroupMember.ps1 -* Get-JcSdkSystemGroupMembership.ps1 -* Get-JcSdkSystemGroupTraverseCommand.ps1 -* Get-JcSdkSystemGroupTraversePolicy.ps1 -* Get-JcSdkSystemGroupTraversePolicyGroup.ps1 -* Get-JcSdkSystemGroupTraverseUser.ps1 -* Get-JcSdkSystemGroupTraverseUserGroup.ps1 -* Get-JcSdkSystemInsightApp.ps1 -* Get-JcSdkSystemInsightProgram.ps1 -* Get-JcSdkSystemMember.ps1 -* Get-JcSdkSystemTraverseCommand.ps1 -* Get-JcSdkSystemTraversePolicy.ps1 -* Get-JcSdkSystemTraversePolicyGroup.ps1 -* Get-JcSdkSystemTraverseUser.ps1 -* Get-JcSdkSystemTraverseUserGroup.ps1 -* Get-JcSdkUserAssociation.ps1 -* Get-JcSdkUserGroup.ps1 -* Get-JcSdkUserGroupAssociation.ps1 -* Get-JcSdkUserGroupMember.ps1 -* Get-JcSdkUserGroupMembership.ps1 -* Get-JcSdkUserGroupTraverseActiveDirectory.ps1 -* Get-JcSdkUserGroupTraverseApplication.ps1 -* Get-JcSdkUserGroupTraverseDirectory.ps1 -* Get-JcSdkUserGroupTraverseGSuite.ps1 -* Get-JcSdkUserGroupTraverseLdapServer.ps1 -* Get-JcSdkUserGroupTraverseOffice365.ps1 -* Get-JcSdkUserGroupTraverseRadiusServer.ps1 -* Get-JcSdkUserGroupTraverseSystem.ps1 -* Get-JcSdkUserGroupTraverseSystemGroup.ps1 -* Get-JcSdkUserMember.ps1 -* Get-JcSdkUserPushEndpoint.ps1 -* Get-JcSdkUserTraverseActiveDirectory.ps1 -* Get-JcSdkUserTraverseApplication.ps1 -* Get-JcSdkUserTraverseDirectory.ps1 -* Get-JcSdkUserTraverseGSuite.ps1 -* Get-JcSdkUserTraverseLdapServer.ps1 -* Get-JcSdkUserTraverseOffice365.ps1 -* Get-JcSdkUserTraverseRadiusServer.ps1 -* Get-JcSdkUserTraverseSystem.ps1 -* Get-JcSdkUserTraverseSystemGroup.ps1 -* Get-JcSdkWorkday.ps1 -* Get-JcSdkWorkdayWorker.ps1 -* Grant-JcSdkWorkday.ps1 -* Import-JcSdkWorkday.ps1 -* Import-JcSdkWorkdayResult.ps1 -* Invoke-JcSdkReclaimSoftwareAppLicense.ps1 -* Lock-JcSdkAppleMdmDevice.ps1 -* New-JcSdkActiveDirectoryAgent.ps1 -* New-JcSdkBulkUser.ps1 -* New-JcSdkDuoApplication.ps1 -* New-JcSdkGSuiteTranslationRule.ps1 -* New-JcSdkLdapServerSambaDomain.ps1 -* New-JcSdkOffice365TranslationRule.ps1 -* New-JcSdkSoftwareApp.ps1 -* Remove-JcSdkActiveDirectory.ps1 -* Remove-JcSdkActiveDirectoryAgent.ps1 -* Remove-JcSdkAppleMdm.ps1 -* Remove-JcSdkAppleMdmDevice.ps1 -* Remove-JcSdkApplicationLogo.ps1 -* Remove-JcSdkAuthenticationPolicy.ps1 -* Remove-JcSdkBulkUserState.ps1 -* Remove-JcSdkCustomEmailConfiguration.ps1 -* Remove-JcSdkDuoAccount.ps1 -* Remove-JcSdkDuoApplication.ps1 -* Remove-JcSdkGSuiteTranslationRule.ps1 -* Remove-JcSdkIPList.ps1 -* Remove-JcSdkLdapServerSambaDomain.ps1 -* Remove-JcSdkOffice365TranslationRule.ps1 -* Remove-JcSdkPolicy.ps1 -* Remove-JcSdkPolicyGroup.ps1 -* Remove-JcSdkSoftwareApp.ps1 -* Remove-JcSdkSystemGroup.ps1 -* Remove-JcSdkUserGroup.ps1 -* Remove-JcSdkUserPushEndpoint.ps1 -* Remove-JcSdkWorkdayAuthorization.ps1 -* Restart-JcSdkAppleMdmDevice.ps1 -* Set-JcSdkActiveDirectoryAssociation.ps1 -* Set-JcSdkAppleMdm.ps1 -* Set-JcSdkApplicationAssociation.ps1 -* Set-JcSdkCommandAssociation.ps1 -* Set-JcSdkCustomEmailConfiguration.ps1 -* Set-JcSdkDuoApplication.ps1 -* Set-JcSdkGSuiteAssociation.ps1 -* Set-JcSdkIPList.ps1 -* Set-JcSdkLdapServerAssociation.ps1 -* Set-JcSdkLdapServerSambaDomain.ps1 -* Set-JcSdkOffice365Association.ps1 -* Set-JcSdkPolicy.ps1 -* Set-JcSdkPolicyAssociation.ps1 -* Set-JcSdkPolicyGroup.ps1 -* Set-JcSdkPolicyGroupAssociation.ps1 -* Set-JcSdkPolicyGroupMember.ps1 -* Set-JcSdkRadiusServerAssociation.ps1 -* Set-JcSdkSoftwareApp.ps1 -* Set-JcSdkSoftwareAppAssociation.ps1 -* Set-JcSdkSystemAssociation.ps1 -* Set-JcSdkSystemGroup.ps1 -* Set-JcSdkSystemGroupAssociation.ps1 -* Set-JcSdkSystemGroupMember.ps1 -* Set-JcSdkUserAssociation.ps1 -* Set-JcSdkUserGroup.ps1 -* Set-JcSdkUserGroupAssociation.ps1 -* Set-JcSdkUserGroupMember.ps1 -* Set-JcSdkWorkday.ps1 -* Stop-JcSdkAppleMdmDevice.ps1 -* Sync-JcSdkAppleMdmDevice.ps1 -* Update-JcSdkAppleMdmDeviceLockInformation.ps1 -* Update-JcSdkAuthenticationPolicy.ps1 -* Update-JcSdkBulkUser.ps1 -* Update-JcSdkGSuite.ps1 -* Update-JcSdkIPList.ps1 -* Update-JcSdkLdapServer.ps1 -* Update-JcSdkOffice365.ps1 -* Update-JcSdkUserPushEndpoint.ps1 +- Clear-JcSdkAppleMdmDevice.ps1 +- Clear-JcSdkAppleMdmDeviceActivationLock.ps1 +- Get-JcSdkActiveDirectory.ps1 +- Get-JcSdkActiveDirectoryAgent.ps1 +- Get-JcSdkActiveDirectoryAssociation.ps1 +- Get-JcSdkActiveDirectoryTraverseUser.ps1 +- Get-JcSdkActiveDirectoryTraverseUserGroup.ps1 +- Get-JcSdkAppleMdmDevice.ps1 +- Get-JcSdkApplicationAssociation.ps1 +- Get-JcSdkApplicationTraverseUser.ps1 +- Get-JcSdkApplicationTraverseUserGroup.ps1 +- Get-JcSdkAuthenticationPolicy.ps1 +- Get-JcSdkBulkUserState.ps1 +- Get-JcSdkBulkUsersResult.ps1 +- Get-JcSdkCommandAssociation.ps1 +- Get-JcSdkCommandTraverseSystem.ps1 +- Get-JcSdkCommandTraverseSystemGroup.ps1 +- Get-JcSdkCustomEmailConfiguration.ps1 +- Get-JcSdkDuoAccount.ps1 +- Get-JcSdkDuoApplication.ps1 +- Get-JcSdkGSuite.ps1 +- Get-JcSdkGSuiteAssociation.ps1 +- Get-JcSdkGSuiteTranslationRule.ps1 +- Get-JcSdkGSuiteTraverseUser.ps1 +- Get-JcSdkGSuiteTraverseUserGroup.ps1 +- Get-JcSdkGroupSuggestion.ps1 +- Get-JcSdkIPList.ps1 +- Get-JcSdkLdapServer.ps1 +- Get-JcSdkLdapServerAssociation.ps1 +- Get-JcSdkLdapServerSambaDomain.ps1 +- Get-JcSdkLdapServerTraverseUser.ps1 +- Get-JcSdkLdapServerTraverseUserGroup.ps1 +- Get-JcSdkOffice365.ps1 +- Get-JcSdkOffice365Association.ps1 +- Get-JcSdkOffice365TranslationRule.ps1 +- Get-JcSdkOffice365TraverseUser.ps1 +- Get-JcSdkOffice365TraverseUserGroup.ps1 +- Get-JcSdkPolicy.ps1 +- Get-JcSdkPolicyAssociation.ps1 +- Get-JcSdkPolicyGroup.ps1 +- Get-JcSdkPolicyGroupMember.ps1 +- Get-JcSdkPolicyGroupMembership.ps1 +- Get-JcSdkPolicyGroupTraverseSystem.ps1 +- Get-JcSdkPolicyGroupTraverseSystemGroup.ps1 +- Get-JcSdkPolicyResult.ps1 +- Get-JcSdkPolicyTemplate.ps1 +- Get-JcSdkPolicyTraverseSystem.ps1 +- Get-JcSdkPolicyTraverseSystemGroup.ps1 +- Get-JcSdkRadiusServerAssociation.ps1 +- Get-JcSdkRadiusServerTraverseUser.ps1 +- Get-JcSdkRadiusServerTraverseUserGroup.ps1 +- Get-JcSdkSoftwareApp.ps1 +- Get-JcSdkSoftwareAppAssociation.ps1 +- Get-JcSdkSoftwareAppStatus.ps1 +- Get-JcSdkSoftwareAppTraverseSystem.ps1 +- Get-JcSdkSoftwareAppTraverseSystemGroup.ps1 +- Get-JcSdkSystemAssociation.ps1 +- Get-JcSdkSystemFdeKey.ps1 +- Get-JcSdkSystemGroup.ps1 +- Get-JcSdkSystemGroupAssociation.ps1 +- Get-JcSdkSystemGroupMember.ps1 +- Get-JcSdkSystemGroupMembership.ps1 +- Get-JcSdkSystemGroupTraverseCommand.ps1 +- Get-JcSdkSystemGroupTraversePolicy.ps1 +- Get-JcSdkSystemGroupTraversePolicyGroup.ps1 +- Get-JcSdkSystemGroupTraverseUser.ps1 +- Get-JcSdkSystemGroupTraverseUserGroup.ps1 +- Get-JcSdkSystemInsightApp.ps1 +- Get-JcSdkSystemInsightProgram.ps1 +- Get-JcSdkSystemMember.ps1 +- Get-JcSdkSystemTraverseCommand.ps1 +- Get-JcSdkSystemTraversePolicy.ps1 +- Get-JcSdkSystemTraversePolicyGroup.ps1 +- Get-JcSdkSystemTraverseUser.ps1 +- Get-JcSdkSystemTraverseUserGroup.ps1 +- Get-JcSdkUserAssociation.ps1 +- Get-JcSdkUserGroup.ps1 +- Get-JcSdkUserGroupAssociation.ps1 +- Get-JcSdkUserGroupMember.ps1 +- Get-JcSdkUserGroupMembership.ps1 +- Get-JcSdkUserGroupTraverseActiveDirectory.ps1 +- Get-JcSdkUserGroupTraverseApplication.ps1 +- Get-JcSdkUserGroupTraverseDirectory.ps1 +- Get-JcSdkUserGroupTraverseGSuite.ps1 +- Get-JcSdkUserGroupTraverseLdapServer.ps1 +- Get-JcSdkUserGroupTraverseOffice365.ps1 +- Get-JcSdkUserGroupTraverseRadiusServer.ps1 +- Get-JcSdkUserGroupTraverseSystem.ps1 +- Get-JcSdkUserGroupTraverseSystemGroup.ps1 +- Get-JcSdkUserMember.ps1 +- Get-JcSdkUserPushEndpoint.ps1 +- Get-JcSdkUserTraverseActiveDirectory.ps1 +- Get-JcSdkUserTraverseApplication.ps1 +- Get-JcSdkUserTraverseDirectory.ps1 +- Get-JcSdkUserTraverseGSuite.ps1 +- Get-JcSdkUserTraverseLdapServer.ps1 +- Get-JcSdkUserTraverseOffice365.ps1 +- Get-JcSdkUserTraverseRadiusServer.ps1 +- Get-JcSdkUserTraverseSystem.ps1 +- Get-JcSdkUserTraverseSystemGroup.ps1 +- Get-JcSdkWorkday.ps1 +- Get-JcSdkWorkdayWorker.ps1 +- Grant-JcSdkWorkday.ps1 +- Import-JcSdkWorkday.ps1 +- Import-JcSdkWorkdayResult.ps1 +- Invoke-JcSdkReclaimSoftwareAppLicense.ps1 +- Lock-JcSdkAppleMdmDevice.ps1 +- New-JcSdkActiveDirectoryAgent.ps1 +- New-JcSdkBulkUser.ps1 +- New-JcSdkDuoApplication.ps1 +- New-JcSdkGSuiteTranslationRule.ps1 +- New-JcSdkLdapServerSambaDomain.ps1 +- New-JcSdkOffice365TranslationRule.ps1 +- New-JcSdkSoftwareApp.ps1 +- Remove-JcSdkActiveDirectory.ps1 +- Remove-JcSdkActiveDirectoryAgent.ps1 +- Remove-JcSdkAppleMdm.ps1 +- Remove-JcSdkAppleMdmDevice.ps1 +- Remove-JcSdkApplicationLogo.ps1 +- Remove-JcSdkAuthenticationPolicy.ps1 +- Remove-JcSdkBulkUserState.ps1 +- Remove-JcSdkCustomEmailConfiguration.ps1 +- Remove-JcSdkDuoAccount.ps1 +- Remove-JcSdkDuoApplication.ps1 +- Remove-JcSdkGSuiteTranslationRule.ps1 +- Remove-JcSdkIPList.ps1 +- Remove-JcSdkLdapServerSambaDomain.ps1 +- Remove-JcSdkOffice365TranslationRule.ps1 +- Remove-JcSdkPolicy.ps1 +- Remove-JcSdkPolicyGroup.ps1 +- Remove-JcSdkSoftwareApp.ps1 +- Remove-JcSdkSystemGroup.ps1 +- Remove-JcSdkUserGroup.ps1 +- Remove-JcSdkUserPushEndpoint.ps1 +- Remove-JcSdkWorkdayAuthorization.ps1 +- Restart-JcSdkAppleMdmDevice.ps1 +- Set-JcSdkActiveDirectoryAssociation.ps1 +- Set-JcSdkAppleMdm.ps1 +- Set-JcSdkApplicationAssociation.ps1 +- Set-JcSdkCommandAssociation.ps1 +- Set-JcSdkCustomEmailConfiguration.ps1 +- Set-JcSdkDuoApplication.ps1 +- Set-JcSdkGSuiteAssociation.ps1 +- Set-JcSdkIPList.ps1 +- Set-JcSdkLdapServerAssociation.ps1 +- Set-JcSdkLdapServerSambaDomain.ps1 +- Set-JcSdkOffice365Association.ps1 +- Set-JcSdkPolicy.ps1 +- Set-JcSdkPolicyAssociation.ps1 +- Set-JcSdkPolicyGroup.ps1 +- Set-JcSdkPolicyGroupAssociation.ps1 +- Set-JcSdkPolicyGroupMember.ps1 +- Set-JcSdkRadiusServerAssociation.ps1 +- Set-JcSdkSoftwareApp.ps1 +- Set-JcSdkSoftwareAppAssociation.ps1 +- Set-JcSdkSystemAssociation.ps1 +- Set-JcSdkSystemGroup.ps1 +- Set-JcSdkSystemGroupAssociation.ps1 +- Set-JcSdkSystemGroupMember.ps1 +- Set-JcSdkUserAssociation.ps1 +- Set-JcSdkUserGroup.ps1 +- Set-JcSdkUserGroupAssociation.ps1 +- Set-JcSdkUserGroupMember.ps1 +- Set-JcSdkWorkday.ps1 +- Stop-JcSdkAppleMdmDevice.ps1 +- Sync-JcSdkAppleMdmDevice.ps1 +- Update-JcSdkAppleMdmDeviceLockInformation.ps1 +- Update-JcSdkAuthenticationPolicy.ps1 +- Update-JcSdkBulkUser.ps1 +- Update-JcSdkGSuite.ps1 +- Update-JcSdkIPList.ps1 +- Update-JcSdkLdapServer.ps1 +- Update-JcSdkOffice365.ps1 +- Update-JcSdkUserPushEndpoint.ps1
@@ -1379,260 +1591,265 @@ SDK generated functions that can not accept the x-org-id header strip that heade Functions Removed No changes + ## JumpCloud.SDK.V2-0.0.31 + Release Date: Feb 16, 2022 + #### RELEASE NOTES + ``` Rollup of missing SDK functions ``` + #### Generated Changes:
Functions Added -* Clear-JcSdkAppleMdmDeviceActivationLock.ps1 -* Get-JcSdkActiveDirectoryAgent.ps1 -* Get-JcSdkActiveDirectoryTraverseUser.ps1 -* Get-JcSdkBulkUserState.ps1 -* Get-JcSdkGroupSuggestion.ps1 -* Get-JcSdkNextScheduledBulkUserState.ps1 -* Get-JcSdkPolicyGroup.ps1 -* Get-JcSdkPolicyGroupAssociation.ps1 -* Get-JcSdkPolicyGroupMember.ps1 -* Get-JcSdkPolicyGroupMembership.ps1 -* Get-JcSdkPolicyGroupTraverseSystem.ps1 -* Get-JcSdkPolicyGroupTraverseSystemGroup.ps1 -* Get-JcSdkSystemGroupTraversePolicyGroup.ps1 -* Get-JcSdkSystemTraversePolicyGroup.ps1 -* Get-JcSdkUserGroupTraverseActiveDirectory.ps1 -* Get-JcSdkUserTraverseActiveDirectory.ps1 -* Invoke-JcSdkReclaimSoftwareAppLicense.ps1 -* New-JcSdkActiveDirectory.ps1 -* New-JcSdkBulkUserState.ps1 -* New-JcSdkPolicyGroup.ps1 -* Remove-JcSdkActiveDirectory.ps1 -* Remove-JcSdkAppleMdmDevice.ps1 -* Remove-JcSdkApplicationLogo.ps1 -* Remove-JcSdkBulkUserState.ps1 -* Remove-JcSdkPolicyGroup.ps1 -* Remove-JcSdkUserPushEndpoint.ps1 -* Set-JcSdkPolicyGroup.ps1 -* Set-JcSdkPolicyGroupAssociation.ps1 -* Set-JcSdkPolicyGroupMember.ps1 -* Update-JcSdkAppleMdmDeviceLockInformation.ps1 -* Update-JcSdkUserPushEndpoint.ps1 +- Clear-JcSdkAppleMdmDeviceActivationLock.ps1 +- Get-JcSdkActiveDirectoryAgent.ps1 +- Get-JcSdkActiveDirectoryTraverseUser.ps1 +- Get-JcSdkBulkUserState.ps1 +- Get-JcSdkGroupSuggestion.ps1 +- Get-JcSdkNextScheduledBulkUserState.ps1 +- Get-JcSdkPolicyGroup.ps1 +- Get-JcSdkPolicyGroupAssociation.ps1 +- Get-JcSdkPolicyGroupMember.ps1 +- Get-JcSdkPolicyGroupMembership.ps1 +- Get-JcSdkPolicyGroupTraverseSystem.ps1 +- Get-JcSdkPolicyGroupTraverseSystemGroup.ps1 +- Get-JcSdkSystemGroupTraversePolicyGroup.ps1 +- Get-JcSdkSystemTraversePolicyGroup.ps1 +- Get-JcSdkUserGroupTraverseActiveDirectory.ps1 +- Get-JcSdkUserTraverseActiveDirectory.ps1 +- Invoke-JcSdkReclaimSoftwareAppLicense.ps1 +- New-JcSdkActiveDirectory.ps1 +- New-JcSdkBulkUserState.ps1 +- New-JcSdkPolicyGroup.ps1 +- Remove-JcSdkActiveDirectory.ps1 +- Remove-JcSdkAppleMdmDevice.ps1 +- Remove-JcSdkApplicationLogo.ps1 +- Remove-JcSdkBulkUserState.ps1 +- Remove-JcSdkPolicyGroup.ps1 +- Remove-JcSdkUserPushEndpoint.ps1 +- Set-JcSdkPolicyGroup.ps1 +- Set-JcSdkPolicyGroupAssociation.ps1 +- Set-JcSdkPolicyGroupMember.ps1 +- Update-JcSdkAppleMdmDeviceLockInformation.ps1 +- Update-JcSdkUserPushEndpoint.ps1
Functions Modified -* Clear-JcSdkAppleMdmDevice.ps1 -* Get-JcSdkActiveDirectory.ps1 -* Get-JcSdkActiveDirectoryAssociation.ps1 -* Get-JcSdkActiveDirectoryTraverseUserGroup.ps1 -* Get-JcSdkAppleMdmDevice.ps1 -* Get-JcSdkAppleMdmEnrollmentProfile.ps1 -* Get-JcSdkApplicationAssociation.ps1 -* Get-JcSdkApplicationTraverseUser.ps1 -* Get-JcSdkApplicationTraverseUserGroup.ps1 -* Get-JcSdkAuthenticationPolicy.ps1 -* Get-JcSdkCommandAssociation.ps1 -* Get-JcSdkCommandTraverseSystem.ps1 -* Get-JcSdkCommandTraverseSystemGroup.ps1 -* Get-JcSdkCustomEmailConfiguration.ps1 -* Get-JcSdkDirectory.ps1 -* Get-JcSdkDuoAccount.ps1 -* Get-JcSdkDuoApplication.ps1 -* Get-JcSdkGSuite.ps1 -* Get-JcSdkGSuiteAssociation.ps1 -* Get-JcSdkGSuiteTranslationRule.ps1 -* Get-JcSdkGSuiteTraverseUser.ps1 -* Get-JcSdkGSuiteTraverseUserGroup.ps1 -* Get-JcSdkGroup.ps1 -* Get-JcSdkIPList.ps1 -* Get-JcSdkLdapServer.ps1 -* Get-JcSdkLdapServerAssociation.ps1 -* Get-JcSdkLdapServerSambaDomain.ps1 -* Get-JcSdkLdapServerTraverseUser.ps1 -* Get-JcSdkLdapServerTraverseUserGroup.ps1 -* Get-JcSdkOffice365.ps1 -* Get-JcSdkOffice365Association.ps1 -* Get-JcSdkOffice365TranslationRule.ps1 -* Get-JcSdkOffice365TraverseUser.ps1 -* Get-JcSdkOffice365TraverseUserGroup.ps1 -* Get-JcSdkPolicy.ps1 -* Get-JcSdkPolicyAssociation.ps1 -* Get-JcSdkPolicyResult.ps1 -* Get-JcSdkPolicyStatus.ps1 -* Get-JcSdkPolicyTemplate.ps1 -* Get-JcSdkPolicyTraverseSystem.ps1 -* Get-JcSdkPolicyTraverseSystemGroup.ps1 -* Get-JcSdkRadiusServerAssociation.ps1 -* Get-JcSdkRadiusServerTraverseUser.ps1 -* Get-JcSdkRadiusServerTraverseUserGroup.ps1 -* Get-JcSdkSoftwareApp.ps1 -* Get-JcSdkSoftwareAppAssociation.ps1 -* Get-JcSdkSoftwareAppStatus.ps1 -* Get-JcSdkSoftwareAppTraverseSystem.ps1 -* Get-JcSdkSoftwareAppTraverseSystemGroup.ps1 -* Get-JcSdkSystemAssociation.ps1 -* Get-JcSdkSystemFdeKey.ps1 -* Get-JcSdkSystemGroup.ps1 -* Get-JcSdkSystemGroupAssociation.ps1 -* Get-JcSdkSystemGroupMember.ps1 -* Get-JcSdkSystemGroupMembership.ps1 -* Get-JcSdkSystemGroupTraverseCommand.ps1 -* Get-JcSdkSystemGroupTraversePolicy.ps1 -* Get-JcSdkSystemGroupTraverseUser.ps1 -* Get-JcSdkSystemGroupTraverseUserGroup.ps1 -* Get-JcSdkSystemInsightAlf.ps1 -* Get-JcSdkSystemInsightAlfException.ps1 -* Get-JcSdkSystemInsightAlfExplicitAuth.ps1 -* Get-JcSdkSystemInsightApp.ps1 -* Get-JcSdkSystemInsightAppCompatShim.ps1 -* Get-JcSdkSystemInsightAuthorizedKey.ps1 -* Get-JcSdkSystemInsightBattery.ps1 -* Get-JcSdkSystemInsightBitlockerInfo.ps1 -* Get-JcSdkSystemInsightBrowserPlugin.ps1 -* Get-JcSdkSystemInsightCertificate.ps1 -* Get-JcSdkSystemInsightChromeExtension.ps1 -* Get-JcSdkSystemInsightConnectivity.ps1 -* Get-JcSdkSystemInsightCrash.ps1 -* Get-JcSdkSystemInsightCupDestination.ps1 -* Get-JcSdkSystemInsightDiskEncryption.ps1 -* Get-JcSdkSystemInsightDiskInfo.ps1 -* Get-JcSdkSystemInsightDnsResolver.ps1 -* Get-JcSdkSystemInsightEtcHost.ps1 -* Get-JcSdkSystemInsightFirefoxAddon.ps1 -* Get-JcSdkSystemInsightGroup.ps1 -* Get-JcSdkSystemInsightIeExtension.ps1 -* Get-JcSdkSystemInsightInterfaceAddress.ps1 -* Get-JcSdkSystemInsightInterfaceDetail.ps1 -* Get-JcSdkSystemInsightKernelInfo.ps1 -* Get-JcSdkSystemInsightLaunchd.ps1 -* Get-JcSdkSystemInsightLoggedinUser.ps1 -* Get-JcSdkSystemInsightLogicalDrive.ps1 -* Get-JcSdkSystemInsightManagedPolicy.ps1 -* Get-JcSdkSystemInsightMount.ps1 -* Get-JcSdkSystemInsightOSVersion.ps1 -* Get-JcSdkSystemInsightPatch.ps1 -* Get-JcSdkSystemInsightProgram.ps1 -* Get-JcSdkSystemInsightPythonPackage.ps1 -* Get-JcSdkSystemInsightSafariExtension.ps1 -* Get-JcSdkSystemInsightScheduledTask.ps1 -* Get-JcSdkSystemInsightService.ps1 -* Get-JcSdkSystemInsightShadow.ps1 -* Get-JcSdkSystemInsightSharedFolder.ps1 -* Get-JcSdkSystemInsightSharedResource.ps1 -* Get-JcSdkSystemInsightSharingPreference.ps1 -* Get-JcSdkSystemInsightSipConfig.ps1 -* Get-JcSdkSystemInsightStartupItem.ps1 -* Get-JcSdkSystemInsightSystemControl.ps1 -* Get-JcSdkSystemInsightSystemInfo.ps1 -* Get-JcSdkSystemInsightUptime.ps1 -* Get-JcSdkSystemInsightUsbDevice.ps1 -* Get-JcSdkSystemInsightUser.ps1 -* Get-JcSdkSystemInsightUserGroup.ps1 -* Get-JcSdkSystemInsightUserSshKey.ps1 -* Get-JcSdkSystemInsightWifiNetwork.ps1 -* Get-JcSdkSystemInsightWifiStatus.ps1 -* Get-JcSdkSystemInsightWindowSecurityProduct.ps1 -* Get-JcSdkSystemMember.ps1 -* Get-JcSdkSystemPolicyStatus.ps1 -* Get-JcSdkSystemTraverseCommand.ps1 -* Get-JcSdkSystemTraversePolicy.ps1 -* Get-JcSdkSystemTraverseUser.ps1 -* Get-JcSdkSystemTraverseUserGroup.ps1 -* Get-JcSdkUserAssociation.ps1 -* Get-JcSdkUserGroup.ps1 -* Get-JcSdkUserGroupAssociation.ps1 -* Get-JcSdkUserGroupMember.ps1 -* Get-JcSdkUserGroupMembership.ps1 -* Get-JcSdkUserGroupTraverseApplication.ps1 -* Get-JcSdkUserGroupTraverseDirectory.ps1 -* Get-JcSdkUserGroupTraverseGSuite.ps1 -* Get-JcSdkUserGroupTraverseLdapServer.ps1 -* Get-JcSdkUserGroupTraverseOffice365.ps1 -* Get-JcSdkUserGroupTraverseRadiusServer.ps1 -* Get-JcSdkUserGroupTraverseSystem.ps1 -* Get-JcSdkUserGroupTraverseSystemGroup.ps1 -* Get-JcSdkUserMember.ps1 -* Get-JcSdkUserTraverseApplication.ps1 -* Get-JcSdkUserTraverseDirectory.ps1 -* Get-JcSdkUserTraverseGSuite.ps1 -* Get-JcSdkUserTraverseLdapServer.ps1 -* Get-JcSdkUserTraverseOffice365.ps1 -* Get-JcSdkUserTraverseRadiusServer.ps1 -* Get-JcSdkUserTraverseSystem.ps1 -* Get-JcSdkUserTraverseSystemGroup.ps1 -* Get-JcSdkWorkday.ps1 -* Get-JcSdkWorkdayWorker.ps1 -* Grant-JcSdkWorkday.ps1 -* Import-JcSdkWorkday.ps1 -* Import-JcSdkWorkdayResult.ps1 -* Lock-JcSdkAppleMdmDevice.ps1 -* New-JcSdkAuthenticationPolicy.ps1 -* New-JcSdkBulkUser.ps1 -* New-JcSdkCustomEmailConfiguration.ps1 -* New-JcSdkDuoApplication.ps1 -* New-JcSdkGSuiteTranslationRule.ps1 -* New-JcSdkIPList.ps1 -* New-JcSdkLdapServerSambaDomain.ps1 -* New-JcSdkOffice365TranslationRule.ps1 -* New-JcSdkPolicy.ps1 -* New-JcSdkSoftwareApp.ps1 -* New-JcSdkUserGroup.ps1 -* Remove-JcSdkAppleMdm.ps1 -* Remove-JcSdkAuthenticationPolicy.ps1 -* Remove-JcSdkCustomEmailConfiguration.ps1 -* Remove-JcSdkDuoAccount.ps1 -* Remove-JcSdkDuoApplication.ps1 -* Remove-JcSdkGSuiteTranslationRule.ps1 -* Remove-JcSdkIPList.ps1 -* Remove-JcSdkLdapServerSambaDomain.ps1 -* Remove-JcSdkOffice365TranslationRule.ps1 -* Remove-JcSdkPolicy.ps1 -* Remove-JcSdkSoftwareApp.ps1 -* Remove-JcSdkSystemGroup.ps1 -* Remove-JcSdkUserGroup.ps1 -* Remove-JcSdkWorkdayAuthorization.ps1 -* Restart-JcSdkAppleMdmDevice.ps1 -* Set-JcSdkActiveDirectoryAssociation.ps1 -* Set-JcSdkAppleMdm.ps1 -* Set-JcSdkApplicationAssociation.ps1 -* Set-JcSdkCommandAssociation.ps1 -* Set-JcSdkCustomEmailConfiguration.ps1 -* Set-JcSdkDuoApplication.ps1 -* Set-JcSdkGSuiteAssociation.ps1 -* Set-JcSdkIPList.ps1 -* Set-JcSdkLdapServerAssociation.ps1 -* Set-JcSdkLdapServerSambaDomain.ps1 -* Set-JcSdkOffice365Association.ps1 -* Set-JcSdkPolicy.ps1 -* Set-JcSdkPolicyAssociation.ps1 -* Set-JcSdkRadiusServerAssociation.ps1 -* Set-JcSdkSoftwareApp.ps1 -* Set-JcSdkSoftwareAppAssociation.ps1 -* Set-JcSdkSystemAssociation.ps1 -* Set-JcSdkSystemGroup.ps1 -* Set-JcSdkSystemGroupAssociation.ps1 -* Set-JcSdkSystemGroupMember.ps1 -* Set-JcSdkUserAssociation.ps1 -* Set-JcSdkUserGroup.ps1 -* Set-JcSdkUserGroupAssociation.ps1 -* Set-JcSdkUserGroupMember.ps1 -* Set-JcSdkWorkday.ps1 -* Stop-JcSdkAppleMdmDevice.ps1 -* Sync-JcSdkAppleMdmDevice.ps1 -* Update-JcSdkAuthenticationPolicy.ps1 -* Update-JcSdkBulkUser.ps1 -* Update-JcSdkGSuite.ps1 -* Update-JcSdkIPList.ps1 -* Update-JcSdkLdapServer.ps1 -* Update-JcSdkOffice365.ps1 +- Clear-JcSdkAppleMdmDevice.ps1 +- Get-JcSdkActiveDirectory.ps1 +- Get-JcSdkActiveDirectoryAssociation.ps1 +- Get-JcSdkActiveDirectoryTraverseUserGroup.ps1 +- Get-JcSdkAppleMdmDevice.ps1 +- Get-JcSdkAppleMdmEnrollmentProfile.ps1 +- Get-JcSdkApplicationAssociation.ps1 +- Get-JcSdkApplicationTraverseUser.ps1 +- Get-JcSdkApplicationTraverseUserGroup.ps1 +- Get-JcSdkAuthenticationPolicy.ps1 +- Get-JcSdkCommandAssociation.ps1 +- Get-JcSdkCommandTraverseSystem.ps1 +- Get-JcSdkCommandTraverseSystemGroup.ps1 +- Get-JcSdkCustomEmailConfiguration.ps1 +- Get-JcSdkDirectory.ps1 +- Get-JcSdkDuoAccount.ps1 +- Get-JcSdkDuoApplication.ps1 +- Get-JcSdkGSuite.ps1 +- Get-JcSdkGSuiteAssociation.ps1 +- Get-JcSdkGSuiteTranslationRule.ps1 +- Get-JcSdkGSuiteTraverseUser.ps1 +- Get-JcSdkGSuiteTraverseUserGroup.ps1 +- Get-JcSdkGroup.ps1 +- Get-JcSdkIPList.ps1 +- Get-JcSdkLdapServer.ps1 +- Get-JcSdkLdapServerAssociation.ps1 +- Get-JcSdkLdapServerSambaDomain.ps1 +- Get-JcSdkLdapServerTraverseUser.ps1 +- Get-JcSdkLdapServerTraverseUserGroup.ps1 +- Get-JcSdkOffice365.ps1 +- Get-JcSdkOffice365Association.ps1 +- Get-JcSdkOffice365TranslationRule.ps1 +- Get-JcSdkOffice365TraverseUser.ps1 +- Get-JcSdkOffice365TraverseUserGroup.ps1 +- Get-JcSdkPolicy.ps1 +- Get-JcSdkPolicyAssociation.ps1 +- Get-JcSdkPolicyResult.ps1 +- Get-JcSdkPolicyStatus.ps1 +- Get-JcSdkPolicyTemplate.ps1 +- Get-JcSdkPolicyTraverseSystem.ps1 +- Get-JcSdkPolicyTraverseSystemGroup.ps1 +- Get-JcSdkRadiusServerAssociation.ps1 +- Get-JcSdkRadiusServerTraverseUser.ps1 +- Get-JcSdkRadiusServerTraverseUserGroup.ps1 +- Get-JcSdkSoftwareApp.ps1 +- Get-JcSdkSoftwareAppAssociation.ps1 +- Get-JcSdkSoftwareAppStatus.ps1 +- Get-JcSdkSoftwareAppTraverseSystem.ps1 +- Get-JcSdkSoftwareAppTraverseSystemGroup.ps1 +- Get-JcSdkSystemAssociation.ps1 +- Get-JcSdkSystemFdeKey.ps1 +- Get-JcSdkSystemGroup.ps1 +- Get-JcSdkSystemGroupAssociation.ps1 +- Get-JcSdkSystemGroupMember.ps1 +- Get-JcSdkSystemGroupMembership.ps1 +- Get-JcSdkSystemGroupTraverseCommand.ps1 +- Get-JcSdkSystemGroupTraversePolicy.ps1 +- Get-JcSdkSystemGroupTraverseUser.ps1 +- Get-JcSdkSystemGroupTraverseUserGroup.ps1 +- Get-JcSdkSystemInsightAlf.ps1 +- Get-JcSdkSystemInsightAlfException.ps1 +- Get-JcSdkSystemInsightAlfExplicitAuth.ps1 +- Get-JcSdkSystemInsightApp.ps1 +- Get-JcSdkSystemInsightAppCompatShim.ps1 +- Get-JcSdkSystemInsightAuthorizedKey.ps1 +- Get-JcSdkSystemInsightBattery.ps1 +- Get-JcSdkSystemInsightBitlockerInfo.ps1 +- Get-JcSdkSystemInsightBrowserPlugin.ps1 +- Get-JcSdkSystemInsightCertificate.ps1 +- Get-JcSdkSystemInsightChromeExtension.ps1 +- Get-JcSdkSystemInsightConnectivity.ps1 +- Get-JcSdkSystemInsightCrash.ps1 +- Get-JcSdkSystemInsightCupDestination.ps1 +- Get-JcSdkSystemInsightDiskEncryption.ps1 +- Get-JcSdkSystemInsightDiskInfo.ps1 +- Get-JcSdkSystemInsightDnsResolver.ps1 +- Get-JcSdkSystemInsightEtcHost.ps1 +- Get-JcSdkSystemInsightFirefoxAddon.ps1 +- Get-JcSdkSystemInsightGroup.ps1 +- Get-JcSdkSystemInsightIeExtension.ps1 +- Get-JcSdkSystemInsightInterfaceAddress.ps1 +- Get-JcSdkSystemInsightInterfaceDetail.ps1 +- Get-JcSdkSystemInsightKernelInfo.ps1 +- Get-JcSdkSystemInsightLaunchd.ps1 +- Get-JcSdkSystemInsightLoggedinUser.ps1 +- Get-JcSdkSystemInsightLogicalDrive.ps1 +- Get-JcSdkSystemInsightManagedPolicy.ps1 +- Get-JcSdkSystemInsightMount.ps1 +- Get-JcSdkSystemInsightOSVersion.ps1 +- Get-JcSdkSystemInsightPatch.ps1 +- Get-JcSdkSystemInsightProgram.ps1 +- Get-JcSdkSystemInsightPythonPackage.ps1 +- Get-JcSdkSystemInsightSafariExtension.ps1 +- Get-JcSdkSystemInsightScheduledTask.ps1 +- Get-JcSdkSystemInsightService.ps1 +- Get-JcSdkSystemInsightShadow.ps1 +- Get-JcSdkSystemInsightSharedFolder.ps1 +- Get-JcSdkSystemInsightSharedResource.ps1 +- Get-JcSdkSystemInsightSharingPreference.ps1 +- Get-JcSdkSystemInsightSipConfig.ps1 +- Get-JcSdkSystemInsightStartupItem.ps1 +- Get-JcSdkSystemInsightSystemControl.ps1 +- Get-JcSdkSystemInsightSystemInfo.ps1 +- Get-JcSdkSystemInsightUptime.ps1 +- Get-JcSdkSystemInsightUsbDevice.ps1 +- Get-JcSdkSystemInsightUser.ps1 +- Get-JcSdkSystemInsightUserGroup.ps1 +- Get-JcSdkSystemInsightUserSshKey.ps1 +- Get-JcSdkSystemInsightWifiNetwork.ps1 +- Get-JcSdkSystemInsightWifiStatus.ps1 +- Get-JcSdkSystemInsightWindowSecurityProduct.ps1 +- Get-JcSdkSystemMember.ps1 +- Get-JcSdkSystemPolicyStatus.ps1 +- Get-JcSdkSystemTraverseCommand.ps1 +- Get-JcSdkSystemTraversePolicy.ps1 +- Get-JcSdkSystemTraverseUser.ps1 +- Get-JcSdkSystemTraverseUserGroup.ps1 +- Get-JcSdkUserAssociation.ps1 +- Get-JcSdkUserGroup.ps1 +- Get-JcSdkUserGroupAssociation.ps1 +- Get-JcSdkUserGroupMember.ps1 +- Get-JcSdkUserGroupMembership.ps1 +- Get-JcSdkUserGroupTraverseApplication.ps1 +- Get-JcSdkUserGroupTraverseDirectory.ps1 +- Get-JcSdkUserGroupTraverseGSuite.ps1 +- Get-JcSdkUserGroupTraverseLdapServer.ps1 +- Get-JcSdkUserGroupTraverseOffice365.ps1 +- Get-JcSdkUserGroupTraverseRadiusServer.ps1 +- Get-JcSdkUserGroupTraverseSystem.ps1 +- Get-JcSdkUserGroupTraverseSystemGroup.ps1 +- Get-JcSdkUserMember.ps1 +- Get-JcSdkUserTraverseApplication.ps1 +- Get-JcSdkUserTraverseDirectory.ps1 +- Get-JcSdkUserTraverseGSuite.ps1 +- Get-JcSdkUserTraverseLdapServer.ps1 +- Get-JcSdkUserTraverseOffice365.ps1 +- Get-JcSdkUserTraverseRadiusServer.ps1 +- Get-JcSdkUserTraverseSystem.ps1 +- Get-JcSdkUserTraverseSystemGroup.ps1 +- Get-JcSdkWorkday.ps1 +- Get-JcSdkWorkdayWorker.ps1 +- Grant-JcSdkWorkday.ps1 +- Import-JcSdkWorkday.ps1 +- Import-JcSdkWorkdayResult.ps1 +- Lock-JcSdkAppleMdmDevice.ps1 +- New-JcSdkAuthenticationPolicy.ps1 +- New-JcSdkBulkUser.ps1 +- New-JcSdkCustomEmailConfiguration.ps1 +- New-JcSdkDuoApplication.ps1 +- New-JcSdkGSuiteTranslationRule.ps1 +- New-JcSdkIPList.ps1 +- New-JcSdkLdapServerSambaDomain.ps1 +- New-JcSdkOffice365TranslationRule.ps1 +- New-JcSdkPolicy.ps1 +- New-JcSdkSoftwareApp.ps1 +- New-JcSdkUserGroup.ps1 +- Remove-JcSdkAppleMdm.ps1 +- Remove-JcSdkAuthenticationPolicy.ps1 +- Remove-JcSdkCustomEmailConfiguration.ps1 +- Remove-JcSdkDuoAccount.ps1 +- Remove-JcSdkDuoApplication.ps1 +- Remove-JcSdkGSuiteTranslationRule.ps1 +- Remove-JcSdkIPList.ps1 +- Remove-JcSdkLdapServerSambaDomain.ps1 +- Remove-JcSdkOffice365TranslationRule.ps1 +- Remove-JcSdkPolicy.ps1 +- Remove-JcSdkSoftwareApp.ps1 +- Remove-JcSdkSystemGroup.ps1 +- Remove-JcSdkUserGroup.ps1 +- Remove-JcSdkWorkdayAuthorization.ps1 +- Restart-JcSdkAppleMdmDevice.ps1 +- Set-JcSdkActiveDirectoryAssociation.ps1 +- Set-JcSdkAppleMdm.ps1 +- Set-JcSdkApplicationAssociation.ps1 +- Set-JcSdkCommandAssociation.ps1 +- Set-JcSdkCustomEmailConfiguration.ps1 +- Set-JcSdkDuoApplication.ps1 +- Set-JcSdkGSuiteAssociation.ps1 +- Set-JcSdkIPList.ps1 +- Set-JcSdkLdapServerAssociation.ps1 +- Set-JcSdkLdapServerSambaDomain.ps1 +- Set-JcSdkOffice365Association.ps1 +- Set-JcSdkPolicy.ps1 +- Set-JcSdkPolicyAssociation.ps1 +- Set-JcSdkRadiusServerAssociation.ps1 +- Set-JcSdkSoftwareApp.ps1 +- Set-JcSdkSoftwareAppAssociation.ps1 +- Set-JcSdkSystemAssociation.ps1 +- Set-JcSdkSystemGroup.ps1 +- Set-JcSdkSystemGroupAssociation.ps1 +- Set-JcSdkSystemGroupMember.ps1 +- Set-JcSdkUserAssociation.ps1 +- Set-JcSdkUserGroup.ps1 +- Set-JcSdkUserGroupAssociation.ps1 +- Set-JcSdkUserGroupMember.ps1 +- Set-JcSdkWorkday.ps1 +- Stop-JcSdkAppleMdmDevice.ps1 +- Sync-JcSdkAppleMdmDevice.ps1 +- Update-JcSdkAuthenticationPolicy.ps1 +- Update-JcSdkBulkUser.ps1 +- Update-JcSdkGSuite.ps1 +- Update-JcSdkIPList.ps1 +- Update-JcSdkLdapServer.ps1 +- Update-JcSdkOffice365.ps1
@@ -1640,4 +1857,5 @@ Rollup of missing SDK functions Functions Removed No changes + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V1/test/New-JcSdkUserSshKey.Tests.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V1/test/New-JcSdkUserSshKey.Tests.ps1 index b0f60e1a0..a3951b0d6 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V1/test/New-JcSdkUserSshKey.Tests.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V1/test/New-JcSdkUserSshKey.Tests.ps1 @@ -15,8 +15,11 @@ BeforeAll { Describe 'New-JcSdkUserSshKey' -Tag:(""){ It 'CreateExpanded' { - $global:PesterDefUserSshKey.Id = $global:PesterTestUser.Id - $global:PesterTestUserSshKey = New-JcSdkUserSshKey @global:PesterDefUserSshKey + $id = $global:PesterTestUser.Id + # pass in some random values for the name and public key + $name = "newKeyName" + $(Get-Random -Maximum 1000000) + $publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKNyuXv0JBV2Ph7IqvRUI30zRlIHAX1Q7TWePswBCTdG test@test" + $global:PesterTestUserSshKey = New-JcSdkUserSshKey -id $id -Name $name -PublicKey $publicKey $global:PesterTestUserSshKey | Should -Not -BeNullOrEmpty } diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/JumpCloud.SDK.V2.csproj b/SDKs/PowerShell/JumpCloud.SDK.V2/JumpCloud.SDK.V2.csproj index 8866d4d9c..69d8eacd3 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/JumpCloud.SDK.V2.csproj +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/JumpCloud.SDK.V2.csproj @@ -1,7 +1,7 @@ - 0.1.2 + 0.2.0 7.1 netstandard2.0 Library diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/JumpCloud.SDK.V2.format.ps1xml b/SDKs/PowerShell/JumpCloud.SDK.V2/JumpCloud.SDK.V2.format.ps1xml index c79bb6188..49ee32da5 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/JumpCloud.SDK.V2.format.ps1xml +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/JumpCloud.SDK.V2.format.ps1xml @@ -674,6 +674,9 @@ + + + @@ -738,6 +741,9 @@ Imei + + IsAppleSilicon + IsSupervised @@ -810,6 +816,9 @@ + + + @@ -835,6 +844,9 @@ PasscodePresent + + RecoveryLockEnabled + UserApprovedEnrollment @@ -3134,6 +3146,9 @@ + + + @@ -3144,6 +3159,9 @@ + + ExternalId + Id @@ -3836,6 +3854,9 @@ + + + @@ -3855,6 +3876,9 @@ Name + + OrganizationObjectId + Type @@ -4334,39 +4358,1161 @@ - - - + + + + + + + + + + + + + + + + + + + + + CreatedAt + + + Id + + + Status + + + StatusMsg + + + UpdatedAt + + + + + + + + JumpCloud.SDK.V2.Models.JumpCloudApiIdentity + + JumpCloud.SDK.V2.Models.JumpCloudApiIdentity#Multiple + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AccountId + + + ActivedirectoryId + + + AdministratorId + + + AgentId + + + AppleMdmId + + + ApplicationId + + + ApprovalFlowId + + + CommandId + + + CustomEmailType + + + DeviceId + + + GroupId + + + GsuiteId + + + Id + + + JobId + + + LdapserverId + + + Office365Id + + + PolicyId + + + ProviderId + + + PushEndpointId + + + RadiusserverId + + + SoftwareAppId + + + SystemId + + + UserId + + + WorkdayId + + + + + + + + JumpCloud.SDK.V2.Models.JumpcloudIngressoAccessWorkflow + + JumpCloud.SDK.V2.Models.JumpcloudIngressoAccessWorkflow#Multiple + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ApprovalType + + + ApproverRequirement + + + Category + + + CreatedBy + + + Description + + + FixedDuration + + + IconColor + + + IconUrl + + + Id + + + Name + + + NonAdminApproval + + + OrganizationId + + + SlackEnabled + + + Status + + + TimeBasedAccess + + + TtlConfig + + + UpdatedBy + + + + + + + + JumpCloud.SDK.V2.Models.JumpcloudIngressoAccessWorkflowResources + + JumpCloud.SDK.V2.Models.JumpcloudIngressoAccessWorkflowResources#Multiple + + + + + + + + + + + + + + + + + + ResourceId + + + ResourceName + + + ResourceType + + + + + + + + JumpCloud.SDK.V2.Models.JumpcloudIngressoAccessWorkflowSettings + + JumpCloud.SDK.V2.Models.JumpcloudIngressoAccessWorkflowSettings#Multiple + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AdminApprovalEmail + + + CreatedBy + + + ExposeApprovalProgress + + + Id + + + ResourceRequest + + + UpdatedBy + + + UserApprovalEmail + + + UserRequestEmail + + + + + + + + JumpCloud.SDK.V2.Models.JumpcloudIngressoApproverResource + + JumpCloud.SDK.V2.Models.JumpcloudIngressoApproverResource#Multiple + + + + + + + + + + + + + + + + + + + + + + + + RequireAll + + + ResourceId + + + ResourceName + + + ResourceOrder + + + ResourceType + + + + + + + + JumpCloud.SDK.V2.Models.JumpcloudIngressoApprovers + + JumpCloud.SDK.V2.Models.JumpcloudIngressoApprovers#Multiple + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ApprovalSequence + + + ApprovalStatus + + + ApproverId + + + ApproverType + + + CreatedAt + + + RequireAll + + + ResourceId + + + ResourceName + + + ResourceType + + + + + + + + JumpCloud.SDK.V2.Models.JumpcloudIngressoApproversProgress + + JumpCloud.SDK.V2.Models.JumpcloudIngressoApproversProgress#Multiple + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ApprovalSequence + + + ApprovalStatus + + + ApprovedCount + + + ApproverId + + + ApproverType + + + CreatedAt + + + OverridenApproval + + + RequireAll + + + ResourceId + + + ResourceName + + + ResourceType + + + TotalCount + + + + + + + + JumpCloud.SDK.V2.Models.JumpcloudIngressoChannelEvent + + JumpCloud.SDK.V2.Models.JumpcloudIngressoChannelEvent#Multiple + + + + + + + + + + + + ChannelObjectId + + + + + + + + JumpCloud.SDK.V2.Models.JumpcloudIngressoCreateAccessWorkflowRequest + + JumpCloud.SDK.V2.Models.JumpcloudIngressoCreateAccessWorkflowRequest#Multiple + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ApprovalType + + + ApproverRequirement + + + Category + + + Description + + + FixedDuration + + + IconColor + + + IconUrl + + + Name + + + NonAdminApproval + + + OrganizationObjectId + + + ResourceId + + + ResourceType + + + SlackEnabled + + + Status + + + TimeBasedAccess + + + TtlConfig + + + + + + + + JumpCloud.SDK.V2.Models.JumpcloudIngressoCreateAccessWorkflowResponse + + JumpCloud.SDK.V2.Models.JumpcloudIngressoCreateAccessWorkflowResponse#Multiple + + + + + + + + + + + + Id + + + + + + + + JumpCloud.SDK.V2.Models.JumpcloudIngressoGetAccessRequestApprovalProgressResponse + + JumpCloud.SDK.V2.Models.JumpcloudIngressoGetAccessRequestApprovalProgressResponse#Multiple + + + + + + + + + + + + ApproversRequirement + + + + + + + + JumpCloud.SDK.V2.Models.JumpcloudIngressoGetAllAccessWorkFlowsResponse + + JumpCloud.SDK.V2.Models.JumpcloudIngressoGetAllAccessWorkFlowsResponse#Multiple + + + + + + + + + + + + TotalCount + + + + + + + + JumpCloud.SDK.V2.Models.JumpcloudIngressoGetAllWorkflowAccessRequestResponse + + JumpCloud.SDK.V2.Models.JumpcloudIngressoGetAllWorkflowAccessRequestResponse#Multiple + + + + + + + + + + + + TotalCount + + + + + + + + JumpCloud.SDK.V2.Models.JumpcloudIngressoGetWorkflowAccessRequestResponse + + JumpCloud.SDK.V2.Models.JumpcloudIngressoGetWorkflowAccessRequestResponse#Multiple + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ApprovalFlowDescription + + + ApprovalFlowId + + + ApprovalFlowName + + + ApprovalType + + + ApprovedDuration + + + ApproversRequirement + + + CreatedAt + + + Department + + + FixedDuration + + + Group + + + IconColor + + + IconUrl + + + Id + + + Manager + + + Metadata + + + NonAdminApproval + + + Remarks + + + RequestedDuration + + + Requestor + + + RunId + + + Status + + + TimeBasedAccess + + + TtlConfig + + + UpdatedAt + + + UpdatedBy + + + UserName + + + + + + + + JumpCloud.SDK.V2.Models.JumpcloudIngressoSlackConfig + + JumpCloud.SDK.V2.Models.JumpcloudIngressoSlackConfig#Multiple + + + + + + + + + + + + SlackResourceId + + + + + + + + JumpCloud.SDK.V2.Models.JumpcloudIngressoUpdateAccessWorkflowSettingsRequest + + JumpCloud.SDK.V2.Models.JumpcloudIngressoUpdateAccessWorkflowSettingsRequest#Multiple + + + + + + + + + + + + + + + + + + + + + + + + + + + AdminApprovalEmail + + + ExposeApprovalProgress + + + OrganizationObjectId + + + ResourceRequest + + + UserApprovalEmail + + + UserRequestEmail + + + + + + + + JumpCloud.SDK.V2.Models.JumpcloudIngressoUserApprovalRequest + + JumpCloud.SDK.V2.Models.JumpcloudIngressoUserApprovalRequest#Multiple + + + + + + + + + + + + + + + + + + + + + + + + ApprovedDuration + + + Id + + + OrganizationObjectId + + + Remarks + + + Status + + + + + + + + JumpCloud.SDK.V2.Models.JumpcloudIngressoVisibleTo + + JumpCloud.SDK.V2.Models.JumpcloudIngressoVisibleTo#Multiple + + + - - - - - - - + - - CreatedAt - Id - Status - - - StatusMsg - - - UpdatedAt + Name @@ -4374,153 +5520,153 @@ - JumpCloud.SDK.V2.Models.JumpCloudApiIdentity + JumpCloud.SDK.V2.Models.JumpcloudIngressoWorkflowAccessRequest - JumpCloud.SDK.V2.Models.JumpCloudApiIdentity#Multiple + JumpCloud.SDK.V2.Models.JumpcloudIngressoWorkflowAccessRequest#Multiple - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - AccountId + ApprovalFlowDescription - ActivedirectoryId + ApprovalFlowId - AdministratorId + ApprovalFlowName - AgentId + ApprovalType - AppleMdmId + ApprovedDuration - ApplicationId + CreatedAt - CommandId + Department - CustomEmailType + Group - DeviceId + IconColor - GroupId + IconUrl - GsuiteId + Id - Id + Manager - JobId + NonAdminApproval - LdapserverId + Remarks - Office365Id + RequestedDuration - PolicyId + Requestor - ProviderId + RunId - PushEndpointId + Status - RadiusserverId + TimeBasedAccess - SoftwareAppId + UpdatedAt - SystemId + UpdatedBy - UserId + UserName - WorkdayId + WfMetadata @@ -5047,6 +6193,158 @@ + + JumpCloud.SDK.V2.Models.Paths14Hfh8UApprovalflowsApprovalflowidPutRequestbodyContentApplicationJsonSchema + + JumpCloud.SDK.V2.Models.Paths14Hfh8UApprovalflowsApprovalflowidPutRequestbodyContentApplicationJsonSchema#Multiple + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ApprovalType + + + ApproverRequirement + + + Description + + + FixedDuration + + + IconColor + + + IconUrl + + + Name + + + NonAdminApproval + + + OrganizationObjectId + + + ResourceId + + + SlackEnabled + + + Status + + + TimeBasedAccess + + + TtlConfig + + + + + + + + JumpCloud.SDK.V2.Models.Paths17F25RsApprovalflowrequestIdPutRequestbodyContentApplicationJsonSchema + + JumpCloud.SDK.V2.Models.Paths17F25RsApprovalflowrequestIdPutRequestbodyContentApplicationJsonSchema#Multiple + + + + + + + + + + + + + + + + + + + + + + + + + + + Admin + + + ApprovedDuration + + + InternalNote + + + OrganizationObjectId + + + Remarks + + + Status + + + + + + JumpCloud.SDK.V2.Models.Paths1Dvt4UsLdapserversIdPatchResponses200ContentApplicationJsonSchema @@ -5502,6 +6800,9 @@ + + + @@ -5521,6 +6822,9 @@ Name + + OrganizationObjectId + Type @@ -7049,6 +8353,40 @@ + + JumpCloud.SDK.V2.Models.SyncStatus + + JumpCloud.SDK.V2.Models.SyncStatus#Multiple + + + + + + + + + + + + + + + + + + Code + + + Message + + + SyncedAt + + + + + + JumpCloud.SDK.V2.Models.Systemfdekey @@ -7096,6 +8434,9 @@ + + + @@ -7121,6 +8462,9 @@ Name + + OrganizationObjectId + Type @@ -12200,6 +13544,9 @@ + + + @@ -12225,6 +13572,9 @@ Name + + OrganizationObjectId + Type diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/JumpCloud.SDK.V2.nuspec b/SDKs/PowerShell/JumpCloud.SDK.V2/JumpCloud.SDK.V2.nuspec index d933f3756..aa8dcc8d0 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/JumpCloud.SDK.V2.nuspec +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/JumpCloud.SDK.V2.nuspec @@ -2,7 +2,7 @@ JumpCloud.SDK.V2 - 0.1.2 + 0.2.0 JumpCloud JumpCloud false diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/JumpCloud.SDK.V2.psd1 b/SDKs/PowerShell/JumpCloud.SDK.V2/JumpCloud.SDK.V2.psd1 index dc0733e83..f104c720f 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/JumpCloud.SDK.V2.psd1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/JumpCloud.SDK.V2.psd1 @@ -3,7 +3,7 @@ # # Generated by: JumpCloud # -# Generated on: 12/16/2025 +# Generated on: 2/26/2026 # @{ @@ -12,7 +12,7 @@ RootModule = './JumpCloud.SDK.V2.psm1' # Version number of this module. -ModuleVersion = '0.1.2' +ModuleVersion = '0.2.0' # Supported PSEditions CompatiblePSEditions = 'Core', 'Desktop' @@ -69,176 +69,180 @@ RequiredAssemblies = './bin/JumpCloud.SDK.V2.private.dll' # NestedModules = @() # Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export. -FunctionsToExport = 'Clear-JcSdkAppleMdmDevice', - 'Clear-JcSdkAppleMdmDeviceActivationLock', - 'Get-JcSdkActiveDirectory', 'Get-JcSdkActiveDirectoryAgent', - 'Get-JcSdkActiveDirectoryAssociation', - 'Get-JcSdkActiveDirectoryTraverseUser', - 'Get-JcSdkActiveDirectoryTraverseUserGroup', - 'Get-JcSdkAdministratorOrganization', - 'Get-JcSdkAdministratorOrganizationLink', 'Get-JcSdkAppleMdm', - 'Get-JcSdkAppleMdmDevice', 'Get-JcSdkAppleMdmEnrollmentProfile', - 'Get-JcSdkApplicationAssociation', - 'Get-JcSdkApplicationTraverseUser', - 'Get-JcSdkApplicationTraverseUserGroup', - 'Get-JcSdkAuthenticationPolicy', 'Get-JcSdkBulkUsersResult', - 'Get-JcSdkBulkUserState', 'Get-JcSdkCommandAssociation', - 'Get-JcSdkCommandTraverseSystem', - 'Get-JcSdkCommandTraverseSystemGroup', - 'Get-JcSdkCustomEmailConfiguration', 'Get-JcSdkCustomEmailTemplate', - 'Get-JcSdkDirectory', 'Get-JcSdkDuoAccount', - 'Get-JcSdkDuoApplication', 'Get-JcSdkGroup', 'Get-JcSdkGSuite', - 'Get-JcSdkGSuiteAssociation', 'Get-JcSdkGSuiteTranslationRule', - 'Get-JcSdkGSuiteTraverseUser', 'Get-JcSdkGSuiteTraverseUserGroup', - 'Get-JcSdkGSuiteUsersToImport', - 'Get-JcSdkGsuiteUsersToImportFormatted', 'Get-JcSdkIPList', - 'Get-JcSdkLdapServer', 'Get-JcSdkLdapServerAssociation', - 'Get-JcSdkLdapServerSambaDomain', 'Get-JcSdkLdapServerTraverseUser', - 'Get-JcSdkLdapServerTraverseUserGroup', - 'Get-JcSdkNextScheduledBulkUserState', 'Get-JcSdkOffice365', - 'Get-JcSdkOffice365Association', - 'Get-JcSdkOffice365TranslationRule', - 'Get-JcSdkOffice365TraverseUser', - 'Get-JcSdkOffice365TraverseUserGroup', - 'Get-JcSdkOffice365UsersToImport', - 'Get-JcSdkOrganizationPolicyResult', 'Get-JcSdkPolicy', - 'Get-JcSdkPolicyAssociation', 'Get-JcSdkPolicyGroup', - 'Get-JcSdkPolicyGroupAssociation', 'Get-JcSdkPolicyGroupMember', - 'Get-JcSdkPolicyGroupMembership', - 'Get-JcSdkPolicyGroupTraverseSystem', - 'Get-JcSdkPolicyGroupTraverseSystemGroup', 'Get-JcSdkPolicyResult', - 'Get-JcSdkPolicyStatus', 'Get-JcSdkPolicyTemplate', - 'Get-JcSdkPolicyTraverseSystem', - 'Get-JcSdkPolicyTraverseSystemGroup', - 'Get-JcSdkProviderAdministrator', 'Get-JcSdkProviderOrganization', - 'Get-JcSdkProvidersInvoice', 'Get-JcSdkRadiusServerAssociation', - 'Get-JcSdkRadiusServerTraverseUser', - 'Get-JcSdkRadiusServerTraverseUserGroup', 'Get-JcSdkSoftwareApp', - 'Get-JcSdkSoftwareAppAssociation', 'Get-JcSdkSoftwareAppStatus', - 'Get-JcSdkSoftwareAppTraverseSystem', - 'Get-JcSdkSoftwareAppTraverseSystemGroup', 'Get-JcSdkSubscription', - 'Get-JcSdkSystemAssociation', 'Get-JcSdkSystemFdeKey', - 'Get-JcSdkSystemGroup', 'Get-JcSdkSystemGroupAssociation', - 'Get-JcSdkSystemGroupMember', 'Get-JcSdkSystemGroupMembership', - 'Get-JcSdkSystemGroupTraverseCommand', - 'Get-JcSdkSystemGroupTraversePolicy', - 'Get-JcSdkSystemGroupTraversePolicyGroup', - 'Get-JcSdkSystemGroupTraverseUser', - 'Get-JcSdkSystemGroupTraverseUserGroup', - 'Get-JcSdkSystemInsightAlf', 'Get-JcSdkSystemInsightAlfException', - 'Get-JcSdkSystemInsightAlfExplicitAuth', - 'Get-JcSdkSystemInsightApp', 'Get-JcSdkSystemInsightAppCompatShim', - 'Get-JcSdkSystemInsightAuthorizedKey', - 'Get-JcSdkSystemInsightAzureInstanceMetadata', - 'Get-JcSdkSystemInsightAzureInstanceTag', - 'Get-JcSdkSystemInsightBattery', - 'Get-JcSdkSystemInsightBitlockerInfo', - 'Get-JcSdkSystemInsightBrowserPlugin', - 'Get-JcSdkSystemInsightCertificate', - 'Get-JcSdkSystemInsightChassisInfo', - 'Get-JcSdkSystemInsightChromeExtension', - 'Get-JcSdkSystemInsightConnectivity', 'Get-JcSdkSystemInsightCrash', - 'Get-JcSdkSystemInsightCupDestination', - 'Get-JcSdkSystemInsightDiskEncryption', - 'Get-JcSdkSystemInsightDiskInfo', - 'Get-JcSdkSystemInsightDnsResolver', - 'Get-JcSdkSystemInsightEtcHost', - 'Get-JcSdkSystemInsightFirefoxAddon', 'Get-JcSdkSystemInsightGroup', - 'Get-JcSdkSystemInsightIeExtension', - 'Get-JcSdkSystemInsightInterfaceAddress', - 'Get-JcSdkSystemInsightInterfaceDetail', - 'Get-JcSdkSystemInsightKernelInfo', 'Get-JcSdkSystemInsightLaunchd', - 'Get-JcSdkSystemInsightLinuxPackage', - 'Get-JcSdkSystemInsightLoggedinUser', - 'Get-JcSdkSystemInsightLogicalDrive', - 'Get-JcSdkSystemInsightManagedPolicy', - 'Get-JcSdkSystemInsightMount', 'Get-JcSdkSystemInsightOSVersion', - 'Get-JcSdkSystemInsightPatch', 'Get-JcSdkSystemInsightProgram', - 'Get-JcSdkSystemInsightPythonPackage', - 'Get-JcSdkSystemInsightSafariExtension', - 'Get-JcSdkSystemInsightScheduledTask', - 'Get-JcSdkSystemInsightSecureboot', 'Get-JcSdkSystemInsightService', - 'Get-JcSdkSystemInsightShadow', - 'Get-JcSdkSystemInsightSharedFolder', - 'Get-JcSdkSystemInsightSharedResource', - 'Get-JcSdkSystemInsightSharingPreference', - 'Get-JcSdkSystemInsightSipConfig', - 'Get-JcSdkSystemInsightStartupItem', - 'Get-JcSdkSystemInsightSystemControl', - 'Get-JcSdkSystemInsightSystemInfo', 'Get-JcSdkSystemInsightTpmInfo', - 'Get-JcSdkSystemInsightUptime', 'Get-JcSdkSystemInsightUsbDevice', - 'Get-JcSdkSystemInsightUser', 'Get-JcSdkSystemInsightUserAssist', - 'Get-JcSdkSystemInsightUserGroup', - 'Get-JcSdkSystemInsightUserSshKey', - 'Get-JcSdkSystemInsightWifiNetwork', - 'Get-JcSdkSystemInsightWifiStatus', - 'Get-JcSdkSystemInsightWindowsSecurityCenter', - 'Get-JcSdkSystemInsightWindowsSecurityProduct', - 'Get-JcSdkSystemMember', 'Get-JcSdkSystemPolicyStatus', - 'Get-JcSdkSystemTraverseCommand', 'Get-JcSdkSystemTraversePolicy', - 'Get-JcSdkSystemTraversePolicyGroup', 'Get-JcSdkSystemTraverseUser', - 'Get-JcSdkSystemTraverseUserGroup', 'Get-JcSdkUserAssociation', - 'Get-JcSdkUserGroup', 'Get-JcSdkUserGroupAssociation', - 'Get-JcSdkUserGroupMember', 'Get-JcSdkUserGroupMembership', - 'Get-JcSdkUserGroupTraverseActiveDirectory', - 'Get-JcSdkUserGroupTraverseApplication', - 'Get-JcSdkUserGroupTraverseDirectory', - 'Get-JcSdkUserGroupTraverseGSuite', - 'Get-JcSdkUserGroupTraverseLdapServer', - 'Get-JcSdkUserGroupTraverseOffice365', - 'Get-JcSdkUserGroupTraverseRadiusServer', - 'Get-JcSdkUserGroupTraverseSystem', - 'Get-JcSdkUserGroupTraverseSystemGroup', 'Get-JcSdkUserMember', - 'Get-JcSdkUserPushEndpoint', 'Get-JcSdkUserTraverseActiveDirectory', - 'Get-JcSdkUserTraverseApplication', - 'Get-JcSdkUserTraverseDirectory', 'Get-JcSdkUserTraverseGSuite', - 'Get-JcSdkUserTraverseLdapServer', 'Get-JcSdkUserTraverseOffice365', - 'Get-JcSdkUserTraverseRadiusServer', 'Get-JcSdkUserTraverseSystem', - 'Get-JcSdkUserTraverseSystemGroup', 'Get-JcSdkWorkday', - 'Get-JcSdkWorkdayWorker', 'Grant-JcSdkWorkday', 'Import-JcSdkScim', - 'Import-JcSdkWorkday', 'Import-JcSdkWorkdayResult', - 'Invoke-JcSdkReclaimSoftwareAppLicense', 'Lock-JcSdkAppleMdmDevice', - 'New-JcSdkActiveDirectory', 'New-JcSdkActiveDirectoryAgent', - 'New-JcSdkAdministratorOrganization', - 'New-JcSdkAuthenticationPolicy', 'New-JcSdkBulkUser', - 'New-JcSdkBulkUserState', 'New-JcSdkCustomEmailConfiguration', - 'New-JcSdkDuoAccount', 'New-JcSdkDuoApplication', - 'New-JcSdkGSuiteTranslationRule', 'New-JcSdkIPList', - 'New-JcSdkLdapServerSambaDomain', - 'New-JcSdkOffice365TranslationRule', 'New-JcSdkPolicy', - 'New-JcSdkPolicyGroup', 'New-JcSdkProviderAdministrator', - 'New-JcSdkSoftwareApp', 'New-JcSdkSystemGroup', 'New-JcSdkUserGroup', - 'New-JcSdkWorkday', 'Remove-JcSdkActiveDirectory', - 'Remove-JcSdkActiveDirectoryAgent', - 'Remove-JcSdkAdministratorOrganization', 'Remove-JcSdkAppleMdm', - 'Remove-JcSdkAppleMdmDevice', 'Remove-JcSdkApplicationLogo', - 'Remove-JcSdkAuthenticationPolicy', 'Remove-JcSdkBulkUserState', - 'Remove-JcSdkCustomEmailConfiguration', 'Remove-JcSdkDuoAccount', - 'Remove-JcSdkDuoApplication', 'Remove-JcSdkGSuiteTranslationRule', - 'Remove-JcSdkIPList', 'Remove-JcSdkLdapServerSambaDomain', - 'Remove-JcSdkOffice365TranslationRule', 'Remove-JcSdkPolicy', - 'Remove-JcSdkPolicyGroup', 'Remove-JcSdkProviderAdministrator', - 'Remove-JcSdkSoftwareApp', 'Remove-JcSdkSystemGroup', - 'Remove-JcSdkUserGroup', 'Remove-JcSdkUserPushEndpoint', - 'Remove-JcSdkWorkdayAuthorization', 'Restart-JcSdkAppleMdmDevice', - 'Set-JcSdkActiveDirectoryAssociation', 'Set-JcSdkAppleMdm', - 'Set-JcSdkApplicationAssociation', 'Set-JcSdkCommandAssociation', - 'Set-JcSdkCustomEmailConfiguration', 'Set-JcSdkDuoApplication', - 'Set-JcSdkGSuiteAssociation', 'Set-JcSdkIPList', - 'Set-JcSdkLdapServerAssociation', 'Set-JcSdkLdapServerSambaDomain', - 'Set-JcSdkOffice365Association', 'Set-JcSdkPolicy', - 'Set-JcSdkPolicyAssociation', 'Set-JcSdkPolicyGroup', - 'Set-JcSdkPolicyGroupAssociation', 'Set-JcSdkPolicyGroupMember', - 'Set-JcSdkRadiusServerAssociation', 'Set-JcSdkSoftwareApp', - 'Set-JcSdkSoftwareAppAssociation', 'Set-JcSdkSystemAssociation', - 'Set-JcSdkSystemGroup', 'Set-JcSdkSystemGroupAssociation', - 'Set-JcSdkSystemGroupMember', 'Set-JcSdkUserAssociation', - 'Set-JcSdkUserGroup', 'Set-JcSdkUserGroupAssociation', - 'Set-JcSdkUserGroupMember', 'Set-JcSdkWorkday', - 'Stop-JcSdkAppleMdmDevice', 'Sync-JcSdkAppleMdmDevice', - 'Update-JcSdkAppleMdmDeviceLockInformation', - 'Update-JcSdkAuthenticationPolicy', 'Update-JcSdkBulkUser', - 'Update-JcSdkGSuite', 'Update-JcSdkIPList', 'Update-JcSdkLdapServer', +FunctionsToExport = 'Clear-JcSdkAppleMdmDevice', + 'Clear-JcSdkAppleMdmDeviceActivationLock', 'Get-JcSdkAccessRequest', + 'Get-JcSdkAccessRequestProgress', 'Get-JcSdkActiveDirectory', + 'Get-JcSdkActiveDirectoryAgent', + 'Get-JcSdkActiveDirectoryAssociation', + 'Get-JcSdkActiveDirectoryTraverseUser', + 'Get-JcSdkActiveDirectoryTraverseUserGroup', + 'Get-JcSdkAdministratorOrganization', + 'Get-JcSdkAdministratorOrganizationLink', 'Get-JcSdkAppleMdm', + 'Get-JcSdkAppleMdmDevice', 'Get-JcSdkAppleMdmEnrollmentProfile', + 'Get-JcSdkApplicationAssociation', + 'Get-JcSdkApplicationTraverseUser', + 'Get-JcSdkApplicationTraverseUserGroup', 'Get-JcSdkApprovalFlow', + 'Get-JcSdkApprovalFlowSetting', 'Get-JcSdkAuthenticationPolicy', + 'Get-JcSdkBulkUsersResult', 'Get-JcSdkBulkUserState', + 'Get-JcSdkCommandAssociation', 'Get-JcSdkCommandTraverseSystem', + 'Get-JcSdkCommandTraverseSystemGroup', + 'Get-JcSdkCustomEmailConfiguration', 'Get-JcSdkCustomEmailTemplate', + 'Get-JcSdkDirectory', 'Get-JcSdkDuoAccount', + 'Get-JcSdkDuoApplication', 'Get-JcSdkGroup', 'Get-JcSdkGSuite', + 'Get-JcSdkGSuiteAssociation', 'Get-JcSdkGSuiteTranslationRule', + 'Get-JcSdkGSuiteTraverseUser', 'Get-JcSdkGSuiteTraverseUserGroup', + 'Get-JcSdkGSuiteUsersToImport', + 'Get-JcSdkGsuiteUsersToImportFormatted', 'Get-JcSdkIPList', + 'Get-JcSdkLdapServer', 'Get-JcSdkLdapServerAssociation', + 'Get-JcSdkLdapServerSambaDomain', 'Get-JcSdkLdapServerTraverseUser', + 'Get-JcSdkLdapServerTraverseUserGroup', + 'Get-JcSdkNextScheduledBulkUserState', 'Get-JcSdkOffice365', + 'Get-JcSdkOffice365Association', + 'Get-JcSdkOffice365TranslationRule', + 'Get-JcSdkOffice365TraverseUser', + 'Get-JcSdkOffice365TraverseUserGroup', + 'Get-JcSdkOffice365UsersToImport', + 'Get-JcSdkOrganizationPolicyResult', 'Get-JcSdkPolicy', + 'Get-JcSdkPolicyAssociation', 'Get-JcSdkPolicyGroup', + 'Get-JcSdkPolicyGroupAssociation', 'Get-JcSdkPolicyGroupMember', + 'Get-JcSdkPolicyGroupMembership', + 'Get-JcSdkPolicyGroupTraverseSystem', + 'Get-JcSdkPolicyGroupTraverseSystemGroup', 'Get-JcSdkPolicyResult', + 'Get-JcSdkPolicyStatus', 'Get-JcSdkPolicyTemplate', + 'Get-JcSdkPolicyTraverseSystem', + 'Get-JcSdkPolicyTraverseSystemGroup', + 'Get-JcSdkProviderAdministrator', 'Get-JcSdkProviderOrganization', + 'Get-JcSdkProvidersInvoice', 'Get-JcSdkRadiusServerAssociation', + 'Get-JcSdkRadiusServerTraverseUser', + 'Get-JcSdkRadiusServerTraverseUserGroup', 'Get-JcSdkSoftwareApp', + 'Get-JcSdkSoftwareAppAssociation', 'Get-JcSdkSoftwareAppStatus', + 'Get-JcSdkSoftwareAppTraverseSystem', + 'Get-JcSdkSoftwareAppTraverseSystemGroup', 'Get-JcSdkSubscription', + 'Get-JcSdkSystemAssociation', 'Get-JcSdkSystemFdeKey', + 'Get-JcSdkSystemGroup', 'Get-JcSdkSystemGroupAssociation', + 'Get-JcSdkSystemGroupMember', 'Get-JcSdkSystemGroupMembership', + 'Get-JcSdkSystemGroupTraverseCommand', + 'Get-JcSdkSystemGroupTraversePolicy', + 'Get-JcSdkSystemGroupTraversePolicyGroup', + 'Get-JcSdkSystemGroupTraverseUser', + 'Get-JcSdkSystemGroupTraverseUserGroup', + 'Get-JcSdkSystemInsightAlf', 'Get-JcSdkSystemInsightAlfException', + 'Get-JcSdkSystemInsightAlfExplicitAuth', + 'Get-JcSdkSystemInsightApp', 'Get-JcSdkSystemInsightAppCompatShim', + 'Get-JcSdkSystemInsightAuthorizedKey', + 'Get-JcSdkSystemInsightAzureInstanceMetadata', + 'Get-JcSdkSystemInsightAzureInstanceTag', + 'Get-JcSdkSystemInsightBattery', + 'Get-JcSdkSystemInsightBitlockerInfo', + 'Get-JcSdkSystemInsightBrowserPlugin', + 'Get-JcSdkSystemInsightCertificate', + 'Get-JcSdkSystemInsightChassisInfo', + 'Get-JcSdkSystemInsightChromeExtension', + 'Get-JcSdkSystemInsightConnectivity', 'Get-JcSdkSystemInsightCrash', + 'Get-JcSdkSystemInsightCupDestination', + 'Get-JcSdkSystemInsightDiskEncryption', + 'Get-JcSdkSystemInsightDiskInfo', + 'Get-JcSdkSystemInsightDnsResolver', + 'Get-JcSdkSystemInsightEtcHost', + 'Get-JcSdkSystemInsightFirefoxAddon', 'Get-JcSdkSystemInsightGroup', + 'Get-JcSdkSystemInsightIeExtension', + 'Get-JcSdkSystemInsightInterfaceAddress', + 'Get-JcSdkSystemInsightInterfaceDetail', + 'Get-JcSdkSystemInsightKernelInfo', 'Get-JcSdkSystemInsightLaunchd', + 'Get-JcSdkSystemInsightLinuxPackage', + 'Get-JcSdkSystemInsightLoggedinUser', + 'Get-JcSdkSystemInsightLogicalDrive', + 'Get-JcSdkSystemInsightManagedPolicy', + 'Get-JcSdkSystemInsightMount', 'Get-JcSdkSystemInsightOSVersion', + 'Get-JcSdkSystemInsightPatch', 'Get-JcSdkSystemInsightProgram', + 'Get-JcSdkSystemInsightPythonPackage', + 'Get-JcSdkSystemInsightSafariExtension', + 'Get-JcSdkSystemInsightScheduledTask', + 'Get-JcSdkSystemInsightSecureboot', 'Get-JcSdkSystemInsightService', + 'Get-JcSdkSystemInsightShadow', + 'Get-JcSdkSystemInsightSharedFolder', + 'Get-JcSdkSystemInsightSharedResource', + 'Get-JcSdkSystemInsightSharingPreference', + 'Get-JcSdkSystemInsightSipConfig', + 'Get-JcSdkSystemInsightStartupItem', + 'Get-JcSdkSystemInsightSystemControl', + 'Get-JcSdkSystemInsightSystemInfo', 'Get-JcSdkSystemInsightTpmInfo', + 'Get-JcSdkSystemInsightUptime', 'Get-JcSdkSystemInsightUsbDevice', + 'Get-JcSdkSystemInsightUser', 'Get-JcSdkSystemInsightUserAssist', + 'Get-JcSdkSystemInsightUserGroup', + 'Get-JcSdkSystemInsightUserSshKey', + 'Get-JcSdkSystemInsightWifiNetwork', + 'Get-JcSdkSystemInsightWifiStatus', + 'Get-JcSdkSystemInsightWindowsSecurityCenter', + 'Get-JcSdkSystemInsightWindowsSecurityProduct', + 'Get-JcSdkSystemMember', 'Get-JcSdkSystemPolicyStatus', + 'Get-JcSdkSystemTraverseCommand', 'Get-JcSdkSystemTraversePolicy', + 'Get-JcSdkSystemTraversePolicyGroup', 'Get-JcSdkSystemTraverseUser', + 'Get-JcSdkSystemTraverseUserGroup', 'Get-JcSdkUserAssociation', + 'Get-JcSdkUserGroup', 'Get-JcSdkUserGroupAssociation', + 'Get-JcSdkUserGroupMember', 'Get-JcSdkUserGroupMembership', + 'Get-JcSdkUserGroupTraverseActiveDirectory', + 'Get-JcSdkUserGroupTraverseApplication', + 'Get-JcSdkUserGroupTraverseDirectory', + 'Get-JcSdkUserGroupTraverseGSuite', + 'Get-JcSdkUserGroupTraverseLdapServer', + 'Get-JcSdkUserGroupTraverseOffice365', + 'Get-JcSdkUserGroupTraverseRadiusServer', + 'Get-JcSdkUserGroupTraverseSystem', + 'Get-JcSdkUserGroupTraverseSystemGroup', 'Get-JcSdkUserMember', + 'Get-JcSdkUserPushEndpoint', 'Get-JcSdkUserTraverseActiveDirectory', + 'Get-JcSdkUserTraverseApplication', + 'Get-JcSdkUserTraverseDirectory', 'Get-JcSdkUserTraverseGSuite', + 'Get-JcSdkUserTraverseLdapServer', 'Get-JcSdkUserTraverseOffice365', + 'Get-JcSdkUserTraverseRadiusServer', 'Get-JcSdkUserTraverseSystem', + 'Get-JcSdkUserTraverseSystemGroup', 'Get-JcSdkWorkday', + 'Get-JcSdkWorkdayWorker', 'Grant-JcSdkWorkday', 'Import-JcSdkScim', + 'Import-JcSdkWorkday', 'Import-JcSdkWorkdayResult', + 'Invoke-JcSdkReclaimSoftwareAppLicense', 'Lock-JcSdkAppleMdmDevice', + 'New-JcSdkActiveDirectory', 'New-JcSdkActiveDirectoryAgent', + 'New-JcSdkAdministratorOrganization', 'New-JcSdkApprovalFlow', + 'New-JcSdkAuthenticationPolicy', 'New-JcSdkBulkUser', + 'New-JcSdkBulkUserState', 'New-JcSdkCustomEmailConfiguration', + 'New-JcSdkDuoAccount', 'New-JcSdkDuoApplication', + 'New-JcSdkGSuiteTranslationRule', 'New-JcSdkIPList', + 'New-JcSdkLdapServerSambaDomain', + 'New-JcSdkOffice365TranslationRule', 'New-JcSdkPolicy', + 'New-JcSdkPolicyGroup', 'New-JcSdkProviderAdministrator', + 'New-JcSdkSoftwareApp', 'New-JcSdkSystemGroup', 'New-JcSdkUserGroup', + 'New-JcSdkWorkday', 'Remove-JcSdkActiveDirectory', + 'Remove-JcSdkActiveDirectoryAgent', + 'Remove-JcSdkAdministratorOrganization', 'Remove-JcSdkAppleMdm', + 'Remove-JcSdkAppleMdmDevice', 'Remove-JcSdkApplicationLogo', + 'Remove-JcSdkApprovalFlow', 'Remove-JcSdkAuthenticationPolicy', + 'Remove-JcSdkBulkUserState', 'Remove-JcSdkCustomEmailConfiguration', + 'Remove-JcSdkDuoAccount', 'Remove-JcSdkDuoApplication', + 'Remove-JcSdkGSuiteTranslationRule', 'Remove-JcSdkIPList', + 'Remove-JcSdkLdapServerSambaDomain', + 'Remove-JcSdkOffice365TranslationRule', 'Remove-JcSdkPolicy', + 'Remove-JcSdkPolicyGroup', 'Remove-JcSdkProviderAdministrator', + 'Remove-JcSdkSoftwareApp', 'Remove-JcSdkSystemGroup', + 'Remove-JcSdkUserGroup', 'Remove-JcSdkUserPushEndpoint', + 'Remove-JcSdkWorkdayAuthorization', 'Restart-JcSdkAppleMdmDevice', + 'Set-JcSdkAccessRequest', 'Set-JcSdkAccessRequestApproval', + 'Set-JcSdkActiveDirectoryAssociation', 'Set-JcSdkAppleMdm', + 'Set-JcSdkApplicationAssociation', 'Set-JcSdkApprovalFlow', + 'Set-JcSdkApprovalFlowSetting', 'Set-JcSdkCommandAssociation', + 'Set-JcSdkCustomEmailConfiguration', 'Set-JcSdkDuoApplication', + 'Set-JcSdkGSuiteAssociation', 'Set-JcSdkIPList', + 'Set-JcSdkLdapServerAssociation', 'Set-JcSdkLdapServerSambaDomain', + 'Set-JcSdkOffice365Association', 'Set-JcSdkPolicy', + 'Set-JcSdkPolicyAssociation', 'Set-JcSdkPolicyGroup', + 'Set-JcSdkPolicyGroupAssociation', 'Set-JcSdkPolicyGroupMember', + 'Set-JcSdkRadiusServerAssociation', 'Set-JcSdkSoftwareApp', + 'Set-JcSdkSoftwareAppAssociation', 'Set-JcSdkSystemAssociation', + 'Set-JcSdkSystemGroup', 'Set-JcSdkSystemGroupAssociation', + 'Set-JcSdkSystemGroupMember', 'Set-JcSdkUserAssociation', + 'Set-JcSdkUserGroup', 'Set-JcSdkUserGroupAssociation', + 'Set-JcSdkUserGroupMember', 'Set-JcSdkWorkday', + 'Stop-JcSdkAppleMdmDevice', 'Sync-JcSdkAppleMdmDevice', + 'Update-JcSdkAppleMdmDeviceLockInformation', + 'Update-JcSdkAuthenticationPolicy', 'Update-JcSdkBulkUser', + 'Update-JcSdkGSuite', 'Update-JcSdkIPList', 'Update-JcSdkLdapServer', 'Update-JcSdkOffice365', 'Update-JcSdkUserPushEndpoint' # Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/JumpCloud.SDK.V2.json b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/JumpCloud.SDK.V2.json index 646fe86e8..89832eb30 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/JumpCloud.SDK.V2.json +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/JumpCloud.SDK.V2.json @@ -1099,6 +1099,10 @@ "compiledAttributes": { "$ref": "#/definitions/GraphAttributes" }, + "externalId": { + "description": "The external resource ID that is being synced. Only present when syncStatus query parameter is true.", + "type": "string" + }, "id": { "description": "Object ID of this graph object.", "type": "string" @@ -1113,6 +1117,9 @@ }, "type": "array" }, + "syncStatus": { + "$ref": "#/definitions/SyncStatus" + }, "type": { "$ref": "#/definitions/GraphType" } @@ -1222,7 +1229,8 @@ "description": "Targets which a \"command\" can be associated to.", "enum": [ "system", - "system_group" + "system_group", + "password_manager_item" ], "type": "string", "x-ms-enum": { @@ -1235,6 +1243,10 @@ { "name": "systems_group", "value": "system_group" + }, + { + "name": "password_manager_item", + "value": "password_manager_item" } ] } @@ -1356,7 +1368,7 @@ ], "type": "string", "x-ms-enum": { - "name": "GraphOperation-Policy1", + "name": "GraphOperation-Policy3", "values": [ { "name": "systems", @@ -1396,7 +1408,7 @@ ], "type": "string", "x-ms-enum": { - "name": "GraphOperation-PolicyGroup1", + "name": "GraphOperation-PolicyGroup3", "values": [ { "name": "systems", @@ -1435,7 +1447,7 @@ ], "type": "string", "x-ms-enum": { - "name": "GraphOperation-PolicyGroup-Member2" + "name": "GraphOperation-PolicyGroup-Member4" } } }, @@ -1495,7 +1507,7 @@ ], "type": "string", "x-ms-enum": { - "name": "GraphOperation-SoftwareApp1", + "name": "GraphOperation-SoftwareApp3", "values": [ { "name": "systems", @@ -1545,7 +1557,7 @@ ], "type": "string", "x-ms-enum": { - "name": "GraphOperation-System3" + "name": "GraphOperation-System5" } } }, @@ -1578,7 +1590,7 @@ ], "type": "string", "x-ms-enum": { - "name": "GraphOperation-SystemGroup3" + "name": "GraphOperation-SystemGroup5" } } }, @@ -1607,7 +1619,7 @@ ], "type": "string", "x-ms-enum": { - "name": "GraphOperation-SystemGroup-Member4", + "name": "GraphOperation-SystemGroup-Member6", "values": [ { "name": "systems", @@ -1658,7 +1670,7 @@ ], "type": "string", "x-ms-enum": { - "name": "GraphOperation-User5", + "name": "GraphOperation-User7", "values": [ { "name": "active_directory", @@ -1738,7 +1750,7 @@ ], "type": "string", "x-ms-enum": { - "name": "GraphOperation-UserGroup5", + "name": "GraphOperation-UserGroup7", "values": [ { "name": "active_directory", @@ -1809,7 +1821,7 @@ ], "type": "string", "x-ms-enum": { - "name": "GraphOperation-UserGroup-Member6" + "name": "GraphOperation-UserGroup-Member8" } } }, @@ -1860,10 +1872,17 @@ "description": "ObjectId uniquely identifying a Group.", "type": "string" }, + "memberQueryErrorFlags": { + "$ref": "#/definitions/MemberQueryErrorFlags" + }, "name": { "description": "Display name of a Group.", "type": "string" }, + "organizationObjectId": { + "description": "id of the organization owning this group", + "type": "string" + }, "type": { "$ref": "#/definitions/GroupType" } @@ -1999,6 +2018,13 @@ }, "description": "Query object for group membership. Both 'filters' and 'searchFilters' accept stringified JSON that will be parsed and validated by the API." }, + "MemberQueryErrorFlags": { + "description": "Group error flags indicating errors encountered during member query evaluation.\n\nPossible flag values:\n- CYCLE: A cyclic dependency was detected in group membership\n- INVALID_GROUP_REFERENCE: The group reference is invalid or does not exist\n\nThe `member_query_error_flags` as a field supports array-based filtering:\n- `CO`: Contains Overlap - check if array overlaps with the specified array (use `[\"VALUE\"]` for single value)\n- `NCO`: Not Contains Overlap - check if array does not overlap\n- `EQ`: Exact array match\n- `NE`: Not equal to array\n- `IN`: Array contains any of the specified values\n**Note:** Single `value` is converted to array `[\"value\"]``.", + "items": { + "type": "string" + }, + "type": "array" + }, "OSRestriction": { "description": "Contains OS properties to restrict the application of policies to devices based on the device's OS", "example": { @@ -2244,6 +2270,10 @@ "description": "Display name of a Policy Group.", "type": "string" }, + "organizationObjectId": { + "description": "id of the organization owning this group", + "type": "string" + }, "type": { "description": "The type of the group; always 'policy' for a Policy Group.", "enum": [ @@ -2717,7 +2747,7 @@ "amountPaid": "10.9", "amountRemaining": "189.1", "currency": "USD", - "dueDate": "2021-08-07T00:00:00", + "dueDate": "2021-08-07", "id": "234324", "status": "Partially Paid" }, @@ -2875,6 +2905,33 @@ "readOnly": true, "type": "object" }, + "SyncStatus": { + "description": "Sync status information for this object. Only present when syncStatus query parameter is true.", + "properties": { + "code": { + "description": "Status code of the sync operation.", + "type": "integer" + }, + "details": { + "description": "Additional details about the sync status.", + "items": { + "type": "object", + "additionalProperties": true + }, + "type": "array" + }, + "message": { + "description": "Status message of the sync operation.", + "type": "string" + }, + "syncedAt": { + "description": "The last time the object was synced.", + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, "SystemGroup": { "properties": { "attributes": { @@ -2895,6 +2952,9 @@ "memberQuery": { "$ref": "#/definitions/MemberQuery" }, + "memberQueryErrorFlags": { + "$ref": "#/definitions/MemberQueryErrorFlags" + }, "memberQueryExemptions": { "description": "Array of GraphObjects exempted from the query", "items": { @@ -2913,6 +2973,10 @@ "description": "Display name of a System Group.", "type": "string" }, + "organizationObjectId": { + "description": "id of the organization owning this group", + "type": "string" + }, "type": { "description": "The type of the group; always 'system' for a System Group.", "enum": [ @@ -3088,6 +3152,9 @@ "memberQuery": { "$ref": "#/definitions/MemberQuery" }, + "memberQueryErrorFlags": { + "$ref": "#/definitions/MemberQueryErrorFlags" + }, "memberQueryExemptions": { "description": "Array of GraphObjects exempted from the query", "items": { @@ -3106,6 +3173,10 @@ "description": "Display name of a User Group.", "type": "string" }, + "organizationObjectId": { + "description": "id of the organization owning this group", + "type": "string" + }, "suggestionCounts": { "$ref": "#/definitions/SuggestionCounts" }, @@ -3416,6 +3487,9 @@ "imei": { "type": "string" }, + "isAppleSilicon": { + "type": "boolean" + }, "isSupervised": { "type": "boolean" }, @@ -3483,6 +3557,9 @@ "passcodePresent": { "type": "boolean" }, + "recoveryLockEnabled": { + "type": "boolean" + }, "userApprovedEnrollment": { "type": "boolean" } @@ -4609,4132 +4686,5498 @@ "title": "Job WorkResult", "type": "object" }, - "jumpcloud.search.Function": { - "default": "function_unknown", - "enum": [ - "function_unknown", - "count", - "avg", - "max", - "min", - "sum", - "count_unique" - ], - "type": "string" - }, - "jumpcloud.search.PaginationParams": { - "description": "Parameters for controlling pagination of search results.", + "jumpcloud.ingresso.AccessWorkflow": { "properties": { - "offset": { - "description": "Zero-based index of the first result to return.\nFor example: 0 returns the first page, 100 returns the second page when page_size=100.", - "format": "int32", - "type": "integer" + "approvalType": { + "type": "string" }, - "pageSize": { - "description": "Number of results to return per page.\nIf not specified, uses server default (typically 50-100 items).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "jumpcloud.search.SearchRequest": { - "properties": { - "aggregations": { + "approverRequirement": { + "type": "string" + }, + "approverResources": { "items": { - "$ref": "#/definitions/jumpcloud.search.SearchRequestAggregation" + "$ref": "#/definitions/jumpcloud.ingresso.ApproverResource" }, "type": "array" }, - "cacheToken": { - "title": "Optional: Token for retrieving data from a previously cached result set", - "type": "string", - "x-nullable": true + "category": { + "type": "string" }, - "fields": { - "$ref": "#/definitions/jumpcloud.search.SearchRequestFields" + "createdBy": { + "type": "string" }, - "filters": { + "description": { + "type": "string" + }, + "fixedDuration": { + "type": "string" + }, + "iconColor": { + "type": "string" + }, + "iconUrl": { + "type": "string" + }, + "id": { + "type": "string" + }, + "multiSelectDuration": { "items": { - "$ref": "#/definitions/jumpcloud.search.SearchRequestFilter" + "type": "string" }, "type": "array" }, - "limit": { - "description": "Maximum number of rows (inclusive) to return in the objects. Note that there is an implicit limit enforced always\nin the external API.", - "format": "int32", - "type": "integer" - }, - "pagination": { - "$ref": "#/definitions/jumpcloud.search.PaginationParams" + "name": { + "type": "string" }, - "requestCache": { - "title": "Optional: If true, cache the full result set of this query", + "nonAdminApproval": { "type": "boolean" }, - "sort": { + "organizationId": { + "format": "byte", + "type": "string" + }, + "resources": { "items": { - "$ref": "#/definitions/jumpcloud.search.SearchRequestSort" + "$ref": "#/definitions/jumpcloud.ingresso.AccessWorkflowResources" }, "type": "array" - } - }, - "type": "object" - }, - "jumpcloud.search.SearchRequestAggregation": { - "properties": { - "field": { - "description": "This is a field on an object. It should always be in the form of . This will be case\ninsensitive, and will be cast to lowercase always.", + }, + "slackConfig": { "items": { - "type": "string" + "$ref": "#/definitions/jumpcloud.ingresso.SlackConfig" }, "type": "array" }, - "function": { - "$ref": "#/definitions/jumpcloud.search.Function" + "slackEnabled": { + "type": "boolean" }, - "name": { + "status": { + "type": "string" + }, + "timeBasedAccess": { + "type": "boolean" + }, + "ttlConfig": { + "$ref": "#/definitions/jumpcloud.ingresso.TtlConfig" + }, + "updatedBy": { "type": "string" + }, + "visibleTo": { + "items": { + "$ref": "#/definitions/jumpcloud.ingresso.VisibleTo" + }, + "type": "array" } }, "type": "object" }, - "jumpcloud.search.SearchRequestFields": { + "jumpcloud.ingresso.AccessWorkflowResources": { "properties": { - "exclude": { - "items": { - "type": "string" - }, - "type": "array" + "resourceId": { + "type": "string" }, - "include": { - "items": { - "type": "string" - }, - "type": "array" + "resourceName": { + "type": "string" + }, + "resourceType": { + "type": "string" } }, "type": "object" }, - "jumpcloud.search.SearchRequestFilter": { - "description": "A filter for a search query.", + "jumpcloud.ingresso.AccessWorkflowSettings": { "properties": { - "field": { - "description": "This is a field on an object. It should always be in the form of . This will be case\ninsensitive, and will be cast to lowercase always.", - "type": "string", - "x-nullable": true + "adminApprovalEmail": { + "type": "boolean" }, - "filters": { - "description": "Only allowed when operation is 'and'/'or'. This allows for logical groupings of sub-filters provided in this\nfield's array.", + "channelEvents": { "items": { - "$ref": "#/definitions/jumpcloud.search.SearchRequestFilter" + "$ref": "#/definitions/jumpcloud.ingresso.ChannelEvent" }, "type": "array" }, - "operation": { - "$ref": "#/definitions/jumpcloud.search.SearchRequestFilter.Operation" + "createdBy": { + "type": "string" }, - "query": { - "$ref": "#/definitions/jumpcloud.search.SearchRequest" + "exposeApprovalProgress": { + "type": "boolean" }, - "unit": { - "type": "string", - "x-nullable": true + "id": { + "format": "int32", + "type": "integer" }, - "value": { - "description": "Static value to be compared against. For values that will need to be compared as a datetime object, this should be\nprovided as an ISO8601 format string with no offset (UTC). This is made optional so that\nthe client can omit this field on AND/OR filters." + "resourceRequest": { + "type": "boolean" + }, + "updatedBy": { + "type": "string" + }, + "userApprovalEmail": { + "type": "boolean" + }, + "userRequestEmail": { + "type": "boolean" } }, "type": "object" }, - "jumpcloud.search.SearchRequestFilter.Operation": { - "default": "operation_unknown", - "description": "Filter operation to be applied:\nand - Provides logical 'and' groupings of all elements provided in the `filters` array (all sub-filter criteria\n must be satisfied).\nor - Provides logical 'or' groupings of all elements provided in the `filters` array (any sub-filter criteria can\n be satisfied).\nequals - Compares `field` with `value` for a // match. Case insensitive.\nnot_equals - Compares `field` with `value` for an exact non-match. Case insensitive.\ngreater_than - Checks if `field` is greater numerically than static `value` (non-inclusive). Works for numbers and\n datetime types.\nless_than - Checks if `field` is less than static `value` (non-inclusive). Works for numbers and datetime types.\nstarts_with - Checks if `field` starts with static `value`. Case insensitive. Only works for string types.\nends_with - Checks if `field` ends with static `value`. Case insensitive. Only works for string types.\ncontains - Checks if `field` has the static `value` as its substring. Case insensitive. Only works for string types.\nnot_contains - Checks if `field` does not have the static `value` as its substring. Case insensitive. Only works for string types.\nin - Checks if `field` is in the static `value` array. Works with strings (case insensitive), numbers, and datetime types.\nnot_in - Checks if `field` is not in the static `value` array. Works with strings (case insensitive), numbers, and datetime types.\ngreater_than_or_equals - Checks if `field` is greater than or equal to static `value`. Works for numbers and datetime types.\nless_than_or_equals - Checks if `field` is less than or equal to static `value`. Works for numbers and datetime types.\nis_null - Checks if `field` is null. Works for all field types. Requires boolean value (true for null, false for not null).\nis_empty - Checks if `field` is null or empty string. Works only for string field types. Requires boolean value (true for empty, false for not empty).\nequals_case_sensitive - Compares `field` with `value` for an exact match. Case sensitive. Only works for string types.\nnot_equals_case_sensitive - Compares `field` with `value` for an exact non-match. Case sensitive. Only works for string types.\nstarts_with_case_sensitive - Checks if `field` starts with static `value`. Case sensitive. Only works for string types.\nends_with_case_sensitive - Checks if `field` ends with static `value`. Case sensitive. Only works for string types.\ncontains_case_sensitive - Checks if `field` has the static `value` as its substring. Case sensitive. Only works for string types.\nnot_contains_case_sensitive - Checks if `field` does not have the static `value` as its substring. Case sensitive. Only works for string types.\nin_case_sensitive - Checks if `field` is in the static `value` array. Works with strings (case sensitive), numbers, and datetime types.\nnot_in_case_sensitive - Checks if `field` is not in the static `value` array. Works with strings (case sensitive), numbers, and datetime types.", - "enum": [ - "operation_unknown", - "and", - "or", - "equals", - "not_equals", - "greater_than", - "less_than", - "starts_with", - "ends_with", - "contains", - "not_contains", - "in", - "not_in", - "greater_than_or_equals", - "less_than_or_equals", - "is_null", - "is_empty", - "equals_case_sensitive", - "not_equals_case_sensitive", - "starts_with_case_sensitive", - "ends_with_case_sensitive", - "contains_case_sensitive", - "not_contains_case_sensitive", - "in_case_sensitive", - "not_in_case_sensitive" - ], - "type": "string" - }, - "jumpcloud.search.SearchRequestSort": { + "jumpcloud.ingresso.ApproverResource": { "properties": { - "field": { - "description": "This is a field on an object. It should always be in the form of\n. This will be case insensitive, and will be cast to\nlowercase always.", + "requireAll": { + "type": "boolean" + }, + "resourceId": { "type": "string" }, - "order": { - "$ref": "#/definitions/jumpcloud.search.SearchRequestSort.Order" + "resourceName": { + "type": "string" + }, + "resourceOrder": { + "format": "int32", + "type": "integer" + }, + "resourceType": { + "type": "string" } }, "type": "object" }, - "jumpcloud.search.SearchRequestSort.Order": { - "default": "asc", - "enum": [ - "asc", - "desc" - ], - "title": "Sort order. Defaults to ascending", - "type": "string" - }, - "ldap-server": { + "jumpcloud.ingresso.Approvers": { "properties": { - "id": { - "description": "Unique identifier of this LDAP server", - "readOnly": true, + "approvalSequence": { + "format": "int64", "type": "string" }, - "name": { - "description": "The name of this LDAP server", + "approvalStatus": { "type": "string" }, - "userLockoutAction": { - "description": "action to take; one of 'remove' or 'disable'", - "enum": [ - "disable", - "remove" - ], + "approverId": { "type": "string" }, - "userPasswordExpirationAction": { - "description": "action to take; one of 'remove' or 'disable'", - "enum": [ - "disable", - "remove" - ], + "approverType": { "type": "string" - } - }, - "title": "LDAP Server", - "type": "object" - }, - "object-storage-item": { - "description": "Object storage item information.", - "properties": { - "objectId": { + }, + "createdAt": { "type": "string" }, - "versions": { - "items": { - "$ref": "#/definitions/object-storage-version" - }, - "type": "array" + "requireAll": { + "type": "boolean" + }, + "resourceId": { + "type": "string" + }, + "resourceName": { + "type": "string" + }, + "resourceType": { + "type": "string" } }, - "title": "Object Storage item", "type": "object" }, - "object-storage-version": { - "description": "Object storage version information.", + "jumpcloud.ingresso.ApproversProgress": { "properties": { - "metadata": { - "type": "object", - "additionalProperties": true + "approvalSequence": { + "format": "int32", + "type": "integer" }, - "name": { + "approvalStatus": { "type": "string" }, - "rejectedReason": { - "type": "string" + "approvedCount": { + "format": "int32", + "type": "integer" }, - "sha256sum": { + "approverId": { "type": "string" }, - "size": { - "default": 0, - "type": "integer" + "approverType": { + "type": "string" }, - "status": { + "createdAt": { "type": "string" }, - "version": { - "default": 0, - "type": "integer" - } - }, - "title": "Object Storage Version", - "type": "object" - }, - "office365": { - "properties": { - "defaultDomain": { - "$ref": "#/definitions/defaultDomain" + "overridenApproval": { + "type": "boolean" }, - "groupsEnabled": { + "requireAll": { "type": "boolean" }, - "id": { - "readOnly": true, + "resourceId": { "type": "string" }, - "name": { + "resourceName": { "type": "string" }, - "userLockoutAction": { - "enum": [ - "suspend", - "maintain" - ], + "resourceType": { "type": "string" }, - "userPasswordExpirationAction": { - "enum": [ - "suspend", - "maintain" - ], - "type": "string" + "totalCount": { + "format": "int32", + "type": "integer" } }, - "title": "Office 365", "type": "object" }, - "samba-domain": { + "jumpcloud.ingresso.ChannelEvent": { "properties": { - "id": { - "description": "Unique identifier of this domain", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "Name of this domain's WorkGroup", + "channelObjectId": { + "format": "byte", "type": "string" }, - "sid": { - "description": "Security identifier of this domain", - "type": "string" + "eventTypes": { + "items": { + "$ref": "#/definitions/jumpcloud.ingresso.EventType" + }, + "type": "array" } }, - "required": [ - "name", - "sid" - ], - "title": "Samba Domain", "type": "object" }, - "scheduled-userstate-result": { + "jumpcloud.ingresso.CreateAccessWorkflowRequest": { "properties": { - "scheduledDate": { - "description": "The UTC date and time when the scheduled job will execute.", + "approvalType": { "type": "string" }, - "scheduledJobId": { - "description": "The id of the scheduled job that scheduled the state change.", + "approverRequirement": { "type": "string" }, - "state": { - "description": "The state that the user will be in once the scheduled job executes.", + "approverResources": { + "items": { + "$ref": "#/definitions/jumpcloud.ingresso.ApproverResource" + }, + "type": "array" + }, + "category": { "type": "string" }, - "systemUserId": { - "description": "The id of the user that the scheduled job will update.", + "description": { "type": "string" - } - }, - "title": "Scheduled Userstate Result", - "type": "object" - }, - "software-app": { - "properties": { - "createdAt": { - "format": "date-time", + }, + "fixedDuration": { "type": "string" }, - "displayName": { + "iconColor": { "type": "string" }, - "id": { + "iconUrl": { "type": "string" }, - "settings": { + "multiSelectDuration": { "items": { - "$ref": "#/definitions/SoftwareAppSettings" + "type": "string" }, "type": "array" }, - "updatedAt": { - "format": "date-time", + "name": { "type": "string" - } - }, - "title": "Software Application Package", - "type": "object" - }, - "software-app-apple-vpp": { - "description": "appleVpp is an optional attribute, it will only be present on apps with a 'setting' 'package_manager' type of 'APPLE_VPP'.", - "properties": { - "appConfiguration": { - "description": "Text sent to configure the application, the text should be a valid plist. Returned only by 'GET /softwareapps/{id}'.", + }, + "nonAdminApproval": { + "type": "boolean" + }, + "organizationObjectId": { + "format": "byte", "type": "string" }, - "assignedLicenses": { - "default": 0, - "type": "integer" + "resourceId": { + "type": "string" }, - "availableLicenses": { - "default": 0, - "type": "integer" + "resourceType": { + "type": "string" }, - "details": { - "description": "App details returned by iTunes API. See example. The properties in this field are out of our control and we cannot guarantee consistency, so it should be checked by the client and manage the details accordingly.", - "type": "object", - "additionalProperties": true + "slackConfig": { + "items": { + "$ref": "#/definitions/jumpcloud.ingresso.SlackConfig" + }, + "type": "array" }, - "isConfigEnabled": { - "description": "Denotes if configuration has been enabled for the application. Returned only by ''GET /softwareapps/{id}''.", + "slackEnabled": { "type": "boolean" }, - "supportedDeviceFamilies": { - "description": "The supported device families for this VPP Application.", + "status": { + "type": "string" + }, + "timeBasedAccess": { + "type": "boolean" + }, + "ttlConfig": { + "$ref": "#/definitions/jumpcloud.ingresso.TtlConfig" + }, + "visibleTo": { "items": { - "enum": [ - "IPAD", - "IPHONE", - "IPOD", - "MAC" - ], "type": "string" }, "type": "array" - }, - "totalLicenses": { - "default": 0, - "type": "integer" } }, - "title": "software-app-apple-vpp", "type": "object" }, - "software-app-create": { + "jumpcloud.ingresso.CreateAccessWorkflowResponse": { "properties": { - "createdAt": { - "format": "date-time", - "type": "string" - }, - "displayName": { - "type": "string" - }, "id": { "type": "string" - }, - "settings": { + } + }, + "type": "object" + }, + "jumpcloud.ingresso.DeleteAccessWorkflowResponse": { + "type": "object", + "additionalProperties": true + }, + "jumpcloud.ingresso.EventType": { + "default": "ACCESS_MANAGEMENT_EVENT_TYPE_UNSPECIFIED", + "enum": [ + "ACCESS_MANAGEMENT_EVENT_TYPE_UNSPECIFIED", + "ACCESS_MANAGEMENT_ACCESS_REQUEST", + "ACCESS_MANAGEMENT_ACCESS_REQUEST_APPROVAL", + "ACCESS_MANAGEMENT_ASSOCIATION_CHANGE", + "ACCESS_MANAGEMENT_APPROVAL_FLOW_CREATE", + "ACCESS_MANAGEMENT_APPROVAL_FLOW_UPDATE", + "ACCESS_MANAGEMENT_APPROVAL_FLOW_DELETE", + "ACCESS_MANAGEMENT_ACCESS_REQUEST_SETTINGS_UPDATE" + ], + "type": "string" + }, + "jumpcloud.ingresso.GetAccessRequestApprovalProgressResponse": { + "properties": { + "approvers": { "items": { - "$ref": "#/definitions/SoftwareAppSettings" + "$ref": "#/definitions/jumpcloud.ingresso.ApproversProgress" }, "type": "array" }, - "updatedAt": { - "format": "date-time", + "approversRequirement": { "type": "string" + } + }, + "type": "object" + }, + "jumpcloud.ingresso.GetAllAccessWorkFlowsResponse": { + "properties": { + "results": { + "items": { + "$ref": "#/definitions/jumpcloud.ingresso.AccessWorkflow" + }, + "type": "array" }, - "uploadUrl": { - "type": "string" + "totalCount": { + "format": "int32", + "type": "integer" } }, - "title": "SoftwareApplicationCreate", "type": "object" }, - "software-app-google-android": { - "description": "googleAndroid is an optional attribute, it will only be present on apps with a 'setting' 'package_manager' type of 'GOOGLE_ANDROID'.", + "jumpcloud.ingresso.GetAllWorkflowAccessRequestResponse": { "properties": { - "androidFeatures": { - "description": "The array of android features for the app.", + "results": { "items": { - "type": "string" + "$ref": "#/definitions/jumpcloud.ingresso.WorkflowAccessRequest" }, "type": "array" }, - "appPricing": { - "description": "Whether this app is free, free with in-app purchases, or paid.", + "totalCount": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "jumpcloud.ingresso.GetWorkflowAccessRequestResponse": { + "properties": { + "approvalFlowDescription": { "type": "string" }, - "appVersion": { - "description": "Latest version currently available for this app.", + "approvalFlowId": { "type": "string" }, - "author": { - "description": "The name of the author of this app.", + "approvalFlowName": { "type": "string" }, - "autoUpdateMode": { - "description": "Controls the auto-update mode for the app.", - "enum": [ - "AUTO_UPDATE_DEFAULT", - "AUTO_UPDATE_POSTPONED", - "AUTO_UPDATE_HIGH_PRIORITY" - ], + "approvalType": { "type": "string" }, - "category": { - "description": "The app category (e.g. COMMUNICATION, SOCIAL, etc.).", + "approvedDuration": { "type": "string" }, - "contentRating": { - "description": "The content rating for this app.", + "approvers": { + "items": { + "$ref": "#/definitions/jumpcloud.ingresso.Approvers" + }, + "type": "array" + }, + "approversRequirement": { "type": "string" }, - "displayMode": { - "description": "The display mode of the web app.", + "createdAt": { "type": "string" }, - "distributionChannel": { - "description": "How and to whom the package is made available.", + "department": { "type": "string" }, - "fullDescription": { - "description": "Full app description, if available.", + "fixedDuration": { "type": "string" }, - "iconUrl": { - "description": "A link to an image that can be used as an icon for the app.", + "group": { "type": "string" }, - "installType": { - "description": "The type of installation to perform for an app.", - "enum": [ - "AVAILABLE", - "FORCE_INSTALLED", - "BLOCKED" - ], + "iconColor": { "type": "string" }, - "managedConfigurationTemplateId": { - "description": "The managed configurations template for the app.", + "iconUrl": { "type": "string" }, - "managedProperties": { - "description": "Indicates whether this app has managed properties or not.", - "type": "boolean" + "id": { + "type": "string" }, - "minSdkVersion": { - "description": "The minimum Android SDK necessary to run the app.", - "type": "integer" + "manager": { + "type": "string" }, - "name": { - "description": "The name of the app in the form enterprises/{enterprise}/applications/{packageName}.", + "metadata": { + "format": "byte", "type": "string" }, - "permissionGrants": { + "multiSelectDuration": { "items": { - "$ref": "#/definitions/software-app-permission-grants" + "type": "string" }, "type": "array" }, - "runtimePermission": { - "description": "The policy for granting permission requests to apps.", - "enum": [ - "PROMPT", - "GRANT", - "DENY" - ], + "nonAdminApproval": { + "type": "boolean" + }, + "remarks": { "type": "string" }, - "startUrl": { - "description": "The start URL, i.e. the URL that should load when the user opens the application. Applicable only for webapps.", + "requestedDuration": { "type": "string" }, - "type": { - "description": "Type of this android application.", - "enum": [ - "APP_TYPE_UNSPECIFIED", - "PUBLIC", - "PRIVATE", - "WEBAPP" - ], + "requestor": { "type": "string" }, - "updateTime": { - "description": "The approximate time (within 7 days) the app was last published.", + "runId": { "type": "string" }, - "versionCode": { - "description": "The current version of the web app.", - "type": "integer" - } - }, - "title": "software-app-google-android", - "type": "object" - }, - "software-app-microsoft-store": { - "description": "microsoftStore is an optional attribute, it will only be present on apps with a 'setting' 'package_manager' type of 'MICROSOFT_STORE'.", - "properties": { - "doNotUpdate": { - "description": "Indicates whether the app can be updated or not.", - "type": "boolean" + "status": { + "type": "string" }, - "nonRemovable": { - "description": "Indicates whether the app is removable by the users or not.", + "timeBasedAccess": { "type": "boolean" }, - "packageFamilyName": { - "description": "Package Family Name for the app from Microsoft App Store.", + "ttlConfig": { "type": "string" - } - }, - "title": "software-app-microsoft-store", - "type": "object" - }, - "software-app-permission-grants": { - "properties": { - "id": { - "description": "An opaque string uniquely identifying the Android permission, e.g. android.permission.READ_CALENDAR.", + }, + "updatedAt": { "type": "string" }, - "policy": { - "description": "The policy for granting the permission.", - "enum": [ - "PROMPT", - "GRANT", - "DENY" - ], + "updatedBy": { + "type": "string" + }, + "userName": { "type": "string" } }, "type": "object" }, - "software-app-reclaim-licenses": { + "jumpcloud.ingresso.SlackConfig": { "properties": { - "assignedLicenses": { - "default": 0, - "type": "integer" - }, - "availableLicenses": { - "default": 0, - "type": "integer" - }, - "reclaimedLicenses": { - "default": 0, - "type": "integer" - }, - "totalLicenses": { - "default": 0, - "type": "integer" + "slackResourceId": { + "type": "string" } }, "type": "object" }, - "SoftwareAppSettings": { + "jumpcloud.ingresso.TtlConfig": { + "default": "TTL_CONFIG_UNSPECIFIED", + "enum": [ + "TTL_CONFIG_UNSPECIFIED", + "TTL_CONFIG_MULTI_SELECT_DURATIONS", + "TTL_CONFIG_FIXED_DURATION" + ], + "type": "string" + }, + "jumpcloud.ingresso.UpdateAccessWorkflowResponse": { + "type": "object", + "additionalProperties": true + }, + "jumpcloud.ingresso.UpdateAccessWorkflowSettingsRequest": { "properties": { - "allowUpdateDelay": { - "default": false, + "adminApprovalEmail": { "type": "boolean" }, - "appCatalogInstallableObjectId": { - "description": "ID of the app catalog installable that created this app.", - "type": "string" - }, - "appFileName": { - "type": "string" - }, - "appleVpp": { - "$ref": "#/definitions/software-app-apple-vpp" - }, - "architectures": { + "channelEvents": { "items": { - "type": "string" + "$ref": "#/definitions/jumpcloud.ingresso.ChannelEvent" }, "type": "array" }, - "assetKind": { - "description": "The manifest asset kind (ex: software).", - "type": "string" + "exposeApprovalProgress": { + "type": "boolean" }, - "assetSha256Size": { - "description": "The incremental size to use for summing the package as it is downloaded.", - "type": "integer" + "organizationObjectId": { + "format": "byte", + "type": "string" }, - "assetSha256Strings": { - "description": "The array of checksums, one each for the hash size up to the total size of the package.", - "items": { - "type": "string" - }, - "type": "array" + "resourceRequest": { + "type": "boolean" }, - "autoUpdate": { - "default": false, + "userApprovalEmail": { "type": "boolean" }, - "bundleId": { + "userRequestEmail": { + "type": "boolean" + } + }, + "type": "object" + }, + "jumpcloud.ingresso.UpdateAccessWorkflowSettingsResponse": { + "type": "object", + "additionalProperties": true + }, + "jumpcloud.ingresso.UpdateWorkflowAccessRequestResponse": { + "type": "object", + "additionalProperties": true + }, + "jumpcloud.ingresso.UserApprovalRequestRequest": { + "properties": { + "approvedDuration": { "type": "string" }, - "commandLineArguments": { - "description": "Command line arguments to use with the application.", + "id": { "type": "string" }, - "createdAt": { - "format": "date-time", + "organizationObjectId": { + "format": "byte", "type": "string" }, - "description": { - "description": "The software app description.", + "remarks": { "type": "string" }, - "desiredState": { - "description": "State of Install or Uninstall", + "status": { "type": "string" - }, - "downloadUrl": { + } + }, + "type": "object" + }, + "jumpcloud.ingresso.UserApprovalRequestResponse": { + "type": "object", + "additionalProperties": true + }, + "jumpcloud.ingresso.VisibleTo": { + "properties": { + "id": { "type": "string" }, - "enterpriseObjectId": { - "description": "ID of the Enterprise with which this app is associated", + "name": { "type": "string" - }, - "format": { + } + }, + "type": "object" + }, + "jumpcloud.ingresso.WorkflowAccessRequest": { + "properties": { + "approvalFlowDescription": { "type": "string" }, - "googleAndroid": { - "$ref": "#/definitions/software-app-google-android" + "approvalFlowId": { + "type": "string" }, - "iconUrl": { - "description": "URL to the icon for the app.", + "approvalFlowName": { "type": "string" }, - "location": { - "description": "Repository where the app is located within the package manager", + "approvalType": { "type": "string" }, - "locationObjectId": { - "description": "ID of the repository where the app is located within the package manager", + "approvedDuration": { "type": "string" }, - "microsoftStore": { - "$ref": "#/definitions/software-app-microsoft-store" + "createdAt": { + "type": "string" }, - "packageId": { + "department": { "type": "string" }, - "packageKind": { - "description": "The package manifest kind (ex: software-package).", + "group": { "type": "string" }, - "packageManager": { - "description": "App store serving the app: APPLE_VPP, CHOCOLATEY, etc.", + "iconColor": { "type": "string" }, - "packageSubtitle": { - "description": "The package manifest subtitle.", + "iconUrl": { "type": "string" }, - "packageVersion": { - "description": "The package manifest version.", + "id": { "type": "string" }, - "packageVersionUpdatedAt": { - "format": "date-time", + "manager": { "type": "string" }, - "scope": { - "description": "The installation scope of the software app.", + "nonAdminApproval": { + "type": "boolean" + }, + "remarks": { "type": "string" }, - "shortVersion": { + "requestedDuration": { "type": "string" }, - "storedPackage": { - "$ref": "#/definitions/object-storage-item" + "requestor": { + "type": "string" }, - "storedPackageObjectId": { - "description": "ID of the stored package this app uses to reference the stored install media.", + "runId": { "type": "string" }, - "teamId": { + "status": { "type": "string" }, - "updateTool": { + "timeBasedAccess": { + "type": "boolean" + }, + "updatedAt": { "type": "string" }, - "updateToolArguments": { + "updatedBy": { "type": "string" }, - "updatedAt": { - "format": "date-time", + "userName": { "type": "string" }, - "versionlessDownloadUrl": { - "type": "boolean" + "wfMetadata": { + "format": "byte", + "type": "string" } }, - "type": "object", - "x-examples": { - "example-1": { - "allowUpdateDelay": false, - "autoUpdate": false, - "desiredState": "string", - "location": "string", - "locationObjectId": "string", - "packageId": "string", - "packageManager": "string" - } - } + "type": "object" }, - "software-app-status": { + "jumpcloud.search.Function": { + "default": "function_unknown", + "enum": [ + "function_unknown", + "count", + "avg", + "max", + "min", + "sum", + "count_unique" + ], + "type": "string" + }, + "jumpcloud.search.PaginationParams": { + "description": "Parameters for controlling pagination of search results.", "properties": { - "code": { + "offset": { + "description": "Zero-based index of the first result to return.\nFor example: 0 returns the first page, 100 returns the second page when page_size=100.", + "format": "int32", "type": "integer" }, - "details": { - "type": "string" - }, - "id": { - "type": "string" - }, - "softwareAppId": { - "type": "string" - }, - "state": { - "type": "string" - }, - "systemId": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "version": { - "type": "string" + "pageSize": { + "description": "Number of results to return per page.\nIf not specified, uses server default (typically 50-100 items).", + "format": "int32", + "type": "integer" } }, - "title": "Software Application Status" + "type": "object" }, - "subscription": { + "jumpcloud.search.SearchRequest": { "properties": { - "annualPrice": { - "description": "The annual (discounted) price of this subscription.", - "type": "number" - }, - "displayName": { - "description": "The display name of this subscription.", - "type": "string" - }, - "features": { - "description": "Array of the features included in the subscription.", + "aggregations": { "items": { - "$ref": "#/definitions/feature" + "$ref": "#/definitions/jumpcloud.search.SearchRequestAggregation" }, "type": "array" }, - "listPrice": { - "description": "The list price of this subscription.", - "type": "number" - }, - "productCode": { - "description": "Unique identifier corresponding to this subscription.", - "type": "string" - }, - "upgradeRecommendation": { - "description": "Upgrade plan add-on.", - "type": "string" - } - }, - "required": [ - "annualPrice", - "displayName", - "features", - "listPrice", - "productCode" - ], - "title": "Subscription", - "type": "object" - }, - "system-insights-alf": { - "properties": { - "allow_signed_enabled": { - "type": "integer" - }, - "collection_time": { - "type": "string" - }, - "firewall_unload": { - "type": "integer" + "cacheToken": { + "title": "Optional: Token for retrieving data from a previously cached result set", + "type": "string", + "x-nullable": true }, - "global_state": { - "type": "integer" + "fields": { + "$ref": "#/definitions/jumpcloud.search.SearchRequestFields" }, - "logging_enabled": { - "type": "integer" + "filters": { + "items": { + "$ref": "#/definitions/jumpcloud.search.SearchRequestFilter" + }, + "type": "array" }, - "logging_option": { + "limit": { + "description": "Maximum number of rows (inclusive) to return in the objects. Note that there is an implicit limit enforced always\nin the external API.", + "format": "int32", "type": "integer" }, - "stealth_enabled": { - "type": "integer" + "pagination": { + "$ref": "#/definitions/jumpcloud.search.PaginationParams" }, - "system_id": { - "type": "string" + "requestCache": { + "title": "Optional: If true, cache the full result set of this query", + "type": "boolean" }, - "version": { - "type": "string" + "sort": { + "items": { + "$ref": "#/definitions/jumpcloud.search.SearchRequestSort" + }, + "type": "array" } }, - "title": "System Insights ALF", "type": "object" }, - "system-insights-alf-exceptions": { + "jumpcloud.search.SearchRequestAggregation": { "properties": { - "collection_time": { - "type": "string" - }, - "path": { - "type": "string" + "field": { + "description": "This is a field on an object. It should always be in the form of . This will be case\ninsensitive, and will be cast to lowercase always.", + "items": { + "type": "string" + }, + "type": "array" }, - "state": { - "type": "number" + "function": { + "$ref": "#/definitions/jumpcloud.search.Function" }, - "system_id": { + "name": { "type": "string" } }, - "title": "System Insights ALF Exceptions", "type": "object" }, - "system-insights-alf-explicit-auths": { + "jumpcloud.search.SearchRequestFields": { "properties": { - "collection_time": { - "type": "string" - }, - "process": { - "type": "string" + "exclude": { + "items": { + "type": "string" + }, + "type": "array" }, - "system_id": { - "type": "string" + "include": { + "items": { + "type": "string" + }, + "type": "array" } }, - "title": "System Insights ALF Explicit Authorizations", "type": "object" }, - "system-insights-appcompat-shims": { + "jumpcloud.search.SearchRequestFilter": { + "description": "A filter for a search query.", "properties": { - "collection_time": { - "type": "string" - }, - "description": { - "type": "string" - }, - "executable": { - "type": "string" + "field": { + "description": "This is a field on an object. It should always be in the form of . This will be case\ninsensitive, and will be cast to lowercase always.", + "type": "string", + "x-nullable": true }, - "install_time": { - "type": "number" + "filters": { + "description": "Only allowed when operation is 'and'/'or'. This allows for logical groupings of sub-filters provided in this\nfield's array.", + "items": { + "$ref": "#/definitions/jumpcloud.search.SearchRequestFilter" + }, + "type": "array" }, - "path": { - "type": "string" + "operation": { + "$ref": "#/definitions/jumpcloud.search.SearchRequestFilter.Operation" }, - "sdb_id": { - "type": "string" + "query": { + "$ref": "#/definitions/jumpcloud.search.SearchRequest" }, - "system_id": { - "type": "string" + "unit": { + "type": "string", + "x-nullable": true }, - "type": { - "type": "string" + "value": { + "description": "Static value to be compared against. For values that will need to be compared as a datetime object, this should be\nprovided as an ISO8601 format string with no offset (UTC). This is made optional so that\nthe client can omit this field on AND/OR filters." } }, - "title": "System Insights Application Compatibility Shims", "type": "object" }, - "system-insights-apps": { - "example": { - "applescript_enabled": "1", - "bundle_executable": "App Store", - "bundle_identifier": "com.apple.appstore", - "bundle_name": "App Store", - "bundle_package_type": "APPL", - "bundle_short_version": "2.4", - "bundle_version": "658.1", - "category": "public.app-category.utilities", - "collection_time": "2019-06-03T13:41:30.658-06:00", - "compiler": "com.apple.compilers.llvm.clang.1_0", - "copyright": "", - "development_region": "English", - "display_name": "App Store", - "element": "", - "environment": "", - "info_string": "", - "last_opened_time": 1556688963.50383, - "minimum_system_version": "10.13", - "name": "App Store.app", - "path": "/Applications/App Store.app", - "system_id": "5c9e51a13c5146f89bae12d9" - }, - "properties": { - "applescript_enabled": { - "type": "string" - }, - "bundle_executable": { - "type": "string" - }, - "bundle_identifier": { - "type": "string" - }, - "bundle_name": { - "type": "string" - }, - "bundle_package_type": { - "type": "string" - }, - "bundle_short_version": { - "type": "string" - }, - "bundle_version": { - "type": "string" - }, - "category": { + "jumpcloud.search.SearchRequestFilter.Operation": { + "default": "operation_unknown", + "description": "Filter operation to be applied:\nand - Provides logical 'and' groupings of all elements provided in the `filters` array (all sub-filter criteria\n must be satisfied).\nor - Provides logical 'or' groupings of all elements provided in the `filters` array (any sub-filter criteria can\n be satisfied).\nequals - Compares `field` with `value` for a // match. Case insensitive.\nnot_equals - Compares `field` with `value` for an exact non-match. Case insensitive.\ngreater_than - Checks if `field` is greater numerically than static `value` (non-inclusive). Works for numbers and\n datetime types.\nless_than - Checks if `field` is less than static `value` (non-inclusive). Works for numbers and datetime types.\nstarts_with - Checks if `field` starts with static `value`. Case insensitive. Only works for string types.\nends_with - Checks if `field` ends with static `value`. Case insensitive. Only works for string types.\ncontains - Checks if `field` has the static `value` as its substring. Case insensitive. Only works for string types.\nnot_contains - Checks if `field` does not have the static `value` as its substring. Case insensitive. Only works for string types.\nin - Checks if `field` is in the static `value` array. Works with strings (case insensitive), numbers, and datetime types.\nnot_in - Checks if `field` is not in the static `value` array. Works with strings (case insensitive), numbers, and datetime types.\ngreater_than_or_equals - Checks if `field` is greater than or equal to static `value`. Works for numbers and datetime types.\nless_than_or_equals - Checks if `field` is less than or equal to static `value`. Works for numbers and datetime types.\nis_null - Checks if `field` is null. Works for all field types. Requires boolean value (true for null, false for not null).\nis_empty - Checks if `field` is null or empty string. Works only for string field types. Requires boolean value (true for empty, false for not empty).\nequals_case_sensitive - Compares `field` with `value` for an exact match. Case sensitive. Only works for string types.\nnot_equals_case_sensitive - Compares `field` with `value` for an exact non-match. Case sensitive. Only works for string types.\nstarts_with_case_sensitive - Checks if `field` starts with static `value`. Case sensitive. Only works for string types.\nends_with_case_sensitive - Checks if `field` ends with static `value`. Case sensitive. Only works for string types.\ncontains_case_sensitive - Checks if `field` has the static `value` as its substring. Case sensitive. Only works for string types.\nnot_contains_case_sensitive - Checks if `field` does not have the static `value` as its substring. Case sensitive. Only works for string types.\nin_case_sensitive - Checks if `field` is in the static `value` array. Works with strings (case sensitive), numbers, and datetime types.\nnot_in_case_sensitive - Checks if `field` is not in the static `value` array. Works with strings (case sensitive), numbers, and datetime types.", + "enum": [ + "operation_unknown", + "and", + "or", + "equals", + "not_equals", + "greater_than", + "less_than", + "starts_with", + "ends_with", + "contains", + "not_contains", + "in", + "not_in", + "greater_than_or_equals", + "less_than_or_equals", + "is_null", + "is_empty", + "equals_case_sensitive", + "not_equals_case_sensitive", + "starts_with_case_sensitive", + "ends_with_case_sensitive", + "contains_case_sensitive", + "not_contains_case_sensitive", + "in_case_sensitive", + "not_in_case_sensitive" + ], + "type": "string" + }, + "jumpcloud.search.SearchRequestSort": { + "properties": { + "field": { + "description": "This is a field on an object. It should always be in the form of\n. This will be case insensitive, and will be cast to\nlowercase always.", "type": "string" }, - "collection_time": { + "order": { + "$ref": "#/definitions/jumpcloud.search.SearchRequestSort.Order" + } + }, + "type": "object" + }, + "jumpcloud.search.SearchRequestSort.Order": { + "default": "asc", + "enum": [ + "asc", + "desc" + ], + "title": "Sort order. Defaults to ascending", + "type": "string" + }, + "ldap-server": { + "properties": { + "id": { + "description": "Unique identifier of this LDAP server", + "readOnly": true, "type": "string" }, - "compiler": { + "name": { + "description": "The name of this LDAP server", "type": "string" }, - "copyright": { + "userLockoutAction": { + "description": "action to take; one of 'remove' or 'disable'", + "enum": [ + "disable", + "remove" + ], "type": "string" }, - "development_region": { + "userPasswordExpirationAction": { + "description": "action to take; one of 'remove' or 'disable'", + "enum": [ + "disable", + "remove" + ], "type": "string" - }, - "display_name": { + } + }, + "title": "LDAP Server", + "type": "object" + }, + "object-storage-item": { + "description": "Object storage item information.", + "properties": { + "objectId": { "type": "string" }, - "element": { - "type": "string" + "versions": { + "items": { + "$ref": "#/definitions/object-storage-version" + }, + "type": "array" + } + }, + "title": "Object Storage item", + "type": "object" + }, + "object-storage-version": { + "description": "Object storage version information.", + "properties": { + "metadata": { + "type": "object", + "additionalProperties": true }, - "environment": { + "name": { "type": "string" }, - "info_string": { + "rejectedReason": { "type": "string" }, - "last_opened_time": { - "type": "number" - }, - "minimum_system_version": { + "sha256sum": { "type": "string" }, - "name": { - "type": "string" + "size": { + "default": 0, + "type": "integer" }, - "path": { + "status": { "type": "string" }, - "system_id": { - "type": "string" + "version": { + "default": 0, + "type": "integer" } }, - "title": "System Insights Apps", + "title": "Object Storage Version", "type": "object" }, - "system-insights-authorized-keys": { + "office365": { "properties": { - "algorithm": { - "type": "string" + "defaultDomain": { + "$ref": "#/definitions/defaultDomain" }, - "collection_time": { - "type": "string" + "groupsEnabled": { + "type": "boolean" }, - "key": { + "id": { + "readOnly": true, "type": "string" }, - "key_file": { + "name": { "type": "string" }, - "system_id": { + "userLockoutAction": { + "enum": [ + "suspend", + "maintain" + ], "type": "string" }, - "uid": { + "userPasswordExpirationAction": { + "enum": [ + "suspend", + "maintain" + ], "type": "string" } }, - "title": "System Insights Authorized Keys", + "title": "Office 365", "type": "object" }, - "system-insights-azure-instance-metadata": { + "samba-domain": { "properties": { - "collection_time": { - "type": "string" - }, - "location": { + "id": { + "description": "Unique identifier of this domain", + "readOnly": true, "type": "string" }, "name": { + "description": "Name of this domain's WorkGroup", "type": "string" }, - "offer": { - "type": "string" - }, - "os_type": { - "type": "string" - }, - "placement_group_id": { - "type": "string" - }, - "platform_fault_domain": { - "type": "string" - }, - "platform_update_domain": { - "type": "string" - }, - "publisher": { + "sid": { + "description": "Security identifier of this domain", "type": "string" - }, - "resource_group_name": { + } + }, + "required": [ + "name", + "sid" + ], + "title": "Samba Domain", + "type": "object" + }, + "scheduled-userstate-result": { + "properties": { + "scheduledDate": { + "description": "The UTC date and time when the scheduled job will execute.", "type": "string" }, - "sku": { + "scheduledJobId": { + "description": "The id of the scheduled job that scheduled the state change.", "type": "string" }, - "subscription_id": { + "state": { + "description": "The state that the user will be in once the scheduled job executes.", "type": "string" }, - "system_id": { + "systemUserId": { + "description": "The id of the user that the scheduled job will update.", "type": "string" - }, - "version": { + } + }, + "title": "Scheduled Userstate Result", + "type": "object" + }, + "software-app": { + "properties": { + "createdAt": { + "format": "date-time", "type": "string" }, - "vm_id": { + "displayName": { "type": "string" }, - "vm_scale_set_name": { + "id": { "type": "string" }, - "vm_size": { - "type": "string" + "settings": { + "items": { + "$ref": "#/definitions/SoftwareAppSettings" + }, + "type": "array" }, - "zone": { + "updatedAt": { + "format": "date-time", "type": "string" } }, - "title": "System Insights Azure Instance Metadata", + "title": "Software Application Package", "type": "object" }, - "system-insights-azure-instance-tags": { + "software-app-apple-vpp": { + "description": "appleVpp is an optional attribute, it will only be present on apps with a 'setting' 'package_manager' type of 'APPLE_VPP'.", "properties": { - "collection_time": { + "appConfiguration": { + "description": "Text sent to configure the application, the text should be a valid plist. Returned only by 'GET /softwareapps/{id}'.", "type": "string" }, - "key": { - "type": "string" - }, - "system_id": { - "type": "string" - }, - "value": { - "type": "string" - }, - "vm_id": { - "type": "string" - } - }, - "title": "System Insights Azure Instance Tags", - "type": "object" - }, - "system-insights-battery": { - "example": { - "amperage": 93836453, - "charged": 63086136, - "charging": 6577424, - "collection_time": "anim in dolor", - "condition": "magna Ut dolor laborum", - "current_capacity": 95829126, - "cycle_count": -58203101, - "designed_capacity": 51607498, - "health": "ipsum Duis amet magna sint", - "manufacture_date": 66625366, - "manufacturer": "laboris", - "max_capacity": 407375, - "minutes_to_full_charge": -43087634, - "minutes_until_empty": 56660087, - "model": "cupidatat quis esse tempor nostr", - "percent_remaining": -77798506, - "serial_number": "est do nisi anim eu", - "state": "Duis qui eu labore", - "system_id": "elit nulla cillum et", - "voltage": -79728034 - }, - "properties": { - "amperage": { - "type": "integer" - }, - "charged": { - "type": "integer" - }, - "charging": { - "type": "integer" - }, - "collection_time": { - "type": "string" - }, - "condition": { - "type": "string" - }, - "current_capacity": { - "type": "integer" - }, - "cycle_count": { - "type": "integer" - }, - "designed_capacity": { - "type": "integer" - }, - "health": { - "type": "string" - }, - "manufacture_date": { - "type": "integer" - }, - "manufacturer": { - "type": "string" - }, - "max_capacity": { - "type": "integer" - }, - "minutes_to_full_charge": { - "type": "integer" - }, - "minutes_until_empty": { + "assignedLicenses": { + "default": 0, "type": "integer" }, - "model": { - "type": "string" - }, - "percent_remaining": { + "availableLicenses": { + "default": 0, "type": "integer" }, - "serial_number": { - "type": "string" + "details": { + "description": "App details returned by iTunes API. See example. The properties in this field are out of our control and we cannot guarantee consistency, so it should be checked by the client and manage the details accordingly.", + "type": "object", + "additionalProperties": true }, - "state": { - "type": "string" + "isConfigEnabled": { + "description": "Denotes if configuration has been enabled for the application. Returned only by ''GET /softwareapps/{id}''.", + "type": "boolean" }, - "system_id": { - "type": "string" + "supportedDeviceFamilies": { + "description": "The supported device families for this VPP Application.", + "items": { + "enum": [ + "IPAD", + "IPHONE", + "IPOD", + "MAC" + ], + "type": "string" + }, + "type": "array" }, - "voltage": { + "totalLicenses": { + "default": 0, "type": "integer" } }, - "title": "System Insights Battery", + "title": "software-app-apple-vpp", "type": "object" }, - "system-insights-bitlocker-info": { - "example": { - "collection_time": "2019-06-03T13:41:30.658-06:00", - "conversion_status": 0, - "device_id": "\\\\\\\\?\\\\Volume{3ba5cc52-e0fd-45fa-b8b8-5c88f44f8b17}\\", - "drive_letter": "C:", - "encryption_method": "None", - "percentage_encrypted": 0, - "persistent_volume_id": "", - "protection_status": 0, - "system_id": "5c9e51a13c5146f89bae12d9" - }, + "software-app-create": { "properties": { - "collection_time": { - "type": "string" - }, - "conversion_status": { - "type": "integer" - }, - "device_id": { + "createdAt": { + "format": "date-time", "type": "string" }, - "drive_letter": { + "displayName": { "type": "string" }, - "encryption_method": { + "id": { "type": "string" }, - "percentage_encrypted": { - "type": "integer" + "settings": { + "items": { + "$ref": "#/definitions/SoftwareAppSettings" + }, + "type": "array" }, - "persistent_volume_id": { + "updatedAt": { + "format": "date-time", "type": "string" }, - "protection_status": { - "type": "integer" - }, - "system_id": { + "uploadUrl": { "type": "string" } }, - "title": "System Insights Bitlocker Info", + "title": "SoftwareApplicationCreate", "type": "object" }, - "system-insights-browser-plugins": { - "example": { - "collection_time": "2019-06-03T13:41:30.858-06:00", - "description": "LastPass Plugin", - "development_region": "en-US", - "disabled": 0, - "identifier": "com.lastpass.nplastpass", - "name": "LastPass", - "native": 0, - "path": "/Library/Internet Plug-Ins/nplastpass.plugin/", - "sdk": "7D175", - "system_id": "5c9e51a13c5146f89bae12d9", - "uid": "0", - "version": "4.1.7" - }, + "software-app-google-android": { + "description": "googleAndroid is an optional attribute, it will only be present on apps with a 'setting' 'package_manager' type of 'GOOGLE_ANDROID'.", "properties": { - "collection_time": { - "type": "string" - }, - "description": { - "type": "string" + "androidFeatures": { + "description": "The array of android features for the app.", + "items": { + "type": "string" + }, + "type": "array" }, - "development_region": { + "appPricing": { + "description": "Whether this app is free, free with in-app purchases, or paid.", "type": "string" }, - "disabled": { - "type": "integer" - }, - "identifier": { + "appVersion": { + "description": "Latest version currently available for this app.", "type": "string" }, - "name": { + "author": { + "description": "The name of the author of this app.", "type": "string" }, - "native": { - "type": "integer" - }, - "path": { + "autoUpdateMode": { + "description": "Controls the auto-update mode for the app.", + "enum": [ + "AUTO_UPDATE_DEFAULT", + "AUTO_UPDATE_POSTPONED", + "AUTO_UPDATE_HIGH_PRIORITY" + ], "type": "string" }, - "sdk": { + "category": { + "description": "The app category (e.g. COMMUNICATION, SOCIAL, etc.).", "type": "string" }, - "system_id": { + "contentRating": { + "description": "The content rating for this app.", "type": "string" }, - "uid": { + "displayMode": { + "description": "The display mode of the web app.", "type": "string" }, - "version": { - "type": "string" - } - }, - "title": "System Insights Browser Plugins", - "type": "object" - }, - "system-insights-certificates": { - "properties": { - "authority_key_id": { + "distributionChannel": { + "description": "How and to whom the package is made available.", "type": "string" }, - "ca": { - "type": "integer" - }, - "common_name": { + "fullDescription": { + "description": "Full app description, if available.", "type": "string" }, - "issuer": { + "iconUrl": { + "description": "A link to an image that can be used as an icon for the app.", "type": "string" }, - "key_algorithm": { + "installType": { + "description": "The type of installation to perform for an app.", + "enum": [ + "AVAILABLE", + "FORCE_INSTALLED", + "BLOCKED" + ], "type": "string" }, - "key_strength": { + "managedConfigurationTemplateId": { + "description": "The managed configurations template for the app.", "type": "string" }, - "key_usage": { - "type": "string" + "managedProperties": { + "description": "Indicates whether this app has managed properties or not.", + "type": "boolean" }, - "not_valid_after": { - "type": "string" - }, - "not_valid_before": { - "type": "string" + "minSdkVersion": { + "description": "The minimum Android SDK necessary to run the app.", + "type": "integer" }, - "path": { + "name": { + "description": "The name of the app in the form enterprises/{enterprise}/applications/{packageName}.", "type": "string" }, - "self_signed": { - "type": "integer" + "permissionGrants": { + "items": { + "$ref": "#/definitions/software-app-permission-grants" + }, + "type": "array" }, - "serial": { + "runtimePermission": { + "description": "The policy for granting permission requests to apps.", + "enum": [ + "PROMPT", + "GRANT", + "DENY" + ], "type": "string" }, - "sha1": { + "startUrl": { + "description": "The start URL, i.e. the URL that should load when the user opens the application. Applicable only for webapps.", "type": "string" }, - "sid": { + "type": { + "description": "Type of this android application.", + "enum": [ + "APP_TYPE_UNSPECIFIED", + "PUBLIC", + "PRIVATE", + "WEBAPP" + ], "type": "string" }, - "signing_algorithm": { + "updateTime": { + "description": "The approximate time (within 7 days) the app was last published.", "type": "string" }, - "store": { - "type": "string" + "versionCode": { + "description": "The current version of the web app.", + "type": "integer" + } + }, + "title": "software-app-google-android", + "type": "object" + }, + "software-app-microsoft-store": { + "description": "microsoftStore is an optional attribute, it will only be present on apps with a 'setting' 'package_manager' type of 'MICROSOFT_STORE'.", + "properties": { + "doNotUpdate": { + "description": "Indicates whether the app can be updated or not.", + "type": "boolean" }, - "store_id": { - "type": "string" + "nonRemovable": { + "description": "Indicates whether the app is removable by the users or not.", + "type": "boolean" }, - "store_location": { + "packageFamilyName": { + "description": "Package Family Name for the app from Microsoft App Store.", "type": "string" - }, - "subject": { + } + }, + "title": "software-app-microsoft-store", + "type": "object" + }, + "software-app-permission-grants": { + "properties": { + "id": { + "description": "An opaque string uniquely identifying the Android permission, e.g. android.permission.READ_CALENDAR.", "type": "string" }, - "subject_key_id": { + "policy": { + "description": "The policy for granting the permission.", + "enum": [ + "PROMPT", + "GRANT", + "DENY" + ], "type": "string" + } + }, + "type": "object" + }, + "software-app-reclaim-licenses": { + "properties": { + "assignedLicenses": { + "default": 0, + "type": "integer" }, - "system_id": { - "type": "string" + "availableLicenses": { + "default": 0, + "type": "integer" }, - "username": { - "type": "string" + "reclaimedLicenses": { + "default": 0, + "type": "integer" + }, + "totalLicenses": { + "default": 0, + "type": "integer" } - } + }, + "type": "object" }, - "system-insights-chassis-info": { + "SoftwareAppSettings": { "properties": { - "audible_alarm": { - "type": "string" + "allowUpdateDelay": { + "default": false, + "type": "boolean" }, - "breach_description": { + "appCatalogInstallableObjectId": { + "description": "ID of the app catalog installable that created this app.", "type": "string" }, - "chassis_types": { + "appFileName": { "type": "string" }, - "collection_time": { + "appleVpp": { + "$ref": "#/definitions/software-app-apple-vpp" + }, + "architectures": { + "items": { + "type": "string" + }, + "type": "array" + }, + "assetKind": { + "description": "The manifest asset kind (ex: software).", "type": "string" }, - "description": { + "assetSha256Size": { + "description": "The incremental size to use for summing the package as it is downloaded.", + "type": "integer" + }, + "assetSha256Strings": { + "description": "The array of checksums, one each for the hash size up to the total size of the package.", + "items": { + "type": "string" + }, + "type": "array" + }, + "autoUpdate": { + "default": false, + "type": "boolean" + }, + "bundleId": { "type": "string" }, - "lock": { + "commandLineArguments": { + "description": "Command line arguments to use with the application.", "type": "string" }, - "manufacturer": { + "createdAt": { + "format": "date-time", "type": "string" }, - "model": { + "description": { + "description": "The software app description.", "type": "string" }, - "security_breach": { + "desiredState": { + "description": "State of Install or Uninstall", "type": "string" }, - "serial": { + "downloadUrl": { "type": "string" }, - "sku": { + "enterpriseObjectId": { + "description": "ID of the Enterprise with which this app is associated", "type": "string" }, - "smbios_tag": { + "format": { "type": "string" }, - "status": { + "googleAndroid": { + "$ref": "#/definitions/software-app-google-android" + }, + "iconUrl": { + "description": "URL to the icon for the app.", "type": "string" }, - "system_id": { + "location": { + "description": "Repository where the app is located within the package manager", "type": "string" }, - "visible_alarm": { + "locationObjectId": { + "description": "ID of the repository where the app is located within the package manager", "type": "string" - } - }, - "title": "System Insights Chassis Info", - "type": "object" - }, - "system-insights-chrome-extensions": { - "example": { - "author": "", - "collection_time": "2019-06-03T13:41:31.125-06:00", - "description": "provider for discovery and services for mirroring of chrome media router", - "identifier": "pkedcjkdefgpdelpbcmbmeomcjbeemfm", - "locale": "en", - "name": "chrome media router", - "path": "/users/thomas/library/application support/google/chrome/default/extensions/pkedcjkdefgpdelpbcmbmeomcjbeemfm/7419.311.0.1_0/", - "permissions": "alarms, cast, cast.streaming, declarativewebrequest, desktopcapture, gcm, http://*/*, identity, identity.email, management, mdns, mediarouterprivate, metricsprivate, networkingprivate, processes, storage, system.cpu, settingsprivate, tabcapture, tabs, webview, https://hangouts.google.com/*, https://*.google.com/cast/chromecast/home/gsse", - "persistent": 0, - "system_id": "5c9e51a13c5146f89bae12d9", - "uid": "501", - "update_url": "https://clients2.google.com/service/update2/crx", - "version": "7419.311.0.1" - }, - "properties": { - "author": { + }, + "microsoftStore": { + "$ref": "#/definitions/software-app-microsoft-store" + }, + "packageId": { "type": "string" }, - "collection_time": { + "packageKind": { + "description": "The package manifest kind (ex: software-package).", "type": "string" }, - "description": { + "packageManager": { + "description": "App store serving the app: APPLE_VPP, CHOCOLATEY, etc.", "type": "string" }, - "identifier": { + "packageSubtitle": { + "description": "The package manifest subtitle.", "type": "string" }, - "locale": { + "packageVersion": { + "description": "The package manifest version.", "type": "string" }, - "name": { + "packageVersionUpdatedAt": { + "format": "date-time", "type": "string" }, - "path": { + "scope": { + "description": "The installation scope of the software app.", "type": "string" }, - "permissions": { + "shortVersion": { "type": "string" }, - "persistent": { - "type": "integer" + "storedPackage": { + "$ref": "#/definitions/object-storage-item" }, - "system_id": { + "storedPackageObjectId": { + "description": "ID of the stored package this app uses to reference the stored install media.", "type": "string" }, - "uid": { + "teamId": { "type": "string" }, - "update_url": { + "updateTool": { "type": "string" }, - "version": { - "type": "string" - } - }, - "title": "System Insights Chrome Extensions", - "type": "object" - }, - "system-insights-connectivity": { - "properties": { - "collection_time": { + "updateToolArguments": { "type": "string" }, - "disconnected": { - "type": "integer" + "updatedAt": { + "format": "date-time", + "type": "string" }, - "ipv4_internet": { - "type": "integer" - }, - "ipv4_local_network": { - "type": "integer" - }, - "ipv4_no_traffic": { - "type": "integer" - }, - "ipv4_subnet": { - "type": "integer" - }, - "ipv6_internet": { - "type": "integer" - }, - "ipv6_local_network": { - "type": "integer" - }, - "ipv6_no_traffic": { - "type": "integer" - }, - "ipv6_subnet": { - "type": "integer" - }, - "system_id": { - "type": "string" + "versionlessDownloadUrl": { + "type": "boolean" } }, - "title": "system insights connectivity", - "type": "object" + "type": "object", + "x-examples": { + "example-1": { + "allowUpdateDelay": false, + "autoUpdate": false, + "desiredState": "string", + "location": "string", + "locationObjectId": "string", + "packageId": "string", + "packageManager": "string" + } + } }, - "system-insights-crashes": { + "software-app-status": { "properties": { - "collection_time": { - "type": "string" + "code": { + "type": "integer" }, - "crash_path": { + "details": { "type": "string" }, - "crashed_thread": { + "id": { "type": "string" }, - "datetime": { + "softwareAppId": { "type": "string" }, - "exception_codes": { + "state": { "type": "string" }, - "exception_notes": { + "systemId": { "type": "string" }, - "exception_type": { + "timestamp": { "type": "string" }, - "identifier": { + "version": { "type": "string" + } + }, + "title": "Software Application Status" + }, + "subscription": { + "properties": { + "annualPrice": { + "description": "The annual (discounted) price of this subscription.", + "type": "number" }, - "parent": { + "displayName": { + "description": "The display name of this subscription.", "type": "string" }, - "path": { - "type": "string" + "features": { + "description": "Array of the features included in the subscription.", + "items": { + "$ref": "#/definitions/feature" + }, + "type": "array" }, - "pid": { - "type": "string" + "listPrice": { + "description": "The list price of this subscription.", + "type": "number" }, - "registers": { + "productCode": { + "description": "Unique identifier corresponding to this subscription.", "type": "string" }, - "responsible": { + "upgradeRecommendation": { + "description": "Upgrade plan add-on.", "type": "string" + } + }, + "required": [ + "annualPrice", + "displayName", + "features", + "listPrice", + "productCode" + ], + "title": "Subscription", + "type": "object" + }, + "system-insights-alf": { + "properties": { + "allow_signed_enabled": { + "type": "integer" }, - "stack_trace": { + "collection_time": { "type": "string" }, - "system_id": { - "type": "string" + "firewall_unload": { + "type": "integer" }, - "type": { - "type": "string" + "global_state": { + "type": "integer" }, - "uid": { + "logging_enabled": { + "type": "integer" + }, + "logging_option": { "type": "integer" }, + "stealth_enabled": { + "type": "integer" + }, + "system_id": { + "type": "string" + }, "version": { "type": "string" } }, - "title": "System Insights Crashes", + "title": "System Insights ALF", "type": "object" }, - "system-insights-cups-destinations": { + "system-insights-alf-exceptions": { "properties": { - "name": { + "collection_time": { "type": "string" }, - "option_name": { + "path": { "type": "string" }, - "option_value": { - "type": "string" + "state": { + "type": "number" }, "system_id": { "type": "string" } - } - }, - "system-insights-disk-encryption": { - "example": { - "collection_time": "2019-06-03T13:41:31.557-06:00", - "encrypted": 0, - "encryption_status": "undefined", - "name": "/dev/disk8", - "system_id": "5c9e51a13c5146f89bae12d9", - "type": "", - "uid": "", - "user_uuid": "", - "uuid": "" }, + "title": "System Insights ALF Exceptions", + "type": "object" + }, + "system-insights-alf-explicit-auths": { "properties": { "collection_time": { "type": "string" }, - "encrypted": { - "type": "integer" + "process": { + "type": "string" }, - "encryption_status": { + "system_id": { + "type": "string" + } + }, + "title": "System Insights ALF Explicit Authorizations", + "type": "object" + }, + "system-insights-appcompat-shims": { + "properties": { + "collection_time": { "type": "string" }, - "name": { + "description": { "type": "string" }, - "system_id": { + "executable": { "type": "string" }, - "type": { + "install_time": { + "type": "number" + }, + "path": { "type": "string" }, - "uid": { + "sdb_id": { "type": "string" }, - "user_uuid": { + "system_id": { "type": "string" }, - "uuid": { + "type": { "type": "string" } }, - "title": "System Insights Disk Encryption", + "title": "System Insights Application Compatibility Shims", "type": "object" }, - "system-insights-disk-info": { + "system-insights-apps": { "example": { - "collection_time": "2019-06-03T13:41:30.658-06:00", - "description": "Disk drive", - "disk_index": 0, - "disk_size": "64420392960", - "hardware_model": "VMware, VMware Virtual S SCSI Disk Device", - "id": "\\\\.\\PHYSICALDRIVE0", - "manufacturer": "(Standard disk drives)", - "name": "\\\\.\\PHYSICALDRIVE0", - "partitions": 3, - "pnp_device_id": "SCSI\\DISK&VEN_VMWARE_&PROD_VMWARE_VIRTUAL_S\\5&1EC51BF7&0&000000", - "serial": "", - "system_id": "5c9e51a13c5146f89bae12d9", - "type": "SCSI" + "applescript_enabled": "1", + "bundle_executable": "App Store", + "bundle_identifier": "com.apple.appstore", + "bundle_name": "App Store", + "bundle_package_type": "APPL", + "bundle_short_version": "2.4", + "bundle_version": "658.1", + "category": "public.app-category.utilities", + "collection_time": "2019-06-03T19:41:30.658Z", + "compiler": "com.apple.compilers.llvm.clang.1_0", + "copyright": "", + "development_region": "English", + "display_name": "App Store", + "element": "", + "environment": "", + "info_string": "", + "last_opened_time": 1556688963.50383, + "minimum_system_version": "10.13", + "name": "App Store.app", + "path": "/Applications/App Store.app", + "system_id": "5c9e51a13c5146f89bae12d9" }, "properties": { - "collection_time": { + "applescript_enabled": { "type": "string" }, - "description": { + "bundle_executable": { "type": "string" }, - "disk_index": { - "type": "integer" + "bundle_identifier": { + "type": "string" }, - "disk_size": { + "bundle_name": { "type": "string" }, - "hardware_model": { + "bundle_package_type": { "type": "string" }, - "id": { + "bundle_short_version": { "type": "string" }, - "manufacturer": { + "bundle_version": { "type": "string" }, - "name": { + "category": { "type": "string" }, - "partitions": { - "type": "integer" + "collection_time": { + "type": "string" }, - "pnp_device_id": { + "compiler": { "type": "string" }, - "serial": { + "copyright": { "type": "string" }, - "system_id": { + "development_region": { "type": "string" }, - "type": { + "display_name": { "type": "string" - } - }, - "title": "System Insights Disk Info", - "type": "object" - }, - "system-insights-dns-resolvers": { - "properties": { - "address": { + }, + "element": { "type": "string" }, - "collection_time": { + "environment": { "type": "string" }, - "id": { + "info_string": { + "type": "string" + }, + "last_opened_time": { "type": "number" }, - "netmask": { + "minimum_system_version": { "type": "string" }, - "options": { + "name": { "type": "string" }, - "system_id": { + "path": { "type": "string" }, - "type": { + "system_id": { "type": "string" } }, - "title": "System Insights DNS Resolvers", + "title": "System Insights Apps", "type": "object" }, - "system-insights-etc-hosts": { - "example": { - "address": "192.168.2.21", - "collection_time": "2019-06-03T13:41:30.658-06:00", - "hostnames": "hosty hosty.local", - "system_id": "5c9e51a13c5146f89bae12d9" - }, + "system-insights-authorized-keys": { "properties": { - "address": { + "algorithm": { "type": "string" }, "collection_time": { "type": "string" }, - "hostnames": { + "key": { + "type": "string" + }, + "key_file": { "type": "string" }, "system_id": { "type": "string" + }, + "uid": { + "type": "string" } }, - "title": "System Insights Etc Hosts", + "title": "System Insights Authorized Keys", "type": "object" }, - "system-insights-firefox-addons": { - "example": { - "active": 1, - "autoupdate": 1, - "collection_time": "2019-06-03T13:41:31.204-06:00", - "creator": "null", - "description": "", - "disabled": 0, - "identifier": "fxmonitor@mozilla.org", - "location": "app-system-addons", - "name": "Firefox Monitor", - "path": "", - "source_url": "file:///var/folders/dn/zjm_0lzn4lv6bgnt5b3nkgxh0000gn/T/tmpaddon-9fb449", - "system_id": "5c9e51a13c5146f89bae12d9", - "type": "extension", - "uid": "501", - "version": "2.8", - "visible": 1 - }, + "system-insights-azure-instance-metadata": { "properties": { - "active": { - "type": "integer" - }, - "autoupdate": { - "type": "integer" - }, "collection_time": { "type": "string" }, - "creator": { - "type": "string" - }, - "description": { + "location": { "type": "string" }, - "disabled": { - "type": "integer" - }, - "identifier": { + "name": { "type": "string" }, - "location": { + "offer": { "type": "string" }, - "name": { + "os_type": { "type": "string" }, - "path": { + "placement_group_id": { "type": "string" }, - "source_url": { + "platform_fault_domain": { "type": "string" }, - "system_id": { + "platform_update_domain": { "type": "string" }, - "type": { + "publisher": { "type": "string" }, - "uid": { + "resource_group_name": { "type": "string" }, - "version": { + "sku": { "type": "string" }, - "visible": { - "type": "integer" - } - }, - "title": "System Insights Firefox Addons", - "type": "object" - }, - "system-insights-groups": { - "example": { - "collection_time": "2019-06-03T13:41:31.673-06:00", - "comment": "", - "gid": "701", - "gid_signed": "701", - "group_sid": "", - "groupname": "1", - "system_id": "5c9e51a13c5146f89bae12d9" - }, - "properties": { - "collection_time": { + "subscription_id": { "type": "string" }, - "comment": { + "system_id": { "type": "string" }, - "gid": { + "version": { "type": "string" }, - "gid_signed": { + "vm_id": { "type": "string" }, - "group_sid": { + "vm_scale_set_name": { "type": "string" }, - "groupname": { + "vm_size": { "type": "string" }, - "system_id": { + "zone": { "type": "string" } }, - "title": "System Insights Groups", + "title": "System Insights Azure Instance Metadata", "type": "object" }, - "system-insights-ie-extensions": { + "system-insights-azure-instance-tags": { "properties": { "collection_time": { "type": "string" }, - "name": { - "type": "string" - }, - "path": { + "key": { "type": "string" }, - "registry_path": { + "system_id": { "type": "string" }, - "system_id": { + "value": { "type": "string" }, - "version": { + "vm_id": { "type": "string" } }, - "title": "System Insights IE Extensions", + "title": "System Insights Azure Instance Tags", "type": "object" }, - "system-insights-interface-addresses": { + "system-insights-battery": { "example": { - "address": "::1", - "broadcast": "", - "collection_time": "2019-06-03T13:41:31.008-06:00", - "friendly_name": "", - "interface": "lo0", - "mask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", - "point_to_point": "::1", - "system_id": "5c9e51a13c5146f89bae12d9", - "type": "unknown" + "amperage": 93836453, + "charged": 63086136, + "charging": 6577424, + "collection_time": "anim in dolor", + "condition": "magna Ut dolor laborum", + "current_capacity": 95829126, + "cycle_count": -58203101, + "designed_capacity": 51607498, + "health": "ipsum Duis amet magna sint", + "manufacture_date": 66625366, + "manufacturer": "laboris", + "max_capacity": 407375, + "minutes_to_full_charge": -43087634, + "minutes_until_empty": 56660087, + "model": "cupidatat quis esse tempor nostr", + "percent_remaining": -77798506, + "serial_number": "est do nisi anim eu", + "state": "Duis qui eu labore", + "system_id": "elit nulla cillum et", + "voltage": -79728034 }, "properties": { - "address": { + "amperage": { + "type": "integer" + }, + "charged": { + "type": "integer" + }, + "charging": { + "type": "integer" + }, + "collection_time": { "type": "string" }, - "broadcast": { + "condition": { "type": "string" }, - "collection_time": { + "current_capacity": { + "type": "integer" + }, + "cycle_count": { + "type": "integer" + }, + "designed_capacity": { + "type": "integer" + }, + "health": { "type": "string" }, - "friendly_name": { + "manufacture_date": { + "type": "integer" + }, + "manufacturer": { "type": "string" }, - "interface": { + "max_capacity": { + "type": "integer" + }, + "minutes_to_full_charge": { + "type": "integer" + }, + "minutes_until_empty": { + "type": "integer" + }, + "model": { "type": "string" }, - "mask": { + "percent_remaining": { + "type": "integer" + }, + "serial_number": { "type": "string" }, - "point_to_point": { + "state": { "type": "string" }, "system_id": { "type": "string" }, - "type": { - "type": "string" + "voltage": { + "type": "integer" } }, - "title": "System Insights Interface Addresses", + "title": "System Insights Battery", "type": "object" }, - "system-insights-interface-details": { + "system-insights-bitlocker-info": { + "example": { + "collection_time": "2019-06-03T19:41:30.658Z", + "conversion_status": 0, + "device_id": "\\\\\\\\?\\\\Volume{3ba5cc52-e0fd-45fa-b8b8-5c88f44f8b17}\\", + "drive_letter": "C:", + "encryption_method": "None", + "percentage_encrypted": 0, + "persistent_volume_id": "", + "protection_status": 0, + "system_id": "5c9e51a13c5146f89bae12d9" + }, "properties": { - "collisions": { + "collection_time": { "type": "string" }, - "connection_id": { + "conversion_status": { + "type": "integer" + }, + "device_id": { "type": "string" }, - "connection_status": { + "drive_letter": { "type": "string" }, - "description": { + "encryption_method": { "type": "string" }, - "dhcp_enabled": { + "percentage_encrypted": { "type": "integer" }, - "dhcp_lease_expires": { - "type": "string" - }, - "dhcp_lease_obtained": { + "persistent_volume_id": { "type": "string" }, - "dhcp_server": { - "type": "string" + "protection_status": { + "type": "integer" }, - "dns_domain": { + "system_id": { "type": "string" - }, - "dns_domain_suffix_search_order": { + } + }, + "title": "System Insights Bitlocker Info", + "type": "object" + }, + "system-insights-browser-plugins": { + "example": { + "collection_time": "2019-06-03T19:41:30.858Z", + "description": "LastPass Plugin", + "development_region": "en-US", + "disabled": 0, + "identifier": "com.lastpass.nplastpass", + "name": "LastPass", + "native": 0, + "path": "/Library/Internet Plug-Ins/nplastpass.plugin/", + "sdk": "7D175", + "system_id": "5c9e51a13c5146f89bae12d9", + "uid": "0", + "version": "4.1.7" + }, + "properties": { + "collection_time": { "type": "string" }, - "dns_host_name": { + "description": { "type": "string" }, - "dns_server_search_order": { + "development_region": { "type": "string" }, - "enabled": { - "type": "integer" - }, - "flags": { + "disabled": { "type": "integer" }, - "friendly_name": { - "type": "string" - }, - "ibytes": { + "identifier": { "type": "string" }, - "idrops": { + "name": { "type": "string" }, - "ierrors": { - "type": "string" + "native": { + "type": "integer" }, - "interface": { + "path": { "type": "string" }, - "ipackets": { + "sdk": { "type": "string" }, - "last_change": { + "system_id": { "type": "string" }, - "link_speed": { + "uid": { "type": "string" }, - "mac": { + "version": { "type": "string" - }, - "manufacturer": { + } + }, + "title": "System Insights Browser Plugins", + "type": "object" + }, + "system-insights-certificates": { + "properties": { + "authority_key_id": { "type": "string" }, - "metric": { - "type": "integer" - }, - "mtu": { + "ca": { "type": "integer" }, - "obytes": { + "common_name": { "type": "string" }, - "odrops": { + "issuer": { "type": "string" }, - "oerrors": { + "key_algorithm": { "type": "string" }, - "opackets": { + "key_strength": { "type": "string" }, - "pci_slot": { + "key_usage": { "type": "string" }, - "physical_adapter": { - "type": "integer" - }, - "service": { + "not_valid_after": { "type": "string" }, - "speed": { - "type": "integer" - }, - "system_id": { + "not_valid_before": { "type": "string" }, - "type": { - "type": "integer" - } - }, - "type": "object" - }, - "system-insights-kernel-info": { - "properties": { - "arguments": { + "path": { "type": "string" }, - "collection_time": { - "type": "string" + "self_signed": { + "type": "integer" }, - "device": { + "serial": { "type": "string" }, - "path": { + "sha1": { "type": "string" }, - "system_id": { + "sid": { "type": "string" }, - "version": { - "type": "string" - } - }, - "title": "System Insights Kernel Info", - "type": "object" - }, - "system-insights-launchd": { - "properties": { - "collection_time": { + "signing_algorithm": { "type": "string" }, - "disabled": { + "store": { "type": "string" }, - "groupname": { + "store_id": { "type": "string" }, - "inetd_compatibility": { + "store_location": { "type": "string" }, - "keep_alive": { + "subject": { "type": "string" }, - "label": { + "subject_key_id": { "type": "string" }, - "name": { + "system_id": { "type": "string" }, - "on_demand": { + "username": { "type": "string" - }, - "path": { + } + } + }, + "system-insights-chassis-info": { + "properties": { + "audible_alarm": { "type": "string" }, - "process_type": { + "breach_description": { "type": "string" }, - "program": { + "chassis_types": { "type": "string" }, - "program_arguments": { + "collection_time": { "type": "string" }, - "queue_directories": { + "description": { "type": "string" }, - "root_directory": { + "lock": { "type": "string" }, - "run_at_load": { + "manufacturer": { "type": "string" }, - "start_interval": { + "model": { "type": "string" }, - "start_on_mount": { + "security_breach": { "type": "string" }, - "stderr_path": { + "serial": { "type": "string" }, - "stdout_path": { + "sku": { "type": "string" }, - "system_id": { + "smbios_tag": { "type": "string" }, - "username": { + "status": { "type": "string" }, - "watch_paths": { + "system_id": { "type": "string" }, - "working_directory": { + "visible_alarm": { "type": "string" } }, - "title": "System Insights LaunchD", + "title": "System Insights Chassis Info", "type": "object" }, - "system-insights-linux-packages": { + "system-insights-chrome-extensions": { "example": { - "arch": "amd64", - "install_time": 100000, - "maintainer_or_vendor": "Ubuntu Developers ", - "mount_namespace_id": "id123", - "name": "zip", - "package_format": "deb", - "package_group_or_section": "utils", - "pid_with_namespace": 0, - "release_or_revision": "11build1", - "size": "100000", + "author": "", + "collection_time": "2019-06-03t19:41:31.125z", + "description": "provider for discovery and services for mirroring of chrome media router", + "identifier": "pkedcjkdefgpdelpbcmbmeomcjbeemfm", + "locale": "en", + "name": "chrome media router", + "path": "/users/thomas/library/application support/google/chrome/default/extensions/pkedcjkdefgpdelpbcmbmeomcjbeemfm/7419.311.0.1_0/", + "permissions": "alarms, cast, cast.streaming, declarativewebrequest, desktopcapture, gcm, http://*/*, identity, identity.email, management, mdns, mediarouterprivate, metricsprivate, networkingprivate, processes, storage, system.cpu, settingsprivate, tabcapture, tabs, webview, https://hangouts.google.com/*, https://*.google.com/cast/chromecast/home/gsse", + "persistent": 0, "system_id": "5c9e51a13c5146f89bae12d9", - "version": "3.0-11build1" + "uid": "501", + "update_url": "https://clients2.google.com/service/update2/crx", + "version": "7419.311.0.1" }, "properties": { - "arch": { + "author": { "type": "string" }, - "install_time": { - "type": "integer" + "collection_time": { + "type": "string" }, - "maintainer_or_vendor": { + "description": { "type": "string" }, - "mount_namespace_id": { + "identifier": { + "type": "string" + }, + "locale": { "type": "string" }, "name": { "type": "string" }, - "package_format": { + "path": { "type": "string" }, - "package_group_or_section": { + "permissions": { "type": "string" }, - "pid_with_namespace": { + "persistent": { "type": "integer" }, - "release_or_revision": { + "system_id": { "type": "string" }, - "size": { + "uid": { "type": "string" }, - "system_id": { + "update_url": { "type": "string" }, "version": { "type": "string" } }, - "title": "System Insights Linux Packages", + "title": "System Insights Chrome Extensions", "type": "object" }, - "system-insights-logged-in-users": { + "system-insights-connectivity": { "properties": { "collection_time": { "type": "string" }, - "host": { - "type": "string" + "disconnected": { + "type": "integer" }, - "pid": { + "ipv4_internet": { "type": "integer" }, - "system_id": { - "type": "string" + "ipv4_local_network": { + "type": "integer" }, - "time": { + "ipv4_no_traffic": { "type": "integer" }, - "tty": { - "type": "string" + "ipv4_subnet": { + "type": "integer" }, - "type": { - "type": "string" + "ipv6_internet": { + "type": "integer" }, - "user": { - "type": "string" - } - }, - "title": "System Insights Logged-In Users", - "type": "object" - }, - "system-insights-logical-drives": { - "example": { - "boot_partition": 0, - "collection_time": "2019-06-03T13:41:30.658-06:00", - "device_id": "C:", - "file_system": "NTFS", - "free_space": "43194331136", - "size": "63778582528", - "system_id": "5c9e51a13c5146f89bae12d9", - "type": "Unknown" - }, - "properties": { - "boot_partition": { + "ipv6_local_network": { "type": "integer" }, - "collection_time": { - "type": "string" - }, - "device_id": { - "type": "string" - }, - "file_system": { - "type": "string" - }, - "free_space": { - "type": "string" + "ipv6_no_traffic": { + "type": "integer" }, - "size": { - "type": "string" + "ipv6_subnet": { + "type": "integer" }, "system_id": { "type": "string" - }, - "type": { - "type": "string" } }, - "title": "System Insights Logical Drives", + "title": "system insights connectivity", "type": "object" }, - "system-insights-managed-policies": { + "system-insights-crashes": { "properties": { "collection_time": { "type": "string" }, - "domain": { - "type": "string" - }, - "manual": { - "type": "integer" - }, - "name": { + "crash_path": { "type": "string" }, - "system_id": { + "crashed_thread": { "type": "string" }, - "username": { + "datetime": { "type": "string" }, - "uuid": { + "exception_codes": { "type": "string" }, - "value": { - "type": "string" - } - }, - "title": "System Insights Managed Policies", - "type": "object" - }, - "system-insights-mounts": { - "example": { - "blocks": "388086", - "blocks_available": "95135", - "blocks_free": "95135", - "blocks_size": "4096", - "collection_time": "2019-06-03T13:41:31.746-06:00", - "device": "/dev/disk5s1", - "device_alias": "/dev/disk5s1", - "flags": "70292505", - "inodes": "4294967279", - "inodes_free": "4294966853", - "path": "/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/.vbfolder_1dQavK", - "system_id": "5c9e51a13c5146f89bae12d9", - "type": "hfs" - }, - "properties": { - "blocks": { + "exception_notes": { "type": "string" }, - "blocks_available": { + "exception_type": { "type": "string" }, - "blocks_free": { + "identifier": { "type": "string" }, - "blocks_size": { + "parent": { "type": "string" }, - "collection_time": { + "path": { "type": "string" }, - "device": { + "pid": { "type": "string" }, - "device_alias": { + "registers": { "type": "string" }, - "flags": { + "responsible": { "type": "string" }, - "inodes": { + "stack_trace": { "type": "string" }, - "inodes_free": { + "system_id": { "type": "string" }, - "path": { + "type": { "type": "string" }, - "system_id": { - "type": "string" + "uid": { + "type": "integer" }, - "type": { + "version": { "type": "string" } }, - "title": "System Insights Mounts", + "title": "System Insights Crashes", "type": "object" }, - "system-insights-os-version": { - "example": { - "build": "17G65", - "codename": "", - "collection_time": "2019-06-03T13:41:30.933-06:00", - "install_date": "", - "major": 10, - "minor": 13, - "name": "Mac OS X", - "patch": 6, - "platform": "darwin", - "platform_like": "darwin", - "system_id": "5c9e51a13c5146f89bae12d9", - "version": "10.13.6" - }, + "system-insights-cups-destinations": { "properties": { - "build": { - "type": "string" - }, - "codename": { - "type": "string" - }, - "collection_time": { - "type": "string" - }, - "install_date": { - "type": "string" - }, - "major": { - "type": "integer" - }, - "minor": { - "type": "integer" - }, "name": { "type": "string" }, - "patch": { - "type": "integer" - }, - "platform": { + "option_name": { "type": "string" }, - "platform_like": { + "option_value": { "type": "string" }, "system_id": { "type": "string" - }, - "version": { - "type": "string" } - }, - "title": "System Insights OS Version", - "type": "object" + } }, - "system-insights-patches": { + "system-insights-disk-encryption": { "example": { - "caption": "http://support.microsoft.com/?kbid=4503308", - "collection_time": "2019-06-03T13:41:31.673-06:00", - "csname": "DESKTOP-B17DUKP", - "description": "Security Update", - "fix_comments": "", - "hotfix_id": "KB4503308", - "install_date": "", - "installed_by": "NT AUTHORITY\\SYSTEM", - "installed_on": "7/30/2019", - "system_id": "5c9e51a13c5146f89bae12d9" + "collection_time": "2019-06-03T19:41:31.557Z", + "encrypted": 0, + "encryption_status": "undefined", + "name": "/dev/disk8", + "system_id": "5c9e51a13c5146f89bae12d9", + "type": "", + "uid": "", + "user_uuid": "", + "uuid": "" }, "properties": { - "caption": { - "type": "string" - }, "collection_time": { "type": "string" }, - "csname": { - "type": "string" + "encrypted": { + "type": "integer" }, - "description": { + "encryption_status": { "type": "string" }, - "fix_comments": { + "name": { "type": "string" }, - "hotfix_id": { + "system_id": { "type": "string" }, - "install_date": { + "type": { "type": "string" }, - "installed_by": { + "uid": { "type": "string" }, - "installed_on": { + "user_uuid": { "type": "string" }, - "system_id": { + "uuid": { "type": "string" } }, - "title": "System Insights Patches", + "title": "System Insights Disk Encryption", "type": "object" }, - "system-insights-programs": { + "system-insights-disk-info": { "example": { - "collection_time": "2019-06-03T13:41:31.673-06:00", - "identifying_number": "{2E8B8BDD-03DF-4C1C-8C99-E6A4BCBF43CE}", - "install_date": "20190724", - "install_location": "", - "install_source": "C:\\Windows\\SoftwareDistribution\\Download\\b78f29c88063bd09e7afd48e257d0126\\img\\", - "language": "0", - "name": "Update for Windows 10 for x64-based Systems (KB4480730)", - "publisher": "Microsoft Corporation", + "collection_time": "2019-06-03T19:41:30.658Z", + "description": "Disk drive", + "disk_index": 0, + "disk_size": "64420392960", + "hardware_model": "VMware, VMware Virtual S SCSI Disk Device", + "id": "\\\\.\\PHYSICALDRIVE0", + "manufacturer": "(Standard disk drives)", + "name": "\\\\.\\PHYSICALDRIVE0", + "partitions": 3, + "pnp_device_id": "SCSI\\DISK&VEN_VMWARE_&PROD_VMWARE_VIRTUAL_S\\5&1EC51BF7&0&000000", + "serial": "", "system_id": "5c9e51a13c5146f89bae12d9", - "uninstall_string": "MsiExec.exe /X{2E8B8BDD-03DF-4C1C-8C99-E6A4BCBF43CE}", - "version": "2.51.0.0" + "type": "SCSI" }, "properties": { "collection_time": { "type": "string" }, - "identifying_number": { + "description": { "type": "string" }, - "install_date": { + "disk_index": { + "type": "integer" + }, + "disk_size": { "type": "string" }, - "install_location": { + "hardware_model": { "type": "string" }, - "install_source": { + "id": { "type": "string" }, - "language": { + "manufacturer": { "type": "string" }, "name": { "type": "string" }, - "publisher": { + "partitions": { + "type": "integer" + }, + "pnp_device_id": { "type": "string" }, - "system_id": { + "serial": { "type": "string" }, - "uninstall_string": { + "system_id": { "type": "string" }, - "version": { + "type": { "type": "string" } }, - "title": "System Insights Programs", + "title": "System Insights Disk Info", "type": "object" }, - "system-insights-python-packages": { + "system-insights-dns-resolvers": { "properties": { - "auther": { + "address": { "type": "string" }, - "directory": { + "collection_time": { "type": "string" }, - "license": { - "type": "string" + "id": { + "type": "number" }, - "name": { + "netmask": { "type": "string" }, - "path": { + "options": { "type": "string" }, - "summary": { + "system_id": { "type": "string" }, - "system_id": { + "type": { + "type": "string" + } + }, + "title": "System Insights DNS Resolvers", + "type": "object" + }, + "system-insights-etc-hosts": { + "example": { + "address": "192.168.2.21", + "collection_time": "2019-06-03T19:41:30.658Z", + "hostnames": "hosty hosty.local", + "system_id": "5c9e51a13c5146f89bae12d9" + }, + "properties": { + "address": { "type": "string" }, - "version": { + "collection_time": { + "type": "string" + }, + "hostnames": { + "type": "string" + }, + "system_id": { "type": "string" } - } + }, + "title": "System Insights Etc Hosts", + "type": "object" }, - "system-insights-safari-extensions": { + "system-insights-firefox-addons": { "example": { - "author": "Eyeo GmbH", - "collection_time": "2019-05-16T12:58:15.673-06:00", - "description": "Used by over 50 million people, a free ad blocker that blocks ALL annoying ads, malware and tracking.", - "developer_id": "GRYYZR985A", - "identifier": "org.adblockplus.adblockplussafari", - "name": "Adblock Plus", - "path": "/Users/samuelharvanek/Library/Safari/Extensions/Adblock Plus.safariextz", - "sdk": "6.0", - "system_id": "5cdb13e85a0e0719283583c0", + "active": 1, + "autoupdate": 1, + "collection_time": "2019-06-03T19:41:31.204Z", + "creator": "null", + "description": "", + "disabled": 0, + "identifier": "fxmonitor@mozilla.org", + "location": "app-system-addons", + "name": "Firefox Monitor", + "path": "", + "source_url": "file:///var/folders/dn/zjm_0lzn4lv6bgnt5b3nkgxh0000gn/T/tmpaddon-9fb449", + "system_id": "5c9e51a13c5146f89bae12d9", + "type": "extension", "uid": "501", - "update_url": "https://update.adblockplus.org/adblockplussafari/updates.plist", - "version": "1.12.5" + "version": "2.8", + "visible": 1 }, "properties": { - "author": { - "type": "string" + "active": { + "type": "integer" + }, + "autoupdate": { + "type": "integer" }, "collection_time": { "type": "string" }, - "description": { + "creator": { "type": "string" }, - "developer_id": { + "description": { "type": "string" }, + "disabled": { + "type": "integer" + }, "identifier": { "type": "string" }, + "location": { + "type": "string" + }, "name": { "type": "string" }, "path": { "type": "string" }, - "sdk": { + "source_url": { "type": "string" }, "system_id": { "type": "string" }, - "uid": { + "type": { "type": "string" }, - "update_url": { + "uid": { "type": "string" }, "version": { "type": "string" + }, + "visible": { + "type": "integer" } }, - "title": "System Insights Safari Extensions", + "title": "System Insights Firefox Addons", "type": "object" }, - "system-insights-scheduled-tasks": { + "system-insights-groups": { + "example": { + "collection_time": "2019-06-03T19:41:31.673Z", + "comment": "", + "gid": "701", + "gid_signed": "701", + "group_sid": "", + "groupname": "1", + "system_id": "5c9e51a13c5146f89bae12d9" + }, "properties": { - "action": { - "type": "string" - }, - "enabled": { - "type": "integer" - }, - "hidden": { - "type": "integer" - }, - "last_run_code": { - "type": "string" - }, - "last_run_message": { + "collection_time": { "type": "string" }, - "last_run_time": { + "comment": { "type": "string" }, - "name": { + "gid": { "type": "string" }, - "next_run_time": { + "gid_signed": { "type": "string" }, - "path": { + "group_sid": { "type": "string" }, - "state": { + "groupname": { "type": "string" }, "system_id": { "type": "string" } }, + "title": "System Insights Groups", "type": "object" }, - "system-insights-secureboot": { + "system-insights-ie-extensions": { "properties": { "collection_time": { "type": "string" }, - "secure_boot": { - "type": "number" + "name": { + "type": "string" }, - "setup_mode": { - "type": "number" + "path": { + "type": "string" + }, + "registry_path": { + "type": "string" }, "system_id": { "type": "string" + }, + "version": { + "type": "string" } }, - "title": "System Insights Secure Boot", + "title": "System Insights IE Extensions", "type": "object" }, - "system-insights-services": { + "system-insights-interface-addresses": { + "example": { + "address": "::1", + "broadcast": "", + "collection_time": "2019-06-03T19:41:31.008Z", + "friendly_name": "", + "interface": "lo0", + "mask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", + "point_to_point": "::1", + "system_id": "5c9e51a13c5146f89bae12d9", + "type": "unknown" + }, "properties": { - "description": { - "type": "string" - }, - "display_name": { + "address": { "type": "string" }, - "module_path": { + "broadcast": { "type": "string" }, - "name": { + "collection_time": { "type": "string" }, - "path": { + "friendly_name": { "type": "string" }, - "pid": { - "type": "integer" - }, - "service_exit_code": { - "type": "integer" - }, - "service_type": { + "interface": { "type": "string" }, - "start_type": { + "mask": { "type": "string" }, - "status": { + "point_to_point": { "type": "string" }, "system_id": { "type": "string" }, - "user_account": { + "type": { "type": "string" - }, - "win32_exit_code": { - "type": "integer" } }, + "title": "System Insights Interface Addresses", "type": "object" }, - "system-insights-shadow": { + "system-insights-interface-details": { "properties": { - "collection_time": { + "collisions": { "type": "string" }, - "expire": { + "connection_id": { "type": "string" }, - "flag": { + "connection_status": { "type": "string" }, - "hash_alg": { + "description": { "type": "string" }, - "inactive": { - "type": "string" + "dhcp_enabled": { + "type": "integer" }, - "last_change": { + "dhcp_lease_expires": { "type": "string" }, - "max": { + "dhcp_lease_obtained": { "type": "string" }, - "min": { + "dhcp_server": { "type": "string" }, - "password_status": { + "dns_domain": { "type": "string" }, - "system_id": { + "dns_domain_suffix_search_order": { "type": "string" }, - "username": { + "dns_host_name": { "type": "string" }, - "warning": { - "type": "string" - } - }, - "title": "System Insights Shadow", - "type": "object" - }, - "system-insights-shared-folders": { - "properties": { - "collection_time": { + "dns_server_search_order": { "type": "string" }, - "name": { - "type": "string" + "enabled": { + "type": "integer" }, - "path": { - "type": "string" + "flags": { + "type": "integer" }, - "system_id": { + "friendly_name": { "type": "string" - } - }, - "title": "System Insights Shared Folders", - "type": "object" - }, - "system-insights-shared-resources": { - "properties": { - "allow_maximum": { - "type": "integer" }, - "collection_time": { + "ibytes": { "type": "string" }, - "description": { + "idrops": { "type": "string" }, - "install_date": { + "ierrors": { "type": "string" }, - "maximum_allowed": { + "interface": { "type": "string" }, - "name": { + "ipackets": { "type": "string" }, - "path": { + "last_change": { "type": "string" }, - "status": { + "link_speed": { "type": "string" }, - "system_id": { + "mac": { "type": "string" }, - "type": { - "type": "string" - } - }, - "title": "System Insights Shared Resources", - "type": "object" - }, - "system-insights-sharing-preferences": { - "properties": { - "bluetooth_sharing": { - "type": "integer" - }, - "collection_time": { + "manufacturer": { "type": "string" }, - "content_caching": { + "metric": { "type": "integer" }, - "disc_sharing": { + "mtu": { "type": "integer" }, - "file_sharing": { - "type": "integer" + "obytes": { + "type": "string" }, - "internet_sharing": { - "type": "integer" + "odrops": { + "type": "string" }, - "printer_sharing": { - "type": "integer" + "oerrors": { + "type": "string" }, - "remote_apple_events": { - "type": "integer" + "opackets": { + "type": "string" }, - "remote_login": { - "type": "integer" + "pci_slot": { + "type": "string" }, - "remote_management": { + "physical_adapter": { "type": "integer" }, - "screen_sharing": { + "service": { + "type": "string" + }, + "speed": { "type": "integer" }, "system_id": { "type": "string" + }, + "type": { + "type": "integer" } }, - "title": "System Insights Sharing Preferences", "type": "object" }, - "system-insights-sip-config": { + "system-insights-kernel-info": { "properties": { - "collection_time": { + "arguments": { "type": "string" }, - "config_flag": { + "collection_time": { "type": "string" }, - "enabled": { - "type": "integer" + "device": { + "type": "string" }, - "enabled_nvram": { - "type": "integer" + "path": { + "type": "string" }, "system_id": { "type": "string" + }, + "version": { + "type": "string" } }, - "title": "System Insights SIP Config", + "title": "System Insights Kernel Info", "type": "object" }, - "system-insights-startup-items": { + "system-insights-launchd": { "properties": { - "args": { + "collection_time": { + "type": "string" + }, + "disabled": { + "type": "string" + }, + "groupname": { + "type": "string" + }, + "inetd_compatibility": { + "type": "string" + }, + "keep_alive": { + "type": "string" + }, + "label": { "type": "string" }, "name": { "type": "string" }, + "on_demand": { + "type": "string" + }, "path": { "type": "string" }, - "source": { + "process_type": { "type": "string" }, - "status": { + "program": { "type": "string" }, - "system_id": { + "program_arguments": { "type": "string" }, - "type": { + "queue_directories": { "type": "string" }, - "username": { + "root_directory": { "type": "string" - } - } - }, - "system-insights-system-controls": { - "properties": { - "collection_time": { + }, + "run_at_load": { "type": "string" }, - "config_value": { + "start_interval": { "type": "string" }, - "current_value": { + "start_on_mount": { "type": "string" }, - "field_name": { + "stderr_path": { "type": "string" }, - "name": { + "stdout_path": { "type": "string" }, - "oid": { + "system_id": { "type": "string" }, - "subsystem": { + "username": { "type": "string" }, - "system_id": { + "watch_paths": { "type": "string" }, - "type": { + "working_directory": { "type": "string" } }, - "title": "System Insights System Controls", + "title": "System Insights LaunchD", "type": "object" }, - "system-insights-system-info": { + "system-insights-linux-packages": { "example": { - "collection_time": "2019-06-03T13:41:30.771-06:00", - "computer_name": "Johnny's MacBook Pro (2)", - "cpu_brand": "Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz", - "cpu_logical_cores": 8, - "cpu_microcode": "", - "cpu_physical_cores": 4, - "cpu_subtype": "Intel x86-64h Haswell", - "cpu_type": "x86_64h", - "hardware_model": "MacBookPro14,3 ", - "hardware_serial": "111111FFFFFF", - "hardware_vendor": "Apple Inc. ", - "hardware_version": "1.0 ", - "hostname": "johnnys-macbook-pro-2.local", - "local_hostname": "Jonnys-MacBook-Pro-2", - "physical_memory": "17179869184", + "arch": "amd64", + "install_time": 100000, + "maintainer_or_vendor": "Ubuntu Developers ", + "mount_namespace_id": "id123", + "name": "zip", + "package_format": "deb", + "package_group_or_section": "utils", + "pid_with_namespace": 0, + "release_or_revision": "11build1", + "size": "100000", "system_id": "5c9e51a13c5146f89bae12d9", - "uuid": "11111111-FFFF-1111-FFFF-111111111111" + "version": "3.0-11build1" }, "properties": { - "collection_time": { + "arch": { "type": "string" }, - "computer_name": { + "install_time": { + "type": "integer" + }, + "maintainer_or_vendor": { "type": "string" }, - "cpu_brand": { + "mount_namespace_id": { "type": "string" }, - "cpu_logical_cores": { - "type": "integer" + "name": { + "type": "string" }, - "cpu_microcode": { + "package_format": { "type": "string" }, - "cpu_physical_cores": { + "package_group_or_section": { + "type": "string" + }, + "pid_with_namespace": { "type": "integer" }, - "cpu_subtype": { + "release_or_revision": { "type": "string" }, - "cpu_type": { + "size": { "type": "string" }, - "hardware_model": { + "system_id": { "type": "string" }, - "hardware_serial": { + "version": { "type": "string" - }, - "hardware_vendor": { + } + }, + "title": "System Insights Linux Packages", + "type": "object" + }, + "system-insights-logged-in-users": { + "properties": { + "collection_time": { "type": "string" }, - "hardware_version": { + "host": { "type": "string" }, - "hostname": { - "type": "string" + "pid": { + "type": "integer" }, - "local_hostname": { + "system_id": { "type": "string" }, - "physical_memory": { + "time": { + "type": "integer" + }, + "tty": { "type": "string" }, - "system_id": { + "type": { "type": "string" }, - "uuid": { + "user": { "type": "string" } }, - "title": "System Insights System Info", + "title": "System Insights Logged-In Users", "type": "object" }, - "system-insights-tpm-info": { + "system-insights-logical-drives": { + "example": { + "boot_partition": 0, + "collection_time": "2019-06-03T19:41:30.658Z", + "device_id": "C:", + "file_system": "NTFS", + "free_space": "43194331136", + "size": "63778582528", + "system_id": "5c9e51a13c5146f89bae12d9", + "type": "Unknown" + }, "properties": { - "activated": { - "type": "number" + "boot_partition": { + "type": "integer" }, "collection_time": { "type": "string" }, - "enabled": { - "type": "number" - }, - "manufacturer_id": { - "type": "number" - }, - "manufacturer_name": { + "device_id": { "type": "string" }, - "manufacturer_version": { + "file_system": { "type": "string" }, - "owned": { - "type": "number" - }, - "physical_presence_version": { + "free_space": { "type": "string" }, - "product_name": { + "size": { "type": "string" }, - "spec_version": { + "system_id": { "type": "string" }, - "system_id": { + "type": { "type": "string" } }, - "title": "System Insights TPM Info", + "title": "System Insights Logical Drives", "type": "object" }, - "system-insights-uptime": { + "system-insights-managed-policies": { "properties": { "collection_time": { "type": "string" }, - "days": { - "type": "integer" + "domain": { + "type": "string" }, - "hours": { + "manual": { "type": "integer" }, - "minutes": { - "type": "integer" - }, - "seconds": { - "type": "integer" + "name": { + "type": "string" }, "system_id": { "type": "string" }, - "total_seconds": { + "username": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { "type": "string" } }, - "title": "System Insights Uptime", + "title": "System Insights Managed Policies", "type": "object" }, - "system-insights-usb-devices": { + "system-insights-mounts": { + "example": { + "blocks": "388086", + "blocks_available": "95135", + "blocks_free": "95135", + "blocks_size": "4096", + "collection_time": "2019-06-03T19:41:31.746Z", + "device": "/dev/disk5s1", + "device_alias": "/dev/disk5s1", + "flags": "70292505", + "inodes": "4294967279", + "inodes_free": "4294966853", + "path": "/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/.vbfolder_1dQavK", + "system_id": "5c9e51a13c5146f89bae12d9", + "type": "hfs" + }, "properties": { - "class": { + "blocks": { "type": "string" }, - "collection_time": { + "blocks_available": { "type": "string" }, - "model": { + "blocks_free": { "type": "string" }, - "model_id": { + "blocks_size": { "type": "string" }, - "protocol": { + "collection_time": { "type": "string" }, - "removable": { - "type": "integer" - }, - "serial": { + "device": { "type": "string" }, - "subclass": { + "device_alias": { "type": "string" }, - "system_id": { + "flags": { "type": "string" }, - "usb_address": { - "type": "integer" + "inodes": { + "type": "string" }, - "usb_port": { - "type": "integer" + "inodes_free": { + "type": "string" }, - "vendor": { + "path": { "type": "string" }, - "vendor_id": { + "system_id": { "type": "string" }, - "version": { + "type": { "type": "string" } }, - "title": "System Insights USB Devices", + "title": "System Insights Mounts", "type": "object" }, - "system-insights-user-groups": { + "system-insights-os-version": { + "example": { + "build": "17G65", + "codename": "", + "collection_time": "2019-06-03T19:41:30.933Z", + "install_date": "", + "major": 10, + "minor": 13, + "name": "Mac OS X", + "patch": 6, + "platform": "darwin", + "platform_like": "darwin", + "system_id": "5c9e51a13c5146f89bae12d9", + "version": "10.13.6" + }, "properties": { - "collection_time": { + "build": { "type": "string" }, - "gid": { + "codename": { "type": "string" }, - "system_id": { + "collection_time": { "type": "string" }, - "uid": { + "install_date": { "type": "string" - } - }, - "title": "System Insights User Groups", - "type": "object" - }, - "system-insights-user-ssh-keys": { - "properties": { - "collection_time": { + }, + "major": { + "type": "integer" + }, + "minor": { + "type": "integer" + }, + "name": { "type": "string" }, - "encrypted": { + "patch": { "type": "integer" }, - "path": { + "platform": { + "type": "string" + }, + "platform_like": { "type": "string" }, "system_id": { "type": "string" }, - "uid": { + "version": { "type": "string" } }, - "title": "System Insights User SSH Keys", + "title": "System Insights OS Version", "type": "object" }, - "system-insights-userassist": { + "system-insights-patches": { + "example": { + "caption": "http://support.microsoft.com/?kbid=4503308", + "collection_time": "2019-06-03T19:41:31.673Z", + "csname": "DESKTOP-B17DUKP", + "description": "Security Update", + "fix_comments": "", + "hotfix_id": "KB4503308", + "install_date": "", + "installed_by": "NT AUTHORITY\\SYSTEM", + "installed_on": "7/30/2019", + "system_id": "5c9e51a13c5146f89bae12d9" + }, "properties": { + "caption": { + "type": "string" + }, "collection_time": { "type": "string" }, - "count": { - "type": "number" + "csname": { + "type": "string" }, - "last_execution_time": { - "type": "number" + "description": { + "type": "string" }, - "path": { + "fix_comments": { "type": "string" }, - "sid": { + "hotfix_id": { + "type": "string" + }, + "install_date": { + "type": "string" + }, + "installed_by": { + "type": "string" + }, + "installed_on": { "type": "string" }, "system_id": { "type": "string" } }, - "title": "System Insights User Assist", + "title": "System Insights Patches", "type": "object" }, - "system-insights-users": { + "system-insights-programs": { "example": { - "collection_time": "2019-06-03T13:41:29.71-06:00", - "description": "AppleEvents Daemon", - "directory": "/var/empty", - "gid": "55", - "gid_signed": "55", - "shell": "/usr/bin/false", + "collection_time": "2019-06-03T19:41:31.673Z", + "identifying_number": "{2E8B8BDD-03DF-4C1C-8C99-E6A4BCBF43CE}", + "install_date": "20190724", + "install_location": "", + "install_source": "C:\\Windows\\SoftwareDistribution\\Download\\b78f29c88063bd09e7afd48e257d0126\\img\\", + "language": "0", + "name": "Update for Windows 10 for x64-based Systems (KB4480730)", + "publisher": "Microsoft Corporation", "system_id": "5c9e51a13c5146f89bae12d9", - "type": "", - "uid": "55", - "uid_signed": "55", - "username": "_appleevents", - "uuid": "FFFFEEEE-DDDD-CCCC-BBBB-AAAA00000037" + "uninstall_string": "MsiExec.exe /X{2E8B8BDD-03DF-4C1C-8C99-E6A4BCBF43CE}", + "version": "2.51.0.0" }, "properties": { - "ad_managed": { - "description": "Indicates this account belongs to a AD-managed user", - "type": "boolean" - }, - "admin": { - "description": "Indicates this account has local administrator privileges", - "type": "boolean" - }, "collection_time": { "type": "string" }, - "description": { - "type": "string" - }, - "directory": { - "type": "string" - }, - "gid": { + "identifying_number": { "type": "string" }, - "gid_signed": { + "install_date": { "type": "string" }, - "last_login": { - "description": "A Unix timestamp showing the last time this user logged in", + "install_location": { "type": "string" }, - "managed": { - "description": "Indicates this account belongs to a JumpCloud-managed user", - "type": "boolean" - }, - "real_user": { - "description": "Indicates this account represents an interactive user account vs. a system or daemon account", - "type": "boolean" - }, - "shell": { + "install_source": { "type": "string" }, - "suspended": { - "description": "Indicates this account is suspended or locked out", - "type": "boolean" - }, - "system_id": { + "language": { "type": "string" }, - "type": { + "name": { "type": "string" }, - "uid": { + "publisher": { "type": "string" }, - "uid_signed": { + "system_id": { "type": "string" }, - "username": { + "uninstall_string": { "type": "string" }, - "uuid": { + "version": { "type": "string" } }, - "title": "System Insights Users", + "title": "System Insights Programs", "type": "object" }, - "system-insights-wifi-networks": { + "system-insights-python-packages": { "properties": { - "auto_login": { - "type": "number" - }, - "captive_portal": { - "type": "number" - }, - "collection_time": { + "auther": { "type": "string" }, - "disabled": { - "type": "number" - }, - "last_connected": { - "type": "number" - }, - "network_name": { + "directory": { "type": "string" }, - "passpoint": { - "type": "number" - }, - "possibly_hidden": { - "type": "number" - }, - "roaming": { - "type": "number" + "license": { + "type": "string" }, - "roaming_profile": { + "name": { "type": "string" }, - "security_type": { + "path": { "type": "string" }, - "ssid": { + "summary": { "type": "string" }, "system_id": { "type": "string" }, - "temporarily_disabled": { - "type": "number" + "version": { + "type": "string" } - }, - "title": "System Insights WiFi Networks", - "type": "object" + } }, - "system-insights-wifi-status": { + "system-insights-safari-extensions": { + "example": { + "author": "Eyeo GmbH", + "collection_time": "2019-05-16T18:58:15.673Z", + "description": "Used by over 50 million people, a free ad blocker that blocks ALL annoying ads, malware and tracking.", + "developer_id": "GRYYZR985A", + "identifier": "org.adblockplus.adblockplussafari", + "name": "Adblock Plus", + "path": "/Users/samuelharvanek/Library/Safari/Extensions/Adblock Plus.safariextz", + "sdk": "6.0", + "system_id": "5cdb13e85a0e0719283583c0", + "uid": "501", + "update_url": "https://update.adblockplus.org/adblockplussafari/updates.plist", + "version": "1.12.5" + }, "properties": { - "bssid": { + "author": { "type": "string" }, - "channel": { - "type": "number" - }, - "channel_band": { - "type": "number" - }, - "channel_width": { - "type": "number" - }, "collection_time": { "type": "string" }, - "country_code": { + "description": { "type": "string" }, - "interface": { + "developer_id": { "type": "string" }, - "mode": { + "identifier": { "type": "string" }, - "network_name": { + "name": { "type": "string" }, - "noise": { - "type": "number" + "path": { + "type": "string" }, - "rssi": { - "type": "number" + "sdk": { + "type": "string" }, - "security_type": { + "system_id": { "type": "string" }, - "ssid": { + "uid": { "type": "string" }, - "system_id": { + "update_url": { "type": "string" }, - "transmit_rate": { + "version": { "type": "string" } }, - "title": "System Insights WiFi Status", + "title": "System Insights Safari Extensions", "type": "object" }, - "system-insights-windows-security-center": { + "system-insights-scheduled-tasks": { "properties": { - "antispyware": { + "action": { "type": "string" }, - "antivirus": { + "enabled": { + "type": "integer" + }, + "hidden": { + "type": "integer" + }, + "last_run_code": { "type": "string" }, - "autoupdate": { + "last_run_message": { "type": "string" }, - "collection_time": { + "last_run_time": { "type": "string" }, - "firewall": { + "name": { "type": "string" }, - "internet_settings": { + "next_run_time": { "type": "string" }, - "system_id": { + "path": { "type": "string" }, - "user_account_control": { + "state": { "type": "string" }, - "windows_security_center_service": { + "system_id": { "type": "string" } }, - "title": "System Insights Windows Security Center", "type": "object" }, - "system-insights-windows-security-products": { + "system-insights-secureboot": { "properties": { "collection_time": { "type": "string" }, + "secure_boot": { + "type": "number" + }, + "setup_mode": { + "type": "number" + }, + "system_id": { + "type": "string" + } + }, + "title": "System Insights Secure Boot", + "type": "object" + }, + "system-insights-services": { + "properties": { + "description": { + "type": "string" + }, + "display_name": { + "type": "string" + }, + "module_path": { + "type": "string" + }, "name": { "type": "string" }, - "remediation_path": { + "path": { "type": "string" }, - "signatures_up_to_date": { - "type": "number" + "pid": { + "type": "integer" }, - "state": { + "service_exit_code": { + "type": "integer" + }, + "service_type": { "type": "string" }, - "state_timestamp": { + "start_type": { + "type": "string" + }, + "status": { "type": "string" }, "system_id": { "type": "string" }, - "type": { + "user_account": { "type": "string" + }, + "win32_exit_code": { + "type": "integer" } }, - "title": "System Insights Windows Security Products", "type": "object" }, - "systemfdekey": { + "system-insights-shadow": { "properties": { - "key": { + "collection_time": { "type": "string" - } - }, - "required": [ - "key" - ], - "title": "SystemFDEKey", - "type": "object" - }, - "workday-fields": { - "properties": { - "name": { + }, + "expire": { "type": "string" }, - "reportUrl": { + "flag": { + "type": "string" + }, + "hash_alg": { + "type": "string" + }, + "inactive": { + "type": "string" + }, + "last_change": { + "type": "string" + }, + "max": { + "type": "string" + }, + "min": { + "type": "string" + }, + "password_status": { + "type": "string" + }, + "system_id": { + "type": "string" + }, + "username": { + "type": "string" + }, + "warning": { "type": "string" } }, - "title": "Workday Fields", + "title": "System Insights Shadow", "type": "object" }, - "workday-input": { - "example": { - "auth": { - "basic": { - "password": "in tempor ipsum quis", - "username": "mollit ex" - }, - "oauth": { - "code": "non laborum dolore" - } - }, - "name": "dolore tempor", - "reportUrl": "est sit laboris" - }, + "system-insights-shared-folders": { "properties": { - "auth": { - "$ref": "#/definitions/auth-input" + "collection_time": { + "type": "string" }, "name": { "type": "string" }, - "reportUrl": { + "path": { + "type": "string" + }, + "system_id": { "type": "string" } }, - "title": "Workday Input", + "title": "System Insights Shared Folders", "type": "object" }, - "workday-output": { + "system-insights-shared-resources": { "properties": { - "auth": { - "properties": { - "basic": { - "$ref": "#/definitions/auth-info" - }, - "oauth": { - "$ref": "#/definitions/auth-info" - } - }, - "type": "object" + "allow_maximum": { + "type": "integer" }, - "id": { + "collection_time": { "type": "string" }, - "lastImport": { + "description": { "type": "string" }, - "name": { + "install_date": { "type": "string" }, - "reportUrl": { + "maximum_allowed": { "type": "string" - } - }, - "title": "Workday Output", - "type": "object" - }, - "workday-worker": { - "properties": { - "attributes": { - "type": "object", - "additionalProperties": true }, - "email": { + "name": { "type": "string" }, - "firstName": { + "path": { "type": "string" }, - "lastName": { + "status": { "type": "string" }, - "username": { + "system_id": { + "type": "string" + }, + "type": { "type": "string" } }, - "title": "Workday Worker", + "title": "System Insights Shared Resources", "type": "object" - } - }, + }, + "system-insights-sharing-preferences": { + "properties": { + "bluetooth_sharing": { + "type": "integer" + }, + "collection_time": { + "type": "string" + }, + "content_caching": { + "type": "integer" + }, + "disc_sharing": { + "type": "integer" + }, + "file_sharing": { + "type": "integer" + }, + "internet_sharing": { + "type": "integer" + }, + "printer_sharing": { + "type": "integer" + }, + "remote_apple_events": { + "type": "integer" + }, + "remote_login": { + "type": "integer" + }, + "remote_management": { + "type": "integer" + }, + "screen_sharing": { + "type": "integer" + }, + "system_id": { + "type": "string" + } + }, + "title": "System Insights Sharing Preferences", + "type": "object" + }, + "system-insights-sip-config": { + "properties": { + "collection_time": { + "type": "string" + }, + "config_flag": { + "type": "string" + }, + "enabled": { + "type": "integer" + }, + "enabled_nvram": { + "type": "integer" + }, + "system_id": { + "type": "string" + } + }, + "title": "System Insights SIP Config", + "type": "object" + }, + "system-insights-startup-items": { + "properties": { + "args": { + "type": "string" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "source": { + "type": "string" + }, + "status": { + "type": "string" + }, + "system_id": { + "type": "string" + }, + "type": { + "type": "string" + }, + "username": { + "type": "string" + } + } + }, + "system-insights-system-controls": { + "properties": { + "collection_time": { + "type": "string" + }, + "config_value": { + "type": "string" + }, + "current_value": { + "type": "string" + }, + "field_name": { + "type": "string" + }, + "name": { + "type": "string" + }, + "oid": { + "type": "string" + }, + "subsystem": { + "type": "string" + }, + "system_id": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "title": "System Insights System Controls", + "type": "object" + }, + "system-insights-system-info": { + "example": { + "collection_time": "2019-06-03T19:41:30.771Z", + "computer_name": "Johnny's MacBook Pro (2)", + "cpu_brand": "Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz", + "cpu_logical_cores": 8, + "cpu_microcode": "", + "cpu_physical_cores": 4, + "cpu_subtype": "Intel x86-64h Haswell", + "cpu_type": "x86_64h", + "hardware_model": "MacBookPro14,3 ", + "hardware_serial": "111111FFFFFF", + "hardware_vendor": "Apple Inc. ", + "hardware_version": "1.0 ", + "hostname": "johnnys-macbook-pro-2.local", + "local_hostname": "Jonnys-MacBook-Pro-2", + "physical_memory": "17179869184", + "system_id": "5c9e51a13c5146f89bae12d9", + "uuid": "11111111-FFFF-1111-FFFF-111111111111" + }, + "properties": { + "collection_time": { + "type": "string" + }, + "computer_name": { + "type": "string" + }, + "cpu_brand": { + "type": "string" + }, + "cpu_logical_cores": { + "type": "integer" + }, + "cpu_microcode": { + "type": "string" + }, + "cpu_physical_cores": { + "type": "integer" + }, + "cpu_subtype": { + "type": "string" + }, + "cpu_type": { + "type": "string" + }, + "hardware_model": { + "type": "string" + }, + "hardware_serial": { + "type": "string" + }, + "hardware_vendor": { + "type": "string" + }, + "hardware_version": { + "type": "string" + }, + "hostname": { + "type": "string" + }, + "local_hostname": { + "type": "string" + }, + "physical_memory": { + "type": "string" + }, + "system_id": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "title": "System Insights System Info", + "type": "object" + }, + "system-insights-tpm-info": { + "properties": { + "activated": { + "type": "number" + }, + "collection_time": { + "type": "string" + }, + "enabled": { + "type": "number" + }, + "manufacturer_id": { + "type": "number" + }, + "manufacturer_name": { + "type": "string" + }, + "manufacturer_version": { + "type": "string" + }, + "owned": { + "type": "number" + }, + "physical_presence_version": { + "type": "string" + }, + "product_name": { + "type": "string" + }, + "spec_version": { + "type": "string" + }, + "system_id": { + "type": "string" + } + }, + "title": "System Insights TPM Info", + "type": "object" + }, + "system-insights-uptime": { + "properties": { + "collection_time": { + "type": "string" + }, + "days": { + "type": "integer" + }, + "hours": { + "type": "integer" + }, + "minutes": { + "type": "integer" + }, + "seconds": { + "type": "integer" + }, + "system_id": { + "type": "string" + }, + "total_seconds": { + "type": "string" + } + }, + "title": "System Insights Uptime", + "type": "object" + }, + "system-insights-usb-devices": { + "properties": { + "class": { + "type": "string" + }, + "collection_time": { + "type": "string" + }, + "model": { + "type": "string" + }, + "model_id": { + "type": "string" + }, + "protocol": { + "type": "string" + }, + "removable": { + "type": "integer" + }, + "serial": { + "type": "string" + }, + "subclass": { + "type": "string" + }, + "system_id": { + "type": "string" + }, + "usb_address": { + "type": "integer" + }, + "usb_port": { + "type": "integer" + }, + "vendor": { + "type": "string" + }, + "vendor_id": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "title": "System Insights USB Devices", + "type": "object" + }, + "system-insights-user-groups": { + "properties": { + "collection_time": { + "type": "string" + }, + "gid": { + "type": "string" + }, + "system_id": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "title": "System Insights User Groups", + "type": "object" + }, + "system-insights-user-ssh-keys": { + "properties": { + "collection_time": { + "type": "string" + }, + "encrypted": { + "type": "integer" + }, + "path": { + "type": "string" + }, + "system_id": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "title": "System Insights User SSH Keys", + "type": "object" + }, + "system-insights-userassist": { + "properties": { + "collection_time": { + "type": "string" + }, + "count": { + "type": "number" + }, + "last_execution_time": { + "type": "number" + }, + "path": { + "type": "string" + }, + "sid": { + "type": "string" + }, + "system_id": { + "type": "string" + } + }, + "title": "System Insights User Assist", + "type": "object" + }, + "system-insights-users": { + "example": { + "collection_time": "2019-06-03T19:41:29.71Z", + "description": "AppleEvents Daemon", + "directory": "/var/empty", + "gid": "55", + "gid_signed": "55", + "shell": "/usr/bin/false", + "system_id": "5c9e51a13c5146f89bae12d9", + "type": "", + "uid": "55", + "uid_signed": "55", + "username": "_appleevents", + "uuid": "FFFFEEEE-DDDD-CCCC-BBBB-AAAA00000037" + }, + "properties": { + "ad_managed": { + "description": "Indicates this account belongs to a AD-managed user", + "type": "boolean" + }, + "admin": { + "description": "Indicates this account has local administrator privileges", + "type": "boolean" + }, + "collection_time": { + "type": "string" + }, + "description": { + "type": "string" + }, + "directory": { + "type": "string" + }, + "gid": { + "type": "string" + }, + "gid_signed": { + "type": "string" + }, + "last_login": { + "description": "A Unix timestamp showing the last time this user logged in", + "type": "string" + }, + "managed": { + "description": "Indicates this account belongs to a JumpCloud-managed user", + "type": "boolean" + }, + "real_user": { + "description": "Indicates this account represents an interactive user account vs. a system or daemon account", + "type": "boolean" + }, + "shell": { + "type": "string" + }, + "suspended": { + "description": "Indicates this account is suspended or locked out", + "type": "boolean" + }, + "system_id": { + "type": "string" + }, + "type": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "uid_signed": { + "type": "string" + }, + "username": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "title": "System Insights Users", + "type": "object" + }, + "system-insights-wifi-networks": { + "properties": { + "auto_login": { + "type": "number" + }, + "captive_portal": { + "type": "number" + }, + "collection_time": { + "type": "string" + }, + "disabled": { + "type": "number" + }, + "last_connected": { + "type": "number" + }, + "network_name": { + "type": "string" + }, + "passpoint": { + "type": "number" + }, + "possibly_hidden": { + "type": "number" + }, + "roaming": { + "type": "number" + }, + "roaming_profile": { + "type": "string" + }, + "security_type": { + "type": "string" + }, + "ssid": { + "type": "string" + }, + "system_id": { + "type": "string" + }, + "temporarily_disabled": { + "type": "number" + } + }, + "title": "System Insights WiFi Networks", + "type": "object" + }, + "system-insights-wifi-status": { + "properties": { + "bssid": { + "type": "string" + }, + "channel": { + "type": "number" + }, + "channel_band": { + "type": "number" + }, + "channel_width": { + "type": "number" + }, + "collection_time": { + "type": "string" + }, + "country_code": { + "type": "string" + }, + "interface": { + "type": "string" + }, + "mode": { + "type": "string" + }, + "network_name": { + "type": "string" + }, + "noise": { + "type": "number" + }, + "rssi": { + "type": "number" + }, + "security_type": { + "type": "string" + }, + "ssid": { + "type": "string" + }, + "system_id": { + "type": "string" + }, + "transmit_rate": { + "type": "string" + } + }, + "title": "System Insights WiFi Status", + "type": "object" + }, + "system-insights-windows-security-center": { + "properties": { + "antispyware": { + "type": "string" + }, + "antivirus": { + "type": "string" + }, + "autoupdate": { + "type": "string" + }, + "collection_time": { + "type": "string" + }, + "firewall": { + "type": "string" + }, + "internet_settings": { + "type": "string" + }, + "system_id": { + "type": "string" + }, + "user_account_control": { + "type": "string" + }, + "windows_security_center_service": { + "type": "string" + } + }, + "title": "System Insights Windows Security Center", + "type": "object" + }, + "system-insights-windows-security-products": { + "properties": { + "collection_time": { + "type": "string" + }, + "name": { + "type": "string" + }, + "remediation_path": { + "type": "string" + }, + "signatures_up_to_date": { + "type": "number" + }, + "state": { + "type": "string" + }, + "state_timestamp": { + "type": "string" + }, + "system_id": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "title": "System Insights Windows Security Products", + "type": "object" + }, + "systemfdekey": { + "properties": { + "key": { + "type": "string" + } + }, + "required": [ + "key" + ], + "title": "SystemFDEKey", + "type": "object" + }, + "workday-fields": { + "properties": { + "name": { + "type": "string" + }, + "reportUrl": { + "type": "string" + } + }, + "title": "Workday Fields", + "type": "object" + }, + "workday-input": { + "example": { + "auth": { + "basic": { + "password": "in tempor ipsum quis", + "username": "mollit ex" + }, + "oauth": { + "code": "non laborum dolore" + } + }, + "name": "dolore tempor", + "reportUrl": "est sit laboris" + }, + "properties": { + "auth": { + "$ref": "#/definitions/auth-input" + }, + "name": { + "type": "string" + }, + "reportUrl": { + "type": "string" + } + }, + "title": "Workday Input", + "type": "object" + }, + "workday-output": { + "properties": { + "auth": { + "properties": { + "basic": { + "$ref": "#/definitions/auth-info" + }, + "oauth": { + "$ref": "#/definitions/auth-info" + } + }, + "type": "object" + }, + "id": { + "type": "string" + }, + "lastImport": { + "type": "string" + }, + "name": { + "type": "string" + }, + "reportUrl": { + "type": "string" + } + }, + "title": "Workday Output", + "type": "object" + }, + "workday-worker": { + "properties": { + "attributes": { + "type": "object", + "additionalProperties": true + }, + "email": { + "type": "string" + }, + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "title": "Workday Worker", + "type": "object" + } + }, "host": "console.jumpcloud.com", "info": { "contact": { "name": "JumpCloud Support", "url": "https://jumpcloud.com/support/contact-jumpcloud-support" }, - "description": "# Overview\n\nJumpCloud's V2 API. This set of endpoints allows JumpCloud customers to manage objects, groupings and mappings and interact with the JumpCloud Graph.\n\n> **Note:** Customers using the [EU Data Center](https://jumpcloud.com/support/jumpcloud-eu-data-center-faq) should use `https://console.eu.jumpcloud.com` in the endpoint URLs.\n\n## API Best Practices\n\nRead the linked Help Article below for guidance on retrying failed requests to JumpCloud's REST API, as well as best practices for structuring subsequent retry requests. Customizing retry mechanisms based on these recommendations will increase the reliability and dependability of your API calls.\n\nCovered topics include:\n1. Important Considerations\n2. Supported HTTP Request Methods\n3. Response codes\n4. API Key rotation\n5. Paginating\n6. Error handling\n7. Retry rates\n\n[JumpCloud Help Center - API Best Practices](https://support.jumpcloud.com/support/s/article/JumpCloud-API-Best-Practices)\n\n# Directory Objects\n\nThis API offers the ability to interact with some of our core features; otherwise known as Directory Objects. The Directory Objects are:\n\n* Commands\n* Policies\n* Policy Groups\n* Applications\n* Systems\n* Users\n* User Groups\n* System Groups\n* Radius Servers\n* Directories: Office 365, LDAP,G-Suite, Active Directory\n* Duo accounts and applications.\n\nThe Directory Object is an important concept to understand in order to successfully use JumpCloud API.\n\n## JumpCloud Graph\n\nWe've also introduced the concept of the JumpCloud Graph along with Directory Objects. The Graph is a powerful aspect of our platform which will enable you to associate objects with each other, or establish membership for certain objects to become members of other objects.\n\nSpecific `GET` endpoints will allow you to traverse the JumpCloud Graph to return all indirect and directly bound objects in your organization.\n\n| ![alt text](https://s3.amazonaws.com/jumpcloud-kb/Knowledge+Base+Photos/API+Docs/jumpcloud_graph.png \"JumpCloud Graph Model Example\") |\n|:--:|\n| **This diagram highlights our association and membership model as it relates to Directory Objects.** |\n\n# API Key\n\n## Access Your API Key\n\nTo locate your API Key:\n\n1. Log into the [JumpCloud Admin Console](https://console.jumpcloud.com/).\n2. Go to the username drop down located in the top-right of the Console.\n3. Retrieve your API key from API Settings.\n\n## API Key Considerations\n\nThis API key is associated to the currently logged in administrator. Other admins will have different API keys.\n\n**WARNING** Please keep this API key secret, as it grants full access to any data accessible via your JumpCloud console account.\n\nYou can also reset your API key in the same location in the JumpCloud Admin Console.\n\n## Recycling or Resetting Your API Key\n\nIn order to revoke access with the current API key, simply reset your API key. This will render all calls using the previous API key inaccessible.\n\nYour API key will be passed in as a header with the header name \"x-api-key\".\n\n```bash\ncurl -H \"x-api-key: [YOUR_API_KEY_HERE]\" \"https://console.jumpcloud.com/api/v2/systemgroups\"\n```\n\n# System Context\n\n* [Introduction](#introduction)\n* [Supported endpoints](#supported-endpoints)\n* [Response codes](#response-codes)\n* [Authentication](#authentication)\n* [Additional examples](#additional-examples)\n* [Third party](#third-party)\n\n## Introduction\n\nJumpCloud System Context Authorization is an alternative way to authenticate with a subset of JumpCloud's REST APIs. Using this method, a system can manage its information and resource associations, allowing modern auto provisioning environments to scale as needed.\n\n**Notes:**\n\n * The following documentation applies to Linux Operating Systems only.\n * Systems that have been automatically enrolled using Apple's Device Enrollment Program (DEP) or systems enrolled using the User Portal install are not eligible to use the System Context API to prevent unauthorized access to system groups and resources. If a script that utilizes the System Context API is invoked on a system enrolled in this way, it will display an error.\n\n## Supported Endpoints\n\nJumpCloud System Context Authorization can be used in conjunction with Systems endpoints found in the V1 API and certain System Group endpoints found in the v2 API.\n\n* A system may fetch, alter, and delete metadata about itself, including manipulating a system's Group and Systemuser associations,\n * `/api/systems/{system_id}` | [`GET`](https://docs.jumpcloud.com/api/1.0/index.html#operation/systems_get) [`PUT`](https://docs.jumpcloud.com/api/1.0/index.html#operation/systems_put)\n* A system may delete itself from your JumpCloud organization\n * `/api/systems/{system_id}` | [`DELETE`](https://docs.jumpcloud.com/api/1.0/index.html#operation/systems_delete)\n* A system may fetch its direct resource associations under v2 (Groups)\n * `/api/v2/systems/{system_id}/memberof` | [`GET`](https://docs.jumpcloud.com/api/2.0/index.html#operation/graph_systemGroupMembership)\n * `/api/v2/systems/{system_id}/associations` | [`GET`](https://docs.jumpcloud.com/api/2.0/index.html#operation/graph_systemAssociationsList)\n * `/api/v2/systems/{system_id}/users` | [`GET`](https://docs.jumpcloud.com/api/2.0/index.html#operation/graph_systemTraverseUser)\n* A system may alter its direct resource associations under v2 (Groups)\n * `/api/v2/systems/{system_id}/associations` | [`POST`](https://docs.jumpcloud.com/api/2.0/index.html#operation/graph_systemAssociationsPost)\n* A system may alter its System Group associations\n * `/api/v2/systemgroups/{group_id}/members` | [`POST`](https://docs.jumpcloud.com/api/2.0/index.html#operation/graph_systemGroupMembersPost)\n * _NOTE_ If a system attempts to alter the system group membership of a different system the request will be rejected\n\n## Response Codes\n\nIf endpoints other than those described above are called using the System Context API, the server will return a `401` response.\n\n## Authentication\n\nTo allow for secure access to our APIs, you must authenticate each API request.\nJumpCloud System Context Authorization uses [HTTP Signatures](https://tools.ietf.org/html/draft-cavage-http-signatures-00) to authenticate API requests.\nThe HTTP Signatures sent with each request are similar to the signatures used by the Amazon Web Services REST API.\nTo help with the request-signing process, we have provided an [example bash script](https://github.com/TheJumpCloud/SystemContextAPI/blob/master/examples/shell/SigningExample.sh). This example API request simply requests the entire system record. You must be root, or have permissions to access the contents of the `/opt/jc` directory to generate a signature.\n\nHere is a breakdown of the example script with explanations.\n\nFirst, the script extracts the systemKey from the JSON formatted `/opt/jc/jcagent.conf` file.\n\n```bash\n#!/bin/bash\nconf=\"`cat /opt/jc/jcagent.conf`\"\nregex=\"systemKey\\\":\\\"(\\w+)\\\"\"\n\nif [[ $conf =~ $regex ]] ; then\n systemKey=\"${BASH_REMATCH[1]}\"\nfi\n```\n\nThen, the script retrieves the current date in the correct format.\n\n```bash\nnow=`date -u \"+%a, %d %h %Y %H:%M:%S GMT\"`;\n```\n\nNext, we build a signing string to demonstrate the expected signature format. The signed string must consist of the [request-line](https://tools.ietf.org/html/rfc2616#page-35) and the date header, separated by a newline character.\n\n```bash\nsignstr=\"GET /api/systems/${systemKey} HTTP/1.1\\ndate: ${now}\"\n```\n\nThe next step is to calculate and apply the signature. This is a two-step process:\n\n1. Create a signature from the signing string using the JumpCloud Agent private key: ``printf \"$signstr\" | openssl dgst -sha256 -sign /opt/jc/client.key``\n2. Then Base64-encode the signature string and trim off the newline characters: ``| openssl enc -e -a | tr -d '\\n'``\n\nThe combined steps above result in:\n\n```bash\nsignature=`printf \"$signstr\" | openssl dgst -sha256 -sign /opt/jc/client.key | openssl enc -e -a | tr -d '\\n'` ;\n```\n\nFinally, we make sure the API call sending the signature has the same Authorization and Date header values, HTTP method, and URL that were used in the signing string.\n\n```bash\ncurl -iq \\\n -H \"Accept: application/json\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Date: ${now}\" \\\n -H \"Authorization: Signature keyId=\\\"system/${systemKey}\\\",headers=\\\"request-line date\\\",algorithm=\\\"rsa-sha256\\\",signature=\\\"${signature}\\\"\" \\\n --url https://console.jumpcloud.com/api/systems/${systemKey}\n```\n\n### Input Data\n\nAll PUT and POST methods should use the HTTP Content-Type header with a value of 'application/json'. PUT methods are used for updating a record. POST methods are used to create a record.\n\nThe following example demonstrates how to update the `displayName` of the system.\n\n```bash\nsignstr=\"PUT /api/systems/${systemKey} HTTP/1.1\\ndate: ${now}\"\nsignature=`printf \"$signstr\" | openssl dgst -sha256 -sign /opt/jc/client.key | openssl enc -e -a | tr -d '\\n'` ;\n\ncurl -iq \\\n -d \"{\\\"displayName\\\" : \\\"updated-system-name-1\\\"}\" \\\n -X \"PUT\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Accept: application/json\" \\\n -H \"Date: ${now}\" \\\n -H \"Authorization: Signature keyId=\\\"system/${systemKey}\\\",headers=\\\"request-line date\\\",algorithm=\\\"rsa-sha256\\\",signature=\\\"${signature}\\\"\" \\\n --url https://console.jumpcloud.com/api/systems/${systemKey}\n```\n\n### Output Data\n\nAll results will be formatted as JSON.\n\nHere is an abbreviated example of response output:\n\n```json\n{\n \"_id\": \"625ee96f52e144993e000015\",\n \"agentServer\": \"lappy386\",\n \"agentVersion\": \"0.9.42\",\n \"arch\": \"x86_64\",\n \"displayName\": \"ubuntu-1204\",\n \"firstContact\": \"2013-10-16T19:30:55.611Z\",\n \"hostname\": \"ubuntu-1204\"\n ...\n```\n\n## Additional Examples\n\n### Signing Authentication Example\n\nThis example demonstrates how to make an authenticated request to fetch the JumpCloud record for this system.\n\n[SigningExample.sh](https://github.com/TheJumpCloud/SystemContextAPI/blob/master/examples/shell/SigningExample.sh)\n\n### Shutdown Hook\n\nThis example demonstrates how to make an authenticated request on system shutdown.\nUsing an init.d script registered at run level 0, you can call the System Context API as the system is shutting down.\n\n[Instance-shutdown-initd](https://github.com/TheJumpCloud/SystemContextAPI/blob/master/examples/instance-shutdown-initd) is an example of an init.d script that only runs at system shutdown.\n\nAfter customizing the [instance-shutdown-initd](https://github.com/TheJumpCloud/SystemContextAPI/blob/master/examples/instance-shutdown-initd) script, you should install it on the system(s) running the JumpCloud agent.\n\n1. Copy the modified [instance-shutdown-initd](https://github.com/TheJumpCloud/SystemContextAPI/blob/master/examples/instance-shutdown-initd) to `/etc/init.d/instance-shutdown`.\n2. On Ubuntu systems, run `update-rc.d instance-shutdown defaults`. On RedHat/CentOS systems, run `chkconfig --add instance-shutdown`.\n\n## Third Party\n\n### Chef Cookbooks\n\n[https://github.com/nshenry03/jumpcloud](https://github.com/nshenry03/jumpcloud)\n\n[https://github.com/cjs226/jumpcloud](https://github.com/cjs226/jumpcloud)\n\n# Multi-Tenant Portal Headers\n\nMulti-Tenant Organization API Headers are available for JumpCloud Admins to use when making API requests from Organizations that have multiple managed organizations.\n\nThe `x-org-id` is a required header for all multi-tenant admins when making API requests to JumpCloud. This header will define to which organization you would like to make the request.\n\n**NOTE** Single Tenant Admins do not need to provide this header when making an API request.\n\n## Header Value\n\n`x-org-id`\n\n## API Response Codes\n\n* `400` Malformed ID.\n* `400` x-org-id and Organization path ID do not match.\n* `401` ID not included for multi-tenant admin\n* `403` ID included on unsupported route.\n* `404` Organization ID Not Found.\n\n```bash\ncurl -X GET https://console.jumpcloud.com/api/v2/directories \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -H 'x-org-id: {ORG_ID}'\n\n```\n\n## To Obtain an Individual Organization ID via the UI\n\nAs a prerequisite, your Primary Organization will need to be setup for Multi-Tenancy. This provides access to the Multi-Tenant Organization Admin Portal.\n\n1. Log into JumpCloud [Admin Console](https://console.jumpcloud.com). If you are a multi-tenant Admin, you will automatically be routed to the Multi-Tenant Admin Portal.\n2. From the Multi-Tenant Portal's primary navigation bar, select the Organization you'd like to access.\n3. You will automatically be routed to that Organization's Admin Console.\n4. Go to Settings in the sub-tenant's primary navigation.\n5. You can obtain your Organization ID below your Organization's Contact Information on the Settings page.\n\n## To Obtain All Organization IDs via the API\n\n* You can make an API request to this endpoint using the API key of your Primary Organization. `https://console.jumpcloud.com/api/organizations/` This will return all your managed organizations.\n\n```bash\ncurl -X GET \\\n https://console.jumpcloud.com/api/organizations/ \\\n -H 'Accept: application/json' \\\n -H 'Content-Type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```\n\n# SDKs\n\nYou can find language specific SDKs that can help you kickstart your Integration with JumpCloud in the following GitHub repositories:\n\n* [Python](https://github.com/TheJumpCloud/jcapi-python)\n* [Go](https://github.com/TheJumpCloud/jcapi-go)\n* [Ruby](https://github.com/TheJumpCloud/jcapi-ruby)\n* [Java](https://github.com/TheJumpCloud/jcapi-java)\n", - "title": "JumpCloud API", - "version": "2.0" - }, - "parameters": { - "trait:GraphObjectWithPaths:details": { - "description": "This will provide detail descriptive response for the request.", - "enum": [ - "v1" - ], + "description": "# Overview\n\nJumpCloud's V2 API. This set of endpoints allows JumpCloud customers to manage objects, groupings and mappings and interact with the JumpCloud Graph.\n\n> **Note:** Customers using the [EU Data Center](https://jumpcloud.com/support/jumpcloud-eu-data-center-faq) should use `https://console.eu.jumpcloud.com` in the endpoint URLs.\n\n## API Best Practices\n\nRead the linked Help Article below for guidance on retrying failed requests to JumpCloud's REST API, as well as best practices for structuring subsequent retry requests. Customizing retry mechanisms based on these recommendations will increase the reliability and dependability of your API calls.\n\nCovered topics include:\n1. Important Considerations\n2. Supported HTTP Request Methods\n3. Response codes\n4. API Key rotation\n5. Paginating\n6. Error handling\n7. Retry rates\n\n[JumpCloud Help Center - API Best Practices](https://support.jumpcloud.com/support/s/article/JumpCloud-API-Best-Practices)\n\n# Directory Objects\n\nThis API offers the ability to interact with some of our core features; otherwise known as Directory Objects. The Directory Objects are:\n\n* Commands\n* Policies\n* Policy Groups\n* Applications\n* Systems\n* Users\n* User Groups\n* System Groups\n* Radius Servers\n* Directories: Office 365, LDAP,G-Suite, Active Directory\n* Duo accounts and applications.\n\nThe Directory Object is an important concept to understand in order to successfully use JumpCloud API.\n\n## JumpCloud Graph\n\nWe've also introduced the concept of the JumpCloud Graph along with Directory Objects. The Graph is a powerful aspect of our platform which will enable you to associate objects with each other, or establish membership for certain objects to become members of other objects.\n\nSpecific `GET` endpoints will allow you to traverse the JumpCloud Graph to return all indirect and directly bound objects in your organization.\n\n| ![alt text](https://s3.amazonaws.com/jumpcloud-kb/Knowledge+Base+Photos/API+Docs/jumpcloud_graph.png \"JumpCloud Graph Model Example\") |\n|:--:|\n| **This diagram highlights our association and membership model as it relates to Directory Objects.** |\n\n# API Key\n\n## Access Your API Key\n\nTo locate your API Key:\n\n1. Log into the [JumpCloud Admin Console](https://console.jumpcloud.com/).\n2. Go to the username drop down located in the top-right of the Console.\n3. Retrieve your API key from API Settings.\n\n## API Key Considerations\n\nThis API key is associated to the currently logged in administrator. Other admins will have different API keys.\n\n**WARNING** Please keep this API key secret, as it grants full access to any data accessible via your JumpCloud console account.\n\nYou can also reset your API key in the same location in the JumpCloud Admin Console.\n\n## Recycling or Resetting Your API Key\n\nIn order to revoke access with the current API key, simply reset your API key. This will render all calls using the previous API key inaccessible.\n\nYour API key will be passed in as a header with the header name \"x-api-key\".\n\n```bash\ncurl -H \"x-api-key: [YOUR_API_KEY_HERE]\" \"https://console.jumpcloud.com/api/v2/systemgroups\"\n```\n\n# System Context\n\n* [Introduction](#introduction)\n* [Supported endpoints](#supported-endpoints)\n* [Response codes](#response-codes)\n* [Authentication](#authentication)\n* [Additional examples](#additional-examples)\n* [Third party](#third-party)\n\n## Introduction\n\nJumpCloud System Context Authorization is an alternative way to authenticate with a subset of JumpCloud's REST APIs. Using this method, a system can manage its information and resource associations, allowing modern auto provisioning environments to scale as needed.\n\n**Notes:**\n\n * The following documentation applies to Linux Operating Systems only.\n * Systems that have been automatically enrolled using Apple's Device Enrollment Program (DEP) or systems enrolled using the User Portal install are not eligible to use the System Context API to prevent unauthorized access to system groups and resources. If a script that utilizes the System Context API is invoked on a system enrolled in this way, it will display an error.\n\n## Supported Endpoints\n\nJumpCloud System Context Authorization can be used in conjunction with Systems endpoints found in the V1 API and certain System Group endpoints found in the v2 API.\n\n* A system may fetch, alter, and delete metadata about itself, including manipulating a system's Group and Systemuser associations,\n * `/api/systems/{system_id}` | [`GET`](https://docs.jumpcloud.com/api/1.0/index.html#operation/systems_get) [`PUT`](https://docs.jumpcloud.com/api/1.0/index.html#operation/systems_put)\n* A system may delete itself from your JumpCloud organization\n * `/api/systems/{system_id}` | [`DELETE`](https://docs.jumpcloud.com/api/1.0/index.html#operation/systems_delete)\n* A system may fetch its direct resource associations under v2 (Groups)\n * `/api/v2/systems/{system_id}/memberof` | [`GET`](https://docs.jumpcloud.com/api/2.0/index.html#operation/graph_systemGroupMembership)\n * `/api/v2/systems/{system_id}/associations` | [`GET`](https://docs.jumpcloud.com/api/2.0/index.html#operation/graph_systemAssociationsList)\n * `/api/v2/systems/{system_id}/users` | [`GET`](https://docs.jumpcloud.com/api/2.0/index.html#operation/graph_systemTraverseUser)\n* A system may alter its direct resource associations under v2 (Groups)\n * `/api/v2/systems/{system_id}/associations` | [`POST`](https://docs.jumpcloud.com/api/2.0/index.html#operation/graph_systemAssociationsPost)\n* A system may alter its System Group associations\n * `/api/v2/systemgroups/{group_id}/members` | [`POST`](https://docs.jumpcloud.com/api/2.0/index.html#operation/graph_systemGroupMembersPost)\n * _NOTE_ If a system attempts to alter the system group membership of a different system the request will be rejected\n\n## Response Codes\n\nIf endpoints other than those described above are called using the System Context API, the server will return a `401` response.\n\n## Authentication\n\nTo allow for secure access to our APIs, you must authenticate each API request.\nJumpCloud System Context Authorization uses [HTTP Signatures](https://tools.ietf.org/html/draft-cavage-http-signatures-00) to authenticate API requests.\nThe HTTP Signatures sent with each request are similar to the signatures used by the Amazon Web Services REST API.\nTo help with the request-signing process, we have provided an [example bash script](https://github.com/TheJumpCloud/SystemContextAPI/blob/master/examples/shell/SigningExample.sh). This example API request simply requests the entire system record. You must be root, or have permissions to access the contents of the `/opt/jc` directory to generate a signature.\n\nHere is a breakdown of the example script with explanations.\n\nFirst, the script extracts the systemKey from the JSON formatted `/opt/jc/jcagent.conf` file.\n\n```bash\n#!/bin/bash\nconf=\"`cat /opt/jc/jcagent.conf`\"\nregex=\"systemKey\\\":\\\"(\\w+)\\\"\"\n\nif [[ $conf =~ $regex ]] ; then\n systemKey=\"${BASH_REMATCH[1]}\"\nfi\n```\n\nThen, the script retrieves the current date in the correct format.\n\n```bash\nnow=`date -u \"+%a, %d %h %Y %H:%M:%S GMT\"`;\n```\n\nNext, we build a signing string to demonstrate the expected signature format. The signed string must consist of the [request-line](https://tools.ietf.org/html/rfc2616#page-35) and the date header, separated by a newline character.\n\n```bash\nsignstr=\"GET /api/systems/${systemKey} HTTP/1.1\\ndate: ${now}\"\n```\n\nThe next step is to calculate and apply the signature. This is a two-step process:\n\n1. Create a signature from the signing string using the JumpCloud Agent private key: ``printf \"$signstr\" | openssl dgst -sha256 -sign /opt/jc/client.key``\n2. Then Base64-encode the signature string and trim off the newline characters: ``| openssl enc -e -a | tr -d '\\n'``\n\nThe combined steps above result in:\n\n```bash\nsignature=`printf \"$signstr\" | openssl dgst -sha256 -sign /opt/jc/client.key | openssl enc -e -a | tr -d '\\n'` ;\n```\n\nFinally, we make sure the API call sending the signature has the same Authorization and Date header values, HTTP method, and URL that were used in the signing string.\n\n```bash\ncurl -iq \\\n -H \"Accept: application/json\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Date: ${now}\" \\\n -H \"Authorization: Signature keyId=\\\"system/${systemKey}\\\",headers=\\\"request-line date\\\",algorithm=\\\"rsa-sha256\\\",signature=\\\"${signature}\\\"\" \\\n --url https://console.jumpcloud.com/api/systems/${systemKey}\n```\n\n### Input Data\n\nAll PUT and POST methods should use the HTTP Content-Type header with a value of 'application/json'. PUT methods are used for updating a record. POST methods are used to create a record.\n\nThe following example demonstrates how to update the `displayName` of the system.\n\n```bash\nsignstr=\"PUT /api/systems/${systemKey} HTTP/1.1\\ndate: ${now}\"\nsignature=`printf \"$signstr\" | openssl dgst -sha256 -sign /opt/jc/client.key | openssl enc -e -a | tr -d '\\n'` ;\n\ncurl -iq \\\n -d \"{\\\"displayName\\\" : \\\"updated-system-name-1\\\"}\" \\\n -X \"PUT\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Accept: application/json\" \\\n -H \"Date: ${now}\" \\\n -H \"Authorization: Signature keyId=\\\"system/${systemKey}\\\",headers=\\\"request-line date\\\",algorithm=\\\"rsa-sha256\\\",signature=\\\"${signature}\\\"\" \\\n --url https://console.jumpcloud.com/api/systems/${systemKey}\n```\n\n### Output Data\n\nAll results will be formatted as JSON.\n\nHere is an abbreviated example of response output:\n\n```json\n{\n \"_id\": \"625ee96f52e144993e000015\",\n \"agentServer\": \"lappy386\",\n \"agentVersion\": \"0.9.42\",\n \"arch\": \"x86_64\",\n \"displayName\": \"ubuntu-1204\",\n \"firstContact\": \"2013-10-16T19:30:55.611Z\",\n \"hostname\": \"ubuntu-1204\"\n ...\n```\n\n## Additional Examples\n\n### Signing Authentication Example\n\nThis example demonstrates how to make an authenticated request to fetch the JumpCloud record for this system.\n\n[SigningExample.sh](https://github.com/TheJumpCloud/SystemContextAPI/blob/master/examples/shell/SigningExample.sh)\n\n### Shutdown Hook\n\nThis example demonstrates how to make an authenticated request on system shutdown.\nUsing an init.d script registered at run level 0, you can call the System Context API as the system is shutting down.\n\n[Instance-shutdown-initd](https://github.com/TheJumpCloud/SystemContextAPI/blob/master/examples/instance-shutdown-initd) is an example of an init.d script that only runs at system shutdown.\n\nAfter customizing the [instance-shutdown-initd](https://github.com/TheJumpCloud/SystemContextAPI/blob/master/examples/instance-shutdown-initd) script, you should install it on the system(s) running the JumpCloud agent.\n\n1. Copy the modified [instance-shutdown-initd](https://github.com/TheJumpCloud/SystemContextAPI/blob/master/examples/instance-shutdown-initd) to `/etc/init.d/instance-shutdown`.\n2. On Ubuntu systems, run `update-rc.d instance-shutdown defaults`. On RedHat/CentOS systems, run `chkconfig --add instance-shutdown`.\n\n## Third Party\n\n### Chef Cookbooks\n\n[https://github.com/nshenry03/jumpcloud](https://github.com/nshenry03/jumpcloud)\n\n[https://github.com/cjs226/jumpcloud](https://github.com/cjs226/jumpcloud)\n\n# Multi-Tenant Portal Headers\n\nMulti-Tenant Organization API Headers are available for JumpCloud Admins to use when making API requests from Organizations that have multiple managed organizations.\n\nThe `x-org-id` is a required header for all multi-tenant admins when making API requests to JumpCloud. This header will define to which organization you would like to make the request.\n\n**NOTE** Single Tenant Admins do not need to provide this header when making an API request.\n\n## Header Value\n\n`x-org-id`\n\n## API Response Codes\n\n* `400` Malformed ID.\n* `400` x-org-id and Organization path ID do not match.\n* `401` ID not included for multi-tenant admin\n* `403` ID included on unsupported route.\n* `404` Organization ID Not Found.\n\n```bash\ncurl -X GET https://console.jumpcloud.com/api/v2/directories \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -H 'x-org-id: {ORG_ID}'\n\n```\n\n## To Obtain an Individual Organization ID via the UI\n\nAs a prerequisite, your Primary Organization will need to be setup for Multi-Tenancy. This provides access to the Multi-Tenant Organization Admin Portal.\n\n1. Log into JumpCloud [Admin Console](https://console.jumpcloud.com). If you are a multi-tenant Admin, you will automatically be routed to the Multi-Tenant Admin Portal.\n2. From the Multi-Tenant Portal's primary navigation bar, select the Organization you'd like to access.\n3. You will automatically be routed to that Organization's Admin Console.\n4. Go to Settings in the sub-tenant's primary navigation.\n5. You can obtain your Organization ID below your Organization's Contact Information on the Settings page.\n\n## To Obtain All Organization IDs via the API\n\n* You can make an API request to this endpoint using the API key of your Primary Organization. `https://console.jumpcloud.com/api/organizations/` This will return all your managed organizations.\n\n```bash\ncurl -X GET \\\n https://console.jumpcloud.com/api/organizations/ \\\n -H 'Accept: application/json' \\\n -H 'Content-Type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```\n\n# SDKs\n\nYou can find language specific SDKs that can help you kickstart your Integration with JumpCloud in the following GitHub repositories:\n\n* [Python](https://github.com/TheJumpCloud/jcapi-python)\n* [Go](https://github.com/TheJumpCloud/jcapi-go)\n* [Ruby](https://github.com/TheJumpCloud/jcapi-ruby)\n* [Java](https://github.com/TheJumpCloud/jcapi-java)\n", + "title": "JumpCloud API", + "version": "2.0" + }, + "parameters": { + "trait:GraphObjectWithPaths:details": { + "description": "This will provide detail descriptive response for the request.", + "enum": [ + "v1" + ], + "in": "query", + "name": "details", + "type": "string", + "x-ms-enum": { + "name": "GraphObjectWithPaths-Details" + } + }, + "trait:authnfallbackpolicy:resourceType": { + "in": "path", + "items": { + "enum": [ + "userportal", + "application", + "ldap" + ], + "type": "string", + "x-ms-enum": { + "name": "authnfallbackpolicy-resourceType" + } + }, + "name": "resource_type", + "required": true, + "type": "string" + }, + "trait:bulkJobQueryParameters:suppressEmail": { + "description": "An option indicating whether to suppress the job results email that will\notherwise be sent to the Administrator who created the job. If true, the\nemail won't be sent. If omitted or false, the email will be sent.\n", + "in": "query", + "name": "suppressEmail", + "type": "boolean" + }, + "trait:fields:fields": { + "default": [], + "description": "The comma separated fields included in the returned records.\nIf omitted, the default list of fields will be returned.\n", + "in": "query", + "items": { + "type": "string" + }, + "name": "fields", + "type": "array" + }, + "trait:filter:filter": { + "default": [], + "description": "A filter to apply to the query.\n\n**Filter structure**: `::`.\n\n**field** = Populate with a valid field from an endpoint response.\n\n**operator** = Supported operators are: eq, ne, gt, ge, lt, le, between, search, in.\n_Note: v1 operators differ from v2 operators._\n\n**value** = Populate with the value you want to search for. Is case sensitive. Supports wild cards.\n\n**EX:** `GET /api/v2/groups?filter=name:eq:Test+Group`", + "in": "query", + "items": { + "type": "string" + }, + "name": "filter", + "type": "array" + }, + "trait:filter:filterUserGroupMembership": { + "default": [], + "description": "A filter to apply to the query.\n\n**Filter structure**: `::`.\n\n**field** = Populate with a valid field from an endpoint response.\n\n**operator** = Supported operators are: eq, ne, gt, ge, lt, le, between, search, in.\n_Note: v1 operators differ from v2 operators._\n\n**value** = Populate with the value you want to search for. Is case sensitive. Supports wild cards.\n\n**Valid filter fields**: `object_id` and `type`.\n\n**EX:** `GET /api/v2/usergroups/{GroupID}/membership?filter=type:eq:user_group`", + "in": "query", + "items": { + "type": "string" + }, + "name": "filter", + "type": "array" + }, + "trait:filter:filterUserMemberOf": { + "default": [], + "description": "A filter to apply to the query.\n\n**Filter structure**: `::`.\n\n**field** = Populate with a valid field from an endpoint response.\n\n**operator** = Supported operators are: eq, ne, gt, ge, lt, le, between, search, in.\n_Note: v1 operators differ from v2 operators._\n\n**value** = Populate with the value you want to search for. Is case sensitive. Supports wild cards.\n\n**Valid filter fields**: `object_id` and `type`.\n\n**EX:** `GET /api/v2/users/{UserID}/memberof?filter=type:eq:user_group`", + "in": "query", + "items": { + "type": "string" + }, + "name": "filter", + "type": "array" + }, + "trait:graphTargetsActiveDirectory:targets": { + "description": "Targets which a \"active_directory\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "user", + "user_group" + ], + "x-ms-enum": { + "name": "graphTargetsActiveDirectory-Targets" + } + }, + "trait:graphTargetsApplication:targets": { + "description": "Targets which a \"application\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "user", + "user_group" + ], + "x-ms-enum": { + "name": "graphTargetsApplication-Targets" + } + }, + "trait:graphTargetsCommand:targets": { + "description": "Targets which a \"command\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "system", + "system_group", + "password_manager_item" + ], + "x-ms-enum": { + "name": "graphTargetsCommand-Targets1", + "values": [ + { + "name": "systems", + "value": "system" + }, + { + "name": "systems_group", + "value": "system_group" + }, + { + "name": "password_manager_item", + "value": "password_manager_item" + } + ] + } + }, + "trait:graphTargetsGSuite:targets": { + "description": "Targets which a \"g_suite\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "user", + "user_group" + ], + "x-ms-enum": { + "name": "graphTargetsGSuite-Targets" + } + }, + "trait:graphTargetsLdapServer:targets": { + "description": "Targets which a \"ldap_server\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "user", + "user_group" + ], + "x-ms-enum": { + "name": "graphTargetsLdapServer-Targets" + } + }, + "trait:graphTargetsOffice365:targets": { + "description": "Targets which a \"office_365\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "user", + "user_group" + ], + "x-ms-enum": { + "name": "graphTargetsOffice365-Targets" + } + }, + "trait:graphTargetsPolicy:targets": { + "description": "Targets which a \"policy\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "system", + "system_group" + ], + "x-ms-enum": { + "name": "graphTargetsPolicy-Targets3", + "values": [ + { + "name": "systems", + "value": "system" + }, + { + "name": "systems_group", + "value": "system_group" + } + ] + } + }, + "trait:graphTargetsPolicyGroup:targets": { + "description": "Targets which a \"policy_group\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "system", + "system_group" + ], + "x-ms-enum": { + "name": "graphTargetsPolicyGroup-Targets3", + "values": [ + { + "name": "systems", + "value": "system" + }, + { + "name": "systems_group", + "value": "system_group" + } + ] + } + }, + "trait:graphTargetsRadiusServer:targets": { + "description": "Targets which a \"radius_server\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "user", + "user_group" + ], + "x-ms-enum": { + "name": "graphTargetsRadiusServer-Targets" + } + }, + "trait:graphTargetsSoftwareApp:targets": { + "description": "Targets which a \"software_app\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "system", + "system_group" + ], + "x-ms-enum": { + "name": "graphTargetsSoftwareApp-Targets3", + "values": [ + { + "name": "systems", + "value": "system" + }, + { + "name": "systems_group", + "value": "system_group" + } + ] + } + }, + "trait:graphTargetsSystem:targets": { + "description": "Targets which a \"system\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "command", + "policy", + "policy_group", + "user", + "user_group" + ], + "x-ms-enum": { + "name": "graphTargetsSystem-Targets4" + } + }, + "trait:graphTargetsSystemGroup:targets": { + "description": "Targets which a \"system_group\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "command", + "policy", + "policy_group", + "user", + "user_group" + ], + "x-ms-enum": { + "name": "graphTargetsSystemGroup-Targets4" + } + }, + "trait:graphTargetsUser:targets": { + "description": "Targets which a \"user\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "active_directory", + "application", + "g_suite", + "idp_routing_policy", + "ldap_server", + "office_365", + "password_manager_item", + "radius_server", + "system", + "system_group" + ], + "x-ms-enum": { + "name": "graphTargetsUser-Targets5", + "values": [ + { + "name": "active_directory", + "value": "active_directory" + }, + { + "name": "application", + "value": "application" + }, + { + "name": "g_suite", + "value": "g_suite" + }, + { + "name": "idp_routing_policy", + "value": "idp_routing_policy" + }, + { + "name": "ldap_server", + "value": "ldap_server" + }, + { + "name": "office_365", + "value": "office_365" + }, + { + "name": "password_manager_item", + "value": "password_manager_item" + }, + { + "name": "radius_server", + "value": "radius_server" + }, + { + "name": "systems", + "value": "system" + }, + { + "name": "systems_group", + "value": "system_group" + } + ] + } + }, + "trait:graphTargetsUserGroup:targets": { + "description": "Targets which a \"user_group\" can be associated to.", "in": "query", - "name": "details", + "name": "targets", + "required": true, "type": "string", + "enum": [ + "active_directory", + "application", + "g_suite", + "idp_routing_policy", + "ldap_server", + "office_365", + "password_manager_item", + "radius_server", + "system", + "system_group" + ], "x-ms-enum": { - "name": "GraphObjectWithPaths-Details" + "name": "graphTargetsUserGroup-Targets5", + "values": [ + { + "name": "active_directory", + "value": "active_directory" + }, + { + "name": "application", + "value": "application" + }, + { + "name": "g_suite", + "value": "g_suite" + }, + { + "name": "idp_routing_policy", + "value": "idp_routing_policy" + }, + { + "name": "ldap_server", + "value": "ldap_server" + }, + { + "name": "office_365", + "value": "office_365" + }, + { + "name": "password_manager_item", + "value": "password_manager_item" + }, + { + "name": "radius_server", + "value": "radius_server" + }, + { + "name": "systems", + "value": "system" + }, + { + "name": "systems_group", + "value": "system_group" + } + ] } }, - "trait:authnfallbackpolicy:resourceType": { - "in": "path", + "trait:gsuite:allowEmptyFields": { + "default": false, + "description": "[EXPERIMENTAL] Allow empty fields of the user object to be sent in the response", + "in": "query", + "name": "allowEmptyFields", + "type": "boolean" + }, + "trait:gsuite:maxResults": { + "description": "Google Directory API maximum number of results per page. See https://developers.google.com/admin-sdk/directory/reference/rest/v1/users/list.", + "in": "query", + "name": "maxResults", + "type": "integer" + }, + "trait:gsuite:orderBy": { + "description": "Google Directory API sort field parameter. See https://developers.google.com/admin-sdk/directory/reference/rest/v1/users/list.", + "in": "query", + "name": "orderBy", + "type": "string" + }, + "trait:gsuite:pageToken": { + "description": "Google Directory API token used to access the next page of results. See https://developers.google.com/admin-sdk/directory/reference/rest/v1/users/list.", + "in": "query", + "name": "pageToken", + "type": "string" + }, + "trait:gsuite:query": { + "description": "Google Directory API search parameter. See https://developers.google.com/admin-sdk/directory/v1/guides/search-users.", + "in": "query", + "name": "query", + "type": "string" + }, + "trait:gsuite:sortOrder": { + "description": "Google Directory API sort direction parameter. See https://developers.google.com/admin-sdk/directory/reference/rest/v1/users/list.", + "in": "query", + "name": "sortOrder", + "type": "string" + }, + "trait:limit:limit": { + "default": 10, + "description": "The number of records to return at once. Limited to 100.", + "in": "query", + "name": "limit", + "type": "integer" + }, + "trait:limitDefault1:limit": { + "default": 1, + "in": "query", + "maximum": 100, + "minimum": 0, + "name": "limit", + "type": "integer" + }, + "trait:listCount:x-total-count": { + "in": "header", + "name": "x-total-count", + "type": "integer" + }, + "trait:listCount:x-unfiltered-total-count": { + "description": "If provided in the request with any non-empty value, this header will be returned on the response populated with the total count of objects without filters taken into account", + "in": "header", + "name": "x-unfiltered-total-count", + "type": "integer" + }, + "trait:o365:ConsistencyLevel": { + "description": "Defines the consistency header for O365 requests. See https://docs.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0&tabs=http#request-headers", + "in": "header", + "name": "ConsistencyLevel", + "type": "string" + }, + "trait:skip:skip": { + "default": 0, + "description": "The offset into the records to return.", + "in": "query", + "minimum": 0, + "name": "skip", + "required": false, + "type": "integer" + }, + "trait:sort:sort": { + "default": [], + "description": "The comma separated fields used to sort the collection.\nDefault sort is ascending, prefix with `-` to sort descending.\n", + "in": "query", "items": { - "enum": [ - "userportal", - "application", - "ldap" - ], - "type": "string", - "x-ms-enum": { - "name": "authnfallbackpolicy-resourceType" - } + "type": "string" }, - "name": "resource_type", - "required": true, + "name": "sort", + "type": "array" + }, + "trait:sortIgnoreCase:sortIgnoreCase": { + "default": [], + "description": "The comma separated fields used to sort the collection, ignoring case.\nDefault sort is ascending, prefix with `-` to sort descending.\n", + "in": "query", + "items": { + "type": "string" + }, + "name": "sortIgnoreCase", + "type": "array" + }, + "trait:systemContextAuth:Authorization": { + "description": "Authorization header for the System Context API", + "in": "header", + "name": "Authorization", "type": "string" }, - "trait:bulkJobQueryParameters:suppressEmail": { - "description": "An option indicating whether to suppress the job results email that will\notherwise be sent to the Administrator who created the job. If true, the\nemail won't be sent. If omitted or false, the email will be sent.\n", + "trait:systemContextAuth:Date": { + "description": "Current date header for the System Context API", + "in": "header", + "name": "Date", + "type": "string" + }, + "trait:systemInsightsCertificatesFilter:filter": { + "default": [], + "description": "Supported operators are: eq, in. e.g:\nFilter for single value:\n`filter=field:eq:value`\nFilter value in a list: (note \"pipe\" character: `|` separating values)\n`filter=field:in:value1|value2|value3`\nNote: You can only filter by `system_id` and `common_name`\n", "in": "query", - "name": "suppressEmail", - "type": "boolean" + "items": { + "type": "string" + }, + "name": "filter", + "type": "array" }, - "trait:fields:fields": { + "trait:systemInsightsControlsFilter:filter": { "default": [], - "description": "The comma separated fields included in the returned records.\nIf omitted, the default list of fields will be returned.\n", + "description": "Supported operators are: eq, in. e.g:\nFilter for single value:\n`filter=field:eq:value`\nFilter value in a list: (note \"pipe\" character: `|` separating values)\n`filter=field:in:value1|value2|value3`\nNote: You can only filter by `system_id` and `name`\n", "in": "query", "items": { "type": "string" }, - "name": "fields", + "name": "filter", + "type": "array" + }, + "trait:systemInsightsFilter:filter": { + "default": [], + "description": "Supported operators are: eq, in. e.g:\nFilter for single value:\n`filter=field:eq:value`\nFilter for any value in a list: (note \"pipe\" character: `|` separating values)\n`filter=field:in:value1|value2|value3`\n", + "in": "query", + "items": { + "type": "string" + }, + "name": "filter", "type": "array" }, - "trait:filter:filter": { + "trait:systemInsightsFilterUptime:filter": { + "default": [], + "description": "Supported operators are: eq, gte, in. e.g:\nFilter for single value:\n`filter=field:gte:value`\nFilter for any value in a list: (note \"pipe\" character: `|` separating values)\n`filter=field:in:value1|value2|value3`\n", + "in": "query", + "items": { + "type": "string" + }, + "name": "filter", + "type": "array" + }, + "trait:systemInsightsLimit:limit": { + "default": 10, + "in": "query", + "maximum": 10000, + "minimum": 0, + "name": "limit", + "type": "integer" + }, + "trait:systemInsightsSort:sort": { "default": [], - "description": "A filter to apply to the query.\n\n**Filter structure**: `::`.\n\n**field** = Populate with a valid field from an endpoint response.\n\n**operator** = Supported operators are: eq, ne, gt, ge, lt, le, between, search, in.\n_Note: v1 operators differ from v2 operators._\n\n**value** = Populate with the value you want to search for. Is case sensitive. Supports wild cards.\n\n**EX:** `GET /api/v2/groups?filter=name:eq:Test+Group`", + "description": "The comma separated fields used to sort the collection.\nDefault sort is ascending, prefix with `-` to sort descending. e.g:\nSort by single field:\n`sort=field`\nSort descending by single field:\n`sort=-field`\nSort by multiple fields:\n`sort=field1,-field2,field3`\n", "in": "query", "items": { "type": "string" }, - "name": "filter", + "name": "sort", "type": "array" - }, - "trait:graphTargetsActiveDirectory:targets": { - "description": "Targets which a \"active_directory\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "user", - "user_group" + } + }, + "paths": { + "/accessrequests": {}, + "/accessrequests/{accessId}": {}, + "/accessrequests/{accessId}/revoke": {}, + "/accountManagerCalendar/{id}": { + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "type": "string" + } ], - "x-ms-enum": { - "name": "graphTargetsActiveDirectory-Targets" - } + "x-functionalities-tags": [ + "accounts-page-upgrade" + ] }, - "trait:graphTargetsApplication:targets": { - "description": "Targets which a \"application\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "user", - "user_group" - ], - "x-ms-enum": { - "name": "graphTargetsApplication-Targets" - } + "/activedirectories": { + "get": { + "description": "This endpoint allows you to list all your Active Directory Instances.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/activedirectories/ \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n ```", + "operationId": "ActiveDirectory_List", + "parameters": [ + { + "$ref": "#/parameters/trait:fields:fields" + }, + { + "$ref": "#/parameters/trait:filter:filter" + }, + { + "$ref": "#/parameters/trait:limit:limit" + }, + { + "$ref": "#/parameters/trait:skip:skip" + }, + { + "$ref": "#/parameters/trait:sort:sort" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "items": { + "$ref": "#/definitions/active-directory" + }, + "type": "array" + } + } + }, + "security": [ + { + "x-api-key": [] + } + ], + "summary": "List Active Directories", + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/activedirectories?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" + }, + { + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + }, + { + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories?limit=10&skip=0' -Method GET -Headers $headers" + } + ] + }, + "parameters": [], + "post": { + "description": "This endpoint allows you to create a new Active Directory.\n\n\n#### Sample Request\n```\ncurl -X POST https://console.jumpcloud.com/api/v2/activedirectories/ \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{\n \"domain\": \"{DC=AD_domain_name;DC=com}\"\n }'\n```", + "operationId": "ActiveDirectory_Create", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/active-directory" + } + } + ], + "responses": { + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/active-directory" + } + } + }, + "security": [ + { + "x-api-key": [] + } + ], + "summary": "Create a new Active Directory", + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/activedirectories \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"delegationState\":\"ENABLED\",\"domain\":\"string\",\"groupsEnabled\":true,\"updatedAt\":\"2019-08-24T14:15:22Z\",\"useCase\":\"UNSET\"}'" + }, + { + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories\"\n\npayload = {\n \"delegationState\": \"ENABLED\",\n \"domain\": \"string\",\n \"groupsEnabled\": True,\n \"updatedAt\": \"2019-08-24T14:15:22Z\",\n \"useCase\": \"UNSET\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + }, + { + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"delegationState\":\"ENABLED\",\"domain\":\"string\",\"groupsEnabled\":true,\"updatedAt\":\"2019-08-24T14:15:22Z\",\"useCase\":\"UNSET\"}'" + } + ] + }, + "x-functionalities-tags": [ + "active-directory" + ] }, - "trait:graphTargetsCommand:targets": { - "description": "Targets which a \"command\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "system", - "system_group" + "/activedirectories/translation-rules/preview": {}, + "/activedirectories/{activedirectory_id}/agents": { + "get": { + "description": "This endpoint allows you to list all your Active Directory Agents for a given Instance.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n ```", + "operationId": "ActiveDirectoryAgent_List", + "parameters": [ + { + "$ref": "#/parameters/trait:limit:limit" + }, + { + "$ref": "#/parameters/trait:skip:skip" + }, + { + "$ref": "#/parameters/trait:sort:sort" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "items": { + "$ref": "#/definitions/active-directory-agent-list" + }, + "type": "array" + } + } + }, + "security": [ + { + "x-api-key": [] + } + ], + "summary": "List Active Directory Agents", + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" + }, + { + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + }, + { + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents?limit=10&skip=0' -Method GET -Headers $headers" + } + ] + }, + "parameters": [ + { + "in": "path", + "name": "activedirectory_id", + "required": true, + "type": "string" + } ], - "x-ms-enum": { - "name": "graphTargetsCommand-Targets1", - "values": [ + "post": { + "description": "This endpoint allows you to create a new Active Directory Agent.\n\n\n#### Sample Request\n```\ncurl -X POST https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{ \"agent_type\":\"{SYNC}\" }'\n```", + "operationId": "ActiveDirectoryAgent_Create", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/active-directory-agent" + } + } + ], + "responses": { + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/active-directory-agent-get" + } + } + }, + "security": [ + { + "x-api-key": [] + } + ], + "summary": "Create a new Active Directory Agent", + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"agentType\":\"SYNC\"}'" + }, + { + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents\"\n\npayload = {\"agentType\": \"SYNC\"}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + }, + { + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"agentType\":\"SYNC\"}'" + } + ] + }, + "x-functionalities-tags": [ + "active-directory" + ] + }, + "/activedirectories/{activedirectory_id}/agents/{agent_id}": { + "delete": { + "description": "This endpoint deletes an Active Directory agent.\n\n#### Sample Request\n```\ncurl -X DELETE https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id} \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "ActiveDirectoryAgent_Delete", + "parameters": [], + "responses": { + "204": { + "description": "" + } + }, + "security": [ { - "name": "systems", - "value": "system" + "x-api-key": [] + } + ], + "summary": "Delete Active Directory Agent", + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { - "name": "systems_group", - "value": "system_group" + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + }, + { + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id}' -Method DELETE -Headers $headers" } ] - } - }, - "trait:graphTargetsGSuite:targets": { - "description": "Targets which a \"g_suite\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "user", - "user_group" - ], - "x-ms-enum": { - "name": "graphTargetsGSuite-Targets" - } - }, - "trait:graphTargetsLdapServer:targets": { - "description": "Targets which a \"ldap_server\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "user", - "user_group" - ], - "x-ms-enum": { - "name": "graphTargetsLdapServer-Targets" - } - }, - "trait:graphTargetsOffice365:targets": { - "description": "Targets which a \"office_365\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "user", - "user_group" - ], - "x-ms-enum": { - "name": "graphTargetsOffice365-Targets" - } - }, - "trait:graphTargetsPolicy:targets": { - "description": "Targets which a \"policy\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "system", - "system_group" - ], - "x-ms-enum": { - "name": "graphTargetsPolicy-Targets1", - "values": [ + }, + "get": { + "description": "This endpoint returns an Active Directory agent.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id} \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "ActiveDirectoryAgent_Get", + "parameters": [], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/active-directory-agent-list" + } + } + }, + "security": [ { - "name": "systems", - "value": "system" + "x-api-key": [] + } + ], + "summary": "Get Active Directory Agent", + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { - "name": "systems_group", - "value": "system_group" + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + }, + { + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id}' -Method GET -Headers $headers" } ] - } - }, - "trait:graphTargetsPolicyGroup:targets": { - "description": "Targets which a \"policy_group\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "system", - "system_group" + }, + "parameters": [ + { + "in": "path", + "name": "activedirectory_id", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "agent_id", + "required": true, + "type": "string" + } ], - "x-ms-enum": { - "name": "graphTargetsPolicyGroup-Targets1", - "values": [ + "x-functionalities-tags": [ + "active-directory" + ] + }, + "/activedirectories/{activedirectory_id}/associations": { + "get": { + "description": "This endpoint returns the direct associations of this Active Directory instance.\n\nA direct association can be a non-homogeneous relationship between 2 different objects, for example Active Directory and Users.\n\n\n#### Sample Request\n```\ncurl -X GET 'https://console.jumpcloud.com/api/v2/activedirectories/{ActiveDirectory_ID}/associations?targets=user \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "ActiveDirectoryAssociation_Get", + "parameters": [ { - "name": "systems", - "value": "system" + "$ref": "#/parameters/trait:graphTargetsActiveDirectory:targets" }, { - "name": "systems_group", - "value": "system_group" + "$ref": "#/parameters/trait:limit:limit" + }, + { + "$ref": "#/parameters/trait:skip:skip" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "items": { + "$ref": "#/definitions/GraphConnection" + }, + "type": "array" + } + } + }, + "security": [ + { + "x-api-key": [] + } + ], + "summary": "List the associations of an Active Directory instance", + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" + }, + { + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + }, + { + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] - } - }, - "trait:graphTargetsRadiusServer:targets": { - "description": "Targets which a \"radius_server\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "user", - "user_group" - ], - "x-ms-enum": { - "name": "graphTargetsRadiusServer-Targets" - } - }, - "trait:graphTargetsSoftwareApp:targets": { - "description": "Targets which a \"software_app\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "system", - "system_group" + }, + "parameters": [ + { + "in": "path", + "name": "activedirectory_id", + "required": true, + "type": "string" + } ], - "x-ms-enum": { - "name": "graphTargetsSoftwareApp-Targets1", - "values": [ + "post": { + "description": "This endpoint allows you to manage the _direct_ associations of an Active Directory instance.\n\nA direct association can be a non-homogeneous relationship between 2 different objects, for example Active Directory and Users.\n\n#### Sample Request\n```\ncurl -X POST https://console.jumpcloud.com/api/v2/activedirectories/{AD_Instance_ID}/associations \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{\n \"op\": \"add\",\n \"type\": \"user\",\n \"id\": \"{User_ID}\"\n }'\n```", + "operationId": "ActiveDirectoryAssociation_Set", + "parameters": [ { - "name": "systems", - "value": "system" + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/GraphOperation-ActiveDirectory" + } + } + ], + "responses": { + "204": { + "description": "" + } + }, + "security": [ + { + "x-api-key": [] + } + ], + "summary": "Manage the associations of an Active Directory instance", + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" }, { - "name": "systems_group", - "value": "system_group" + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + }, + { + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" } ] - } + }, + "x-functionalities-tags": [ + "active-directory" + ] + }, + "/activedirectories/{activedirectory_id}/translation-rules": { + "parameters": [ + { + "description": "ObjectID of the Active Directory instance.", + "in": "path", + "name": "activedirectory_id", + "required": true, + "type": "string" + } + ] }, - "trait:graphTargetsSystem:targets": { - "description": "Targets which a \"system\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "command", - "policy", - "policy_group", - "user", - "user_group" - ], - "x-ms-enum": { - "name": "graphTargetsSystem-Targets2" - } + "/activedirectories/{activedirectory_id}/translation-rules/bulk": { + "parameters": [ + { + "in": "path", + "name": "activedirectory_id", + "required": true, + "type": "string" + } + ] }, - "trait:graphTargetsSystemGroup:targets": { - "description": "Targets which a \"system_group\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "command", - "policy", - "policy_group", - "user", - "user_group" - ], - "x-ms-enum": { - "name": "graphTargetsSystemGroup-Targets2" - } + "/activedirectories/{activedirectory_id}/translation-rules/{translation_rule_object_id}": { + "parameters": [ + { + "in": "path", + "name": "activedirectory_id", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "translation_rule_object_id", + "required": true, + "type": "string" + } + ] }, - "trait:graphTargetsUser:targets": { - "description": "Targets which a \"user\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "active_directory", - "application", - "g_suite", - "idp_routing_policy", - "ldap_server", - "office_365", - "password_manager_item", - "radius_server", - "system", - "system_group" - ], - "x-ms-enum": { - "name": "graphTargetsUser-Targets3", - "values": [ + "/activedirectories/{activedirectory_id}/usergroups": { + "get": { + "description": "This endpoint will return all Users Groups bound to an Active Directory instance, either directly or indirectly, essentially traversing the JumpCloud Graph for your Organization.\n\nEach element will contain the group's type, id, attributes and paths.\n\nThe `attributes` object is a key/value hash of compiled graph attributes for all paths followed.\n\nThe `paths` array enumerates each path from this Active Directory instance to the corresponding User Group; this array represents all grouping and/or associations that would have to be removed to deprovision the User Group from this Active Directory instance.\n\nSee `/members` and `/associations` endpoints to manage those collections.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/activedirectories/{ActiveDirectory_ID}/usergroups \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "ActiveDirectoryTraverseUserGroup_Get", + "parameters": [ { - "name": "active_directory", - "value": "active_directory" + "$ref": "#/parameters/trait:limit:limit" }, { - "name": "application", - "value": "application" + "$ref": "#/parameters/trait:skip:skip" }, { - "name": "g_suite", - "value": "g_suite" - }, + "$ref": "#/parameters/trait:filter:filter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "items": { + "$ref": "#/definitions/GraphObjectWithPaths" + }, + "type": "array" + } + } + }, + "security": [ { - "name": "idp_routing_policy", - "value": "idp_routing_policy" + "x-api-key": [] + } + ], + "summary": "List the User Groups bound to an Active Directory instance", + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/usergroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { - "name": "ldap_server", - "value": "ldap_server" + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { - "name": "office_365", - "value": "office_365" + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/usergroups?limit=10&skip=0' -Method GET -Headers $headers" + } + ] + }, + "parameters": [ + { + "description": "ObjectID of the Active Directory instance.", + "in": "path", + "name": "activedirectory_id", + "required": true, + "type": "string" + } + ], + "x-functionalities-tags": [ + "active-directory" + ] + }, + "/activedirectories/{activedirectory_id}/users": { + "get": { + "description": "This endpoint will return all Users bound to an Active Directory instance, either directly or indirectly, essentially traversing the JumpCloud Graph for your Organization.\n\nEach element will contain the type, id, attributes and paths.\n\nThe `attributes` object is a key/value hash of compiled graph attributes for all paths followed.\n\nThe `paths` array enumerates each path from this Active Directory instance to the corresponding User; this array represents all grouping and/or associations that would have to be removed to deprovision the User from this Active Directory instance.\n\nSee `/members` and `/associations` endpoints to manage those collections.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/activedirectories/{ActiveDirectory_ID}/users \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "ActiveDirectoryTraverseUser_Get", + "parameters": [ + { + "$ref": "#/parameters/trait:filter:filter" }, { - "name": "password_manager_item", - "value": "password_manager_item" + "$ref": "#/parameters/trait:limit:limit" }, { - "name": "radius_server", - "value": "radius_server" + "$ref": "#/parameters/trait:skip:skip" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "items": { + "$ref": "#/definitions/GraphObjectWithPaths" + }, + "type": "array" + } + } + }, + "security": [ + { + "x-api-key": [] + } + ], + "summary": "List the Users bound to an Active Directory instance", + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/users?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { - "name": "systems", - "value": "system" + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { - "name": "systems_group", - "value": "system_group" + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/users?limit=10&skip=0' -Method GET -Headers $headers" } ] - } - }, - "trait:graphTargetsUserGroup:targets": { - "description": "Targets which a \"user_group\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "active_directory", - "application", - "g_suite", - "idp_routing_policy", - "ldap_server", - "office_365", - "password_manager_item", - "radius_server", - "system", - "system_group" + }, + "parameters": [ + { + "description": "ObjectID of the Active Directory instance.", + "in": "path", + "name": "activedirectory_id", + "required": true, + "type": "string" + } ], - "x-ms-enum": { - "name": "graphTargetsUserGroup-Targets3", - "values": [ + "x-functionalities-tags": [ + "active-directory" + ] + }, + "/activedirectories/{id}": { + "delete": { + "description": "This endpoint allows you to delete an Active Directory Instance.\n\n#### Sample Request\n```\ncurl -X DELETE https://console.jumpcloud.com/api/v2/activedirectories/{ActiveDirectory_ID} \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n ```", + "operationId": "ActiveDirectory_Delete", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/active-directory" + } + } + }, + "security": [ { - "name": "active_directory", - "value": "active_directory" + "x-api-key": [] + } + ], + "summary": "Delete an Active Directory", + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/activedirectories/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { - "name": "application", - "value": "application" + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { - "name": "g_suite", - "value": "g_suite" - }, + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{id}' -Method DELETE -Headers $headers" + } + ] + }, + "get": { + "description": "This endpoint returns a specific Active Directory.\n\n#### Sample Request\n\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/activedirectories/{ActiveDirectory_ID} \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n ```", + "operationId": "ActiveDirectory_Get", + "parameters": [], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/active-directory" + } + } + }, + "security": [ + { + "x-api-key": [] + } + ], + "summary": "Get an Active Directory", + "x-codeSamples": [ { - "name": "idp_routing_policy", - "value": "idp_routing_policy" + "lang": "Shell", + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/activedirectories/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { - "name": "ldap_server", - "value": "ldap_server" + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { - "name": "office_365", - "value": "office_365" - }, + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{id}' -Method GET -Headers $headers" + } + ] + }, + "parameters": [ + { + "description": "ObjectID of this Active Directory instance.", + "in": "path", + "name": "id", + "required": true, + "type": "string" + } + ], + "x-functionalities-tags": [ + "active-directory" + ] + }, + "/activedirectories/{provider_name}/translation-rules/recommendation": { + "parameters": [ + { + "description": "Provider name.", + "in": "path", + "name": "provider_name", + "required": true, + "type": "string" + } + ] + }, + "/administrators/{administrator_id}/organizationlinks/{id}": { + "delete": { + "description": "This endpoint removes the association link between an Administrator and an Organization.", + "operationId": "AdministratorOrganization_Delete", + "responses": { + "204": { + "description": "No Content" + } + }, + "security": [ { - "name": "password_manager_item", - "value": "password_manager_item" - }, + "x-api-key": [] + } + ], + "summary": "Remove association between an Administrator and an Organization.", + "x-codeSamples": [ { - "name": "radius_server", - "value": "radius_server" + "lang": "Shell", + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/administrators/{administrator_id}/organizationlinks/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { - "name": "systems", - "value": "system" + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/administrators/{administrator_id}/organizationlinks/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { - "name": "systems_group", - "value": "system_group" + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/administrators/{administrator_id}/organizationlinks/{id}' -Method DELETE -Headers $headers" } ] - } - }, - "trait:gsuite:allowEmptyFields": { - "default": false, - "description": "[EXPERIMENTAL] Allow empty fields of the user object to be sent in the response", - "in": "query", - "name": "allowEmptyFields", - "type": "boolean" - }, - "trait:gsuite:maxResults": { - "description": "Google Directory API maximum number of results per page. See https://developers.google.com/admin-sdk/directory/reference/rest/v1/users/list.", - "in": "query", - "name": "maxResults", - "type": "integer" - }, - "trait:gsuite:orderBy": { - "description": "Google Directory API sort field parameter. See https://developers.google.com/admin-sdk/directory/reference/rest/v1/users/list.", - "in": "query", - "name": "orderBy", - "type": "string" - }, - "trait:gsuite:pageToken": { - "description": "Google Directory API token used to access the next page of results. See https://developers.google.com/admin-sdk/directory/reference/rest/v1/users/list.", - "in": "query", - "name": "pageToken", - "type": "string" - }, - "trait:gsuite:query": { - "description": "Google Directory API search parameter. See https://developers.google.com/admin-sdk/directory/v1/guides/search-users.", - "in": "query", - "name": "query", - "type": "string" - }, - "trait:gsuite:sortOrder": { - "description": "Google Directory API sort direction parameter. See https://developers.google.com/admin-sdk/directory/reference/rest/v1/users/list.", - "in": "query", - "name": "sortOrder", - "type": "string" - }, - "trait:limit:limit": { - "default": 10, - "description": "The number of records to return at once. Limited to 100.", - "in": "query", - "name": "limit", - "type": "integer" - }, - "trait:limitDefault1:limit": { - "default": 1, - "in": "query", - "maximum": 100, - "minimum": 0, - "name": "limit", - "type": "integer" - }, - "trait:listCount:x-total-count": { - "in": "header", - "name": "x-total-count", - "type": "integer" - }, - "trait:listCount:x-unfiltered-total-count": { - "description": "If provided in the request with any non-empty value, this header will be returned on the response populated with the total count of objects without filters taken into account", - "in": "header", - "name": "x-unfiltered-total-count", - "type": "integer" - }, - "trait:o365:ConsistencyLevel": { - "description": "Defines the consistency header for O365 requests. See https://docs.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0&tabs=http#request-headers", - "in": "header", - "name": "ConsistencyLevel", - "type": "string" - }, - "trait:skip:skip": { - "default": 0, - "description": "The offset into the records to return.", - "in": "query", - "minimum": 0, - "name": "skip", - "required": false, - "type": "integer" - }, - "trait:sort:sort": { - "default": [], - "description": "The comma separated fields used to sort the collection.\nDefault sort is ascending, prefix with `-` to sort descending.\n", - "in": "query", - "items": { - "type": "string" - }, - "name": "sort", - "type": "array" - }, - "trait:sortIgnoreCase:sortIgnoreCase": { - "default": [], - "description": "The comma separated fields used to sort the collection, ignoring case.\nDefault sort is ascending, prefix with `-` to sort descending.\n", - "in": "query", - "items": { - "type": "string" - }, - "name": "sortIgnoreCase", - "type": "array" - }, - "trait:systemContextAuth:Authorization": { - "description": "Authorization header for the System Context API", - "in": "header", - "name": "Authorization", - "type": "string" - }, - "trait:systemContextAuth:Date": { - "description": "Current date header for the System Context API", - "in": "header", - "name": "Date", - "type": "string" - }, - "trait:systemInsightsCertificatesFilter:filter": { - "default": [], - "description": "Supported operators are: eq, in. e.g:\nFilter for single value:\n`filter=field:eq:value`\nFilter value in a list: (note \"pipe\" character: `|` separating values)\n`filter=field:in:value1|value2|value3`\nNote: You can only filter by `system_id` and `common_name`\n", - "in": "query", - "items": { - "type": "string" - }, - "name": "filter", - "type": "array" - }, - "trait:systemInsightsControlsFilter:filter": { - "default": [], - "description": "Supported operators are: eq, in. e.g:\nFilter for single value:\n`filter=field:eq:value`\nFilter value in a list: (note \"pipe\" character: `|` separating values)\n`filter=field:in:value1|value2|value3`\nNote: You can only filter by `system_id` and `name`\n", - "in": "query", - "items": { - "type": "string" - }, - "name": "filter", - "type": "array" - }, - "trait:systemInsightsFilter:filter": { - "default": [], - "description": "Supported operators are: eq, in. e.g:\nFilter for single value:\n`filter=field:eq:value`\nFilter for any value in a list: (note \"pipe\" character: `|` separating values)\n`filter=field:in:value1|value2|value3`\n", - "in": "query", - "items": { - "type": "string" - }, - "name": "filter", - "type": "array" - }, - "trait:systemInsightsFilterUptime:filter": { - "default": [], - "description": "Supported operators are: eq, gte, in. e.g:\nFilter for single value:\n`filter=field:gte:value`\nFilter for any value in a list: (note \"pipe\" character: `|` separating values)\n`filter=field:in:value1|value2|value3`\n", - "in": "query", - "items": { - "type": "string" - }, - "name": "filter", - "type": "array" - }, - "trait:systemInsightsLimit:limit": { - "default": 10, - "in": "query", - "maximum": 10000, - "minimum": 0, - "name": "limit", - "type": "integer" - }, - "trait:systemInsightsSort:sort": { - "default": [], - "description": "The comma separated fields used to sort the collection.\nDefault sort is ascending, prefix with `-` to sort descending. e.g:\nSort by single field:\n`sort=field`\nSort descending by single field:\n`sort=-field`\nSort by multiple fields:\n`sort=field1,-field2,field3`\n", - "in": "query", - "items": { - "type": "string" }, - "name": "sort", - "type": "array" - } - }, - "paths": { - "/accessrequests": {}, - "/accountManagerCalendar/{id}": { "parameters": [ + { + "in": "path", + "name": "administrator_id", + "required": true, + "type": "string" + }, { "in": "path", "name": "id", @@ -8743,36 +10186,27 @@ } ], "x-functionalities-tags": [ - "accounts-page-upgrade" + "admin" ] }, - "/activedirectories": { + "/administrators/{id}/organizationlinks": { "get": { - "description": "This endpoint allows you to list all your Active Directory Instances.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/activedirectories/ \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n ```", - "operationId": "ActiveDirectory_List", + "description": "This endpoint returns the association links between an Administrator and Organizations.", + "operationId": "AdministratorOrganizations_List", "parameters": [ - { - "$ref": "#/parameters/trait:fields:fields" - }, - { - "$ref": "#/parameters/trait:filter:filter" - }, { "$ref": "#/parameters/trait:limit:limit" }, { "$ref": "#/parameters/trait:skip:skip" - }, - { - "$ref": "#/parameters/trait:sort:sort" } ], "responses": { "200": { - "description": "", + "description": "OK", "schema": { "items": { - "$ref": "#/definitions/active-directory" + "$ref": "#/definitions/AdministratorOrganizationLink" }, "type": "array" } @@ -8783,40 +10217,47 @@ "x-api-key": [] } ], - "summary": "List Active Directories", + "summary": "List the association links between an Administrator and Organizations.", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/activedirectories?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/administrators/{id}/organizationlinks?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/administrators/{id}/organizationlinks\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/administrators/{id}/organizationlinks?limit=10&skip=0' -Method GET -Headers $headers" } ] }, - "parameters": [], + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "type": "string" + } + ], "post": { - "description": "This endpoint allows you to create a new Active Directory.\n\n\n#### Sample Request\n```\ncurl -X POST https://console.jumpcloud.com/api/v2/activedirectories/ \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{\n \"domain\": \"{DC=AD_domain_name;DC=com}\"\n }'\n```", - "operationId": "ActiveDirectory_Create", + "description": "This endpoint allows you to grant Administrator access to an Organization.", + "operationId": "AdministratorOrganization_Create", "parameters": [ { "in": "body", "name": "body", "schema": { - "$ref": "#/definitions/active-directory" + "$ref": "#/definitions/AdministratorOrganizationLinkReq" } } ], "responses": { "201": { - "description": "", + "description": "OK", "schema": { - "$ref": "#/definitions/active-directory" + "$ref": "#/definitions/AdministratorOrganizationLink" } } }, @@ -8825,40 +10266,46 @@ "x-api-key": [] } ], - "summary": "Create a new Active Directory", + "summary": "Allow Adminstrator access to an Organization.", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/activedirectories \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"delegationState\":\"ENABLED\",\"domain\":\"string\",\"groupsEnabled\":true,\"updatedAt\":\"2019-08-24T14:15:22Z\",\"useCase\":\"UNSET\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/administrators/{id}/organizationlinks \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"organization\":\"6230a0d26a4e4bc86c6b36f1\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories\"\n\npayload = {\n \"delegationState\": \"ENABLED\",\n \"domain\": \"string\",\n \"groupsEnabled\": True,\n \"updatedAt\": \"2019-08-24T14:15:22Z\",\n \"useCase\": \"UNSET\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/administrators/{id}/organizationlinks\"\n\npayload = {\"organization\": \"6230a0d26a4e4bc86c6b36f1\"}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"delegationState\":\"ENABLED\",\"domain\":\"string\",\"groupsEnabled\":true,\"updatedAt\":\"2019-08-24T14:15:22Z\",\"useCase\":\"UNSET\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/administrators/{id}/organizationlinks' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"organization\":\"6230a0d26a4e4bc86c6b36f1\"}'" } ] }, "x-functionalities-tags": [ - "active-directory" + "admin" ] }, - "/activedirectories/translation-rules/preview": {}, - "/activedirectories/{activedirectory_id}/agents": { + "/alerts": {}, + "/alerts-stats": {}, + "/alerts/bulk-delete": {}, + "/alerts/bulk-update": {}, + "/alerts/{id}": {}, + "/alerts/{id}/occurrences": {}, + "/alerts/{id}/status": {}, + "/applemdms": { "get": { - "description": "This endpoint allows you to list all your Active Directory Agents for a given Instance.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n ```", - "operationId": "ActiveDirectoryAgent_List", + "description": "Get a list of all Apple MDM configurations. An empty topic indicates that a signed certificate from Apple has not been provided to the PUT endpoint yet.\n\nNote: currently only one MDM configuration per organization is supported.\n\n#### Sample Request\n```\ncurl https://console.jumpcloud.com/api/v2/applemdms \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "AppleMDM_List", "parameters": [ { - "$ref": "#/parameters/trait:limit:limit" + "$ref": "#/parameters/trait:limitDefault1:limit" }, { "$ref": "#/parameters/trait:skip:skip" }, { - "$ref": "#/parameters/trait:sort:sort" + "$ref": "#/parameters/trait:filter:filter" } ], "responses": { @@ -8866,7 +10313,7 @@ "description": "", "schema": { "items": { - "$ref": "#/definitions/active-directory-agent-list" + "$ref": "#/definitions/AppleMDM" }, "type": "array" } @@ -8877,47 +10324,81 @@ "x-api-key": [] } ], - "summary": "List Active Directory Agents", + "summary": "List Apple MDMs", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents?limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/applemdms?limit=1&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms\"\n\nquerystring = {\"limit\":\"1\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents?limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms?limit=1&skip=0' -Method GET -Headers $headers" } ] }, + "x-functionalities-tags": [ + "mdm" + ] + }, + "/applemdms/{apple_mdm_id}/csr": { "parameters": [ { "in": "path", - "name": "activedirectory_id", + "name": "apple_mdm_id", "required": true, "type": "string" } ], - "post": { - "description": "This endpoint allows you to create a new Active Directory Agent.\n\n\n#### Sample Request\n```\ncurl -X POST https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{ \"agent_type\":\"{SYNC}\" }'\n```", - "operationId": "ActiveDirectoryAgent_Create", + "x-functionalities-tags": [ + "mdm" + ] + }, + "/applemdms/{apple_mdm_id}/depkey": { + "parameters": [ + { + "in": "path", + "name": "apple_mdm_id", + "required": true, + "type": "string" + } + ], + "x-functionalities-tags": [ + "mdm" + ] + }, + "/applemdms/{apple_mdm_id}/devices": { + "get": { + "description": "Lists all Apple MDM devices.\n\nThe filter and sort queries will allow the following fields:\n`createdAt`\n`depRegistered`\n`enrolled`\n`id`\n`osVersion`\n`serialNumber`\n`udid`\n\n#### Sample Request\n```\n curl -X GET https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices \\\n -H 'accept: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", + "operationId": "AppleMDMDevice_List", "parameters": [ { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/active-directory-agent" - } + "$ref": "#/parameters/trait:limit:limit" + }, + { + "$ref": "#/parameters/trait:skip:skip" + }, + { + "$ref": "#/parameters/trait:filter:filter" + }, + { + "$ref": "#/parameters/trait:sort:sort" + }, + { + "$ref": "#/parameters/trait:listCount:x-total-count" } ], "responses": { - "201": { - "description": "", + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/active-directory-agent-get" + "items": { + "$ref": "#/definitions/apple-mdm-device" + }, + "type": "array" } } }, @@ -8926,34 +10407,44 @@ "x-api-key": [] } ], - "summary": "Create a new Active Directory Agent", + "summary": "List AppleMDM Devices", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"agentType\":\"SYNC\"}'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --header 'x-total-count: SOME_INTEGER_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents\"\n\npayload = {\"agentType\": \"SYNC\"}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-total-count\": \"SOME_INTEGER_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"agentType\":\"SYNC\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-total-count\", \"SOME_INTEGER_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices?limit=10&skip=0' -Method GET -Headers $headers" } ] }, + "parameters": [ + { + "in": "path", + "name": "apple_mdm_id", + "required": true, + "type": "string" + } + ], "x-functionalities-tags": [ - "active-directory" + "mdm" ] }, - "/activedirectories/{activedirectory_id}/agents/{agent_id}": { + "/applemdms/{apple_mdm_id}/devices/{device_id}": { "delete": { - "description": "This endpoint deletes an Active Directory agent.\n\n#### Sample Request\n```\ncurl -X DELETE https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id} \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "ActiveDirectoryAgent_Delete", - "parameters": [], + "description": "Remove a single Apple MDM device from MDM enrollment.\n\n#### Sample Request\n```\n curl -X DELETE https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id} \\\n -H 'accept: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "AppleMDMDevice_Delete", "responses": { - "204": { - "description": "" + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/apple-mdm-device" + } } }, "security": [ @@ -8961,31 +10452,30 @@ "x-api-key": [] } ], - "summary": "Delete Active Directory Agent", + "summary": "Remove an Apple MDM Device's Enrollment", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}' -Method DELETE -Headers $headers" } ] }, "get": { - "description": "This endpoint returns an Active Directory agent.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id} \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "ActiveDirectoryAgent_Get", - "parameters": [], + "description": "Gets a single Apple MDM device.\n\n#### Sample Request\n```\n curl -X GET https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id} \\\n -H 'accept: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "AppleMDMDevice_Get", "responses": { "200": { - "description": "", + "description": "OK", "schema": { - "$ref": "#/definitions/active-directory-agent-list" + "$ref": "#/definitions/apple-mdm-device" } } }, @@ -8994,107 +10484,97 @@ "x-api-key": [] } ], - "summary": "Get Active Directory Agent", + "summary": "Details of an AppleMDM Device", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}' -Method GET -Headers $headers" } ] }, "parameters": [ { "in": "path", - "name": "activedirectory_id", + "name": "apple_mdm_id", "required": true, "type": "string" }, { "in": "path", - "name": "agent_id", + "name": "device_id", "required": true, "type": "string" } ], "x-functionalities-tags": [ - "active-directory" + "mdm" ] }, - "/activedirectories/{activedirectory_id}/associations": { - "get": { - "description": "This endpoint returns the direct associations of this Active Directory instance.\n\nA direct association can be a non-homogeneous relationship between 2 different objects, for example Active Directory and Users.\n\n\n#### Sample Request\n```\ncurl -X GET 'https://console.jumpcloud.com/api/v2/activedirectories/{ActiveDirectory_ID}/associations?targets=user \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "ActiveDirectoryAssociation_Get", - "parameters": [ - { - "$ref": "#/parameters/trait:graphTargetsActiveDirectory:targets" - }, - { - "$ref": "#/parameters/trait:limit:limit" - }, - { - "$ref": "#/parameters/trait:skip:skip" - } - ], - "responses": { - "200": { - "description": "", - "schema": { - "items": { - "$ref": "#/definitions/GraphConnection" - }, - "type": "array" - } - } + "/applemdms/{apple_mdm_id}/devices/{device_id}/availableOsUpdates": { + "parameters": [ + { + "in": "path", + "name": "apple_mdm_id", + "required": true, + "type": "string" }, - "security": [ - { - "x-api-key": [] - } - ], - "summary": "List the associations of an Active Directory instance", - "x-codeSamples": [ - { - "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" - }, - { - "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" - }, - { - "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" - } - ] - }, + { + "in": "path", + "name": "device_id", + "required": true, + "type": "string" + } + ], + "x-functionalities-tags": [ + "mdm" + ] + }, + "/applemdms/{apple_mdm_id}/devices/{device_id}/bypasscodes": { + "parameters": [ + { + "in": "path", + "name": "apple_mdm_id", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "device_id", + "required": true, + "type": "string" + } + ], + "x-functionalities-tags": [ + "mdm" + ] + }, + "/applemdms/{apple_mdm_id}/devices/{device_id}/clearActivationLock": { "parameters": [ { "in": "path", - "name": "activedirectory_id", + "name": "apple_mdm_id", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "device_id", "required": true, "type": "string" } ], "post": { - "description": "This endpoint allows you to manage the _direct_ associations of an Active Directory instance.\n\nA direct association can be a non-homogeneous relationship between 2 different objects, for example Active Directory and Users.\n\n#### Sample Request\n```\ncurl -X POST https://console.jumpcloud.com/api/v2/activedirectories/{AD_Instance_ID}/associations \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{\n \"op\": \"add\",\n \"type\": \"user\",\n \"id\": \"{User_ID}\"\n }'\n```", - "operationId": "ActiveDirectoryAssociation_Set", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/GraphOperation-ActiveDirectory" - } - } - ], + "description": "Clears the activation lock on the specified device.\n\n#### Sample Request\n```\n curl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/clearActivationLock \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", + "operationId": "AppleMDMDeviceActivationLock_Clear", + "parameters": [], "responses": { "204": { "description": "" @@ -9105,227 +10585,171 @@ "x-api-key": [] } ], - "summary": "Manage the associations of an Active Directory instance", + "summary": "Clears the Activation Lock for a Device", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/clearActivationLock \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/clearActivationLock\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"POST\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/clearActivationLock' -Method POST -Headers $headers" } ] }, "x-functionalities-tags": [ - "active-directory" + "mdm", + "devices-darwin-security-command" ] }, - "/activedirectories/{activedirectory_id}/translation-rules": { + "/applemdms/{apple_mdm_id}/devices/{device_id}/clearPasscode": { "parameters": [ { - "description": "ObjectID of the Active Directory instance.", "in": "path", - "name": "activedirectory_id", + "name": "apple_mdm_id", "required": true, "type": "string" - } - ] - }, - "/activedirectories/{activedirectory_id}/translation-rules/bulk": { - "parameters": [ + }, { "in": "path", - "name": "activedirectory_id", + "name": "device_id", "required": true, "type": "string" } + ], + "x-functionalities-tags": [ + "mdm", + "devices-darwin-security-command" ] }, - "/activedirectories/{activedirectory_id}/translation-rules/{translation_rule_object_id}": { + "/applemdms/{apple_mdm_id}/devices/{device_id}/clearRestrictionsPassword": { "parameters": [ { "in": "path", - "name": "activedirectory_id", + "name": "apple_mdm_id", "required": true, "type": "string" }, { "in": "path", - "name": "translation_rule_object_id", + "name": "device_id", "required": true, "type": "string" } + ], + "x-functionalities-tags": [ + "mdm", + "devices-darwin-security-command" ] }, - "/activedirectories/{activedirectory_id}/usergroups": { - "get": { - "description": "This endpoint will return all Users Groups bound to an Active Directory instance, either directly or indirectly, essentially traversing the JumpCloud Graph for your Organization.\n\nEach element will contain the group's type, id, attributes and paths.\n\nThe `attributes` object is a key/value hash of compiled graph attributes for all paths followed.\n\nThe `paths` array enumerates each path from this Active Directory instance to the corresponding User Group; this array represents all grouping and/or associations that would have to be removed to deprovision the User Group from this Active Directory instance.\n\nSee `/members` and `/associations` endpoints to manage those collections.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/activedirectories/{ActiveDirectory_ID}/usergroups \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "ActiveDirectoryTraverseUserGroup_Get", - "parameters": [ - { - "$ref": "#/parameters/trait:limit:limit" - }, - { - "$ref": "#/parameters/trait:skip:skip" - }, - { - "$ref": "#/parameters/trait:filter:filter" - } - ], - "responses": { - "200": { - "description": "", - "schema": { - "items": { - "$ref": "#/definitions/GraphObjectWithPaths" - }, - "type": "array" - } - } - }, - "security": [ - { - "x-api-key": [] - } - ], - "summary": "List the User Groups bound to an Active Directory instance", - "x-codeSamples": [ - { - "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/usergroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" - }, - { - "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" - }, - { - "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/usergroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" - } - ] - }, + "/applemdms/{apple_mdm_id}/devices/{device_id}/erase": { "parameters": [ { - "description": "ObjectID of the Active Directory instance.", "in": "path", - "name": "activedirectory_id", + "name": "apple_mdm_id", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "device_id", "required": true, "type": "string" } ], - "x-functionalities-tags": [ - "active-directory" - ] - }, - "/activedirectories/{activedirectory_id}/users": { - "get": { - "description": "This endpoint will return all Users bound to an Active Directory instance, either directly or indirectly, essentially traversing the JumpCloud Graph for your Organization.\n\nEach element will contain the type, id, attributes and paths.\n\nThe `attributes` object is a key/value hash of compiled graph attributes for all paths followed.\n\nThe `paths` array enumerates each path from this Active Directory instance to the corresponding User; this array represents all grouping and/or associations that would have to be removed to deprovision the User from this Active Directory instance.\n\nSee `/members` and `/associations` endpoints to manage those collections.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/activedirectories/{ActiveDirectory_ID}/users \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "ActiveDirectoryTraverseUser_Get", + "post": { + "description": "Erases a DEP-enrolled device.\n\n#### Sample Request\n```\n curl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/erase \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", + "operationId": "AppleMDMDevice_Clear", "parameters": [ { - "$ref": "#/parameters/trait:filter:filter" - }, - { - "$ref": "#/parameters/trait:limit:limit" - }, - { - "$ref": "#/parameters/trait:skip:skip" - } - ], - "responses": { - "200": { - "description": "", + "in": "body", + "name": "body", "schema": { - "items": { - "$ref": "#/definitions/GraphObjectWithPaths" + "properties": { + "pin": { + "description": "6-digit PIN, required for MacOS, to erase the device", + "example": "123456", + "pattern": "^[0-9]{6}$", + "type": "string" + } }, - "type": "array" + "type": "object" } } + ], + "responses": { + "204": { + "description": "" + } }, "security": [ { "x-api-key": [] } ], - "summary": "List the Users bound to an Active Directory instance", + "summary": "Erase Device", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/users?filter=&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/erase \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"pin\":\"123456\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/users\"\n\nquerystring = {\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/erase\"\n\npayload = {\"pin\": \"123456\"}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/users?filter=&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/erase' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"pin\":\"123456\"}'" } ] }, + "x-functionalities-tags": [ + "mdm", + "devices-darwin-security-command" + ] + }, + "/applemdms/{apple_mdm_id}/devices/{device_id}/lock": { "parameters": [ { - "description": "ObjectID of the Active Directory instance.", "in": "path", - "name": "activedirectory_id", + "name": "apple_mdm_id", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "device_id", "required": true, "type": "string" } ], - "x-functionalities-tags": [ - "active-directory" - ] - }, - "/activedirectories/{id}": { - "delete": { - "description": "This endpoint allows you to delete an Active Directory Instance.\n\n#### Sample Request\n```\ncurl -X DELETE https://console.jumpcloud.com/api/v2/activedirectories/{ActiveDirectory_ID} \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n ```", - "operationId": "ActiveDirectory_Delete", - "parameters": [], - "responses": { - "200": { - "description": "OK", + "post": { + "description": "Locks a DEP-enrolled device.\n\n#### Sample Request\n```\n curl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/lock \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", + "operationId": "AppleMDMDevice_Lock", + "parameters": [ + { + "in": "body", + "name": "body", "schema": { - "$ref": "#/definitions/active-directory" + "properties": { + "pin": { + "description": "6-digit PIN, required for MacOS, to lock the device", + "example": "123456", + "pattern": "^[0-9]{6}$", + "type": "string" + } + }, + "type": "object" } } - }, - "security": [ - { - "x-api-key": [] - } ], - "summary": "Delete an Active Directory", - "x-codeSamples": [ - { - "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/activedirectories/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" - }, - { - "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" - }, - { - "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{id}' -Method DELETE -Headers $headers" - } - ] - }, - "get": { - "description": "This endpoint returns a specific Active Directory.\n\n#### Sample Request\n\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/activedirectories/{ActiveDirectory_ID} \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n ```", - "operationId": "ActiveDirectory_Get", - "parameters": [], "responses": { - "200": { - "description": "", - "schema": { - "$ref": "#/definitions/active-directory" - } + "204": { + "description": "" } }, "security": [ @@ -9333,53 +10757,49 @@ "x-api-key": [] } ], - "summary": "Get an Active Directory", + "summary": "Lock Device", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/activedirectories/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/lock \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"pin\":\"123456\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/lock\"\n\npayload = {\"pin\": \"123456\"}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/lock' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"pin\":\"123456\"}'" } ] }, + "x-functionalities-tags": [ + "mdm", + "devices-darwin-security-command" + ] + }, + "/applemdms/{apple_mdm_id}/devices/{device_id}/refreshActivationLockInformation": { "parameters": [ { - "description": "ObjectID of this Active Directory instance.", "in": "path", - "name": "id", + "name": "apple_mdm_id", "required": true, "type": "string" - } - ], - "x-functionalities-tags": [ - "active-directory" - ] - }, - "/activedirectories/{provider_name}/translation-rules/recommendation": { - "parameters": [ + }, { - "description": "Provider name.", "in": "path", - "name": "provider_name", + "name": "device_id", "required": true, "type": "string" } - ] - }, - "/administrators/{administrator_id}/organizationlinks/{id}": { - "delete": { - "description": "This endpoint removes the association link between an Administrator and an Organization.", - "operationId": "AdministratorOrganization_Delete", + ], + "post": { + "description": "Refreshes the activation lock information for a device\n\n#### Sample Request\n\n```\ncurl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/refreshActivationLockInformation \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", + "operationId": "AppleMDMDeviceLockInformation_Refresh", + "parameters": [], "responses": { "204": { - "description": "No Content" + "description": "" } }, "security": [ @@ -9387,110 +10807,123 @@ "x-api-key": [] } ], - "summary": "Remove association between an Administrator and an Organization.", + "summary": "Refresh activation lock information for a device", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/administrators/{administrator_id}/organizationlinks/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/refreshActivationLockInformation \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/administrators/{administrator_id}/organizationlinks/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/refreshActivationLockInformation\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"POST\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/administrators/{administrator_id}/organizationlinks/{id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/refreshActivationLockInformation' -Method POST -Headers $headers" } ] }, + "x-functionalities-tags": [ + "mdm" + ] + }, + "/applemdms/{apple_mdm_id}/devices/{device_id}/restart": { "parameters": [ { "in": "path", - "name": "administrator_id", + "name": "apple_mdm_id", "required": true, "type": "string" }, { "in": "path", - "name": "id", + "name": "device_id", "required": true, "type": "string" } ], - "x-functionalities-tags": [ - "admin" - ] - }, - "/administrators/{id}/organizationlinks": { - "get": { - "description": "This endpoint returns the association links between an Administrator and Organizations.", - "operationId": "AdministratorOrganizations_List", + "post": { + "description": "Restarts a DEP-enrolled device.\n\n#### Sample Request\n```\n curl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/restart \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{\"kextPaths\": [\"Path1\", \"Path2\"]}'\n```", + "operationId": "AppleMDMDevice_Restart", "parameters": [ { - "$ref": "#/parameters/trait:limit:limit" - }, - { - "$ref": "#/parameters/trait:skip:skip" - } - ], - "responses": { - "200": { - "description": "OK", + "in": "body", + "name": "body", "schema": { - "items": { - "$ref": "#/definitions/AdministratorOrganizationLink" + "properties": { + "kextPaths": { + "description": "The string to pass when doing a restart and performing a RebuildKernelCache.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" + }, + "x-examples": { + "example-1": { + "kextPaths": [ + "/path/to/kext1", + "/path/to/kext2" + ] + } } } + ], + "responses": { + "204": { + "description": "" + } }, "security": [ { "x-api-key": [] } ], - "summary": "List the association links between an Administrator and Organizations.", + "summary": "Restart Device", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/administrators/{id}/organizationlinks?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/restart \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"kextPaths\":[\"string\"]}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/administrators/{id}/organizationlinks\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/restart\"\n\npayload = {\"kextPaths\": [\"string\"]}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/administrators/{id}/organizationlinks?limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/restart' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"kextPaths\":[\"string\"]}'" } ] }, + "x-functionalities-tags": [ + "mdm", + "devices-darwin-security-command" + ] + }, + "/applemdms/{apple_mdm_id}/devices/{device_id}/shutdown": { "parameters": [ { "in": "path", - "name": "id", + "name": "apple_mdm_id", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "device_id", "required": true, "type": "string" } ], "post": { - "description": "This endpoint allows you to grant Administrator access to an Organization.", - "operationId": "AdministratorOrganization_Create", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/AdministratorOrganizationLinkReq" - } - } - ], + "description": "Shuts down a DEP-enrolled device.\n\n#### Sample Request\n```\n curl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/shutdown \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", + "operationId": "AppleMDMDevice_Stop", + "parameters": [], "responses": { - "201": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AdministratorOrganizationLink" - } + "204": { + "description": "" } }, "security": [ @@ -9498,48 +10931,32 @@ "x-api-key": [] } ], - "summary": "Allow Adminstrator access to an Organization.", + "summary": "Shut Down Device", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/administrators/{id}/organizationlinks \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"organization\":\"6230a0d26a4e4bc86c6b36f1\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/shutdown \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/administrators/{id}/organizationlinks\"\n\npayload = {\"organization\": \"6230a0d26a4e4bc86c6b36f1\"}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/shutdown\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"POST\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/administrators/{id}/organizationlinks' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"organization\":\"6230a0d26a4e4bc86c6b36f1\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/shutdown' -Method POST -Headers $headers" } ] }, "x-functionalities-tags": [ - "admin" + "mdm", + "devices-darwin-security-command" ] }, - "/alerts": {}, - "/alerts-stats": {}, - "/alerts/bulk-delete": {}, - "/alerts/bulk-update": {}, - "/alerts/{id}": {}, - "/alerts/{id}/occurrences": {}, - "/alerts/{id}/status": {}, - "/applemdms": { + "/applemdms/{apple_mdm_id}/enrollmentprofiles": { "get": { - "description": "Get a list of all Apple MDM configurations. An empty topic indicates that a signed certificate from Apple has not been provided to the PUT endpoint yet.\n\nNote: currently only one MDM configuration per organization is supported.\n\n#### Sample Request\n```\ncurl https://console.jumpcloud.com/api/v2/applemdms \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "AppleMDM_List", - "parameters": [ - { - "$ref": "#/parameters/trait:limitDefault1:limit" - }, - { - "$ref": "#/parameters/trait:skip:skip" - }, - { - "$ref": "#/parameters/trait:filter:filter" - } - ], + "description": "Get a list of enrollment profiles for an apple mdm.\n\nNote: currently only one enrollment profile is supported.\n\n#### Sample Request\n```\n curl https://console.jumpcloud.com/api/v2/applemdms/{APPLE_MDM_ID}/enrollmentprofiles \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "AppleMDMEnrollmentProfile_List", + "parameters": [], "responses": { "200": { "description": "", @@ -9556,82 +10973,88 @@ "x-api-key": [] } ], - "summary": "List Apple MDMs", + "summary": "List Apple MDM Enrollment Profiles", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/applemdms?limit=1&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/enrollmentprofiles \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms\"\n\nquerystring = {\"limit\":\"1\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/enrollmentprofiles\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms?limit=1&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/enrollmentprofiles' -Method GET -Headers $headers" } ] }, + "parameters": [ + { + "in": "path", + "name": "apple_mdm_id", + "required": true, + "type": "string" + } + ], "x-functionalities-tags": [ "mdm" ] }, - "/applemdms/{apple_mdm_id}/csr": { + "/applemdms/{apple_mdm_id}/enrollmentprofiles/{id}": { "parameters": [ { "in": "path", "name": "apple_mdm_id", "required": true, "type": "string" + }, + { + "in": "path", + "name": "id", + "required": true, + "type": "string" } ], "x-functionalities-tags": [ "mdm" ] }, - "/applemdms/{apple_mdm_id}/depkey": { + "/applemdms/{apple_mdm_id}/enrollmentprofiles/{id}/downloadurl": { "parameters": [ { "in": "path", "name": "apple_mdm_id", "required": true, "type": "string" + }, + { + "in": "path", + "name": "id", + "required": true, + "type": "string" } ], "x-functionalities-tags": [ "mdm" ] }, - "/applemdms/{apple_mdm_id}/devices": { - "get": { - "description": "Lists all Apple MDM devices.\n\nThe filter and sort queries will allow the following fields:\n`createdAt`\n`depRegistered`\n`enrolled`\n`id`\n`osVersion`\n`serialNumber`\n`udid`\n\n#### Sample Request\n```\n curl -X GET https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices \\\n -H 'accept: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", - "operationId": "AppleMDMDevice_List", - "parameters": [ - { - "$ref": "#/parameters/trait:limit:limit" - }, - { - "$ref": "#/parameters/trait:skip:skip" - }, - { - "$ref": "#/parameters/trait:filter:filter" - }, - { - "$ref": "#/parameters/trait:sort:sort" - }, - { - "$ref": "#/parameters/trait:listCount:x-total-count" - } - ], + "/applemdms/{apple_mdm_id}/refreshdepdevices": { + "parameters": [ + { + "in": "path", + "name": "apple_mdm_id", + "required": true, + "type": "string" + } + ], + "post": { + "description": "Refreshes the list of devices that a JumpCloud admin has added to their virtual MDM in Apple Business Manager - ABM so that they can be DEP enrolled with JumpCloud.\n\n#### Sample Request\n```\n curl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/refreshdepdevices \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", + "operationId": "AppleMDMDevice_Sync", + "parameters": [], "responses": { - "200": { - "description": "OK", - "schema": { - "items": { - "$ref": "#/definitions/apple-mdm-device" - }, - "type": "array" - } + "204": { + "description": "" } }, "security": [ @@ -9639,43 +11062,45 @@ "x-api-key": [] } ], - "summary": "List AppleMDM Devices", + "summary": "Refresh DEP Devices", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices?limit=10&skip=0&filter=&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/refreshdepdevices \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/refreshdepdevices\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"POST\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices?limit=10&skip=0&filter=&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/refreshdepdevices' -Method POST -Headers $headers" } ] }, - "parameters": [ - { - "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - } - ], "x-functionalities-tags": [ "mdm" ] }, - "/applemdms/{apple_mdm_id}/devices/{device_id}": { + "/applemdms/{deviceManagerObjectId}/abm_devices": {}, + "/applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/clearrecoverylock": {}, + "/applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/getrecoverylockconfig": {}, + "/applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/getrecoverylockpassword": {}, + "/applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/lostmode": {}, + "/applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/setrecoverylock": {}, + "/applemdms/{deviceManagerObjectId}/service-discovery-url": {}, + "/applemdms/{deviceManagerObjectId}/validate-service-discovery-url": {}, + "/applemdms/{deviceObjectId}/background_tasks": {}, + "/applemdms/{id}": { "delete": { - "description": "Remove a single Apple MDM device from MDM enrollment.\n\n#### Sample Request\n```\n curl -X DELETE https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id} \\\n -H 'accept: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "AppleMDMDevice_Delete", + "description": "Removes an Apple MDM configuration.\n\nWarning: This is a destructive operation and will remove your Apple Push Certificates. We will no longer be able to manage your devices and the only recovery option is to re-register all devices into MDM.\n\n#### Sample Request\n```\ncurl -X DELETE https://console.jumpcloud.com/api/v2/applemdms/{id} \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "AppleMDM_Delete", + "parameters": [], "responses": { "200": { - "description": "OK", + "description": "", "schema": { - "$ref": "#/definitions/apple-mdm-device" + "$ref": "#/definitions/AppleMDM" } } }, @@ -9684,30 +11109,47 @@ "x-api-key": [] } ], - "summary": "Remove an Apple MDM Device's Enrollment", + "summary": "Delete an Apple MDM", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { - "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}' -Method DELETE -Headers $headers" + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{id}' -Method DELETE -Headers $headers" + } + ] + }, + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "type": "string" + } + ], + "put": { + "description": "Updates an Apple MDM configuration. This endpoint is used to supply JumpCloud with a signed certificate from Apple in order to finalize the setup and allow JumpCloud to manage your devices. It may also be used to update the DEP Settings.\n\n#### Sample Request\n```\n curl -X PUT https://console.jumpcloud.com/api/v2/applemdms/{ID} \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{\n \"name\": \"MDM name\",\n \"appleSignedCert\": \"{CERTIFICATE}\",\n \"encryptedDepServerToken\": \"{SERVER_TOKEN}\",\n \"dep\": {\n \"welcomeScreen\": {\n \"title\": \"Welcome\",\n \"paragraph\": \"In just a few steps, you will be working securely from your Mac.\",\n \"button\": \"continue\",\n },\n },\n }'\n```", + "operationId": "AppleMDM_Set", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/apple-mdm-patch" + } } - ] - }, - "get": { - "description": "Gets a single Apple MDM device.\n\n#### Sample Request\n```\n curl -X GET https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id} \\\n -H 'accept: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "AppleMDMDevice_Get", + ], "responses": { "200": { - "description": "OK", + "description": "", "schema": { - "$ref": "#/definitions/apple-mdm-device" + "$ref": "#/definitions/AppleMDM" } } }, @@ -9716,100 +11158,155 @@ "x-api-key": [] } ], - "summary": "Details of an AppleMDM Device", + "summary": "Update an Apple MDM", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"ades\":{\"ios\":{\"defaultDeviceGroupObjectIds\":[\"string\"],\"enableZeroTouchEnrollment\":true,\"setupAssistantOptions\":[{\"option\":\"accessibility\"}],\"setupOptions\":[\"accessibility\"],\"welcomeScreen\":{\"button\":\"string\",\"paragraph\":\"string\",\"title\":\"string\"}},\"macos\":{\"defaultDeviceGroupObjectIds\":[\"string\"],\"enableZeroTouchEnrollment\":true,\"setupAssistantOptions\":[{\"option\":\"accessibility\"}],\"setupOptions\":[\"accessibility\"],\"welcomeScreen\":{\"button\":\"string\",\"paragraph\":\"string\",\"title\":\"string\"}}},\"allowMobileUserEnrollment\":true,\"appleCertCreatorAppleID\":\"string\",\"appleSignedCert\":\"string\",\"defaultIosUserEnrollmentDeviceGroupID\":\"string\",\"defaultSystemGroupID\":\"string\",\"dep\":{\"enableZeroTouchEnrollment\":true,\"setupAssistantOptions\":[{\"option\":\"accessibility\"}],\"welcomeScreen\":{\"button\":\"string\",\"paragraph\":\"string\",\"title\":\"string\"}},\"encryptedDepServerToken\":\"string\",\"name\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{id}\"\n\npayload = {\n \"ades\": {\n \"ios\": {\n \"defaultDeviceGroupObjectIds\": [\"string\"],\n \"enableZeroTouchEnrollment\": True,\n \"setupAssistantOptions\": [{\"option\": \"accessibility\"}],\n \"setupOptions\": [\"accessibility\"],\n \"welcomeScreen\": {\n \"button\": \"string\",\n \"paragraph\": \"string\",\n \"title\": \"string\"\n }\n },\n \"macos\": {\n \"defaultDeviceGroupObjectIds\": [\"string\"],\n \"enableZeroTouchEnrollment\": True,\n \"setupAssistantOptions\": [{\"option\": \"accessibility\"}],\n \"setupOptions\": [\"accessibility\"],\n \"welcomeScreen\": {\n \"button\": \"string\",\n \"paragraph\": \"string\",\n \"title\": \"string\"\n }\n }\n },\n \"allowMobileUserEnrollment\": True,\n \"appleCertCreatorAppleID\": \"string\",\n \"appleSignedCert\": \"string\",\n \"defaultIosUserEnrollmentDeviceGroupID\": \"string\",\n \"defaultSystemGroupID\": \"string\",\n \"dep\": {\n \"enableZeroTouchEnrollment\": True,\n \"setupAssistantOptions\": [{\"option\": \"accessibility\"}],\n \"welcomeScreen\": {\n \"button\": \"string\",\n \"paragraph\": \"string\",\n \"title\": \"string\"\n }\n },\n \"encryptedDepServerToken\": \"string\",\n \"name\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"ades\":{\"ios\":{\"defaultDeviceGroupObjectIds\":[\"string\"],\"enableZeroTouchEnrollment\":true,\"setupAssistantOptions\":[{\"option\":\"accessibility\"}],\"setupOptions\":[\"accessibility\"],\"welcomeScreen\":{\"button\":\"string\",\"paragraph\":\"string\",\"title\":\"string\"}},\"macos\":{\"defaultDeviceGroupObjectIds\":[\"string\"],\"enableZeroTouchEnrollment\":true,\"setupAssistantOptions\":[{\"option\":\"accessibility\"}],\"setupOptions\":[\"accessibility\"],\"welcomeScreen\":{\"button\":\"string\",\"paragraph\":\"string\",\"title\":\"string\"}}},\"allowMobileUserEnrollment\":true,\"appleCertCreatorAppleID\":\"string\",\"appleSignedCert\":\"string\",\"defaultIosUserEnrollmentDeviceGroupID\":\"string\",\"defaultSystemGroupID\":\"string\",\"dep\":{\"enableZeroTouchEnrollment\":true,\"setupAssistantOptions\":[{\"option\":\"accessibility\"}],\"welcomeScreen\":{\"button\":\"string\",\"paragraph\":\"string\",\"title\":\"string\"}},\"encryptedDepServerToken\":\"string\",\"name\":\"string\"}'" } ] }, + "x-functionalities-tags": [ + "mdm" + ] + }, + "/applemdms/{organizationObjectId}/account-driven-service-discovery": {}, + "/applemdms/{organizationObjectId}/account-driven-service-discovery/config": {}, + "/applevpp/locations": { + "x-functionalities-tags": [ + "vpp" + ] + }, + "/applevpp/locations/{id}": { "parameters": [ { + "description": "The Location's Object ID", "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "device_id", + "name": "id", "required": true, "type": "string" } ], "x-functionalities-tags": [ - "mdm" + "vpp" ] }, - "/applemdms/{apple_mdm_id}/devices/{device_id}/availableOsUpdates": { + "/application/catalog": { + "x-functionalities-tags": [ + "user-portal-applications" + ] + }, + "/application/catalog/{item_id}": { "parameters": [ { "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "device_id", + "name": "item_id", "required": true, "type": "string" } ], "x-functionalities-tags": [ - "mdm" + "user-portal-applications" ] }, - "/applemdms/{apple_mdm_id}/devices/{device_id}/bypasscodes": { + "/applications": { + "x-functionalities-tags": [ + "user-portal-applications" + ] + }, + "/applications/import/{job_id}/detailedresults": { "parameters": [ { + "description": "ObjectID of the Import Job.", "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "device_id", + "name": "job_id", "required": true, "type": "string" } ], "x-functionalities-tags": [ - "mdm" + "user-portal-applications" ] }, - "/applemdms/{apple_mdm_id}/devices/{device_id}/clearActivationLock": { - "parameters": [ - { - "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" + "/applications/{application_id}/associations": { + "get": { + "description": "This endpoint will return the _direct_ associations of an Application. A direct association can be a non-homogeneous relationship between 2 different objects, for example Applications and User Groups.\n\n\n#### Sample Request\n```\ncurl -X GET 'https://console.jumpcloud.com/api/v2/applications/{Application_ID}/associations?targets=user_group \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "ApplicationAssociation_Get", + "parameters": [ + { + "$ref": "#/parameters/trait:graphTargetsApplication:targets" + }, + { + "$ref": "#/parameters/trait:limit:limit" + }, + { + "$ref": "#/parameters/trait:skip:skip" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "items": { + "$ref": "#/definitions/GraphConnection" + }, + "type": "array" + } + } }, + "security": [ + { + "x-api-key": [] + } + ], + "summary": "List the associations of an Application", + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/applications/{application_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" + }, + { + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applications/{application_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + }, + { + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applications/{application_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + } + ] + }, + "parameters": [ { + "description": "ObjectID of the Application.", "in": "path", - "name": "device_id", + "name": "application_id", "required": true, "type": "string" } ], "post": { - "description": "Clears the activation lock on the specified device.\n\n#### Sample Request\n```\n curl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/clearActivationLock \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", - "operationId": "AppleMDMDeviceActivationLock_Clear", - "parameters": [], + "description": "This endpoint allows you to manage the _direct_ associations of an Application. A direct association can be a non-homogeneous relationship between 2 different objects, for example Application and User Groups.\n\n#### Sample Request\n```\ncurl -X POST 'https://console.jumpcloud.com/api/v2/applications/{Application_ID}/associations' \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{\n \"op\": \"add\",\n \"type\": \"user_group\",\n \"id\": \"{Group_ID}\"\n }'\n```", + "operationId": "ApplicationAssociation_Set", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/GraphOperation-Application" + } + } + ], "responses": { "204": { - "description": "" + "description": "OK" } }, "security": [ @@ -9817,105 +11314,128 @@ "x-api-key": [] } ], - "summary": "Clears the Activation Lock for a Device", + "summary": "Manage the associations of an Application", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/clearActivationLock \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applications/{application_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/clearActivationLock\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"POST\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applications/{application_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/clearActivationLock' -Method POST -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applications/{application_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" } ] }, "x-functionalities-tags": [ - "mdm", - "devices-darwin-security-command" - ] - }, - "/applemdms/{apple_mdm_id}/devices/{device_id}/clearPasscode": { - "parameters": [ - { - "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "device_id", - "required": true, - "type": "string" - } - ], - "x-functionalities-tags": [ - "mdm", - "devices-darwin-security-command" + "user-portal-applications" ] }, - "/applemdms/{apple_mdm_id}/devices/{device_id}/clearRestrictionsPassword": { + "/applications/{application_id}/import/jobs": { "parameters": [ { + "description": "ObjectID of the Application.", "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "device_id", + "name": "application_id", "required": true, "type": "string" } ], "x-functionalities-tags": [ - "mdm", - "devices-darwin-security-command" + "user-portal-applications" ] }, - "/applemdms/{apple_mdm_id}/devices/{device_id}/erase": { - "parameters": [ - { - "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "device_id", - "required": true, - "type": "string" - } - ], - "post": { - "description": "Erases a DEP-enrolled device.\n\n#### Sample Request\n```\n curl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/erase \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", - "operationId": "AppleMDMDevice_Clear", + "/applications/{application_id}/import/users": { + "get": { + "description": "Get a list of users to import from an Application IdM service provider.", + "operationId": "SCIM_Import", "parameters": [ { - "in": "body", - "name": "body", - "schema": { - "properties": { - "pin": { - "description": "6-digit PIN, required for MacOS, to erase the device", - "example": "123456", - "pattern": "^[0-9]{6}$", - "type": "string" - } - }, - "type": "object" + "default": "", + "description": "Filter users by a search term", + "in": "query", + "name": "filter", + "type": "string" + }, + { + "default": "", + "description": "URL query to merge with the service provider request", + "in": "query", + "name": "query", + "type": "string" + }, + { + "default": "", + "description": "Sort users by supported fields", + "enum": [ + "firstname", + "lastname", + "email" + ], + "in": "query", + "name": "sort", + "type": "string", + "x-ms-enum": { + "name": "sort" + } + }, + { + "default": "asc", + "enum": [ + "asc", + "desc" + ], + "in": "query", + "name": "sortOrder", + "type": "string", + "x-ms-enum": { + "name": "sortOrder1" } + }, + { + "default": "", + "description": "Import sessionId for manual select and view user", + "in": "query", + "name": "sessionId", + "type": "string" + }, + { + "default": false, + "description": "IsCount indicates if the request is only for getting the total count of users.", + "in": "query", + "name": "isCount", + "type": "boolean" + }, + { + "default": false, + "description": "Enable cursor-based pagination", + "in": "query", + "name": "isCursor", + "type": "boolean" + }, + { + "default": "", + "description": "Cursor token for pagination", + "in": "query", + "name": "cursor", + "type": "string" + }, + { + "$ref": "#/parameters/trait:limit:limit" + }, + { + "$ref": "#/parameters/trait:skip:skip" } ], "responses": { - "204": { - "description": "" + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/importUsersResponse" + } } }, "security": [ @@ -9923,65 +11443,50 @@ "x-api-key": [] } ], - "summary": "Erase Device", + "summary": "Get a list of users to import from an Application IdM service provider", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/erase \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"pin\":\"123456\"}'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/applications/{application_id}/import/users?filter=&query=&sort=&sortOrder=asc&sessionId=&isCount=false&isCursor=false&cursor=&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/erase\"\n\npayload = {\"pin\": \"123456\"}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applications/{application_id}/import/users\"\n\nquerystring = {\"filter\":\"\",\"query\":\"\",\"sort\":\"\",\"sortOrder\":\"asc\",\"sessionId\":\"\",\"isCount\":\"false\",\"isCursor\":\"false\",\"cursor\":\"\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/erase' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"pin\":\"123456\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applications/{application_id}/import/users?filter=&query=&sort=&sortOrder=asc&sessionId=&isCount=false&isCursor=false&cursor=&limit=10&skip=0' -Method GET -Headers $headers" } ] }, - "x-functionalities-tags": [ - "mdm", - "devices-darwin-security-command" - ] - }, - "/applemdms/{apple_mdm_id}/devices/{device_id}/lock": { "parameters": [ { + "description": "ObjectID of the Application.", "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "device_id", + "name": "application_id", "required": true, "type": "string" } ], - "post": { - "description": "Locks a DEP-enrolled device.\n\n#### Sample Request\n```\n curl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/lock \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", - "operationId": "AppleMDMDevice_Lock", + "x-functionalities-tags": [ + "user-portal-applications" + ] + }, + "/applications/{application_id}/logo": { + "delete": { + "description": "Deletes the specified image from an application", + "operationId": "ApplicationLogo_Delete", "parameters": [ { - "in": "body", - "name": "body", - "schema": { - "properties": { - "pin": { - "description": "6-digit PIN, required for MacOS, to lock the device", - "example": "123456", - "pattern": "^[0-9]{6}$", - "type": "string" - } - }, - "type": "object" - } + "in": "path", + "name": "application_id", + "required": true, + "type": "string" } ], "responses": { "204": { - "description": "" + "description": "NO_CONTENT" } }, "security": [ @@ -9989,123 +11494,114 @@ "x-api-key": [] } ], - "summary": "Lock Device", + "summary": "Delete application image", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/lock \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"pin\":\"123456\"}'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/applications/{application_id}/logo \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/lock\"\n\npayload = {\"pin\": \"123456\"}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applications/{application_id}/logo\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/lock' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"pin\":\"123456\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applications/{application_id}/logo' -Method DELETE -Headers $headers" } ] }, "x-functionalities-tags": [ - "mdm", - "devices-darwin-security-command" + "user-portal-applications" ] }, - "/applemdms/{apple_mdm_id}/devices/{device_id}/refreshActivationLockInformation": { + "/applications/{application_id}/provision": { "parameters": [ { "in": "path", - "name": "apple_mdm_id", + "name": "application_id", "required": true, "type": "string" - }, + } + ], + "x-functionalities-tags": [ + "user-portal-applications" + ] + }, + "/applications/{application_id}/provision/activate": { + "parameters": [ { "in": "path", - "name": "device_id", + "name": "application_id", "required": true, "type": "string" + }, + { + "in": "header", + "name": "X-Requested-With", + "required": false, + "type": "string" } ], - "post": { - "description": "Refreshes the activation lock information for a device\n\n#### Sample Request\n\n```\ncurl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/refreshActivationLockInformation \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", - "operationId": "AppleMDMDeviceLockInformation_Refresh", - "parameters": [], - "responses": { - "204": { - "description": "" - } - }, - "security": [ - { - "x-api-key": [] - } - ], - "summary": "Refresh activation lock information for a device", - "x-codeSamples": [ - { - "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/refreshActivationLockInformation \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" - }, - { - "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/refreshActivationLockInformation\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"POST\", url, headers=headers)\n\nprint(response.text)" - }, - { - "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/refreshActivationLockInformation' -Method POST -Headers $headers" - } - ] - }, "x-functionalities-tags": [ - "mdm" + "user-portal-applications" ] }, - "/applemdms/{apple_mdm_id}/devices/{device_id}/restart": { + "/applications/{application_id}/provision/reactivate": { "parameters": [ { "in": "path", - "name": "apple_mdm_id", + "name": "application_id", "required": true, "type": "string" }, + { + "in": "header", + "name": "X-Requested-With", + "required": false, + "type": "string" + } + ], + "x-functionalities-tags": [ + "user-portal-applications" + ] + }, + "/applications/{application_id}/sso": { + "parameters": [ { "in": "path", - "name": "device_id", + "name": "application_id", "required": true, "type": "string" } ], - "post": { - "description": "Restarts a DEP-enrolled device.\n\n#### Sample Request\n```\n curl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/restart \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{\"kextPaths\": [\"Path1\", \"Path2\"]}'\n```", - "operationId": "AppleMDMDevice_Restart", + "x-functionalities-tags": [ + "user-portal-applications" + ] + }, + "/applications/{application_id}/usergroups": { + "get": { + "description": "This endpoint will return all Users Groups bound to an Application, either directly or indirectly, essentially traversing the JumpCloud Graph for your Organization.\n\nEach element will contain the group's type, id, attributes and paths.\n\nThe `attributes` object is a key/value hash of compiled graph attributes for all paths followed.\n\nThe `paths` array enumerates each path from this Application to the corresponding User Group; this array represents all grouping and/or associations that would have to be removed to deprovision the User Group from this Application.\n\nSee `/members` and `/associations` endpoints to manage those collections.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/applications/{Application_ID}/usergroups \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "ApplicationTraverseUserGroup_Get", "parameters": [ { - "in": "body", - "name": "body", - "schema": { - "properties": { - "kextPaths": { - "description": "The string to pass when doing a restart and performing a RebuildKernelCache.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "x-examples": { - "example-1": { - "kextPaths": [ - "/path/to/kext1", - "/path/to/kext2" - ] - } - } + "$ref": "#/parameters/trait:limit:limit" + }, + { + "$ref": "#/parameters/trait:skip:skip" + }, + { + "$ref": "#/parameters/trait:filter:filter" } ], "responses": { - "204": { - "description": "" + "200": { + "description": "OK", + "schema": { + "items": { + "$ref": "#/definitions/GraphObjectWithPaths" + }, + "type": "array" + } } }, "security": [ @@ -10113,88 +11609,56 @@ "x-api-key": [] } ], - "summary": "Restart Device", + "summary": "List the User Groups bound to an Application", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/restart \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"kextPaths\":[\"string\"]}'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/applications/{application_id}/usergroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/restart\"\n\npayload = {\"kextPaths\": [\"string\"]}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applications/{application_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/restart' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"kextPaths\":[\"string\"]}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applications/{application_id}/usergroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, - "x-functionalities-tags": [ - "mdm", - "devices-darwin-security-command" - ] - }, - "/applemdms/{apple_mdm_id}/devices/{device_id}/shutdown": { "parameters": [ { + "description": "ObjectID of the Application.", "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "device_id", + "name": "application_id", "required": true, "type": "string" } ], - "post": { - "description": "Shuts down a DEP-enrolled device.\n\n#### Sample Request\n```\n curl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/shutdown \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", - "operationId": "AppleMDMDevice_Stop", - "parameters": [], - "responses": { - "204": { - "description": "" - } - }, - "security": [ - { - "x-api-key": [] - } - ], - "summary": "Shut Down Device", - "x-codeSamples": [ + "x-functionalities-tags": [ + "user-portal-applications" + ] + }, + "/applications/{application_id}/users": { + "get": { + "description": "This endpoint will return all Users bound to an Application, either directly or indirectly, essentially traversing the JumpCloud Graph for your Organization.\n\nEach element will contain the type, id, attributes and paths.\n\nThe `attributes` object is a key/value hash of compiled graph attributes for all paths followed.\n\nThe `paths` array enumerates each path from this Application to the corresponding User; this array represents all grouping and/or associations that would have to be removed to deprovision the User from this Application.\n\nSee `/members` and `/associations` endpoints to manage those collections.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/applications/{Application_ID}/users \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "ApplicationTraverseUser_Get", + "parameters": [ { - "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/shutdown \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "$ref": "#/parameters/trait:limit:limit" }, { - "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/shutdown\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"POST\", url, headers=headers)\n\nprint(response.text)" + "$ref": "#/parameters/trait:skip:skip" }, { - "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/shutdown' -Method POST -Headers $headers" + "$ref": "#/parameters/trait:filter:filter" } - ] - }, - "x-functionalities-tags": [ - "mdm", - "devices-darwin-security-command" - ] - }, - "/applemdms/{apple_mdm_id}/enrollmentprofiles": { - "get": { - "description": "Get a list of enrollment profiles for an apple mdm.\n\nNote: currently only one enrollment profile is supported.\n\n#### Sample Request\n```\n curl https://console.jumpcloud.com/api/v2/applemdms/{APPLE_MDM_ID}/enrollmentprofiles \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "AppleMDMEnrollmentProfile_List", - "parameters": [], + ], "responses": { "200": { - "description": "", + "description": "OK", "schema": { "items": { - "$ref": "#/definitions/AppleMDM" + "$ref": "#/definitions/GraphObjectWithPaths" }, "type": "array" } @@ -10205,88 +11669,94 @@ "x-api-key": [] } ], - "summary": "List Apple MDM Enrollment Profiles", + "summary": "List the Users bound to an Application", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/enrollmentprofiles \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/applications/{application_id}/users?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/enrollmentprofiles\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applications/{application_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/enrollmentprofiles' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applications/{application_id}/users?limit=10&skip=0' -Method GET -Headers $headers" } ] }, "parameters": [ { + "description": "ObjectID of the Application.", "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - } - ], - "x-functionalities-tags": [ - "mdm" - ] - }, - "/applemdms/{apple_mdm_id}/enrollmentprofiles/{id}": { - "parameters": [ - { - "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "id", - "required": true, - "type": "string" - } - ], - "x-functionalities-tags": [ - "mdm" - ] - }, - "/applemdms/{apple_mdm_id}/enrollmentprofiles/{id}/downloadurl": { - "parameters": [ - { - "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "id", + "name": "application_id", "required": true, "type": "string" } ], "x-functionalities-tags": [ - "mdm" + "user-portal-applications" ] }, - "/applemdms/{apple_mdm_id}/refreshdepdevices": { - "parameters": [ - { - "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - } - ], - "post": { - "description": "Refreshes the list of devices that a JumpCloud admin has added to their virtual MDM in Apple Business Manager - ABM so that they can be DEP enrolled with JumpCloud.\n\n#### Sample Request\n```\n curl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/refreshdepdevices \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", - "operationId": "AppleMDMDevice_Sync", - "parameters": [], + "/approvalflowrequest": { + "get": { + "description": "Endpoint for getting the list of workflows access requests", + "operationId": "AccessRequest_List", + "parameters": [ + { + "format": "byte", + "in": "query", + "name": "organizationObjectId", + "required": false, + "type": "string" + }, + { + "format": "int64", + "in": "query", + "name": "limit", + "required": false, + "type": "string" + }, + { + "format": "int64", + "in": "query", + "name": "skip", + "required": false, + "type": "string" + }, + { + "in": "query", + "name": "sort", + "required": false, + "type": "string" + }, + { + "collectionFormat": "multi", + "in": "query", + "items": { + "type": "string" + }, + "name": "fields", + "required": false, + "type": "array" + }, + { + "collectionFormat": "multi", + "in": "query", + "items": { + "type": "string" + }, + "name": "filter", + "required": false, + "type": "array" + } + ], "responses": { - "204": { - "description": "" + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/jumpcloud.ingresso.GetAllWorkflowAccessRequestResponse" + } } }, "security": [ @@ -10294,45 +11764,48 @@ "x-api-key": [] } ], - "summary": "Refresh DEP Devices", + "summary": "Get all Workflow Access Requests", + "x-dynamic-gateway": true, "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/refreshdepdevices \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/approvalflowrequest?organizationObjectId=SOME_STRING_VALUE&limit=SOME_STRING_VALUE&skip=SOME_STRING_VALUE&sort=SOME_STRING_VALUE&fields=SOME_ARRAY_VALUE&filter=SOME_ARRAY_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/refreshdepdevices\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"POST\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/approvalflowrequest\"\n\nquerystring = {\"organizationObjectId\":\"SOME_STRING_VALUE\",\"limit\":\"SOME_STRING_VALUE\",\"skip\":\"SOME_STRING_VALUE\",\"sort\":\"SOME_STRING_VALUE\",\"fields\":\"SOME_ARRAY_VALUE\",\"filter\":\"SOME_ARRAY_VALUE\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/refreshdepdevices' -Method POST -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/approvalflowrequest?organizationObjectId=SOME_STRING_VALUE&limit=SOME_STRING_VALUE&skip=SOME_STRING_VALUE&sort=SOME_STRING_VALUE&fields=SOME_ARRAY_VALUE&filter=SOME_ARRAY_VALUE' -Method GET -Headers $headers" } ] - }, - "x-functionalities-tags": [ - "mdm" - ] + } }, - "/applemdms/{deviceManagerObjectId}/abm_devices": {}, - "/applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/clearrecoverylock": {}, - "/applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/getrecoverylockconfig": {}, - "/applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/getrecoverylockpassword": {}, - "/applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/lostmode": {}, - "/applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/setrecoverylock": {}, - "/applemdms/{deviceManagerObjectId}/service-discovery-url": {}, - "/applemdms/{deviceManagerObjectId}/validate-service-discovery-url": {}, - "/applemdms/{deviceObjectId}/background_tasks": {}, - "/applemdms/{id}": { - "delete": { - "description": "Removes an Apple MDM configuration.\n\nWarning: This is a destructive operation and will remove your Apple Push Certificates. We will no longer be able to manage your devices and the only recovery option is to re-register all devices into MDM.\n\n#### Sample Request\n```\ncurl -X DELETE https://console.jumpcloud.com/api/v2/applemdms/{id} \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "AppleMDM_Delete", - "parameters": [], + "/approvalflowrequest/{id}": { + "get": { + "description": "Endpoint that returns the workflow access request by id", + "operationId": "AccessRequest_Get", + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "type": "string" + }, + { + "format": "byte", + "in": "query", + "name": "organizationObjectId", + "required": false, + "type": "string" + } + ], "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { - "$ref": "#/definitions/AppleMDM" + "$ref": "#/definitions/jumpcloud.ingresso.GetWorkflowAccessRequestResponse" } } }, @@ -10341,47 +11814,68 @@ "x-api-key": [] } ], - "summary": "Delete an Apple MDM", + "summary": "Get Workflow Access Requests", + "x-dynamic-gateway": true, "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/approvalflowrequest/{id}?organizationObjectId=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/approvalflowrequest/{id}\"\n\nquerystring = {\"organizationObjectId\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/approvalflowrequest/{id}?organizationObjectId=SOME_STRING_VALUE' -Method GET -Headers $headers" } ] }, - "parameters": [ - { - "in": "path", - "name": "id", - "required": true, - "type": "string" - } - ], "put": { - "description": "Updates an Apple MDM configuration. This endpoint is used to supply JumpCloud with a signed certificate from Apple in order to finalize the setup and allow JumpCloud to manage your devices. It may also be used to update the DEP Settings.\n\n#### Sample Request\n```\n curl -X PUT https://console.jumpcloud.com/api/v2/applemdms/{ID} \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{\n \"name\": \"MDM name\",\n \"appleSignedCert\": \"{CERTIFICATE}\",\n \"encryptedDepServerToken\": \"{SERVER_TOKEN}\",\n \"dep\": {\n \"welcomeScreen\": {\n \"title\": \"Welcome\",\n \"paragraph\": \"In just a few steps, you will be working securely from your Mac.\",\n \"button\": \"continue\",\n },\n },\n }'\n```", - "operationId": "AppleMDM_Set", + "description": "Endpoint that updates the workflow access request by id", + "operationId": "AccessRequest_Set", "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "type": "string" + }, { "in": "body", "name": "body", + "required": true, "schema": { - "$ref": "#/definitions/apple-mdm-patch" + "properties": { + "admin": { + "type": "string" + }, + "approvedDuration": { + "type": "string" + }, + "internalNote": { + "type": "string" + }, + "organizationObjectId": { + "format": "byte", + "type": "string" + }, + "remarks": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "type": "object" } } ], "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { - "$ref": "#/definitions/AppleMDM" + "$ref": "#/definitions/jumpcloud.ingresso.UpdateWorkflowAccessRequestResponse" } } }, @@ -10390,107 +11884,82 @@ "x-api-key": [] } ], - "summary": "Update an Apple MDM", + "summary": "Update Workflow Access Requests", + "x-dynamic-gateway": true, "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"ades\":{\"ios\":{\"defaultDeviceGroupObjectIds\":[\"string\"],\"enableZeroTouchEnrollment\":true,\"setupAssistantOptions\":[{\"option\":\"accessibility\"}],\"setupOptions\":[\"accessibility\"],\"welcomeScreen\":{\"button\":\"string\",\"paragraph\":\"string\",\"title\":\"string\"}},\"macos\":{\"defaultDeviceGroupObjectIds\":[\"string\"],\"enableZeroTouchEnrollment\":true,\"setupAssistantOptions\":[{\"option\":\"accessibility\"}],\"setupOptions\":[\"accessibility\"],\"welcomeScreen\":{\"button\":\"string\",\"paragraph\":\"string\",\"title\":\"string\"}}},\"allowMobileUserEnrollment\":true,\"appleCertCreatorAppleID\":\"string\",\"appleSignedCert\":\"string\",\"defaultIosUserEnrollmentDeviceGroupID\":\"string\",\"defaultSystemGroupID\":\"string\",\"dep\":{\"enableZeroTouchEnrollment\":true,\"setupAssistantOptions\":[{\"option\":\"accessibility\"}],\"welcomeScreen\":{\"button\":\"string\",\"paragraph\":\"string\",\"title\":\"string\"}},\"encryptedDepServerToken\":\"string\",\"name\":\"string\"}'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/approvalflowrequest/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"admin\":\"string\",\"approvedDuration\":\"string\",\"internalNote\":\"string\",\"organizationObjectId\":\"string\",\"remarks\":\"string\",\"status\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{id}\"\n\npayload = {\n \"ades\": {\n \"ios\": {\n \"defaultDeviceGroupObjectIds\": [\"string\"],\n \"enableZeroTouchEnrollment\": True,\n \"setupAssistantOptions\": [{\"option\": \"accessibility\"}],\n \"setupOptions\": [\"accessibility\"],\n \"welcomeScreen\": {\n \"button\": \"string\",\n \"paragraph\": \"string\",\n \"title\": \"string\"\n }\n },\n \"macos\": {\n \"defaultDeviceGroupObjectIds\": [\"string\"],\n \"enableZeroTouchEnrollment\": True,\n \"setupAssistantOptions\": [{\"option\": \"accessibility\"}],\n \"setupOptions\": [\"accessibility\"],\n \"welcomeScreen\": {\n \"button\": \"string\",\n \"paragraph\": \"string\",\n \"title\": \"string\"\n }\n }\n },\n \"allowMobileUserEnrollment\": True,\n \"appleCertCreatorAppleID\": \"string\",\n \"appleSignedCert\": \"string\",\n \"defaultIosUserEnrollmentDeviceGroupID\": \"string\",\n \"defaultSystemGroupID\": \"string\",\n \"dep\": {\n \"enableZeroTouchEnrollment\": True,\n \"setupAssistantOptions\": [{\"option\": \"accessibility\"}],\n \"welcomeScreen\": {\n \"button\": \"string\",\n \"paragraph\": \"string\",\n \"title\": \"string\"\n }\n },\n \"encryptedDepServerToken\": \"string\",\n \"name\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/approvalflowrequest/{id}\"\n\npayload = {\n \"admin\": \"string\",\n \"approvedDuration\": \"string\",\n \"internalNote\": \"string\",\n \"organizationObjectId\": \"string\",\n \"remarks\": \"string\",\n \"status\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"ades\":{\"ios\":{\"defaultDeviceGroupObjectIds\":[\"string\"],\"enableZeroTouchEnrollment\":true,\"setupAssistantOptions\":[{\"option\":\"accessibility\"}],\"setupOptions\":[\"accessibility\"],\"welcomeScreen\":{\"button\":\"string\",\"paragraph\":\"string\",\"title\":\"string\"}},\"macos\":{\"defaultDeviceGroupObjectIds\":[\"string\"],\"enableZeroTouchEnrollment\":true,\"setupAssistantOptions\":[{\"option\":\"accessibility\"}],\"setupOptions\":[\"accessibility\"],\"welcomeScreen\":{\"button\":\"string\",\"paragraph\":\"string\",\"title\":\"string\"}}},\"allowMobileUserEnrollment\":true,\"appleCertCreatorAppleID\":\"string\",\"appleSignedCert\":\"string\",\"defaultIosUserEnrollmentDeviceGroupID\":\"string\",\"defaultSystemGroupID\":\"string\",\"dep\":{\"enableZeroTouchEnrollment\":true,\"setupAssistantOptions\":[{\"option\":\"accessibility\"}],\"welcomeScreen\":{\"button\":\"string\",\"paragraph\":\"string\",\"title\":\"string\"}},\"encryptedDepServerToken\":\"string\",\"name\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/approvalflowrequest/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"admin\":\"string\",\"approvedDuration\":\"string\",\"internalNote\":\"string\",\"organizationObjectId\":\"string\",\"remarks\":\"string\",\"status\":\"string\"}'" } ] - }, - "x-functionalities-tags": [ - "mdm" - ] - }, - "/applemdms/{organizationObjectId}/account-driven-service-discovery": {}, - "/applemdms/{organizationObjectId}/account-driven-service-discovery/config": {}, - "/applevpp/locations": { - "x-functionalities-tags": [ - "vpp" - ] - }, - "/applevpp/locations/{id}": { - "parameters": [ - { - "description": "The Location's Object ID", - "in": "path", - "name": "id", - "required": true, - "type": "string" - } - ], - "x-functionalities-tags": [ - "vpp" - ] - }, - "/application/catalog": { - "x-functionalities-tags": [ - "user-portal-applications" - ] - }, - "/application/catalog/{item_id}": { - "parameters": [ - { - "in": "path", - "name": "item_id", - "required": true, - "type": "string" - } - ], - "x-functionalities-tags": [ - "user-portal-applications" - ] - }, - "/applications": { - "x-functionalities-tags": [ - "user-portal-applications" - ] - }, - "/applications/import/{job_id}/detailedresults": { - "parameters": [ - { - "description": "ObjectID of the Import Job.", - "in": "path", - "name": "job_id", - "required": true, - "type": "string" - } - ], - "x-functionalities-tags": [ - "user-portal-applications" - ] + } }, - "/applications/{application_id}/associations": { + "/approvalflows": { "get": { - "description": "This endpoint will return the _direct_ associations of an Application. A direct association can be a non-homogeneous relationship between 2 different objects, for example Applications and User Groups.\n\n\n#### Sample Request\n```\ncurl -X GET 'https://console.jumpcloud.com/api/v2/applications/{Application_ID}/associations?targets=user_group \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "ApplicationAssociation_Get", + "description": "Endpoint for getting all access workflows ", + "operationId": "ApprovalFlow_List", "parameters": [ { - "$ref": "#/parameters/trait:graphTargetsApplication:targets" + "format": "byte", + "in": "query", + "name": "organizationObjectId", + "required": false, + "type": "string" }, { - "$ref": "#/parameters/trait:limit:limit" + "format": "int64", + "in": "query", + "name": "limit", + "required": false, + "type": "string" }, { - "$ref": "#/parameters/trait:skip:skip" + "format": "int64", + "in": "query", + "name": "skip", + "required": false, + "type": "string" + }, + { + "in": "query", + "name": "sort", + "required": false, + "type": "string" + }, + { + "collectionFormat": "multi", + "in": "query", + "items": { + "type": "string" + }, + "name": "fields", + "required": false, + "type": "array" + }, + { + "collectionFormat": "multi", + "in": "query", + "items": { + "type": "string" + }, + "name": "filter", + "required": false, + "type": "array" } ], "responses": { "200": { - "description": "OK", + "description": "A successful response.", "schema": { - "items": { - "$ref": "#/definitions/GraphConnection" - }, - "type": "array" + "$ref": "#/definitions/jumpcloud.ingresso.GetAllAccessWorkFlowsResponse" } } }, @@ -10499,46 +11968,42 @@ "x-api-key": [] } ], - "summary": "List the associations of an Application", + "summary": "Get all Access workflows", + "x-dynamic-gateway": true, "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/applications/{application_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/approvalflows?organizationObjectId=SOME_STRING_VALUE&limit=SOME_STRING_VALUE&skip=SOME_STRING_VALUE&sort=SOME_STRING_VALUE&fields=SOME_ARRAY_VALUE&filter=SOME_ARRAY_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applications/{application_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/approvalflows\"\n\nquerystring = {\"organizationObjectId\":\"SOME_STRING_VALUE\",\"limit\":\"SOME_STRING_VALUE\",\"skip\":\"SOME_STRING_VALUE\",\"sort\":\"SOME_STRING_VALUE\",\"fields\":\"SOME_ARRAY_VALUE\",\"filter\":\"SOME_ARRAY_VALUE\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applications/{application_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/approvalflows?organizationObjectId=SOME_STRING_VALUE&limit=SOME_STRING_VALUE&skip=SOME_STRING_VALUE&sort=SOME_STRING_VALUE&fields=SOME_ARRAY_VALUE&filter=SOME_ARRAY_VALUE' -Method GET -Headers $headers" } ] }, - "parameters": [ - { - "description": "ObjectID of the Application.", - "in": "path", - "name": "application_id", - "required": true, - "type": "string" - } - ], "post": { - "description": "This endpoint allows you to manage the _direct_ associations of an Application. A direct association can be a non-homogeneous relationship between 2 different objects, for example Application and User Groups.\n\n#### Sample Request\n```\ncurl -X POST 'https://console.jumpcloud.com/api/v2/applications/{Application_ID}/associations' \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{\n \"op\": \"add\",\n \"type\": \"user_group\",\n \"id\": \"{Group_ID}\"\n }'\n```", - "operationId": "ApplicationAssociation_Set", + "description": "Endpoint for adding a new access workflow", + "operationId": "ApprovalFlow_Create", "parameters": [ { "in": "body", "name": "body", + "required": true, "schema": { - "$ref": "#/definitions/GraphOperation-Application" + "$ref": "#/definitions/jumpcloud.ingresso.CreateAccessWorkflowRequest" } } ], "responses": { - "204": { - "description": "OK" + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/jumpcloud.ingresso.CreateAccessWorkflowResponse" + } } }, "security": [ @@ -10546,127 +12011,214 @@ "x-api-key": [] } ], - "summary": "Manage the associations of an Application", + "summary": "Create Access Workflow", + "x-dynamic-gateway": true, "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applications/{application_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/approvalflows \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"approvalType\":\"string\",\"approverRequirement\":\"string\",\"approverResources\":[{\"requireAll\":true,\"resourceId\":\"string\",\"resourceName\":\"string\",\"resourceOrder\":0,\"resourceType\":\"string\"}],\"category\":\"string\",\"description\":\"string\",\"fixedDuration\":\"string\",\"iconColor\":\"string\",\"iconUrl\":\"string\",\"multiSelectDuration\":[\"string\"],\"name\":\"string\",\"nonAdminApproval\":true,\"organizationObjectId\":\"string\",\"resourceId\":\"string\",\"resourceType\":\"string\",\"slackConfig\":[{\"slackResourceId\":\"string\"}],\"slackEnabled\":true,\"status\":\"string\",\"timeBasedAccess\":true,\"ttlConfig\":\"TTL_CONFIG_UNSPECIFIED\",\"visibleTo\":[\"string\"]}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applications/{application_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/approvalflows\"\n\npayload = {\n \"approvalType\": \"string\",\n \"approverRequirement\": \"string\",\n \"approverResources\": [\n {\n \"requireAll\": True,\n \"resourceId\": \"string\",\n \"resourceName\": \"string\",\n \"resourceOrder\": 0,\n \"resourceType\": \"string\"\n }\n ],\n \"category\": \"string\",\n \"description\": \"string\",\n \"fixedDuration\": \"string\",\n \"iconColor\": \"string\",\n \"iconUrl\": \"string\",\n \"multiSelectDuration\": [\"string\"],\n \"name\": \"string\",\n \"nonAdminApproval\": True,\n \"organizationObjectId\": \"string\",\n \"resourceId\": \"string\",\n \"resourceType\": \"string\",\n \"slackConfig\": [{\"slackResourceId\": \"string\"}],\n \"slackEnabled\": True,\n \"status\": \"string\",\n \"timeBasedAccess\": True,\n \"ttlConfig\": \"TTL_CONFIG_UNSPECIFIED\",\n \"visibleTo\": [\"string\"]\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applications/{application_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/approvalflows' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"approvalType\":\"string\",\"approverRequirement\":\"string\",\"approverResources\":[{\"requireAll\":true,\"resourceId\":\"string\",\"resourceName\":\"string\",\"resourceOrder\":0,\"resourceType\":\"string\"}],\"category\":\"string\",\"description\":\"string\",\"fixedDuration\":\"string\",\"iconColor\":\"string\",\"iconUrl\":\"string\",\"multiSelectDuration\":[\"string\"],\"name\":\"string\",\"nonAdminApproval\":true,\"organizationObjectId\":\"string\",\"resourceId\":\"string\",\"resourceType\":\"string\",\"slackConfig\":[{\"slackResourceId\":\"string\"}],\"slackEnabled\":true,\"status\":\"string\",\"timeBasedAccess\":true,\"ttlConfig\":\"TTL_CONFIG_UNSPECIFIED\",\"visibleTo\":[\"string\"]}'" } ] - }, - "x-functionalities-tags": [ - "user-portal-applications" - ] - }, - "/applications/{application_id}/import/jobs": { - "parameters": [ - { - "description": "ObjectID of the Application.", - "in": "path", - "name": "application_id", - "required": true, - "type": "string" - } - ], - "x-functionalities-tags": [ - "user-portal-applications" - ] + } }, - "/applications/{application_id}/import/users": { - "get": { - "description": "Get a list of users to import from an Application IdM service provider.", - "operationId": "SCIM_Import", + "/approvalflows/{approvalFlowId}": { + "delete": { + "description": "Endpoint for deleting accessworkflow by id", + "operationId": "ApprovalFlow_Delete", "parameters": [ { - "default": "", - "description": "Filter users by a search term", - "in": "query", - "name": "filter", + "in": "path", + "name": "approvalFlowId", + "required": true, "type": "string" }, { - "default": "", - "description": "URL query to merge with the service provider request", + "format": "byte", "in": "query", - "name": "query", + "name": "organizationObjectId", + "required": false, "type": "string" - }, - { - "default": "", - "description": "Sort users by supported fields", - "enum": [ - "firstname", - "lastname", - "email" - ], - "in": "query", - "name": "sort", - "type": "string", - "x-ms-enum": { - "name": "sort" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/jumpcloud.ingresso.DeleteAccessWorkflowResponse" } + } + }, + "security": [ + { + "x-api-key": [] + } + ], + "summary": "Delete access workflow", + "x-dynamic-gateway": true, + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request DELETE \\\n --url 'https://console.jumpcloud.com/api/v2/approvalflows/{approvalFlowId}?organizationObjectId=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { - "default": "asc", - "enum": [ - "asc", - "desc" - ], - "in": "query", - "name": "sortOrder", - "type": "string", - "x-ms-enum": { - "name": "sortOrder1" - } + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/approvalflows/{approvalFlowId}\"\n\nquerystring = {\"organizationObjectId\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { - "default": "", - "description": "Import sessionId for manual select and view user", - "in": "query", - "name": "sessionId", + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/approvalflows/{approvalFlowId}?organizationObjectId=SOME_STRING_VALUE' -Method DELETE -Headers $headers" + } + ] + }, + "get": { + "description": "Endpoint for getting workflow by id", + "operationId": "ApprovalFlow_Get", + "parameters": [ + { + "in": "path", + "name": "approvalFlowId", + "required": true, "type": "string" }, { - "default": false, - "description": "IsCount indicates if the request is only for getting the total count of users.", + "format": "byte", "in": "query", - "name": "isCount", - "type": "boolean" - }, + "name": "organizationObjectId", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/jumpcloud.ingresso.AccessWorkflow" + } + } + }, + "security": [ { - "default": false, - "description": "Enable cursor-based pagination", - "in": "query", - "name": "isCursor", - "type": "boolean" + "x-api-key": [] + } + ], + "summary": "Get AccessWorkflow by id", + "x-dynamic-gateway": true, + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/approvalflows/{approvalFlowId}?organizationObjectId=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { - "default": "", - "description": "Cursor token for pagination", - "in": "query", - "name": "cursor", - "type": "string" + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/approvalflows/{approvalFlowId}\"\n\nquerystring = {\"organizationObjectId\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { - "$ref": "#/parameters/trait:limit:limit" + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/approvalflows/{approvalFlowId}?organizationObjectId=SOME_STRING_VALUE' -Method GET -Headers $headers" + } + ] + }, + "put": { + "description": "Endpoint for updating a new access workflow", + "operationId": "ApprovalFlow_Set", + "parameters": [ + { + "in": "path", + "name": "approvalFlowId", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/trait:skip:skip" + "in": "body", + "name": "body", + "required": true, + "schema": { + "properties": { + "approvalType": { + "type": "string" + }, + "approverRequirement": { + "type": "string" + }, + "approverResources": { + "items": { + "$ref": "#/definitions/jumpcloud.ingresso.ApproverResource" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "fixedDuration": { + "type": "string" + }, + "iconColor": { + "type": "string" + }, + "iconUrl": { + "type": "string" + }, + "multiSelectDuration": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "nonAdminApproval": { + "type": "boolean" + }, + "organizationObjectId": { + "format": "byte", + "type": "string" + }, + "resourceId": { + "type": "string" + }, + "slackConfig": { + "items": { + "$ref": "#/definitions/jumpcloud.ingresso.SlackConfig" + }, + "type": "array" + }, + "slackEnabled": { + "type": "boolean" + }, + "status": { + "type": "string" + }, + "timeBasedAccess": { + "type": "boolean" + }, + "ttlConfig": { + "$ref": "#/definitions/jumpcloud.ingresso.TtlConfig" + }, + "visibleTo": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } } ], "responses": { "200": { - "description": "OK", + "description": "A successful response.", "schema": { - "$ref": "#/definitions/importUsersResponse" + "$ref": "#/definitions/jumpcloud.ingresso.UpdateAccessWorkflowResponse" } } }, @@ -10675,50 +12227,43 @@ "x-api-key": [] } ], - "summary": "Get a list of users to import from an Application IdM service provider", + "summary": "Update Access Workflow", + "x-dynamic-gateway": true, "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/applications/{application_id}/import/users?filter=&query=&sort=&sortOrder=asc&sessionId=&isCount=false&isCursor=false&cursor=&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/approvalflows/{approvalFlowId} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"approvalType\":\"string\",\"approverRequirement\":\"string\",\"approverResources\":[{\"requireAll\":true,\"resourceId\":\"string\",\"resourceName\":\"string\",\"resourceOrder\":0,\"resourceType\":\"string\"}],\"description\":\"string\",\"fixedDuration\":\"string\",\"iconColor\":\"string\",\"iconUrl\":\"string\",\"multiSelectDuration\":[\"string\"],\"name\":\"string\",\"nonAdminApproval\":true,\"organizationObjectId\":\"string\",\"resourceId\":\"string\",\"slackConfig\":[{\"slackResourceId\":\"string\"}],\"slackEnabled\":true,\"status\":\"string\",\"timeBasedAccess\":true,\"ttlConfig\":\"TTL_CONFIG_UNSPECIFIED\",\"visibleTo\":[\"string\"]}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applications/{application_id}/import/users\"\n\nquerystring = {\"filter\":\"\",\"query\":\"\",\"sort\":\"\",\"sortOrder\":\"asc\",\"sessionId\":\"\",\"isCount\":\"false\",\"isCursor\":\"false\",\"cursor\":\"\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/approvalflows/{approvalFlowId}\"\n\npayload = {\n \"approvalType\": \"string\",\n \"approverRequirement\": \"string\",\n \"approverResources\": [\n {\n \"requireAll\": True,\n \"resourceId\": \"string\",\n \"resourceName\": \"string\",\n \"resourceOrder\": 0,\n \"resourceType\": \"string\"\n }\n ],\n \"description\": \"string\",\n \"fixedDuration\": \"string\",\n \"iconColor\": \"string\",\n \"iconUrl\": \"string\",\n \"multiSelectDuration\": [\"string\"],\n \"name\": \"string\",\n \"nonAdminApproval\": True,\n \"organizationObjectId\": \"string\",\n \"resourceId\": \"string\",\n \"slackConfig\": [{\"slackResourceId\": \"string\"}],\n \"slackEnabled\": True,\n \"status\": \"string\",\n \"timeBasedAccess\": True,\n \"ttlConfig\": \"TTL_CONFIG_UNSPECIFIED\",\n \"visibleTo\": [\"string\"]\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applications/{application_id}/import/users?filter=&query=&sort=&sortOrder=asc&sessionId=&isCount=false&isCursor=false&cursor=&limit=10&skip=0' -Method GET -Headers $headers" - } - ] - }, - "parameters": [ - { - "description": "ObjectID of the Application.", - "in": "path", - "name": "application_id", - "required": true, - "type": "string" - } - ], - "x-functionalities-tags": [ - "user-portal-applications" - ] + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/approvalflows/{approvalFlowId}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"approvalType\":\"string\",\"approverRequirement\":\"string\",\"approverResources\":[{\"requireAll\":true,\"resourceId\":\"string\",\"resourceName\":\"string\",\"resourceOrder\":0,\"resourceType\":\"string\"}],\"description\":\"string\",\"fixedDuration\":\"string\",\"iconColor\":\"string\",\"iconUrl\":\"string\",\"multiSelectDuration\":[\"string\"],\"name\":\"string\",\"nonAdminApproval\":true,\"organizationObjectId\":\"string\",\"resourceId\":\"string\",\"slackConfig\":[{\"slackResourceId\":\"string\"}],\"slackEnabled\":true,\"status\":\"string\",\"timeBasedAccess\":true,\"ttlConfig\":\"TTL_CONFIG_UNSPECIFIED\",\"visibleTo\":[\"string\"]}'" + } + ] + } }, - "/applications/{application_id}/logo": { - "delete": { - "description": "Deletes the specified image from an application", - "operationId": "ApplicationLogo_Delete", + "/approvalflowsettings": { + "get": { + "description": "Endpoint for getting workflow settings for an organisation", + "operationId": "ApprovalFlowSettings_Get", "parameters": [ { - "in": "path", - "name": "application_id", - "required": true, + "format": "byte", + "in": "query", + "name": "organizationObjectId", + "required": false, "type": "string" } ], "responses": { - "204": { - "description": "NO_CONTENT" + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/jumpcloud.ingresso.AccessWorkflowSettings" + } } }, "security": [ @@ -10726,113 +12271,41 @@ "x-api-key": [] } ], - "summary": "Delete application image", + "summary": "Get AccessWorkflow settings for an organisation", + "x-dynamic-gateway": true, "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/applications/{application_id}/logo \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/approvalflowsettings?organizationObjectId=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applications/{application_id}/logo\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/approvalflowsettings\"\n\nquerystring = {\"organizationObjectId\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applications/{application_id}/logo' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/approvalflowsettings?organizationObjectId=SOME_STRING_VALUE' -Method GET -Headers $headers" } ] }, - "x-functionalities-tags": [ - "user-portal-applications" - ] - }, - "/applications/{application_id}/provision": { - "parameters": [ - { - "in": "path", - "name": "application_id", - "required": true, - "type": "string" - } - ], - "x-functionalities-tags": [ - "user-portal-applications" - ] - }, - "/applications/{application_id}/provision/activate": { - "parameters": [ - { - "in": "path", - "name": "application_id", - "required": true, - "type": "string" - }, - { - "in": "header", - "name": "X-Requested-With", - "required": false, - "type": "string" - } - ], - "x-functionalities-tags": [ - "user-portal-applications" - ] - }, - "/applications/{application_id}/provision/reactivate": { - "parameters": [ - { - "in": "path", - "name": "application_id", - "required": true, - "type": "string" - }, - { - "in": "header", - "name": "X-Requested-With", - "required": false, - "type": "string" - } - ], - "x-functionalities-tags": [ - "user-portal-applications" - ] - }, - "/applications/{application_id}/sso": { - "parameters": [ - { - "in": "path", - "name": "application_id", - "required": true, - "type": "string" - } - ], - "x-functionalities-tags": [ - "user-portal-applications" - ] - }, - "/applications/{application_id}/usergroups": { - "get": { - "description": "This endpoint will return all Users Groups bound to an Application, either directly or indirectly, essentially traversing the JumpCloud Graph for your Organization.\n\nEach element will contain the group's type, id, attributes and paths.\n\nThe `attributes` object is a key/value hash of compiled graph attributes for all paths followed.\n\nThe `paths` array enumerates each path from this Application to the corresponding User Group; this array represents all grouping and/or associations that would have to be removed to deprovision the User Group from this Application.\n\nSee `/members` and `/associations` endpoints to manage those collections.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/applications/{Application_ID}/usergroups \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "ApplicationTraverseUserGroup_Get", + "put": { + "description": "Endpoint for updating a access workflow settings for an organization", + "operationId": "ApprovalFlowSettings_Set", "parameters": [ { - "$ref": "#/parameters/trait:limit:limit" - }, - { - "$ref": "#/parameters/trait:skip:skip" - }, - { - "$ref": "#/parameters/trait:filter:filter" + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/jumpcloud.ingresso.UpdateAccessWorkflowSettingsRequest" + } } ], "responses": { "200": { - "description": "OK", + "description": "A successful response.", "schema": { - "items": { - "$ref": "#/definitions/GraphObjectWithPaths" - }, - "type": "array" + "$ref": "#/definitions/jumpcloud.ingresso.UpdateAccessWorkflowSettingsResponse" } } }, @@ -10841,58 +12314,48 @@ "x-api-key": [] } ], - "summary": "List the User Groups bound to an Application", + "summary": "Update Access Workflow Settings", + "x-dynamic-gateway": true, "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/applications/{application_id}/usergroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/approvalflowsettings \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"adminApprovalEmail\":true,\"channelEvents\":[{\"channelObjectId\":\"string\",\"eventTypes\":[\"ACCESS_MANAGEMENT_EVENT_TYPE_UNSPECIFIED\"]}],\"exposeApprovalProgress\":true,\"organizationObjectId\":\"string\",\"resourceRequest\":true,\"userApprovalEmail\":true,\"userRequestEmail\":true}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applications/{application_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/approvalflowsettings\"\n\npayload = {\n \"adminApprovalEmail\": True,\n \"channelEvents\": [\n {\n \"channelObjectId\": \"string\",\n \"eventTypes\": [\"ACCESS_MANAGEMENT_EVENT_TYPE_UNSPECIFIED\"]\n }\n ],\n \"exposeApprovalProgress\": True,\n \"organizationObjectId\": \"string\",\n \"resourceRequest\": True,\n \"userApprovalEmail\": True,\n \"userRequestEmail\": True\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applications/{application_id}/usergroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/approvalflowsettings' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"adminApprovalEmail\":true,\"channelEvents\":[{\"channelObjectId\":\"string\",\"eventTypes\":[\"ACCESS_MANAGEMENT_EVENT_TYPE_UNSPECIFIED\"]}],\"exposeApprovalProgress\":true,\"organizationObjectId\":\"string\",\"resourceRequest\":true,\"userApprovalEmail\":true,\"userRequestEmail\":true}'" } ] - }, - "parameters": [ - { - "description": "ObjectID of the Application.", - "in": "path", - "name": "application_id", - "required": true, - "type": "string" - } - ], - "x-functionalities-tags": [ - "user-portal-applications" - ] + } }, - "/applications/{application_id}/users": { + "/approversprogress/{id}": { "get": { - "description": "This endpoint will return all Users bound to an Application, either directly or indirectly, essentially traversing the JumpCloud Graph for your Organization.\n\nEach element will contain the type, id, attributes and paths.\n\nThe `attributes` object is a key/value hash of compiled graph attributes for all paths followed.\n\nThe `paths` array enumerates each path from this Application to the corresponding User; this array represents all grouping and/or associations that would have to be removed to deprovision the User from this Application.\n\nSee `/members` and `/associations` endpoints to manage those collections.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/applications/{Application_ID}/users \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "ApplicationTraverseUser_Get", + "description": "Endpoint for getting the approval progress of a access request", + "operationId": "AccessRequestProgress_Get", "parameters": [ { - "$ref": "#/parameters/trait:limit:limit" - }, - { - "$ref": "#/parameters/trait:skip:skip" + "in": "path", + "name": "id", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/trait:filter:filter" + "format": "byte", + "in": "query", + "name": "organizationObjectId", + "required": false, + "type": "string" } ], "responses": { "200": { - "description": "OK", + "description": "A successful response.", "schema": { - "items": { - "$ref": "#/definitions/GraphObjectWithPaths" - }, - "type": "array" + "$ref": "#/definitions/jumpcloud.ingresso.GetAccessRequestApprovalProgressResponse" } } }, @@ -10901,41 +12364,24 @@ "x-api-key": [] } ], - "summary": "List the Users bound to an Application", + "summary": "Get Approval flow progress by id for admin portal", + "x-dynamic-gateway": true, "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/applications/{application_id}/users?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/approversprogress/{id}?organizationObjectId=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applications/{application_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/approversprogress/{id}\"\n\nquerystring = {\"organizationObjectId\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applications/{application_id}/users?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/approversprogress/{id}?organizationObjectId=SOME_STRING_VALUE' -Method GET -Headers $headers" } ] - }, - "parameters": [ - { - "description": "ObjectID of the Application.", - "in": "path", - "name": "application_id", - "required": true, - "type": "string" - } - ], - "x-functionalities-tags": [ - "user-portal-applications" - ] + } }, - "/approvalflowrequest": {}, - "/approvalflowrequest/{id}": {}, - "/approvalflows": {}, - "/approvalflows/{approvalFlowId}": {}, - "/approvalflowsettings": {}, - "/approversprogress/{id}": {}, "/assets/accessories": {}, "/assets/accessories/batch": {}, "/assets/accessories/{id}": {}, @@ -10990,15 +12436,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/authn/policies?limit=10&skip=0&filter=&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/authn/policies?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --header 'x-total-count: SOME_INTEGER_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/authn/policies\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/authn/policies\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-total-count\": \"SOME_INTEGER_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/authn/policies?limit=10&skip=0&filter=&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-total-count\", \"SOME_INTEGER_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/authn/policies?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -11031,15 +12477,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/authn/policies \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"conditions\":{},\"description\":\"string\",\"disabled\":true,\"effect\":{\"action\":\"allow\",\"custom_error_message\":{\"enabled\":true,\"message\":\"string\",\"primary_help\":{\"text\":\"string\",\"url\":\"string\"},\"secondary_help\":{\"text\":\"string\",\"url\":\"string\"}},\"obligations\":{\"mfa\":{\"required\":true},\"mfaFactors\":[{\"type\":\"DURT\"}],\"userVerification\":{\"requirement\":\"none\"}}},\"name\":\"string\",\"targets\":{\"resources\":[{\"id\":\"string\",\"type\":\"admin_portal\"}],\"userAttributes\":{\"exclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}],\"inclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}]},\"userGroups\":{\"exclusions\":[\"string\"],\"inclusions\":[\"string\"]},\"users\":{\"inclusions\":[\"string\"]}},\"type\":\"user_portal\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/authn/policies \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"conditions\":{},\"description\":\"string\",\"disabled\":true,\"effect\":{\"action\":\"allow\",\"custom_error_message\":{\"enabled\":true,\"message\":\"string\",\"primary_help\":{\"text\":\"string\",\"url\":\"string\"},\"secondary_help\":{\"text\":\"string\",\"url\":\"string\"}},\"obligations\":{\"mfa\":{\"required\":true},\"mfaFactors\":[{\"type\":\"DURT\"}],\"userVerification\":{\"requirement\":\"none\"}}},\"name\":\"string\",\"targets\":{\"resources\":[{\"id\":\"string\",\"type\":\"admin_portal\"}],\"userAttributes\":{\"exclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}],\"inclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}]},\"userGroups\":{\"exclusions\":[\"string\"],\"inclusions\":[\"string\"]},\"users\":{\"inclusions\":[\"string\"]}},\"type\":\"user_portal\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/authn/policies\"\n\npayload = {\n \"conditions\": {},\n \"description\": \"string\",\n \"disabled\": True,\n \"effect\": {\n \"action\": \"allow\",\n \"custom_error_message\": {\n \"enabled\": True,\n \"message\": \"string\",\n \"primary_help\": {\n \"text\": \"string\",\n \"url\": \"string\"\n },\n \"secondary_help\": {\n \"text\": \"string\",\n \"url\": \"string\"\n }\n },\n \"obligations\": {\n \"mfa\": {\"required\": True},\n \"mfaFactors\": [{\"type\": \"DURT\"}],\n \"userVerification\": {\"requirement\": \"none\"}\n }\n },\n \"name\": \"string\",\n \"targets\": {\n \"resources\": [\n {\n \"id\": \"string\",\n \"type\": \"admin_portal\"\n }\n ],\n \"userAttributes\": {\n \"exclusions\": [\n {\n \"field\": \"string\",\n \"operator\": \"EQ\",\n \"value\": None\n }\n ],\n \"inclusions\": [\n {\n \"field\": \"string\",\n \"operator\": \"EQ\",\n \"value\": None\n }\n ]\n },\n \"userGroups\": {\n \"exclusions\": [\"string\"],\n \"inclusions\": [\"string\"]\n },\n \"users\": {\"inclusions\": [\"string\"]}\n },\n \"type\": \"user_portal\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/authn/policies\"\n\npayload = {\n \"conditions\": {},\n \"description\": \"string\",\n \"disabled\": True,\n \"effect\": {\n \"action\": \"allow\",\n \"custom_error_message\": {\n \"enabled\": True,\n \"message\": \"string\",\n \"primary_help\": {\n \"text\": \"string\",\n \"url\": \"string\"\n },\n \"secondary_help\": {\n \"text\": \"string\",\n \"url\": \"string\"\n }\n },\n \"obligations\": {\n \"mfa\": {\"required\": True},\n \"mfaFactors\": [{\"type\": \"DURT\"}],\n \"userVerification\": {\"requirement\": \"none\"}\n }\n },\n \"name\": \"string\",\n \"targets\": {\n \"resources\": [\n {\n \"id\": \"string\",\n \"type\": \"admin_portal\"\n }\n ],\n \"userAttributes\": {\n \"exclusions\": [\n {\n \"field\": \"string\",\n \"operator\": \"EQ\",\n \"value\": None\n }\n ],\n \"inclusions\": [\n {\n \"field\": \"string\",\n \"operator\": \"EQ\",\n \"value\": None\n }\n ]\n },\n \"userGroups\": {\n \"exclusions\": [\"string\"],\n \"inclusions\": [\"string\"]\n },\n \"users\": {\"inclusions\": [\"string\"]}\n },\n \"type\": \"user_portal\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/authn/policies' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"conditions\":{},\"description\":\"string\",\"disabled\":true,\"effect\":{\"action\":\"allow\",\"custom_error_message\":{\"enabled\":true,\"message\":\"string\",\"primary_help\":{\"text\":\"string\",\"url\":\"string\"},\"secondary_help\":{\"text\":\"string\",\"url\":\"string\"}},\"obligations\":{\"mfa\":{\"required\":true},\"mfaFactors\":[{\"type\":\"DURT\"}],\"userVerification\":{\"requirement\":\"none\"}}},\"name\":\"string\",\"targets\":{\"resources\":[{\"id\":\"string\",\"type\":\"admin_portal\"}],\"userAttributes\":{\"exclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}],\"inclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}]},\"userGroups\":{\"exclusions\":[\"string\"],\"inclusions\":[\"string\"]},\"users\":{\"inclusions\":[\"string\"]}},\"type\":\"user_portal\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/authn/policies' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"conditions\":{},\"description\":\"string\",\"disabled\":true,\"effect\":{\"action\":\"allow\",\"custom_error_message\":{\"enabled\":true,\"message\":\"string\",\"primary_help\":{\"text\":\"string\",\"url\":\"string\"},\"secondary_help\":{\"text\":\"string\",\"url\":\"string\"}},\"obligations\":{\"mfa\":{\"required\":true},\"mfaFactors\":[{\"type\":\"DURT\"}],\"userVerification\":{\"requirement\":\"none\"}}},\"name\":\"string\",\"targets\":{\"resources\":[{\"id\":\"string\",\"type\":\"admin_portal\"}],\"userAttributes\":{\"exclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}],\"inclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}]},\"userGroups\":{\"exclusions\":[\"string\"],\"inclusions\":[\"string\"]},\"users\":{\"inclusions\":[\"string\"]}},\"type\":\"user_portal\"}'" } ] }, @@ -11069,15 +12515,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/authn/policies/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/authn/policies/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/authn/policies/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/authn/policies/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/authn/policies/{id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/authn/policies/{id}' -Method DELETE -Headers $headers" } ] }, @@ -11102,15 +12548,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/authn/policies/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/authn/policies/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/authn/policies/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/authn/policies/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/authn/policies/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/authn/policies/{id}' -Method GET -Headers $headers" } ] }, @@ -11152,15 +12598,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PATCH \\\n --url https://console.jumpcloud.com/api/v2/authn/policies/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"conditions\":{},\"description\":\"string\",\"disabled\":true,\"effect\":{\"action\":\"allow\",\"custom_error_message\":{\"enabled\":true,\"message\":\"string\",\"primary_help\":{\"text\":\"string\",\"url\":\"string\"},\"secondary_help\":{\"text\":\"string\",\"url\":\"string\"}},\"obligations\":{\"mfa\":{\"required\":true},\"mfaFactors\":[{\"type\":\"DURT\"}],\"userVerification\":{\"requirement\":\"none\"}}},\"name\":\"string\",\"targets\":{\"resources\":[{\"id\":\"string\",\"type\":\"admin_portal\"}],\"userAttributes\":{\"exclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}],\"inclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}]},\"userGroups\":{\"exclusions\":[\"string\"],\"inclusions\":[\"string\"]},\"users\":{\"inclusions\":[\"string\"]}},\"type\":\"user_portal\"}'" + "source": "curl --request PATCH \\\n --url https://console.jumpcloud.com/api/v2/authn/policies/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"conditions\":{},\"description\":\"string\",\"disabled\":true,\"effect\":{\"action\":\"allow\",\"custom_error_message\":{\"enabled\":true,\"message\":\"string\",\"primary_help\":{\"text\":\"string\",\"url\":\"string\"},\"secondary_help\":{\"text\":\"string\",\"url\":\"string\"}},\"obligations\":{\"mfa\":{\"required\":true},\"mfaFactors\":[{\"type\":\"DURT\"}],\"userVerification\":{\"requirement\":\"none\"}}},\"name\":\"string\",\"targets\":{\"resources\":[{\"id\":\"string\",\"type\":\"admin_portal\"}],\"userAttributes\":{\"exclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}],\"inclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}]},\"userGroups\":{\"exclusions\":[\"string\"],\"inclusions\":[\"string\"]},\"users\":{\"inclusions\":[\"string\"]}},\"type\":\"user_portal\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/authn/policies/{id}\"\n\npayload = {\n \"conditions\": {},\n \"description\": \"string\",\n \"disabled\": True,\n \"effect\": {\n \"action\": \"allow\",\n \"custom_error_message\": {\n \"enabled\": True,\n \"message\": \"string\",\n \"primary_help\": {\n \"text\": \"string\",\n \"url\": \"string\"\n },\n \"secondary_help\": {\n \"text\": \"string\",\n \"url\": \"string\"\n }\n },\n \"obligations\": {\n \"mfa\": {\"required\": True},\n \"mfaFactors\": [{\"type\": \"DURT\"}],\n \"userVerification\": {\"requirement\": \"none\"}\n }\n },\n \"name\": \"string\",\n \"targets\": {\n \"resources\": [\n {\n \"id\": \"string\",\n \"type\": \"admin_portal\"\n }\n ],\n \"userAttributes\": {\n \"exclusions\": [\n {\n \"field\": \"string\",\n \"operator\": \"EQ\",\n \"value\": None\n }\n ],\n \"inclusions\": [\n {\n \"field\": \"string\",\n \"operator\": \"EQ\",\n \"value\": None\n }\n ]\n },\n \"userGroups\": {\n \"exclusions\": [\"string\"],\n \"inclusions\": [\"string\"]\n },\n \"users\": {\"inclusions\": [\"string\"]}\n },\n \"type\": \"user_portal\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/authn/policies/{id}\"\n\npayload = {\n \"conditions\": {},\n \"description\": \"string\",\n \"disabled\": True,\n \"effect\": {\n \"action\": \"allow\",\n \"custom_error_message\": {\n \"enabled\": True,\n \"message\": \"string\",\n \"primary_help\": {\n \"text\": \"string\",\n \"url\": \"string\"\n },\n \"secondary_help\": {\n \"text\": \"string\",\n \"url\": \"string\"\n }\n },\n \"obligations\": {\n \"mfa\": {\"required\": True},\n \"mfaFactors\": [{\"type\": \"DURT\"}],\n \"userVerification\": {\"requirement\": \"none\"}\n }\n },\n \"name\": \"string\",\n \"targets\": {\n \"resources\": [\n {\n \"id\": \"string\",\n \"type\": \"admin_portal\"\n }\n ],\n \"userAttributes\": {\n \"exclusions\": [\n {\n \"field\": \"string\",\n \"operator\": \"EQ\",\n \"value\": None\n }\n ],\n \"inclusions\": [\n {\n \"field\": \"string\",\n \"operator\": \"EQ\",\n \"value\": None\n }\n ]\n },\n \"userGroups\": {\n \"exclusions\": [\"string\"],\n \"inclusions\": [\"string\"]\n },\n \"users\": {\"inclusions\": [\"string\"]}\n },\n \"type\": \"user_portal\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/authn/policies/{id}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{\"conditions\":{},\"description\":\"string\",\"disabled\":true,\"effect\":{\"action\":\"allow\",\"custom_error_message\":{\"enabled\":true,\"message\":\"string\",\"primary_help\":{\"text\":\"string\",\"url\":\"string\"},\"secondary_help\":{\"text\":\"string\",\"url\":\"string\"}},\"obligations\":{\"mfa\":{\"required\":true},\"mfaFactors\":[{\"type\":\"DURT\"}],\"userVerification\":{\"requirement\":\"none\"}}},\"name\":\"string\",\"targets\":{\"resources\":[{\"id\":\"string\",\"type\":\"admin_portal\"}],\"userAttributes\":{\"exclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}],\"inclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}]},\"userGroups\":{\"exclusions\":[\"string\"],\"inclusions\":[\"string\"]},\"users\":{\"inclusions\":[\"string\"]}},\"type\":\"user_portal\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/authn/policies/{id}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{\"conditions\":{},\"description\":\"string\",\"disabled\":true,\"effect\":{\"action\":\"allow\",\"custom_error_message\":{\"enabled\":true,\"message\":\"string\",\"primary_help\":{\"text\":\"string\",\"url\":\"string\"},\"secondary_help\":{\"text\":\"string\",\"url\":\"string\"}},\"obligations\":{\"mfa\":{\"required\":true},\"mfaFactors\":[{\"type\":\"DURT\"}],\"userVerification\":{\"requirement\":\"none\"}}},\"name\":\"string\",\"targets\":{\"resources\":[{\"id\":\"string\",\"type\":\"admin_portal\"}],\"userAttributes\":{\"exclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}],\"inclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}]},\"userGroups\":{\"exclusions\":[\"string\"],\"inclusions\":[\"string\"]},\"users\":{\"inclusions\":[\"string\"]}},\"type\":\"user_portal\"}'" } ] }, @@ -11216,15 +12662,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PATCH \\\n --url 'https://console.jumpcloud.com/api/v2/bulk/users?suppressEmail=SOME_BOOLEAN_VALUE' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '[{\"attributes\":[{}],\"email\":\"string\",\"firstname\":\"string\",\"id\":\"string\",\"lastname\":\"string\",\"organization\":\"string\",\"username\":\"string\"}]'" + "source": "curl --request PATCH \\\n --url 'https://console.jumpcloud.com/api/v2/bulk/users?suppressEmail=SOME_BOOLEAN_VALUE' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '[{\"attributes\":[{}],\"email\":\"string\",\"firstname\":\"string\",\"id\":\"string\",\"lastname\":\"string\",\"organization\":\"string\",\"username\":\"string\"}]'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/bulk/users\"\n\nquerystring = {\"suppressEmail\":\"SOME_BOOLEAN_VALUE\"}\n\npayload = [\n {\n \"attributes\": [{}],\n \"email\": \"string\",\n \"firstname\": \"string\",\n \"id\": \"string\",\n \"lastname\": \"string\",\n \"organization\": \"string\",\n \"username\": \"string\"\n }\n]\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/bulk/users\"\n\nquerystring = {\"suppressEmail\":\"SOME_BOOLEAN_VALUE\"}\n\npayload = [\n {\n \"attributes\": [{}],\n \"email\": \"string\",\n \"firstname\": \"string\",\n \"id\": \"string\",\n \"lastname\": \"string\",\n \"organization\": \"string\",\n \"username\": \"string\"\n }\n]\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/bulk/users?suppressEmail=SOME_BOOLEAN_VALUE' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '[{\"attributes\":[{}],\"email\":\"string\",\"firstname\":\"string\",\"id\":\"string\",\"lastname\":\"string\",\"organization\":\"string\",\"username\":\"string\"}]'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/bulk/users?suppressEmail=SOME_BOOLEAN_VALUE' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '[{\"attributes\":[{}],\"email\":\"string\",\"firstname\":\"string\",\"id\":\"string\",\"lastname\":\"string\",\"organization\":\"string\",\"username\":\"string\"}]'" } ] }, @@ -11281,15 +12727,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url 'https://console.jumpcloud.com/api/v2/bulk/users?suppressEmail=SOME_BOOLEAN_VALUE' \\\n --header 'content-type: application/json' \\\n --header 'creation-source: jumpcloud:bulk' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '[{\"attributes\":[{}],\"email\":\"string\",\"firstname\":\"string\",\"lastname\":\"string\",\"username\":\"string\"}]'" + "source": "curl --request POST \\\n --url 'https://console.jumpcloud.com/api/v2/bulk/users?suppressEmail=SOME_BOOLEAN_VALUE' \\\n --header 'content-type: application/json' \\\n --header 'creation-source: jumpcloud:bulk' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '[{\"attributes\":[{}],\"email\":\"string\",\"firstname\":\"string\",\"lastname\":\"string\",\"username\":\"string\"}]'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/bulk/users\"\n\nquerystring = {\"suppressEmail\":\"SOME_BOOLEAN_VALUE\"}\n\npayload = [\n {\n \"attributes\": [{}],\n \"email\": \"string\",\n \"firstname\": \"string\",\n \"lastname\": \"string\",\n \"username\": \"string\"\n }\n]\nheaders = {\n \"creation-source\": \"jumpcloud:bulk\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/bulk/users\"\n\nquerystring = {\"suppressEmail\":\"SOME_BOOLEAN_VALUE\"}\n\npayload = [\n {\n \"attributes\": [{}],\n \"email\": \"string\",\n \"firstname\": \"string\",\n \"lastname\": \"string\",\n \"username\": \"string\"\n }\n]\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"creation-source\": \"jumpcloud:bulk\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"creation-source\", \"jumpcloud:bulk\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/bulk/users?suppressEmail=SOME_BOOLEAN_VALUE' -Method POST -Headers $headers -ContentType 'application/json' -Body '[{\"attributes\":[{}],\"email\":\"string\",\"firstname\":\"string\",\"lastname\":\"string\",\"username\":\"string\"}]'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"creation-source\", \"jumpcloud:bulk\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/bulk/users?suppressEmail=SOME_BOOLEAN_VALUE' -Method POST -Headers $headers -ContentType 'application/json' -Body '[{\"attributes\":[{}],\"email\":\"string\",\"firstname\":\"string\",\"lastname\":\"string\",\"username\":\"string\"}]'" } ] }, @@ -11330,15 +12776,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/bulk/users/{job_id}/results?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/bulk/users/{job_id}/results?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/bulk/users/{job_id}/results\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/bulk/users/{job_id}/results\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/bulk/users/{job_id}/results?limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/bulk/users/{job_id}/results?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -11396,15 +12842,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/bulk/userstates?limit=10&filter=&skip=0&userid=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/bulk/userstates?limit=10&skip=0&userid=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/bulk/userstates\"\n\nquerystring = {\"limit\":\"10\",\"filter\":\"\",\"skip\":\"0\",\"userid\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/bulk/userstates\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"userid\":\"SOME_STRING_VALUE\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/bulk/userstates?limit=10&filter=&skip=0&userid=SOME_STRING_VALUE' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/bulk/userstates?limit=10&skip=0&userid=SOME_STRING_VALUE' -Method GET -Headers $headers" } ] }, @@ -11441,15 +12887,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/bulk/userstates \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"activation_email_override\":\"string\",\"send_activation_emails\":true,\"start_date\":\"2019-08-24T14:15:22Z\",\"state\":\"ACTIVATED\",\"user_ids\":[\"string\"]}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/bulk/userstates \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"activation_email_override\":\"string\",\"send_activation_emails\":true,\"start_date\":\"2019-08-24T14:15:22Z\",\"state\":\"ACTIVATED\",\"user_ids\":[\"string\"]}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/bulk/userstates\"\n\npayload = {\n \"activation_email_override\": \"string\",\n \"send_activation_emails\": True,\n \"start_date\": \"2019-08-24T14:15:22Z\",\n \"state\": \"ACTIVATED\",\n \"user_ids\": [\"string\"]\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/bulk/userstates\"\n\npayload = {\n \"activation_email_override\": \"string\",\n \"send_activation_emails\": True,\n \"start_date\": \"2019-08-24T14:15:22Z\",\n \"state\": \"ACTIVATED\",\n \"user_ids\": [\"string\"]\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/bulk/userstates' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"activation_email_override\":\"string\",\"send_activation_emails\":true,\"start_date\":\"2019-08-24T14:15:22Z\",\"state\":\"ACTIVATED\",\"user_ids\":[\"string\"]}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/bulk/userstates' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"activation_email_override\":\"string\",\"send_activation_emails\":true,\"start_date\":\"2019-08-24T14:15:22Z\",\"state\":\"ACTIVATED\",\"user_ids\":[\"string\"]}'" } ] }, @@ -11549,15 +12995,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/bulk/userstates/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/bulk/userstates/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/bulk/userstates/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/bulk/userstates/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/bulk/userstates/{id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/bulk/userstates/{id}' -Method DELETE -Headers $headers" } ] }, @@ -11620,15 +13066,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/commands/{command_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/commands/{command_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/commands/{command_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/commands/{command_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/commands/{command_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/commands/{command_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -11667,15 +13113,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/commands/{command_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/commands/{command_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/commands/{command_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"system\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/commands/{command_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"system\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/commands/{command_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/commands/{command_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" } ] }, @@ -11718,15 +13164,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/commands/{command_id}/systemgroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/commands/{command_id}/systemgroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/commands/{command_id}/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/commands/{command_id}/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/commands/{command_id}/systemgroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/commands/{command_id}/systemgroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -11779,15 +13225,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/commands/{command_id}/systems?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/commands/{command_id}/systems?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/commands/{command_id}/systems\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/commands/{command_id}/systems\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/commands/{command_id}/systems?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/commands/{command_id}/systems?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -11876,15 +13322,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/customemails \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"body\":\"string\",\"button\":\"string\",\"header\":\"string\",\"nextStepContactInfo\":\"string\",\"subject\":\"string\",\"title\":\"string\",\"type\":\"activate_gapps_user\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/customemails \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"body\":\"string\",\"button\":\"string\",\"header\":\"string\",\"nextStepContactInfo\":\"string\",\"subject\":\"string\",\"title\":\"string\",\"type\":\"activate_gapps_user\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/customemails\"\n\npayload = {\n \"body\": \"string\",\n \"button\": \"string\",\n \"header\": \"string\",\n \"nextStepContactInfo\": \"string\",\n \"subject\": \"string\",\n \"title\": \"string\",\n \"type\": \"activate_gapps_user\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/customemails\"\n\npayload = {\n \"body\": \"string\",\n \"button\": \"string\",\n \"header\": \"string\",\n \"nextStepContactInfo\": \"string\",\n \"subject\": \"string\",\n \"title\": \"string\",\n \"type\": \"activate_gapps_user\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/customemails' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"body\":\"string\",\"button\":\"string\",\"header\":\"string\",\"nextStepContactInfo\":\"string\",\"subject\":\"string\",\"title\":\"string\",\"type\":\"activate_gapps_user\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/customemails' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"body\":\"string\",\"button\":\"string\",\"header\":\"string\",\"nextStepContactInfo\":\"string\",\"subject\":\"string\",\"title\":\"string\",\"type\":\"activate_gapps_user\"}'" } ] } @@ -11908,15 +13354,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/customemails/{custom_email_type} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/customemails/{custom_email_type} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}' -Method DELETE -Headers $headers" } ] }, @@ -11941,15 +13387,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/customemails/{custom_email_type} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/customemails/{custom_email_type} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}' -Method GET -Headers $headers" } ] }, @@ -11990,15 +13436,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/customemails/{custom_email_type} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"body\":\"string\",\"button\":\"string\",\"header\":\"string\",\"nextStepContactInfo\":\"string\",\"subject\":\"string\",\"title\":\"string\",\"type\":\"activate_gapps_user\"}'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/customemails/{custom_email_type} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"body\":\"string\",\"button\":\"string\",\"header\":\"string\",\"nextStepContactInfo\":\"string\",\"subject\":\"string\",\"title\":\"string\",\"type\":\"activate_gapps_user\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}\"\n\npayload = {\n \"body\": \"string\",\n \"button\": \"string\",\n \"header\": \"string\",\n \"nextStepContactInfo\": \"string\",\n \"subject\": \"string\",\n \"title\": \"string\",\n \"type\": \"activate_gapps_user\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}\"\n\npayload = {\n \"body\": \"string\",\n \"button\": \"string\",\n \"header\": \"string\",\n \"nextStepContactInfo\": \"string\",\n \"subject\": \"string\",\n \"title\": \"string\",\n \"type\": \"activate_gapps_user\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"body\":\"string\",\"button\":\"string\",\"header\":\"string\",\"nextStepContactInfo\":\"string\",\"subject\":\"string\",\"title\":\"string\",\"type\":\"activate_gapps_user\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"body\":\"string\",\"button\":\"string\",\"header\":\"string\",\"nextStepContactInfo\":\"string\",\"subject\":\"string\",\"title\":\"string\",\"type\":\"activate_gapps_user\"}'" } ] }, @@ -12084,15 +13530,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/directories?fields=&limit=10&sort=&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/directories?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/directories\"\n\nquerystring = {\"fields\":\"\",\"limit\":\"10\",\"sort\":\"\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/directories\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/directories?fields=&limit=10&sort=&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/directories?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -12188,15 +13634,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts' -Method GET -Headers $headers" } ] }, @@ -12221,15 +13667,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"POST\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"POST\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts' -Method POST -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts' -Method POST -Headers $headers" } ] }, @@ -12262,15 +13708,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications' -Method GET -Headers $headers" } ] }, @@ -12311,15 +13757,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"apiHost\":\"string\",\"integrationKey\":\"string\",\"name\":\"string\",\"secretKey\":\"string\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"apiHost\":\"string\",\"integrationKey\":\"string\",\"name\":\"string\",\"secretKey\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications\"\n\npayload = {\n \"apiHost\": \"string\",\n \"integrationKey\": \"string\",\n \"name\": \"string\",\n \"secretKey\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications\"\n\npayload = {\n \"apiHost\": \"string\",\n \"integrationKey\": \"string\",\n \"name\": \"string\",\n \"secretKey\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"apiHost\":\"string\",\"integrationKey\":\"string\",\"name\":\"string\",\"secretKey\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"apiHost\":\"string\",\"integrationKey\":\"string\",\"name\":\"string\",\"secretKey\":\"string\"}'" } ] }, @@ -12350,15 +13796,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id}' -Method DELETE -Headers $headers" } ] }, @@ -12383,15 +13829,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id}' -Method GET -Headers $headers" } ] }, @@ -12438,15 +13884,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"apiHost\":\"string\",\"integrationKey\":\"string\",\"name\":\"string\",\"secretKey\":\"string\"}'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"apiHost\":\"string\",\"integrationKey\":\"string\",\"name\":\"string\",\"secretKey\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id}\"\n\npayload = {\n \"apiHost\": \"string\",\n \"integrationKey\": \"string\",\n \"name\": \"string\",\n \"secretKey\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id}\"\n\npayload = {\n \"apiHost\": \"string\",\n \"integrationKey\": \"string\",\n \"name\": \"string\",\n \"secretKey\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"apiHost\":\"string\",\"integrationKey\":\"string\",\"name\":\"string\",\"secretKey\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"apiHost\":\"string\",\"integrationKey\":\"string\",\"name\":\"string\",\"secretKey\":\"string\"}'" } ] }, @@ -12477,15 +13923,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{id}' -Method DELETE -Headers $headers" } ] }, @@ -12510,15 +13956,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{id}' -Method GET -Headers $headers" } ] }, @@ -12535,6 +13981,8 @@ "duo" ] }, + "/feature-settings": {}, + "/feature-settings/{feature_name}/{setting_name}": {}, "/featureTrials/{feature_code}": {}, "/geolocation/countries": { "x-functionalities-tags": [ @@ -12553,13 +14001,14 @@ "/google-emm/enterprises/{enterpriseId}": {}, "/google-emm/enterprises/{enterpriseId}/connection-status": {}, "/google-emm/enterprises/{enterpriseId}/enrollment-tokens/{tokenId}": {}, + "/google-emm/enterprises/{enterpriseId}/generate-upgrade-url": {}, "/google-emm/enterprises/{enterpriseObjectId}/devices": {}, "/google-emm/enterprises/{enterpriseObjectId}/enrollment-tokens": {}, "/google-emm/signup-urls": {}, "/google-emm/web-tokens": {}, "/groups": { "get": { - "description": "This endpoint returns all Groups that exist in your organization.\n\n#### Available filter fields:\n - `name`\n - `disabled`\n - `type`\n\n#### Sample Request\n\n```\n curl -X GET \\\n https://console.jumpcloud.com/api/v2/groups \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "description": "This endpoint returns all Groups that exist in your organization.\n\n#### Available filter fields:\n - `name`\n - `disabled`\n - `type`\n - `memberQueryErrorFlags`\n\n#### Sample Request\n\n```\n curl -X GET \\\n https://console.jumpcloud.com/api/v2/groups \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", "operationId": "Group_List", "parameters": [ { @@ -12601,15 +14050,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/groups?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/groups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --header 'x-unfiltered-total-count: SOME_INTEGER_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/groups\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/groups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-unfiltered-total-count\": \"SOME_INTEGER_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/groups?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-unfiltered-total-count\", \"SOME_INTEGER_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/groups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -12658,15 +14107,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -12705,15 +14154,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" } ] }, @@ -12938,15 +14387,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/translationrules?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/translationrules?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/translationrules\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/translationrules\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/translationrules?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/translationrules?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -13118,15 +14567,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/usergroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/usergroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/usergroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/usergroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -13178,15 +14627,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/users?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/users?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/users?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/users?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -13225,15 +14674,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/gsuites/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/gsuites/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{id}' -Method GET -Headers $headers" } ] }, @@ -13270,15 +14719,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PATCH \\\n --url https://console.jumpcloud.com/api/v2/gsuites/{id} \\\n --header 'content-type: application/json' \\\n --data '{\"defaultDomain\":{\"id\":\"string\"},\"groupsEnabled\":true,\"importFilter\":\"string\",\"name\":\"string\",\"organizationObjectId\":\"string\",\"userLockoutAction\":\"suspend\",\"userPasswordExpirationAction\":\"suspend\"}'" + "source": "curl --request PATCH \\\n --url https://console.jumpcloud.com/api/v2/gsuites/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"defaultDomain\":{\"id\":\"string\"},\"groupsEnabled\":true,\"importFilter\":\"string\",\"name\":\"string\",\"organizationObjectId\":\"string\",\"userLockoutAction\":\"suspend\",\"userPasswordExpirationAction\":\"suspend\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{id}\"\n\npayload = {\n \"defaultDomain\": {\"id\": \"string\"},\n \"groupsEnabled\": True,\n \"importFilter\": \"string\",\n \"name\": \"string\",\n \"organizationObjectId\": \"string\",\n \"userLockoutAction\": \"suspend\",\n \"userPasswordExpirationAction\": \"suspend\"\n}\nheaders = {\"content-type\": \"application/json\"}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{id}\"\n\npayload = {\n \"defaultDomain\": {\"id\": \"string\"},\n \"groupsEnabled\": True,\n \"importFilter\": \"string\",\n \"name\": \"string\",\n \"organizationObjectId\": \"string\",\n \"userLockoutAction\": \"suspend\",\n \"userPasswordExpirationAction\": \"suspend\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{id}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{\"defaultDomain\":{\"id\":\"string\"},\"groupsEnabled\":true,\"importFilter\":\"string\",\"name\":\"string\",\"organizationObjectId\":\"string\",\"userLockoutAction\":\"suspend\",\"userPasswordExpirationAction\":\"suspend\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{id}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{\"defaultDomain\":{\"id\":\"string\"},\"groupsEnabled\":true,\"importFilter\":\"string\",\"name\":\"string\",\"organizationObjectId\":\"string\",\"userLockoutAction\":\"suspend\",\"userPasswordExpirationAction\":\"suspend\"}'" } ] }, @@ -13429,15 +14878,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/iplists?limit=10&skip=0&filter=&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/iplists?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --header 'x-total-count: SOME_INTEGER_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/iplists\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/iplists\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-total-count\": \"SOME_INTEGER_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/iplists?limit=10&skip=0&filter=&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-total-count\", \"SOME_INTEGER_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/iplists?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -13470,15 +14919,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/iplists \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"description\":\"string\",\"ips\":[\"string\"],\"name\":\"string\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/iplists \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"description\":\"string\",\"ips\":[\"string\"],\"name\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/iplists\"\n\npayload = {\n \"description\": \"string\",\n \"ips\": [\"string\"],\n \"name\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/iplists\"\n\npayload = {\n \"description\": \"string\",\n \"ips\": [\"string\"],\n \"name\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/iplists' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"description\":\"string\",\"ips\":[\"string\"],\"name\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/iplists' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"description\":\"string\",\"ips\":[\"string\"],\"name\":\"string\"}'" } ] }, @@ -13508,15 +14957,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/iplists/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/iplists/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/iplists/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/iplists/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/iplists/{id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/iplists/{id}' -Method DELETE -Headers $headers" } ] }, @@ -13541,15 +14990,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/iplists/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/iplists/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/iplists/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/iplists/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/iplists/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/iplists/{id}' -Method GET -Headers $headers" } ] }, @@ -13590,15 +15039,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PATCH \\\n --url https://console.jumpcloud.com/api/v2/iplists/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"description\":\"string\",\"ips\":[\"string\"],\"name\":\"string\"}'" + "source": "curl --request PATCH \\\n --url https://console.jumpcloud.com/api/v2/iplists/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"description\":\"string\",\"ips\":[\"string\"],\"name\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/iplists/{id}\"\n\npayload = {\n \"description\": \"string\",\n \"ips\": [\"string\"],\n \"name\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/iplists/{id}\"\n\npayload = {\n \"description\": \"string\",\n \"ips\": [\"string\"],\n \"name\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/iplists/{id}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{\"description\":\"string\",\"ips\":[\"string\"],\"name\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/iplists/{id}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{\"description\":\"string\",\"ips\":[\"string\"],\"name\":\"string\"}'" } ] }, @@ -13631,15 +15080,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/iplists/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"description\":\"string\",\"ips\":[\"string\"],\"name\":\"string\"}'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/iplists/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"description\":\"string\",\"ips\":[\"string\"],\"name\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/iplists/{id}\"\n\npayload = {\n \"description\": \"string\",\n \"ips\": [\"string\"],\n \"name\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/iplists/{id}\"\n\npayload = {\n \"description\": \"string\",\n \"ips\": [\"string\"],\n \"name\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/iplists/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"description\":\"string\",\"ips\":[\"string\"],\"name\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/iplists/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"description\":\"string\",\"ips\":[\"string\"],\"name\":\"string\"}'" } ] }, @@ -13719,15 +15168,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/ldapservers?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/ldapservers?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -13760,15 +15209,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/ldapservers/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/ldapservers/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{id}' -Method GET -Headers $headers" } ] }, @@ -13838,15 +15287,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PATCH \\\n --url https://console.jumpcloud.com/api/v2/ldapservers/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"userLockoutAction\":\"disable\",\"userPasswordExpirationAction\":\"disable\"}'" + "source": "curl --request PATCH \\\n --url https://console.jumpcloud.com/api/v2/ldapservers/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"userLockoutAction\":\"disable\",\"userPasswordExpirationAction\":\"disable\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{id}\"\n\npayload = {\n \"id\": \"string\",\n \"userLockoutAction\": \"disable\",\n \"userPasswordExpirationAction\": \"disable\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{id}\"\n\npayload = {\n \"id\": \"string\",\n \"userLockoutAction\": \"disable\",\n \"userPasswordExpirationAction\": \"disable\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{id}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"userLockoutAction\":\"disable\",\"userPasswordExpirationAction\":\"disable\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{id}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"userLockoutAction\":\"disable\",\"userPasswordExpirationAction\":\"disable\"}'" } ] } @@ -13889,15 +15338,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -13939,15 +15388,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" } ] }, @@ -13999,15 +15448,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -14049,15 +15498,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"name\":\"string\",\"sid\":\"string\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"name\":\"string\",\"sid\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains\"\n\npayload = {\n \"name\": \"string\",\n \"sid\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains\"\n\npayload = {\n \"name\": \"string\",\n \"sid\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\",\"sid\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\",\"sid\":\"string\"}'" } ] }, @@ -14093,15 +15542,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains/{id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains/{id}' -Method DELETE -Headers $headers" } ] }, @@ -14129,15 +15578,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains/{id}' -Method GET -Headers $headers" } ] }, @@ -14272,15 +15721,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/usergroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/usergroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/usergroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/usergroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -14335,15 +15784,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/users?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/users?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/users?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/users?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -14424,15 +15873,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/office365s/{office365_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/office365s/{office365_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}' -Method GET -Headers $headers" } ] }, @@ -14477,15 +15926,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PATCH \\\n --url https://console.jumpcloud.com/api/v2/office365s/{office365_id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"defaultDomain\":{\"id\":\"string\"},\"groupsEnabled\":true,\"name\":\"string\"}'" + "source": "curl --request PATCH \\\n --url https://console.jumpcloud.com/api/v2/office365s/{office365_id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"defaultDomain\":{\"id\":\"string\"},\"groupsEnabled\":true,\"name\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}\"\n\npayload = {\n \"defaultDomain\": {\"id\": \"string\"},\n \"groupsEnabled\": True,\n \"name\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}\"\n\npayload = {\n \"defaultDomain\": {\"id\": \"string\"},\n \"groupsEnabled\": True,\n \"name\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{\"defaultDomain\":{\"id\":\"string\"},\"groupsEnabled\":true,\"name\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{\"defaultDomain\":{\"id\":\"string\"},\"groupsEnabled\":true,\"name\":\"string\"}'" } ] } @@ -14525,15 +15974,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -14572,15 +16021,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/office365s/{office365_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/office365s/{office365_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" } ] }, @@ -14680,15 +16129,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/import/users?top=SOME_INTEGER_VALUE&skipToken=SOME_STRING_VALUE&filter=SOME_STRING_VALUE&search=SOME_STRING_VALUE&orderby=SOME_STRING_VALUE&count=SOME_BOOLEAN_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/import/users?top=SOME_INTEGER_VALUE&skipToken=SOME_STRING_VALUE&filter=SOME_STRING_VALUE&search=SOME_STRING_VALUE&orderby=SOME_STRING_VALUE&count=SOME_BOOLEAN_VALUE' \\\n --header 'ConsistencyLevel: SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}/import/users\"\n\nquerystring = {\"top\":\"SOME_INTEGER_VALUE\",\"skipToken\":\"SOME_STRING_VALUE\",\"filter\":\"SOME_STRING_VALUE\",\"search\":\"SOME_STRING_VALUE\",\"orderby\":\"SOME_STRING_VALUE\",\"count\":\"SOME_BOOLEAN_VALUE\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}/import/users\"\n\nquerystring = {\"top\":\"SOME_INTEGER_VALUE\",\"skipToken\":\"SOME_STRING_VALUE\",\"filter\":\"SOME_STRING_VALUE\",\"search\":\"SOME_STRING_VALUE\",\"orderby\":\"SOME_STRING_VALUE\",\"count\":\"SOME_BOOLEAN_VALUE\"}\n\nheaders = {\n \"ConsistencyLevel\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/import/users?top=SOME_INTEGER_VALUE&skipToken=SOME_STRING_VALUE&filter=SOME_STRING_VALUE&search=SOME_STRING_VALUE&orderby=SOME_STRING_VALUE&count=SOME_BOOLEAN_VALUE' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"ConsistencyLevel\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/import/users?top=SOME_INTEGER_VALUE&skipToken=SOME_STRING_VALUE&filter=SOME_STRING_VALUE&search=SOME_STRING_VALUE&orderby=SOME_STRING_VALUE&count=SOME_BOOLEAN_VALUE' -Method GET -Headers $headers" } ] }, @@ -14754,15 +16203,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/translationrules?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/translationrules?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}/translationrules\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}/translationrules\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/translationrules?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/translationrules?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -14934,15 +16383,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/usergroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/usergroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/usergroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/usergroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -14972,6 +16421,12 @@ }, { "$ref": "#/parameters/trait:filter:filter" + }, + { + "description": "Include sync status for users", + "in": "query", + "name": "syncStatus", + "type": "boolean" } ], "responses": { @@ -14994,15 +16449,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/users?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/users?limit=10&skip=0&syncStatus=SOME_BOOLEAN_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"syncStatus\":\"SOME_BOOLEAN_VALUE\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/users?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/users?limit=10&skip=0&syncStatus=SOME_BOOLEAN_VALUE' -Method GET -Headers $headers" } ] }, @@ -15321,15 +16776,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -15362,15 +16817,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/policies \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"name\":\"string\",\"notes\":\"string\",\"template\":{\"id\":\"string\"},\"values\":[{\"configFieldID\":\"string\",\"sensitive\":true,\"value\":\"string\"}]}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/policies \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"name\":\"string\",\"notes\":\"string\",\"template\":{\"id\":\"string\"},\"values\":[{\"configFieldID\":\"string\",\"sensitive\":true,\"value\":\"string\"}]}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies\"\n\npayload = {\n \"name\": \"string\",\n \"notes\": \"string\",\n \"template\": {\"id\": \"string\"},\n \"values\": [\n {\n \"configFieldID\": \"string\",\n \"sensitive\": True,\n \"value\": \"string\"\n }\n ]\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies\"\n\npayload = {\n \"name\": \"string\",\n \"notes\": \"string\",\n \"template\": {\"id\": \"string\"},\n \"values\": [\n {\n \"configFieldID\": \"string\",\n \"sensitive\": True,\n \"value\": \"string\"\n }\n ]\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\",\"notes\":\"string\",\"template\":{\"id\":\"string\"},\"values\":[{\"configFieldID\":\"string\",\"sensitive\":true,\"value\":\"string\"}]}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\",\"notes\":\"string\",\"template\":{\"id\":\"string\"},\"values\":[{\"configFieldID\":\"string\",\"sensitive\":true,\"value\":\"string\"}]}'" } ] }, @@ -15400,15 +16855,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/policies/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/policies/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{id}' -Method DELETE -Headers $headers" } ] }, @@ -15433,15 +16888,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/policies/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/policies/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{id}' -Method GET -Headers $headers" } ] }, @@ -15483,15 +16938,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/policies/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"name\":\"string\",\"notes\":\"string\",\"values\":[{\"configFieldID\":\"string\",\"sensitive\":true,\"value\":\"string\"}]}'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/policies/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"name\":\"string\",\"notes\":\"string\",\"values\":[{\"configFieldID\":\"string\",\"sensitive\":true,\"value\":\"string\"}]}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{id}\"\n\npayload = {\n \"name\": \"string\",\n \"notes\": \"string\",\n \"values\": [\n {\n \"configFieldID\": \"string\",\n \"sensitive\": True,\n \"value\": \"string\"\n }\n ]\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{id}\"\n\npayload = {\n \"name\": \"string\",\n \"notes\": \"string\",\n \"values\": [\n {\n \"configFieldID\": \"string\",\n \"sensitive\": True,\n \"value\": \"string\"\n }\n ]\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\",\"notes\":\"string\",\"values\":[{\"configFieldID\":\"string\",\"sensitive\":true,\"value\":\"string\"}]}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\",\"notes\":\"string\",\"values\":[{\"configFieldID\":\"string\",\"sensitive\":true,\"value\":\"string\"}]}'" } ] }, @@ -15537,15 +16992,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -15584,15 +17039,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/policies/{policy_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/policies/{policy_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"system\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"system\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" } ] }, @@ -15644,15 +17099,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/memberof?filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/memberof?limit=10&skip=0' \\\n --header 'Authorization: SOME_STRING_VALUE' \\\n --header 'Date: SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/memberof\"\n\nquerystring = {\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/memberof\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"Date\": \"SOME_STRING_VALUE\",\n \"Authorization\": \"SOME_STRING_VALUE\",\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/memberof?filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"Date\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Authorization\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/memberof?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -15710,15 +17165,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/policyresults?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/policyresults?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/policyresults\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/policyresults\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/policyresults?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/policyresults?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -15775,15 +17230,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/policystatuses?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/policystatuses?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/policystatuses\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/policystatuses\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/policystatuses?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/policystatuses?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -15834,15 +17289,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/systemgroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/systemgroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/systemgroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/systemgroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -15897,15 +17352,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/systems?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/systems?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/systems\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/systems\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/systems?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/systems?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -15966,15 +17421,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policygroups?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policygroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -16007,15 +17462,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/policygroups \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"name\":\"string\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/policygroups \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"name\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups\"\n\npayload = {\"name\": \"string\"}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups\"\n\npayload = {\"name\": \"string\"}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\"}'" } ] }, @@ -16058,15 +17513,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -16105,15 +17560,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/policygroups/{group_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/policygroups/{group_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"system\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"system\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" } ] }, @@ -16169,15 +17624,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/members?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/members?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/members\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/members\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/members?limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/members?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -16216,15 +17671,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/policygroups/{group_id}/members \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"policy\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/policygroups/{group_id}/members \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"policy\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/members\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"policy\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/members\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"policy\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/members' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"policy\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/members' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"policy\"}'" } ] }, @@ -16271,15 +17726,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/membership?filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/membership?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/membership\"\n\nquerystring = {\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/membership\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/membership?filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/membership?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -16332,15 +17787,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/systemgroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/systemgroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/systemgroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/systemgroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -16392,15 +17847,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/systems?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/systems?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/systems\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/systems\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/systems?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/systems?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -16442,15 +17897,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/policygroups/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/policygroups/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{id}' -Method DELETE -Headers $headers" } ] }, @@ -16475,15 +17930,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/policygroups/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/policygroups/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{id}' -Method GET -Headers $headers" } ] }, @@ -16525,15 +17980,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/policygroups/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"name\":\"string\"}'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/policygroups/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"name\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{id}\"\n\npayload = {\"name\": \"string\"}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{id}\"\n\npayload = {\"name\": \"string\"}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\"}'" } ] }, @@ -16582,15 +18037,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policyresults?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policyresults?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policyresults\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policyresults\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policyresults?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policyresults?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -16620,15 +18075,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/policyresults/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/policyresults/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policyresults/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policyresults/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policyresults/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policyresults/{id}' -Method GET -Headers $headers" } ] }, @@ -16686,15 +18141,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policytemplates?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policytemplates?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policytemplates\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policytemplates\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policytemplates?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policytemplates?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -16724,15 +18179,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/policytemplates/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/policytemplates/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policytemplates/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policytemplates/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policytemplates/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policytemplates/{id}' -Method GET -Headers $headers" } ] }, @@ -16864,15 +18319,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/providers/{provider_id}/administrators?fields=&filter=&limit=10&skip=0&sort=&sortIgnoreCase=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/providers/{provider_id}/administrators?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/providers/{provider_id}/administrators\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\",\"sortIgnoreCase\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/providers/{provider_id}/administrators\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/providers/{provider_id}/administrators?fields=&filter=&limit=10&skip=0&sort=&sortIgnoreCase=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/providers/{provider_id}/administrators?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -17156,15 +18611,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/providers/{provider_id}/invoices?skip=0&sort=&limit=10&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/providers/{provider_id}/invoices?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/providers/{provider_id}/invoices\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"limit\":\"10\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/providers/{provider_id}/invoices\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/providers/{provider_id}/invoices?skip=0&sort=&limit=10&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/providers/{provider_id}/invoices?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -17254,15 +18709,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/providers/{provider_id}/organizations?fields=&filter=&limit=10&skip=0&sort=&sortIgnoreCase=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/providers/{provider_id}/organizations?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/providers/{provider_id}/organizations\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\",\"sortIgnoreCase\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/providers/{provider_id}/organizations\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/providers/{provider_id}/organizations?fields=&filter=&limit=10&skip=0&sort=&sortIgnoreCase=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/providers/{provider_id}/organizations?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -17301,6 +18756,28 @@ "mtp-billing-information" ] }, + "/providers/{provider_id}/policygroups/{group_id}/associations": { + "parameters": [ + { + "description": "The ID of the provider", + "in": "path", + "name": "provider_id", + "required": true, + "type": "string" + }, + { + "description": "The ID of the policy group", + "in": "path", + "name": "group_id", + "required": true, + "type": "string" + } + ], + "x-functionalities-tags": [ + "groups", + "mtp-account-overview" + ] + }, "/providers/{provider_id}/policygrouptemplates": { "parameters": [ { @@ -17352,6 +18829,50 @@ "policy-group-templates" ] }, + "/providers/{provider_id}/systemgroups/{group_id}/associations": { + "parameters": [ + { + "description": "The ID of the provider", + "in": "path", + "name": "provider_id", + "required": true, + "type": "string" + }, + { + "description": "The ID of the system group", + "in": "path", + "name": "group_id", + "required": true, + "type": "string" + } + ], + "x-functionalities-tags": [ + "groups", + "mtp-account-overview" + ] + }, + "/providers/{provider_id}/usergroups/{group_id}/associations": { + "parameters": [ + { + "description": "The ID of the provider", + "in": "path", + "name": "provider_id", + "required": true, + "type": "string" + }, + { + "description": "The ID of the user group", + "in": "path", + "name": "group_id", + "required": true, + "type": "string" + } + ], + "x-functionalities-tags": [ + "groups", + "mtp-account-overview" + ] + }, "/provision/client/verify": { "x-functionalities-tags": [ "mtp-validate-config" @@ -17437,15 +18958,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -17484,15 +19005,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" } ] }, @@ -17535,15 +19056,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/usergroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/usergroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/usergroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/usergroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -17595,15 +19116,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/users?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/users?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/users?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/users?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -17643,6 +19164,8 @@ ] }, "/saas-management/application-catalog/{catalog_application_id}": {}, + "/saas-management/application-licenses": {}, + "/saas-management/application-licenses/{application_id}": {}, "/saas-management/applications": {}, "/saas-management/applications/{application_id}": {}, "/saas-management/applications/{application_id}/accounts": {}, @@ -17653,6 +19176,8 @@ "sample-data" ] }, + "/saved-views": {}, + "/saved-views/{id}": {}, "/scope-groups": {}, "/service-accounts": {}, "/service-accounts/{service_account_id}": {}, @@ -17704,15 +19229,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/softwareapps?filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/softwareapps?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps\"\n\nquerystring = {\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps?filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -17745,15 +19270,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/softwareapps \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"createdAt\":\"2019-08-24T14:15:22Z\",\"displayName\":\"string\",\"id\":\"string\",\"settings\":[{\"allowUpdateDelay\":false,\"appCatalogInstallableObjectId\":\"string\",\"appFileName\":\"string\",\"appleVpp\":{\"appConfiguration\":\"string\",\"assignedLicenses\":0,\"availableLicenses\":0,\"details\":{},\"isConfigEnabled\":true,\"supportedDeviceFamilies\":[\"IPAD\"],\"totalLicenses\":0},\"architectures\":[\"string\"],\"assetKind\":\"string\",\"assetSha256Size\":0,\"assetSha256Strings\":[\"string\"],\"autoUpdate\":false,\"bundleId\":\"string\",\"commandLineArguments\":\"string\",\"createdAt\":\"2019-08-24T14:15:22Z\",\"description\":\"string\",\"desiredState\":\"string\",\"downloadUrl\":\"string\",\"enterpriseObjectId\":\"string\",\"format\":\"string\",\"googleAndroid\":{\"androidFeatures\":[\"string\"],\"appPricing\":\"string\",\"appVersion\":\"string\",\"author\":\"string\",\"autoUpdateMode\":\"AUTO_UPDATE_DEFAULT\",\"category\":\"string\",\"contentRating\":\"string\",\"displayMode\":\"string\",\"distributionChannel\":\"string\",\"fullDescription\":\"string\",\"iconUrl\":\"string\",\"installType\":\"AVAILABLE\",\"managedConfigurationTemplateId\":\"string\",\"managedProperties\":true,\"minSdkVersion\":0,\"name\":\"string\",\"permissionGrants\":[{\"id\":\"string\",\"policy\":\"PROMPT\"}],\"runtimePermission\":\"PROMPT\",\"startUrl\":\"string\",\"type\":\"APP_TYPE_UNSPECIFIED\",\"updateTime\":\"string\",\"versionCode\":0},\"iconUrl\":\"string\",\"location\":\"string\",\"locationObjectId\":\"string\",\"microsoftStore\":{\"doNotUpdate\":true,\"nonRemovable\":true,\"packageFamilyName\":\"string\"},\"packageId\":\"string\",\"packageKind\":\"string\",\"packageManager\":\"string\",\"packageSubtitle\":\"string\",\"packageVersion\":\"string\",\"packageVersionUpdatedAt\":\"2019-08-24T14:15:22Z\",\"scope\":\"string\",\"shortVersion\":\"string\",\"storedPackage\":{\"objectId\":\"string\",\"versions\":[{\"metadata\":{},\"name\":\"string\",\"rejectedReason\":\"string\",\"sha256sum\":\"string\",\"size\":0,\"status\":\"string\",\"version\":0}]},\"storedPackageObjectId\":\"string\",\"teamId\":\"string\",\"updateTool\":\"string\",\"updateToolArguments\":\"string\",\"updatedAt\":\"2019-08-24T14:15:22Z\",\"versionlessDownloadUrl\":true}],\"updatedAt\":\"2019-08-24T14:15:22Z\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/softwareapps \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"createdAt\":\"2019-08-24T14:15:22Z\",\"displayName\":\"string\",\"id\":\"string\",\"settings\":[{\"allowUpdateDelay\":false,\"appCatalogInstallableObjectId\":\"string\",\"appFileName\":\"string\",\"appleVpp\":{\"appConfiguration\":\"string\",\"assignedLicenses\":0,\"availableLicenses\":0,\"details\":{},\"isConfigEnabled\":true,\"supportedDeviceFamilies\":[\"IPAD\"],\"totalLicenses\":0},\"architectures\":[\"string\"],\"assetKind\":\"string\",\"assetSha256Size\":0,\"assetSha256Strings\":[\"string\"],\"autoUpdate\":false,\"bundleId\":\"string\",\"commandLineArguments\":\"string\",\"createdAt\":\"2019-08-24T14:15:22Z\",\"description\":\"string\",\"desiredState\":\"string\",\"downloadUrl\":\"string\",\"enterpriseObjectId\":\"string\",\"format\":\"string\",\"googleAndroid\":{\"androidFeatures\":[\"string\"],\"appPricing\":\"string\",\"appVersion\":\"string\",\"author\":\"string\",\"autoUpdateMode\":\"AUTO_UPDATE_DEFAULT\",\"category\":\"string\",\"contentRating\":\"string\",\"displayMode\":\"string\",\"distributionChannel\":\"string\",\"fullDescription\":\"string\",\"iconUrl\":\"string\",\"installType\":\"AVAILABLE\",\"managedConfigurationTemplateId\":\"string\",\"managedProperties\":true,\"minSdkVersion\":0,\"name\":\"string\",\"permissionGrants\":[{\"id\":\"string\",\"policy\":\"PROMPT\"}],\"runtimePermission\":\"PROMPT\",\"startUrl\":\"string\",\"type\":\"APP_TYPE_UNSPECIFIED\",\"updateTime\":\"string\",\"versionCode\":0},\"iconUrl\":\"string\",\"location\":\"string\",\"locationObjectId\":\"string\",\"microsoftStore\":{\"doNotUpdate\":true,\"nonRemovable\":true,\"packageFamilyName\":\"string\"},\"packageId\":\"string\",\"packageKind\":\"string\",\"packageManager\":\"string\",\"packageSubtitle\":\"string\",\"packageVersion\":\"string\",\"packageVersionUpdatedAt\":\"2019-08-24T14:15:22Z\",\"scope\":\"string\",\"shortVersion\":\"string\",\"storedPackage\":{\"objectId\":\"string\",\"versions\":[{\"metadata\":{},\"name\":\"string\",\"rejectedReason\":\"string\",\"sha256sum\":\"string\",\"size\":0,\"status\":\"string\",\"version\":0}]},\"storedPackageObjectId\":\"string\",\"teamId\":\"string\",\"updateTool\":\"string\",\"updateToolArguments\":\"string\",\"updatedAt\":\"2019-08-24T14:15:22Z\",\"versionlessDownloadUrl\":true}],\"updatedAt\":\"2019-08-24T14:15:22Z\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps\"\n\npayload = {\n \"createdAt\": \"2019-08-24T14:15:22Z\",\n \"displayName\": \"string\",\n \"id\": \"string\",\n \"settings\": [\n {\n \"allowUpdateDelay\": False,\n \"appCatalogInstallableObjectId\": \"string\",\n \"appFileName\": \"string\",\n \"appleVpp\": {\n \"appConfiguration\": \"string\",\n \"assignedLicenses\": 0,\n \"availableLicenses\": 0,\n \"details\": {},\n \"isConfigEnabled\": True,\n \"supportedDeviceFamilies\": [\"IPAD\"],\n \"totalLicenses\": 0\n },\n \"architectures\": [\"string\"],\n \"assetKind\": \"string\",\n \"assetSha256Size\": 0,\n \"assetSha256Strings\": [\"string\"],\n \"autoUpdate\": False,\n \"bundleId\": \"string\",\n \"commandLineArguments\": \"string\",\n \"createdAt\": \"2019-08-24T14:15:22Z\",\n \"description\": \"string\",\n \"desiredState\": \"string\",\n \"downloadUrl\": \"string\",\n \"enterpriseObjectId\": \"string\",\n \"format\": \"string\",\n \"googleAndroid\": {\n \"androidFeatures\": [\"string\"],\n \"appPricing\": \"string\",\n \"appVersion\": \"string\",\n \"author\": \"string\",\n \"autoUpdateMode\": \"AUTO_UPDATE_DEFAULT\",\n \"category\": \"string\",\n \"contentRating\": \"string\",\n \"displayMode\": \"string\",\n \"distributionChannel\": \"string\",\n \"fullDescription\": \"string\",\n \"iconUrl\": \"string\",\n \"installType\": \"AVAILABLE\",\n \"managedConfigurationTemplateId\": \"string\",\n \"managedProperties\": True,\n \"minSdkVersion\": 0,\n \"name\": \"string\",\n \"permissionGrants\": [\n {\n \"id\": \"string\",\n \"policy\": \"PROMPT\"\n }\n ],\n \"runtimePermission\": \"PROMPT\",\n \"startUrl\": \"string\",\n \"type\": \"APP_TYPE_UNSPECIFIED\",\n \"updateTime\": \"string\",\n \"versionCode\": 0\n },\n \"iconUrl\": \"string\",\n \"location\": \"string\",\n \"locationObjectId\": \"string\",\n \"microsoftStore\": {\n \"doNotUpdate\": True,\n \"nonRemovable\": True,\n \"packageFamilyName\": \"string\"\n },\n \"packageId\": \"string\",\n \"packageKind\": \"string\",\n \"packageManager\": \"string\",\n \"packageSubtitle\": \"string\",\n \"packageVersion\": \"string\",\n \"packageVersionUpdatedAt\": \"2019-08-24T14:15:22Z\",\n \"scope\": \"string\",\n \"shortVersion\": \"string\",\n \"storedPackage\": {\n \"objectId\": \"string\",\n \"versions\": [\n {\n \"metadata\": {},\n \"name\": \"string\",\n \"rejectedReason\": \"string\",\n \"sha256sum\": \"string\",\n \"size\": 0,\n \"status\": \"string\",\n \"version\": 0\n }\n ]\n },\n \"storedPackageObjectId\": \"string\",\n \"teamId\": \"string\",\n \"updateTool\": \"string\",\n \"updateToolArguments\": \"string\",\n \"updatedAt\": \"2019-08-24T14:15:22Z\",\n \"versionlessDownloadUrl\": True\n }\n ],\n \"updatedAt\": \"2019-08-24T14:15:22Z\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps\"\n\npayload = {\n \"createdAt\": \"2019-08-24T14:15:22Z\",\n \"displayName\": \"string\",\n \"id\": \"string\",\n \"settings\": [\n {\n \"allowUpdateDelay\": False,\n \"appCatalogInstallableObjectId\": \"string\",\n \"appFileName\": \"string\",\n \"appleVpp\": {\n \"appConfiguration\": \"string\",\n \"assignedLicenses\": 0,\n \"availableLicenses\": 0,\n \"details\": {},\n \"isConfigEnabled\": True,\n \"supportedDeviceFamilies\": [\"IPAD\"],\n \"totalLicenses\": 0\n },\n \"architectures\": [\"string\"],\n \"assetKind\": \"string\",\n \"assetSha256Size\": 0,\n \"assetSha256Strings\": [\"string\"],\n \"autoUpdate\": False,\n \"bundleId\": \"string\",\n \"commandLineArguments\": \"string\",\n \"createdAt\": \"2019-08-24T14:15:22Z\",\n \"description\": \"string\",\n \"desiredState\": \"string\",\n \"downloadUrl\": \"string\",\n \"enterpriseObjectId\": \"string\",\n \"format\": \"string\",\n \"googleAndroid\": {\n \"androidFeatures\": [\"string\"],\n \"appPricing\": \"string\",\n \"appVersion\": \"string\",\n \"author\": \"string\",\n \"autoUpdateMode\": \"AUTO_UPDATE_DEFAULT\",\n \"category\": \"string\",\n \"contentRating\": \"string\",\n \"displayMode\": \"string\",\n \"distributionChannel\": \"string\",\n \"fullDescription\": \"string\",\n \"iconUrl\": \"string\",\n \"installType\": \"AVAILABLE\",\n \"managedConfigurationTemplateId\": \"string\",\n \"managedProperties\": True,\n \"minSdkVersion\": 0,\n \"name\": \"string\",\n \"permissionGrants\": [\n {\n \"id\": \"string\",\n \"policy\": \"PROMPT\"\n }\n ],\n \"runtimePermission\": \"PROMPT\",\n \"startUrl\": \"string\",\n \"type\": \"APP_TYPE_UNSPECIFIED\",\n \"updateTime\": \"string\",\n \"versionCode\": 0\n },\n \"iconUrl\": \"string\",\n \"location\": \"string\",\n \"locationObjectId\": \"string\",\n \"microsoftStore\": {\n \"doNotUpdate\": True,\n \"nonRemovable\": True,\n \"packageFamilyName\": \"string\"\n },\n \"packageId\": \"string\",\n \"packageKind\": \"string\",\n \"packageManager\": \"string\",\n \"packageSubtitle\": \"string\",\n \"packageVersion\": \"string\",\n \"packageVersionUpdatedAt\": \"2019-08-24T14:15:22Z\",\n \"scope\": \"string\",\n \"shortVersion\": \"string\",\n \"storedPackage\": {\n \"objectId\": \"string\",\n \"versions\": [\n {\n \"metadata\": {},\n \"name\": \"string\",\n \"rejectedReason\": \"string\",\n \"sha256sum\": \"string\",\n \"size\": 0,\n \"status\": \"string\",\n \"version\": 0\n }\n ]\n },\n \"storedPackageObjectId\": \"string\",\n \"teamId\": \"string\",\n \"updateTool\": \"string\",\n \"updateToolArguments\": \"string\",\n \"updatedAt\": \"2019-08-24T14:15:22Z\",\n \"versionlessDownloadUrl\": True\n }\n ],\n \"updatedAt\": \"2019-08-24T14:15:22Z\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"createdAt\":\"2019-08-24T14:15:22Z\",\"displayName\":\"string\",\"id\":\"string\",\"settings\":[{\"allowUpdateDelay\":false,\"appCatalogInstallableObjectId\":\"string\",\"appFileName\":\"string\",\"appleVpp\":{\"appConfiguration\":\"string\",\"assignedLicenses\":0,\"availableLicenses\":0,\"details\":{},\"isConfigEnabled\":true,\"supportedDeviceFamilies\":[\"IPAD\"],\"totalLicenses\":0},\"architectures\":[\"string\"],\"assetKind\":\"string\",\"assetSha256Size\":0,\"assetSha256Strings\":[\"string\"],\"autoUpdate\":false,\"bundleId\":\"string\",\"commandLineArguments\":\"string\",\"createdAt\":\"2019-08-24T14:15:22Z\",\"description\":\"string\",\"desiredState\":\"string\",\"downloadUrl\":\"string\",\"enterpriseObjectId\":\"string\",\"format\":\"string\",\"googleAndroid\":{\"androidFeatures\":[\"string\"],\"appPricing\":\"string\",\"appVersion\":\"string\",\"author\":\"string\",\"autoUpdateMode\":\"AUTO_UPDATE_DEFAULT\",\"category\":\"string\",\"contentRating\":\"string\",\"displayMode\":\"string\",\"distributionChannel\":\"string\",\"fullDescription\":\"string\",\"iconUrl\":\"string\",\"installType\":\"AVAILABLE\",\"managedConfigurationTemplateId\":\"string\",\"managedProperties\":true,\"minSdkVersion\":0,\"name\":\"string\",\"permissionGrants\":[{\"id\":\"string\",\"policy\":\"PROMPT\"}],\"runtimePermission\":\"PROMPT\",\"startUrl\":\"string\",\"type\":\"APP_TYPE_UNSPECIFIED\",\"updateTime\":\"string\",\"versionCode\":0},\"iconUrl\":\"string\",\"location\":\"string\",\"locationObjectId\":\"string\",\"microsoftStore\":{\"doNotUpdate\":true,\"nonRemovable\":true,\"packageFamilyName\":\"string\"},\"packageId\":\"string\",\"packageKind\":\"string\",\"packageManager\":\"string\",\"packageSubtitle\":\"string\",\"packageVersion\":\"string\",\"packageVersionUpdatedAt\":\"2019-08-24T14:15:22Z\",\"scope\":\"string\",\"shortVersion\":\"string\",\"storedPackage\":{\"objectId\":\"string\",\"versions\":[{\"metadata\":{},\"name\":\"string\",\"rejectedReason\":\"string\",\"sha256sum\":\"string\",\"size\":0,\"status\":\"string\",\"version\":0}]},\"storedPackageObjectId\":\"string\",\"teamId\":\"string\",\"updateTool\":\"string\",\"updateToolArguments\":\"string\",\"updatedAt\":\"2019-08-24T14:15:22Z\",\"versionlessDownloadUrl\":true}],\"updatedAt\":\"2019-08-24T14:15:22Z\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"createdAt\":\"2019-08-24T14:15:22Z\",\"displayName\":\"string\",\"id\":\"string\",\"settings\":[{\"allowUpdateDelay\":false,\"appCatalogInstallableObjectId\":\"string\",\"appFileName\":\"string\",\"appleVpp\":{\"appConfiguration\":\"string\",\"assignedLicenses\":0,\"availableLicenses\":0,\"details\":{},\"isConfigEnabled\":true,\"supportedDeviceFamilies\":[\"IPAD\"],\"totalLicenses\":0},\"architectures\":[\"string\"],\"assetKind\":\"string\",\"assetSha256Size\":0,\"assetSha256Strings\":[\"string\"],\"autoUpdate\":false,\"bundleId\":\"string\",\"commandLineArguments\":\"string\",\"createdAt\":\"2019-08-24T14:15:22Z\",\"description\":\"string\",\"desiredState\":\"string\",\"downloadUrl\":\"string\",\"enterpriseObjectId\":\"string\",\"format\":\"string\",\"googleAndroid\":{\"androidFeatures\":[\"string\"],\"appPricing\":\"string\",\"appVersion\":\"string\",\"author\":\"string\",\"autoUpdateMode\":\"AUTO_UPDATE_DEFAULT\",\"category\":\"string\",\"contentRating\":\"string\",\"displayMode\":\"string\",\"distributionChannel\":\"string\",\"fullDescription\":\"string\",\"iconUrl\":\"string\",\"installType\":\"AVAILABLE\",\"managedConfigurationTemplateId\":\"string\",\"managedProperties\":true,\"minSdkVersion\":0,\"name\":\"string\",\"permissionGrants\":[{\"id\":\"string\",\"policy\":\"PROMPT\"}],\"runtimePermission\":\"PROMPT\",\"startUrl\":\"string\",\"type\":\"APP_TYPE_UNSPECIFIED\",\"updateTime\":\"string\",\"versionCode\":0},\"iconUrl\":\"string\",\"location\":\"string\",\"locationObjectId\":\"string\",\"microsoftStore\":{\"doNotUpdate\":true,\"nonRemovable\":true,\"packageFamilyName\":\"string\"},\"packageId\":\"string\",\"packageKind\":\"string\",\"packageManager\":\"string\",\"packageSubtitle\":\"string\",\"packageVersion\":\"string\",\"packageVersionUpdatedAt\":\"2019-08-24T14:15:22Z\",\"scope\":\"string\",\"shortVersion\":\"string\",\"storedPackage\":{\"objectId\":\"string\",\"versions\":[{\"metadata\":{},\"name\":\"string\",\"rejectedReason\":\"string\",\"sha256sum\":\"string\",\"size\":0,\"status\":\"string\",\"version\":0}]},\"storedPackageObjectId\":\"string\",\"teamId\":\"string\",\"updateTool\":\"string\",\"updateToolArguments\":\"string\",\"updatedAt\":\"2019-08-24T14:15:22Z\",\"versionlessDownloadUrl\":true}],\"updatedAt\":\"2019-08-24T14:15:22Z\"}'" } ] }, @@ -17787,15 +19312,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/softwareapps/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/softwareapps/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{id}' -Method DELETE -Headers $headers" } ] }, @@ -17820,15 +19345,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/softwareapps/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/softwareapps/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{id}' -Method GET -Headers $headers" } ] }, @@ -17910,15 +19435,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/softwareapps/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"createdAt\":\"2019-08-24T14:15:22Z\",\"displayName\":\"string\",\"id\":\"string\",\"settings\":[{\"allowUpdateDelay\":false,\"appCatalogInstallableObjectId\":\"string\",\"appFileName\":\"string\",\"appleVpp\":{\"appConfiguration\":\"string\",\"assignedLicenses\":0,\"availableLicenses\":0,\"details\":{},\"isConfigEnabled\":true,\"supportedDeviceFamilies\":[\"IPAD\"],\"totalLicenses\":0},\"architectures\":[\"string\"],\"assetKind\":\"string\",\"assetSha256Size\":0,\"assetSha256Strings\":[\"string\"],\"autoUpdate\":false,\"bundleId\":\"string\",\"commandLineArguments\":\"string\",\"createdAt\":\"2019-08-24T14:15:22Z\",\"description\":\"string\",\"desiredState\":\"string\",\"downloadUrl\":\"string\",\"enterpriseObjectId\":\"string\",\"format\":\"string\",\"googleAndroid\":{\"androidFeatures\":[\"string\"],\"appPricing\":\"string\",\"appVersion\":\"string\",\"author\":\"string\",\"autoUpdateMode\":\"AUTO_UPDATE_DEFAULT\",\"category\":\"string\",\"contentRating\":\"string\",\"displayMode\":\"string\",\"distributionChannel\":\"string\",\"fullDescription\":\"string\",\"iconUrl\":\"string\",\"installType\":\"AVAILABLE\",\"managedConfigurationTemplateId\":\"string\",\"managedProperties\":true,\"minSdkVersion\":0,\"name\":\"string\",\"permissionGrants\":[{\"id\":\"string\",\"policy\":\"PROMPT\"}],\"runtimePermission\":\"PROMPT\",\"startUrl\":\"string\",\"type\":\"APP_TYPE_UNSPECIFIED\",\"updateTime\":\"string\",\"versionCode\":0},\"iconUrl\":\"string\",\"location\":\"string\",\"locationObjectId\":\"string\",\"microsoftStore\":{\"doNotUpdate\":true,\"nonRemovable\":true,\"packageFamilyName\":\"string\"},\"packageId\":\"string\",\"packageKind\":\"string\",\"packageManager\":\"string\",\"packageSubtitle\":\"string\",\"packageVersion\":\"string\",\"packageVersionUpdatedAt\":\"2019-08-24T14:15:22Z\",\"scope\":\"string\",\"shortVersion\":\"string\",\"storedPackage\":{\"objectId\":\"string\",\"versions\":[{\"metadata\":{},\"name\":\"string\",\"rejectedReason\":\"string\",\"sha256sum\":\"string\",\"size\":0,\"status\":\"string\",\"version\":0}]},\"storedPackageObjectId\":\"string\",\"teamId\":\"string\",\"updateTool\":\"string\",\"updateToolArguments\":\"string\",\"updatedAt\":\"2019-08-24T14:15:22Z\",\"versionlessDownloadUrl\":true}],\"updatedAt\":\"2019-08-24T14:15:22Z\"}'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/softwareapps/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"createdAt\":\"2019-08-24T14:15:22Z\",\"displayName\":\"string\",\"id\":\"string\",\"settings\":[{\"allowUpdateDelay\":false,\"appCatalogInstallableObjectId\":\"string\",\"appFileName\":\"string\",\"appleVpp\":{\"appConfiguration\":\"string\",\"assignedLicenses\":0,\"availableLicenses\":0,\"details\":{},\"isConfigEnabled\":true,\"supportedDeviceFamilies\":[\"IPAD\"],\"totalLicenses\":0},\"architectures\":[\"string\"],\"assetKind\":\"string\",\"assetSha256Size\":0,\"assetSha256Strings\":[\"string\"],\"autoUpdate\":false,\"bundleId\":\"string\",\"commandLineArguments\":\"string\",\"createdAt\":\"2019-08-24T14:15:22Z\",\"description\":\"string\",\"desiredState\":\"string\",\"downloadUrl\":\"string\",\"enterpriseObjectId\":\"string\",\"format\":\"string\",\"googleAndroid\":{\"androidFeatures\":[\"string\"],\"appPricing\":\"string\",\"appVersion\":\"string\",\"author\":\"string\",\"autoUpdateMode\":\"AUTO_UPDATE_DEFAULT\",\"category\":\"string\",\"contentRating\":\"string\",\"displayMode\":\"string\",\"distributionChannel\":\"string\",\"fullDescription\":\"string\",\"iconUrl\":\"string\",\"installType\":\"AVAILABLE\",\"managedConfigurationTemplateId\":\"string\",\"managedProperties\":true,\"minSdkVersion\":0,\"name\":\"string\",\"permissionGrants\":[{\"id\":\"string\",\"policy\":\"PROMPT\"}],\"runtimePermission\":\"PROMPT\",\"startUrl\":\"string\",\"type\":\"APP_TYPE_UNSPECIFIED\",\"updateTime\":\"string\",\"versionCode\":0},\"iconUrl\":\"string\",\"location\":\"string\",\"locationObjectId\":\"string\",\"microsoftStore\":{\"doNotUpdate\":true,\"nonRemovable\":true,\"packageFamilyName\":\"string\"},\"packageId\":\"string\",\"packageKind\":\"string\",\"packageManager\":\"string\",\"packageSubtitle\":\"string\",\"packageVersion\":\"string\",\"packageVersionUpdatedAt\":\"2019-08-24T14:15:22Z\",\"scope\":\"string\",\"shortVersion\":\"string\",\"storedPackage\":{\"objectId\":\"string\",\"versions\":[{\"metadata\":{},\"name\":\"string\",\"rejectedReason\":\"string\",\"sha256sum\":\"string\",\"size\":0,\"status\":\"string\",\"version\":0}]},\"storedPackageObjectId\":\"string\",\"teamId\":\"string\",\"updateTool\":\"string\",\"updateToolArguments\":\"string\",\"updatedAt\":\"2019-08-24T14:15:22Z\",\"versionlessDownloadUrl\":true}],\"updatedAt\":\"2019-08-24T14:15:22Z\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{id}\"\n\npayload = {\n \"createdAt\": \"2019-08-24T14:15:22Z\",\n \"displayName\": \"string\",\n \"id\": \"string\",\n \"settings\": [\n {\n \"allowUpdateDelay\": False,\n \"appCatalogInstallableObjectId\": \"string\",\n \"appFileName\": \"string\",\n \"appleVpp\": {\n \"appConfiguration\": \"string\",\n \"assignedLicenses\": 0,\n \"availableLicenses\": 0,\n \"details\": {},\n \"isConfigEnabled\": True,\n \"supportedDeviceFamilies\": [\"IPAD\"],\n \"totalLicenses\": 0\n },\n \"architectures\": [\"string\"],\n \"assetKind\": \"string\",\n \"assetSha256Size\": 0,\n \"assetSha256Strings\": [\"string\"],\n \"autoUpdate\": False,\n \"bundleId\": \"string\",\n \"commandLineArguments\": \"string\",\n \"createdAt\": \"2019-08-24T14:15:22Z\",\n \"description\": \"string\",\n \"desiredState\": \"string\",\n \"downloadUrl\": \"string\",\n \"enterpriseObjectId\": \"string\",\n \"format\": \"string\",\n \"googleAndroid\": {\n \"androidFeatures\": [\"string\"],\n \"appPricing\": \"string\",\n \"appVersion\": \"string\",\n \"author\": \"string\",\n \"autoUpdateMode\": \"AUTO_UPDATE_DEFAULT\",\n \"category\": \"string\",\n \"contentRating\": \"string\",\n \"displayMode\": \"string\",\n \"distributionChannel\": \"string\",\n \"fullDescription\": \"string\",\n \"iconUrl\": \"string\",\n \"installType\": \"AVAILABLE\",\n \"managedConfigurationTemplateId\": \"string\",\n \"managedProperties\": True,\n \"minSdkVersion\": 0,\n \"name\": \"string\",\n \"permissionGrants\": [\n {\n \"id\": \"string\",\n \"policy\": \"PROMPT\"\n }\n ],\n \"runtimePermission\": \"PROMPT\",\n \"startUrl\": \"string\",\n \"type\": \"APP_TYPE_UNSPECIFIED\",\n \"updateTime\": \"string\",\n \"versionCode\": 0\n },\n \"iconUrl\": \"string\",\n \"location\": \"string\",\n \"locationObjectId\": \"string\",\n \"microsoftStore\": {\n \"doNotUpdate\": True,\n \"nonRemovable\": True,\n \"packageFamilyName\": \"string\"\n },\n \"packageId\": \"string\",\n \"packageKind\": \"string\",\n \"packageManager\": \"string\",\n \"packageSubtitle\": \"string\",\n \"packageVersion\": \"string\",\n \"packageVersionUpdatedAt\": \"2019-08-24T14:15:22Z\",\n \"scope\": \"string\",\n \"shortVersion\": \"string\",\n \"storedPackage\": {\n \"objectId\": \"string\",\n \"versions\": [\n {\n \"metadata\": {},\n \"name\": \"string\",\n \"rejectedReason\": \"string\",\n \"sha256sum\": \"string\",\n \"size\": 0,\n \"status\": \"string\",\n \"version\": 0\n }\n ]\n },\n \"storedPackageObjectId\": \"string\",\n \"teamId\": \"string\",\n \"updateTool\": \"string\",\n \"updateToolArguments\": \"string\",\n \"updatedAt\": \"2019-08-24T14:15:22Z\",\n \"versionlessDownloadUrl\": True\n }\n ],\n \"updatedAt\": \"2019-08-24T14:15:22Z\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{id}\"\n\npayload = {\n \"createdAt\": \"2019-08-24T14:15:22Z\",\n \"displayName\": \"string\",\n \"id\": \"string\",\n \"settings\": [\n {\n \"allowUpdateDelay\": False,\n \"appCatalogInstallableObjectId\": \"string\",\n \"appFileName\": \"string\",\n \"appleVpp\": {\n \"appConfiguration\": \"string\",\n \"assignedLicenses\": 0,\n \"availableLicenses\": 0,\n \"details\": {},\n \"isConfigEnabled\": True,\n \"supportedDeviceFamilies\": [\"IPAD\"],\n \"totalLicenses\": 0\n },\n \"architectures\": [\"string\"],\n \"assetKind\": \"string\",\n \"assetSha256Size\": 0,\n \"assetSha256Strings\": [\"string\"],\n \"autoUpdate\": False,\n \"bundleId\": \"string\",\n \"commandLineArguments\": \"string\",\n \"createdAt\": \"2019-08-24T14:15:22Z\",\n \"description\": \"string\",\n \"desiredState\": \"string\",\n \"downloadUrl\": \"string\",\n \"enterpriseObjectId\": \"string\",\n \"format\": \"string\",\n \"googleAndroid\": {\n \"androidFeatures\": [\"string\"],\n \"appPricing\": \"string\",\n \"appVersion\": \"string\",\n \"author\": \"string\",\n \"autoUpdateMode\": \"AUTO_UPDATE_DEFAULT\",\n \"category\": \"string\",\n \"contentRating\": \"string\",\n \"displayMode\": \"string\",\n \"distributionChannel\": \"string\",\n \"fullDescription\": \"string\",\n \"iconUrl\": \"string\",\n \"installType\": \"AVAILABLE\",\n \"managedConfigurationTemplateId\": \"string\",\n \"managedProperties\": True,\n \"minSdkVersion\": 0,\n \"name\": \"string\",\n \"permissionGrants\": [\n {\n \"id\": \"string\",\n \"policy\": \"PROMPT\"\n }\n ],\n \"runtimePermission\": \"PROMPT\",\n \"startUrl\": \"string\",\n \"type\": \"APP_TYPE_UNSPECIFIED\",\n \"updateTime\": \"string\",\n \"versionCode\": 0\n },\n \"iconUrl\": \"string\",\n \"location\": \"string\",\n \"locationObjectId\": \"string\",\n \"microsoftStore\": {\n \"doNotUpdate\": True,\n \"nonRemovable\": True,\n \"packageFamilyName\": \"string\"\n },\n \"packageId\": \"string\",\n \"packageKind\": \"string\",\n \"packageManager\": \"string\",\n \"packageSubtitle\": \"string\",\n \"packageVersion\": \"string\",\n \"packageVersionUpdatedAt\": \"2019-08-24T14:15:22Z\",\n \"scope\": \"string\",\n \"shortVersion\": \"string\",\n \"storedPackage\": {\n \"objectId\": \"string\",\n \"versions\": [\n {\n \"metadata\": {},\n \"name\": \"string\",\n \"rejectedReason\": \"string\",\n \"sha256sum\": \"string\",\n \"size\": 0,\n \"status\": \"string\",\n \"version\": 0\n }\n ]\n },\n \"storedPackageObjectId\": \"string\",\n \"teamId\": \"string\",\n \"updateTool\": \"string\",\n \"updateToolArguments\": \"string\",\n \"updatedAt\": \"2019-08-24T14:15:22Z\",\n \"versionlessDownloadUrl\": True\n }\n ],\n \"updatedAt\": \"2019-08-24T14:15:22Z\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"createdAt\":\"2019-08-24T14:15:22Z\",\"displayName\":\"string\",\"id\":\"string\",\"settings\":[{\"allowUpdateDelay\":false,\"appCatalogInstallableObjectId\":\"string\",\"appFileName\":\"string\",\"appleVpp\":{\"appConfiguration\":\"string\",\"assignedLicenses\":0,\"availableLicenses\":0,\"details\":{},\"isConfigEnabled\":true,\"supportedDeviceFamilies\":[\"IPAD\"],\"totalLicenses\":0},\"architectures\":[\"string\"],\"assetKind\":\"string\",\"assetSha256Size\":0,\"assetSha256Strings\":[\"string\"],\"autoUpdate\":false,\"bundleId\":\"string\",\"commandLineArguments\":\"string\",\"createdAt\":\"2019-08-24T14:15:22Z\",\"description\":\"string\",\"desiredState\":\"string\",\"downloadUrl\":\"string\",\"enterpriseObjectId\":\"string\",\"format\":\"string\",\"googleAndroid\":{\"androidFeatures\":[\"string\"],\"appPricing\":\"string\",\"appVersion\":\"string\",\"author\":\"string\",\"autoUpdateMode\":\"AUTO_UPDATE_DEFAULT\",\"category\":\"string\",\"contentRating\":\"string\",\"displayMode\":\"string\",\"distributionChannel\":\"string\",\"fullDescription\":\"string\",\"iconUrl\":\"string\",\"installType\":\"AVAILABLE\",\"managedConfigurationTemplateId\":\"string\",\"managedProperties\":true,\"minSdkVersion\":0,\"name\":\"string\",\"permissionGrants\":[{\"id\":\"string\",\"policy\":\"PROMPT\"}],\"runtimePermission\":\"PROMPT\",\"startUrl\":\"string\",\"type\":\"APP_TYPE_UNSPECIFIED\",\"updateTime\":\"string\",\"versionCode\":0},\"iconUrl\":\"string\",\"location\":\"string\",\"locationObjectId\":\"string\",\"microsoftStore\":{\"doNotUpdate\":true,\"nonRemovable\":true,\"packageFamilyName\":\"string\"},\"packageId\":\"string\",\"packageKind\":\"string\",\"packageManager\":\"string\",\"packageSubtitle\":\"string\",\"packageVersion\":\"string\",\"packageVersionUpdatedAt\":\"2019-08-24T14:15:22Z\",\"scope\":\"string\",\"shortVersion\":\"string\",\"storedPackage\":{\"objectId\":\"string\",\"versions\":[{\"metadata\":{},\"name\":\"string\",\"rejectedReason\":\"string\",\"sha256sum\":\"string\",\"size\":0,\"status\":\"string\",\"version\":0}]},\"storedPackageObjectId\":\"string\",\"teamId\":\"string\",\"updateTool\":\"string\",\"updateToolArguments\":\"string\",\"updatedAt\":\"2019-08-24T14:15:22Z\",\"versionlessDownloadUrl\":true}],\"updatedAt\":\"2019-08-24T14:15:22Z\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"createdAt\":\"2019-08-24T14:15:22Z\",\"displayName\":\"string\",\"id\":\"string\",\"settings\":[{\"allowUpdateDelay\":false,\"appCatalogInstallableObjectId\":\"string\",\"appFileName\":\"string\",\"appleVpp\":{\"appConfiguration\":\"string\",\"assignedLicenses\":0,\"availableLicenses\":0,\"details\":{},\"isConfigEnabled\":true,\"supportedDeviceFamilies\":[\"IPAD\"],\"totalLicenses\":0},\"architectures\":[\"string\"],\"assetKind\":\"string\",\"assetSha256Size\":0,\"assetSha256Strings\":[\"string\"],\"autoUpdate\":false,\"bundleId\":\"string\",\"commandLineArguments\":\"string\",\"createdAt\":\"2019-08-24T14:15:22Z\",\"description\":\"string\",\"desiredState\":\"string\",\"downloadUrl\":\"string\",\"enterpriseObjectId\":\"string\",\"format\":\"string\",\"googleAndroid\":{\"androidFeatures\":[\"string\"],\"appPricing\":\"string\",\"appVersion\":\"string\",\"author\":\"string\",\"autoUpdateMode\":\"AUTO_UPDATE_DEFAULT\",\"category\":\"string\",\"contentRating\":\"string\",\"displayMode\":\"string\",\"distributionChannel\":\"string\",\"fullDescription\":\"string\",\"iconUrl\":\"string\",\"installType\":\"AVAILABLE\",\"managedConfigurationTemplateId\":\"string\",\"managedProperties\":true,\"minSdkVersion\":0,\"name\":\"string\",\"permissionGrants\":[{\"id\":\"string\",\"policy\":\"PROMPT\"}],\"runtimePermission\":\"PROMPT\",\"startUrl\":\"string\",\"type\":\"APP_TYPE_UNSPECIFIED\",\"updateTime\":\"string\",\"versionCode\":0},\"iconUrl\":\"string\",\"location\":\"string\",\"locationObjectId\":\"string\",\"microsoftStore\":{\"doNotUpdate\":true,\"nonRemovable\":true,\"packageFamilyName\":\"string\"},\"packageId\":\"string\",\"packageKind\":\"string\",\"packageManager\":\"string\",\"packageSubtitle\":\"string\",\"packageVersion\":\"string\",\"packageVersionUpdatedAt\":\"2019-08-24T14:15:22Z\",\"scope\":\"string\",\"shortVersion\":\"string\",\"storedPackage\":{\"objectId\":\"string\",\"versions\":[{\"metadata\":{},\"name\":\"string\",\"rejectedReason\":\"string\",\"sha256sum\":\"string\",\"size\":0,\"status\":\"string\",\"version\":0}]},\"storedPackageObjectId\":\"string\",\"teamId\":\"string\",\"updateTool\":\"string\",\"updateToolArguments\":\"string\",\"updatedAt\":\"2019-08-24T14:15:22Z\",\"versionlessDownloadUrl\":true}],\"updatedAt\":\"2019-08-24T14:15:22Z\"}'" } ] }, @@ -17962,15 +19487,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -18009,15 +19534,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"system\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"system\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" } ] } @@ -18105,15 +19630,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/statuses?filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/statuses?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/statuses\"\n\nquerystring = {\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/statuses\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/statuses?filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/statuses?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -18166,15 +19691,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/systemgroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/systemgroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/systemgroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/systemgroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -18227,15 +19752,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/systems?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/systems?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/systems\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/systems\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/systems?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/systems?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -18316,7 +19841,7 @@ }, "/systemgroups": { "get": { - "description": "This endpoint returns all System Groups.\n\nAvailable filter fields:\n - `name`\n - `disabled`\n - `type`\n - `membershipMethod`\n\n#### Sample Request\n\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/systemgroups \\\n -H 'Accept: application/json' \\\n -H 'Content-Type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "description": "This endpoint returns all System Groups.\n\nAvailable filter fields:\n - `name`\n - `disabled`\n - `type`\n - `membershipMethod`\n - `memberQueryErrorFlags`\n\n#### Sample Request\n\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/systemgroups \\\n -H 'Accept: application/json' \\\n -H 'Content-Type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", "operationId": "SystemGroup_List", "parameters": [ { @@ -18369,15 +19894,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -18410,15 +19935,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/systemgroups \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"attributes\":{},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/systemgroups \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"attributes\":{},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups\"\n\npayload = {\n \"attributes\": {},\n \"description\": \"string\",\n \"email\": \"string\",\n \"memberQuery\": {\n \"queryType\": \"Filter\",\n \"filters\": [None]\n },\n \"memberQueryExemptions\": [\n {\n \"attributes\": {},\n \"id\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"memberSuggestionsNotify\": True,\n \"membershipMethod\": \"NOTSET\",\n \"name\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups\"\n\npayload = {\n \"attributes\": {},\n \"description\": \"string\",\n \"email\": \"string\",\n \"memberQuery\": {\n \"queryType\": \"Filter\",\n \"filters\": [None]\n },\n \"memberQueryExemptions\": [\n {\n \"attributes\": {},\n \"id\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"memberSuggestionsNotify\": True,\n \"membershipMethod\": \"NOTSET\",\n \"name\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"attributes\":{},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"attributes\":{},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" } ] }, @@ -18461,15 +19986,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -18508,15 +20033,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"command\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"command\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"command\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"command\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"command\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"command\"}'" } ] }, @@ -18562,15 +20087,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/commands?limit=10&skip=0&filter=&details=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/commands?limit=10&skip=0&details=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/commands\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\",\"details\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/commands\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"details\":\"SOME_STRING_VALUE\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/commands?limit=10&skip=0&filter=&details=SOME_STRING_VALUE' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/commands?limit=10&skip=0&details=SOME_STRING_VALUE' -Method GET -Headers $headers" } ] }, @@ -18634,15 +20159,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/members?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/members?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/members\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/members\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/members?limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/members?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -18687,15 +20212,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/members \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/members \\\n --header 'Authorization: SOME_STRING_VALUE' \\\n --header 'Date: SOME_STRING_VALUE' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/members\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"system\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/members\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"system\"\n}\nheaders = {\n \"Date\": \"SOME_STRING_VALUE\",\n \"Authorization\": \"SOME_STRING_VALUE\",\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/members' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" + "source": "$headers=@{}\n$headers.Add(\"Date\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Authorization\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/members' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" } ] }, @@ -18741,15 +20266,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/membership?limit=10&skip=0&sort=&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/membership?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/membership\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/membership\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/membership?limit=10&skip=0&sort=&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/membership?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -18801,15 +20326,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/policies?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/policies?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/policies\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/policies\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/policies?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/policies?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -18861,15 +20386,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/policygroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/policygroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/policygroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/policygroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/policygroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/policygroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -18926,15 +20451,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/usergroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/usergroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/usergroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/usergroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -18986,15 +20511,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/users?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/users?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/users?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/users?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -19036,15 +20561,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/systemgroups/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/systemgroups/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{id}' -Method DELETE -Headers $headers" } ] }, @@ -19076,15 +20601,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/systemgroups/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/systemgroups/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{id}' -Method GET -Headers $headers" } ] }, @@ -19133,15 +20658,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/systemgroups/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"attributes\":{},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/systemgroups/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"attributes\":{},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{id}\"\n\npayload = {\n \"attributes\": {},\n \"description\": \"string\",\n \"email\": \"string\",\n \"memberQuery\": {\n \"queryType\": \"Filter\",\n \"filters\": [None]\n },\n \"memberQueryExemptions\": [\n {\n \"attributes\": {},\n \"id\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"memberSuggestionsNotify\": True,\n \"membershipMethod\": \"NOTSET\",\n \"name\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{id}\"\n\npayload = {\n \"attributes\": {},\n \"description\": \"string\",\n \"email\": \"string\",\n \"memberQuery\": {\n \"queryType\": \"Filter\",\n \"filters\": [None]\n },\n \"memberQueryExemptions\": [\n {\n \"attributes\": {},\n \"id\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"memberSuggestionsNotify\": True,\n \"membershipMethod\": \"NOTSET\",\n \"name\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"attributes\":{},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"attributes\":{},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" } ] }, @@ -19187,15 +20712,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/alf?filter=&skip=0&sort=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/alf?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/alf\"\n\nquerystring = {\"filter\":\"\",\"skip\":\"0\",\"sort\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/alf\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/alf?filter=&skip=0&sort=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/alf?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19241,15 +20766,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/alf_exceptions?filter=&skip=0&sort=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/alf_exceptions?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/alf_exceptions\"\n\nquerystring = {\"filter\":\"\",\"skip\":\"0\",\"sort\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/alf_exceptions\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/alf_exceptions?filter=&skip=0&sort=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/alf_exceptions?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19295,15 +20820,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/alf_explicit_auths?filter=&skip=0&sort=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/alf_explicit_auths?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/alf_explicit_auths\"\n\nquerystring = {\"filter\":\"\",\"skip\":\"0\",\"sort\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/alf_explicit_auths\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/alf_explicit_auths?filter=&skip=0&sort=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/alf_explicit_auths?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19349,15 +20874,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/appcompat_shims?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/appcompat_shims?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/appcompat_shims\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/appcompat_shims\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/appcompat_shims?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/appcompat_shims?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19403,15 +20928,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/apps?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/apps?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/apps\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/apps\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/apps?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/apps?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19457,15 +20982,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/authorized_keys?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/authorized_keys?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/authorized_keys\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/authorized_keys\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/authorized_keys?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/authorized_keys?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19507,15 +21032,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/azure_instance_metadata?skip=0&sort=&filter=&limit=10'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/azure_instance_metadata?skip=0&limit=10' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/azure_instance_metadata\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nresponse = requests.request(\"GET\", url, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/azure_instance_metadata\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\"x-org-id\": \"SOME_STRING_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/azure_instance_metadata?skip=0&sort=&filter=&limit=10' -Method GET " + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/azure_instance_metadata?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19557,15 +21082,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/azure_instance_tags?skip=0&sort=&filter=&limit=10'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/azure_instance_tags?skip=0&limit=10' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/azure_instance_tags\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nresponse = requests.request(\"GET\", url, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/azure_instance_tags\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\"x-org-id\": \"SOME_STRING_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/azure_instance_tags?skip=0&sort=&filter=&limit=10' -Method GET " + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/azure_instance_tags?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19611,15 +21136,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/battery?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/battery?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/battery\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/battery\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/battery?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/battery?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19665,15 +21190,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/bitlocker_info?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/bitlocker_info?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/bitlocker_info\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/bitlocker_info\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/bitlocker_info?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/bitlocker_info?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19719,15 +21244,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/browser_plugins?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/browser_plugins?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/browser_plugins\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/browser_plugins\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/browser_plugins?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/browser_plugins?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19773,15 +21298,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/certificates?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/certificates?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/certificates\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/certificates\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/certificates?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/certificates?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19823,15 +21348,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/chassis_info?skip=0&sort=&filter=&limit=10'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/chassis_info?skip=0&limit=10' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/chassis_info\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nresponse = requests.request(\"GET\", url, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/chassis_info\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\"x-org-id\": \"SOME_STRING_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/chassis_info?skip=0&sort=&filter=&limit=10' -Method GET " + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/chassis_info?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19877,15 +21402,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/chrome_extensions?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/chrome_extensions?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/chrome_extensions\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/chrome_extensions\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/chrome_extensions?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/chrome_extensions?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19931,15 +21456,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/connectivity?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/connectivity?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/connectivity\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/connectivity\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/connectivity?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/connectivity?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19985,15 +21510,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/crashes?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/crashes?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/crashes\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/crashes\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/crashes?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/crashes?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20039,15 +21564,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/cups_destinations?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/cups_destinations?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/cups_destinations\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/cups_destinations\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/cups_destinations?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/cups_destinations?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20093,15 +21618,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/disk_encryption?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/disk_encryption?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/disk_encryption\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/disk_encryption\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/disk_encryption?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/disk_encryption?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20147,15 +21672,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/disk_info?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/disk_info?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/disk_info\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/disk_info\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/disk_info?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/disk_info?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20201,15 +21726,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/dns_resolvers?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/dns_resolvers?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/dns_resolvers\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/dns_resolvers\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/dns_resolvers?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/dns_resolvers?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20255,15 +21780,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/etc_hosts?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/etc_hosts?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/etc_hosts\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/etc_hosts\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/etc_hosts?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/etc_hosts?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20309,15 +21834,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/firefox_addons?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/firefox_addons?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/firefox_addons\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/firefox_addons\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/firefox_addons?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/firefox_addons?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20363,15 +21888,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/groups?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/groups?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/groups\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/groups\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/groups?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/groups?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20417,15 +21942,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/ie_extensions?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/ie_extensions?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/ie_extensions\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/ie_extensions\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/ie_extensions?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/ie_extensions?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20471,15 +21996,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/interface_addresses?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/interface_addresses?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/interface_addresses\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/interface_addresses\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/interface_addresses?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/interface_addresses?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20525,15 +22050,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/interface_details?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/interface_details?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/interface_details\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/interface_details\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/interface_details?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/interface_details?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20579,15 +22104,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/kernel_info?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/kernel_info?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/kernel_info\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/kernel_info\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/kernel_info?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/kernel_info?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20633,15 +22158,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/launchd?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/launchd?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/launchd\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/launchd\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/launchd?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/launchd?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20687,15 +22212,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/linux_packages?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/linux_packages?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/linux_packages\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/linux_packages\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/linux_packages?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/linux_packages?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20742,15 +22267,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/logged_in_users?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/logged_in_users?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/logged_in_users\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/logged_in_users\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/logged_in_users?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/logged_in_users?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20796,15 +22321,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/logical_drives?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/logical_drives?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/logical_drives\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/logical_drives\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/logical_drives?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/logical_drives?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20850,15 +22375,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/managed_policies?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/managed_policies?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/managed_policies\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/managed_policies\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/managed_policies?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/managed_policies?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20904,15 +22429,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/mounts?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/mounts?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/mounts\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/mounts\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/mounts?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/mounts?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20958,15 +22483,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/os_version?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/os_version?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/os_version\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/os_version\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/os_version?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/os_version?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21012,15 +22537,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/patches?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/patches?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/patches\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/patches\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/patches?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/patches?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21066,15 +22591,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/programs?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/programs?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/programs\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/programs\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/programs?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/programs?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21120,15 +22645,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/python_packages?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/python_packages?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/python_packages\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/python_packages\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/python_packages?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/python_packages?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21174,15 +22699,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/safari_extensions?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/safari_extensions?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/safari_extensions\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/safari_extensions\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/safari_extensions?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/safari_extensions?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21228,15 +22753,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/scheduled_tasks?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/scheduled_tasks?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/scheduled_tasks\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/scheduled_tasks\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/scheduled_tasks?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/scheduled_tasks?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21278,15 +22803,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/secureboot?skip=0&sort=&filter=&limit=10'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/secureboot?skip=0&limit=10' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/secureboot\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nresponse = requests.request(\"GET\", url, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/secureboot\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\"x-org-id\": \"SOME_STRING_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/secureboot?skip=0&sort=&filter=&limit=10' -Method GET " + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/secureboot?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21332,15 +22857,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/services?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/services?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/services\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/services\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/services?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/services?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21386,15 +22911,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/shadow?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/shadow?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/shadow\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/shadow\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/shadow?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/shadow?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21440,15 +22965,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/shared_folders?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/shared_folders?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/shared_folders\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/shared_folders\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/shared_folders?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/shared_folders?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21489,15 +23014,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/shared_resources?skip=0&sort=&filter=&limit=10'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/shared_resources?skip=0&limit=10' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/shared_resources\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nresponse = requests.request(\"GET\", url, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/shared_resources\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\"x-org-id\": \"SOME_STRING_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/shared_resources?skip=0&sort=&filter=&limit=10' -Method GET " + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/shared_resources?skip=0&limit=10' -Method GET -Headers $headers" } ] } @@ -21540,15 +23065,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/sharing_preferences?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/sharing_preferences?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/sharing_preferences\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/sharing_preferences\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/sharing_preferences?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/sharing_preferences?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21594,15 +23119,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/sip_config?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/sip_config?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/sip_config\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/sip_config\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/sip_config?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/sip_config?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21648,15 +23173,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/startup_items?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/startup_items?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/startup_items\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/startup_items\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/startup_items?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/startup_items?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21702,15 +23227,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/system_controls?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/system_controls?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/system_controls\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/system_controls\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/system_controls?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/system_controls?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21756,15 +23281,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/system_info?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/system_info?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/system_info\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/system_info\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/system_info?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/system_info?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21806,15 +23331,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/tpm_info?skip=0&sort=&filter=&limit=10'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/tpm_info?skip=0&limit=10' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/tpm_info\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nresponse = requests.request(\"GET\", url, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/tpm_info\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\"x-org-id\": \"SOME_STRING_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/tpm_info?skip=0&sort=&filter=&limit=10' -Method GET " + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/tpm_info?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21860,15 +23385,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/uptime?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/uptime?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/uptime\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/uptime\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/uptime?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/uptime?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21914,15 +23439,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/usb_devices?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/usb_devices?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/usb_devices\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/usb_devices\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/usb_devices?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/usb_devices?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21968,15 +23493,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/user_groups?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/user_groups?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/user_groups\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/user_groups\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/user_groups?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/user_groups?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -22022,15 +23547,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/user_ssh_keys?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/user_ssh_keys?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/user_ssh_keys\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/user_ssh_keys\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/user_ssh_keys?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/user_ssh_keys?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -22072,15 +23597,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/userassist?skip=0&sort=&filter=&limit=10'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/userassist?skip=0&limit=10' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/userassist\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nresponse = requests.request(\"GET\", url, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/userassist\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\"x-org-id\": \"SOME_STRING_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/userassist?skip=0&sort=&filter=&limit=10' -Method GET " + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/userassist?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -22126,15 +23651,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/users?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/users?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/users\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/users\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/users?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/users?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -22180,15 +23705,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/wifi_networks?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/wifi_networks?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/wifi_networks\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/wifi_networks\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/wifi_networks?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/wifi_networks?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -22234,15 +23759,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/wifi_status?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/wifi_status?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/wifi_status\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/wifi_status\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/wifi_status?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/wifi_status?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -22289,15 +23814,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/windows_security_center?skip=0&sort=&filter=&limit=10'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/windows_security_center?skip=0&limit=10' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/windows_security_center\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nresponse = requests.request(\"GET\", url, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/windows_security_center\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\"x-org-id\": \"SOME_STRING_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/windows_security_center?skip=0&sort=&filter=&limit=10' -Method GET " + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/windows_security_center?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -22343,15 +23868,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/windows_security_products?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/windows_security_products?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/windows_security_products\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/windows_security_products\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/windows_security_products?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/windows_security_products?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -22647,6 +24172,7 @@ }, "/systems/views": {}, "/systems/{systemObjectId}/aggregated-policy-stats": {}, + "/systems/{systemObjectId}/transfer": {}, "/systems/{system_id}/associations": { "get": { "description": "This endpoint returns the _direct_ associations of a System.\n\nA direct association can be a non-homogeneous relationship between 2 different objects, for example Systems and Users.\n\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/systems/{System_ID}/associations?targets=user \\\n -H 'Accept: application/json' \\\n -H 'Content-Type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n\n```", @@ -22688,15 +24214,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'Authorization: SOME_STRING_VALUE' \\\n --header 'Date: SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"Date\": \"SOME_STRING_VALUE\",\n \"Authorization\": \"SOME_STRING_VALUE\",\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"Date\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Authorization\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -22741,15 +24267,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/systems/{system_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true}},\"type\":\"command\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/systems/{system_id}/associations \\\n --header 'Authorization: SOME_STRING_VALUE' \\\n --header 'Date: SOME_STRING_VALUE' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true}},\"type\":\"command\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {\"sudo\": {\n \"enabled\": True,\n \"withoutPassword\": True\n }},\n \"type\": \"command\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {\"sudo\": {\n \"enabled\": True,\n \"withoutPassword\": True\n }},\n \"type\": \"command\"\n}\nheaders = {\n \"Date\": \"SOME_STRING_VALUE\",\n \"Authorization\": \"SOME_STRING_VALUE\",\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true}},\"type\":\"command\"}'" + "source": "$headers=@{}\n$headers.Add(\"Date\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Authorization\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true}},\"type\":\"command\"}'" } ] }, @@ -22795,15 +24321,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/commands?limit=10&skip=0&filter=&details=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/commands?limit=10&skip=0&details=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/commands\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\",\"details\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/commands\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"details\":\"SOME_STRING_VALUE\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/commands?limit=10&skip=0&filter=&details=SOME_STRING_VALUE' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/commands?limit=10&skip=0&details=SOME_STRING_VALUE' -Method GET -Headers $headers" } ] }, @@ -22848,15 +24374,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/systems/{system_id}/fdekey \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/systems/{system_id}/fdekey \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/fdekey\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/fdekey\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/fdekey' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/fdekey' -Method GET -Headers $headers" } ] }, @@ -22916,15 +24442,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/memberof?filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/memberof?limit=10&skip=0' \\\n --header 'Authorization: SOME_STRING_VALUE' \\\n --header 'Date: SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/memberof\"\n\nquerystring = {\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/memberof\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"Date\": \"SOME_STRING_VALUE\",\n \"Authorization\": \"SOME_STRING_VALUE\",\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/memberof?filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"Date\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Authorization\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/memberof?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -22973,15 +24499,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/policies?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/policies?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/policies\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/policies\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/policies?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/policies?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23040,15 +24566,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/policygroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/policygroups?limit=10&skip=0' \\\n --header 'Authorization: SOME_STRING_VALUE' \\\n --header 'Date: SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/policygroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/policygroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"Date\": \"SOME_STRING_VALUE\",\n \"Authorization\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/policygroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Date\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Authorization\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/policygroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23107,15 +24633,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/policystatuses?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/policystatuses?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/policystatuses\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/policystatuses\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/policystatuses?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/policystatuses?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23174,15 +24700,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/usergroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/usergroups?limit=10&skip=0' \\\n --header 'Authorization: SOME_STRING_VALUE' \\\n --header 'Date: SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"Date\": \"SOME_STRING_VALUE\",\n \"Authorization\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/usergroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Date\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Authorization\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/usergroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23241,15 +24767,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/users?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/users?limit=10&skip=0' \\\n --header 'Authorization: SOME_STRING_VALUE' \\\n --header 'Date: SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"Date\": \"SOME_STRING_VALUE\",\n \"Authorization\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/users?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Date\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Authorization\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/users?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23273,10 +24799,54 @@ "settings-feature-trial" ] }, - "/userapprovalrequest": {}, + "/userapprovalrequest": { + "post": { + "description": "Endpoint for user approval", + "operationId": "AccessRequestApproval_Set", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/jumpcloud.ingresso.UserApprovalRequestRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/jumpcloud.ingresso.UserApprovalRequestResponse" + } + } + }, + "security": [ + { + "x-api-key": [] + } + ], + "summary": "User Approval Access Request", + "x-dynamic-gateway": true, + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/userapprovalrequest \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"approvedDuration\":\"string\",\"id\":\"string\",\"organizationObjectId\":\"string\",\"remarks\":\"string\",\"status\":\"string\"}'" + }, + { + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/userapprovalrequest\"\n\npayload = {\n \"approvedDuration\": \"string\",\n \"id\": \"string\",\n \"organizationObjectId\": \"string\",\n \"remarks\": \"string\",\n \"status\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + }, + { + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/userapprovalrequest' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"approvedDuration\":\"string\",\"id\":\"string\",\"organizationObjectId\":\"string\",\"remarks\":\"string\",\"status\":\"string\"}'" + } + ] + } + }, "/usergroups": { "get": { - "description": "This endpoint returns all User Groups.\n\nAvailable filter fields:\n - `name`\n - `disabled`\n - `type`\n - `membershipMethod`\n - `suggestionCounts.add`\n - `suggestionCounts.remove`\n - `suggestionCounts.total`\n - `attributes.sudo.enabled`\n - `attributes.sudo.withoutPassword`\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/usergroups \\\n -H 'Accept: application/json' \\\n -H 'Content-Type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "description": "This endpoint returns all User Groups.\n\nAvailable filter fields:\n - `name`\n - `disabled`\n - `type`\n - `membershipMethod`\n - `memberQueryErrorFlags`\n - `suggestionCounts.add`\n - `suggestionCounts.remove`\n - `suggestionCounts.total`\n - `attributes.sudo.enabled`\n - `attributes.sudo.withoutPassword`\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/usergroups \\\n -H 'Accept: application/json' \\\n -H 'Content-Type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", "operationId": "UserGroup_List", "parameters": [ { @@ -23315,15 +24885,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23356,15 +24926,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/usergroups \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true},\"ldapGroups\":[{\"name\":\"string\"}],\"posixGroups\":[{\"id\":0,\"name\":\"string\"}],\"radius\":{\"reply\":[{\"name\":\"string\",\"value\":\"string\"}]},\"sambaEnabled\":true},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/usergroups \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true},\"ldapGroups\":[{\"name\":\"string\"}],\"posixGroups\":[{\"id\":0,\"name\":\"string\"}],\"radius\":{\"reply\":[{\"name\":\"string\",\"value\":\"string\"}]},\"sambaEnabled\":true},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups\"\n\npayload = {\n \"attributes\": {\n \"sudo\": {\n \"enabled\": True,\n \"withoutPassword\": True\n },\n \"ldapGroups\": [{\"name\": \"string\"}],\n \"posixGroups\": [\n {\n \"id\": 0,\n \"name\": \"string\"\n }\n ],\n \"radius\": {\"reply\": [\n {\n \"name\": \"string\",\n \"value\": \"string\"\n }\n ]},\n \"sambaEnabled\": True\n },\n \"description\": \"string\",\n \"email\": \"string\",\n \"memberQuery\": {\n \"queryType\": \"Filter\",\n \"filters\": [None]\n },\n \"memberQueryExemptions\": [\n {\n \"attributes\": {},\n \"id\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"memberSuggestionsNotify\": True,\n \"membershipMethod\": \"NOTSET\",\n \"name\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups\"\n\npayload = {\n \"attributes\": {\n \"sudo\": {\n \"enabled\": True,\n \"withoutPassword\": True\n },\n \"ldapGroups\": [{\"name\": \"string\"}],\n \"posixGroups\": [\n {\n \"id\": 0,\n \"name\": \"string\"\n }\n ],\n \"radius\": {\"reply\": [\n {\n \"name\": \"string\",\n \"value\": \"string\"\n }\n ]},\n \"sambaEnabled\": True\n },\n \"description\": \"string\",\n \"email\": \"string\",\n \"memberQuery\": {\n \"queryType\": \"Filter\",\n \"filters\": [None]\n },\n \"memberQueryExemptions\": [\n {\n \"attributes\": {},\n \"id\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"memberSuggestionsNotify\": True,\n \"membershipMethod\": \"NOTSET\",\n \"name\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true},\"ldapGroups\":[{\"name\":\"string\"}],\"posixGroups\":[{\"id\":0,\"name\":\"string\"}],\"radius\":{\"reply\":[{\"name\":\"string\",\"value\":\"string\"}]},\"sambaEnabled\":true},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true},\"ldapGroups\":[{\"name\":\"string\"}],\"posixGroups\":[{\"id\":0,\"name\":\"string\"}],\"radius\":{\"reply\":[{\"name\":\"string\",\"value\":\"string\"}]},\"sambaEnabled\":true},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" } ] }, @@ -23407,15 +24977,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/activedirectories?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/activedirectories?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/activedirectories\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/activedirectories\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/activedirectories?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/activedirectories?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23468,15 +25038,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/applications?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/applications?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/applications\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/applications\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/applications?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/applications?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23525,15 +25095,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23572,15 +25142,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/usergroups/{group_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"active_directory\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/usergroups/{group_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"active_directory\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"active_directory\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"active_directory\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"active_directory\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"active_directory\"}'" } ] }, @@ -23624,15 +25194,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/directories?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/directories?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/directories\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/directories\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/directories?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/directories?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23685,15 +25255,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/gsuites?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/gsuites?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/gsuites\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/gsuites\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/gsuites?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/gsuites?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23746,15 +25316,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/ldapservers?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/ldapservers?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/ldapservers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/ldapservers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/ldapservers?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/ldapservers?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23818,15 +25388,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/members?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/members?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/members\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/members\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/members?limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/members?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23865,15 +25435,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/usergroups/{group_id}/members \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/usergroups/{group_id}/members \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/members\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/members\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/members' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/members' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" } ] }, @@ -23887,7 +25457,7 @@ "operationId": "UserGroupMembership_Get", "parameters": [ { - "$ref": "#/parameters/trait:filter:filter" + "$ref": "#/parameters/trait:filter:filterUserGroupMembership" }, { "$ref": "#/parameters/trait:limit:limit" @@ -23919,15 +25489,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/membership?filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/membership?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/membership\"\n\nquerystring = {\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/membership\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/membership?filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/membership?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23979,15 +25549,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/office365s?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/office365s?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/office365s\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/office365s\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/office365s?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/office365s?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -24040,15 +25610,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/radiusservers?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/radiusservers?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/radiusservers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/radiusservers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/radiusservers?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/radiusservers?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -24106,15 +25676,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/systemgroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/systemgroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/systemgroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/systemgroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -24167,15 +25737,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/systems?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/systems?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/systems\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/systems\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/systems?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/systems?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -24218,15 +25788,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/usergroups/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/usergroups/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{id}' -Method DELETE -Headers $headers" } ] }, @@ -24251,15 +25821,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/usergroups/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/usergroups/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{id}' -Method GET -Headers $headers" } ] }, @@ -24301,15 +25871,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/usergroups/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true},\"ldapGroups\":[{\"name\":\"string\"}],\"posixGroups\":[{\"id\":0,\"name\":\"string\"}],\"radius\":{\"reply\":[{\"name\":\"string\",\"value\":\"string\"}]},\"sambaEnabled\":true},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/usergroups/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true},\"ldapGroups\":[{\"name\":\"string\"}],\"posixGroups\":[{\"id\":0,\"name\":\"string\"}],\"radius\":{\"reply\":[{\"name\":\"string\",\"value\":\"string\"}]},\"sambaEnabled\":true},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{id}\"\n\npayload = {\n \"attributes\": {\n \"sudo\": {\n \"enabled\": True,\n \"withoutPassword\": True\n },\n \"ldapGroups\": [{\"name\": \"string\"}],\n \"posixGroups\": [\n {\n \"id\": 0,\n \"name\": \"string\"\n }\n ],\n \"radius\": {\"reply\": [\n {\n \"name\": \"string\",\n \"value\": \"string\"\n }\n ]},\n \"sambaEnabled\": True\n },\n \"description\": \"string\",\n \"email\": \"string\",\n \"memberQuery\": {\n \"queryType\": \"Filter\",\n \"filters\": [None]\n },\n \"memberQueryExemptions\": [\n {\n \"attributes\": {},\n \"id\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"memberSuggestionsNotify\": True,\n \"membershipMethod\": \"NOTSET\",\n \"name\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{id}\"\n\npayload = {\n \"attributes\": {\n \"sudo\": {\n \"enabled\": True,\n \"withoutPassword\": True\n },\n \"ldapGroups\": [{\"name\": \"string\"}],\n \"posixGroups\": [\n {\n \"id\": 0,\n \"name\": \"string\"\n }\n ],\n \"radius\": {\"reply\": [\n {\n \"name\": \"string\",\n \"value\": \"string\"\n }\n ]},\n \"sambaEnabled\": True\n },\n \"description\": \"string\",\n \"email\": \"string\",\n \"memberQuery\": {\n \"queryType\": \"Filter\",\n \"filters\": [None]\n },\n \"memberQueryExemptions\": [\n {\n \"attributes\": {},\n \"id\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"memberSuggestionsNotify\": True,\n \"membershipMethod\": \"NOTSET\",\n \"name\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true},\"ldapGroups\":[{\"name\":\"string\"}],\"posixGroups\":[{\"id\":0,\"name\":\"string\"}],\"radius\":{\"reply\":[{\"name\":\"string\",\"value\":\"string\"}]},\"sambaEnabled\":true},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true},\"ldapGroups\":[{\"name\":\"string\"}],\"posixGroups\":[{\"id\":0,\"name\":\"string\"}],\"radius\":{\"reply\":[{\"name\":\"string\",\"value\":\"string\"}]},\"sambaEnabled\":true},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" } ] }, @@ -24353,15 +25923,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/activedirectories?filter=&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/activedirectories?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/activedirectories\"\n\nquerystring = {\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/activedirectories\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/activedirectories?filter=&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/activedirectories?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -24413,15 +25983,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/applications?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/applications?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/applications\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/applications\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/applications?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/applications?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -24473,15 +26043,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -24520,15 +26090,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/users/{user_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true}},\"type\":\"active_directory\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/users/{user_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true}},\"type\":\"active_directory\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {\"sudo\": {\n \"enabled\": True,\n \"withoutPassword\": True\n }},\n \"type\": \"active_directory\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {\"sudo\": {\n \"enabled\": True,\n \"withoutPassword\": True\n }},\n \"type\": \"active_directory\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true}},\"type\":\"active_directory\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true}},\"type\":\"active_directory\"}'" } ] }, @@ -24571,15 +26141,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/directories?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/directories?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/directories\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/directories\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/directories?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/directories?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -24642,15 +26212,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/gsuites?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/gsuites?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/gsuites\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/gsuites\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/gsuites?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/gsuites?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -24702,15 +26272,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/ldapservers?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/ldapservers?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/ldapservers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/ldapservers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/ldapservers?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/ldapservers?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -24733,7 +26303,7 @@ "operationId": "UserMember_Get", "parameters": [ { - "$ref": "#/parameters/trait:filter:filter" + "$ref": "#/parameters/trait:filter:filterUserMemberOf" }, { "$ref": "#/parameters/trait:limit:limit" @@ -24765,15 +26335,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/memberof?filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/memberof?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/memberof\"\n\nquerystring = {\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/memberof\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/memberof?filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/memberof?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -24825,15 +26395,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/office365s?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/office365s?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/office365s\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/office365s\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/office365s?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/office365s?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -24872,15 +26442,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints' -Method GET -Headers $headers" } ] }, @@ -24925,15 +26495,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id}' -Method DELETE -Headers $headers" } ] }, @@ -24958,15 +26528,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id}' -Method GET -Headers $headers" } ] }, @@ -25033,15 +26603,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PATCH \\\n --url https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"name\":\"string\",\"state\":\"active\"}'" + "source": "curl --request PATCH \\\n --url https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"name\":\"string\",\"state\":\"active\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id}\"\n\npayload = {\n \"name\": \"string\",\n \"state\": \"active\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id}\"\n\npayload = {\n \"name\": \"string\",\n \"state\": \"active\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\",\"state\":\"active\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\",\"state\":\"active\"}'" } ] } @@ -25081,15 +26651,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/radiusservers?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/radiusservers?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/radiusservers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/radiusservers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/radiusservers?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/radiusservers?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -25141,15 +26711,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/systemgroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/systemgroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/systemgroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/systemgroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -25198,15 +26768,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/systems?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/systems?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/systems\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/systems\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/systems?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/systems?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -25343,15 +26913,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/workdays?fields=&limit=10&skip=0&sort=&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/workdays?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays\"\n\nquerystring = {\"fields\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays?fields=&limit=10&skip=0&sort=&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -25384,15 +26954,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/workdays \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"auth\":{\"basic\":{\"password\":\"in tempor ipsum quis\",\"username\":\"mollit ex\"},\"oauth\":{\"code\":\"non laborum dolore\"}},\"name\":\"dolore tempor\",\"reportUrl\":\"est sit laboris\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/workdays \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"auth\":{\"basic\":{\"password\":\"in tempor ipsum quis\",\"username\":\"mollit ex\"},\"oauth\":{\"code\":\"non laborum dolore\"}},\"name\":\"dolore tempor\",\"reportUrl\":\"est sit laboris\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays\"\n\npayload = {\n \"auth\": {\n \"basic\": {\n \"password\": \"in tempor ipsum quis\",\n \"username\": \"mollit ex\"\n },\n \"oauth\": {\"code\": \"non laborum dolore\"}\n },\n \"name\": \"dolore tempor\",\n \"reportUrl\": \"est sit laboris\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays\"\n\npayload = {\n \"auth\": {\n \"basic\": {\n \"password\": \"in tempor ipsum quis\",\n \"username\": \"mollit ex\"\n },\n \"oauth\": {\"code\": \"non laborum dolore\"}\n },\n \"name\": \"dolore tempor\",\n \"reportUrl\": \"est sit laboris\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"auth\":{\"basic\":{\"password\":\"in tempor ipsum quis\",\"username\":\"mollit ex\"},\"oauth\":{\"code\":\"non laborum dolore\"}},\"name\":\"dolore tempor\",\"reportUrl\":\"est sit laboris\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"auth\":{\"basic\":{\"password\":\"in tempor ipsum quis\",\"username\":\"mollit ex\"},\"oauth\":{\"code\":\"non laborum dolore\"}},\"name\":\"dolore tempor\",\"reportUrl\":\"est sit laboris\"}'" } ] }, @@ -25422,15 +26992,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/workdays/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/workdays/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{id}' -Method GET -Headers $headers" } ] }, @@ -25471,15 +27041,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/workdays/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"name\":\"string\",\"reportUrl\":\"string\"}'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/workdays/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"name\":\"string\",\"reportUrl\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{id}\"\n\npayload = {\n \"name\": \"string\",\n \"reportUrl\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{id}\"\n\npayload = {\n \"name\": \"string\",\n \"reportUrl\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\",\"reportUrl\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\",\"reportUrl\":\"string\"}'" } ] }, @@ -25519,15 +27089,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/workdays/{id}/import/{job_id}/results?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/workdays/{id}/import/{job_id}/results?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{id}/import/{job_id}/results\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{id}/import/{job_id}/results\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{id}/import/{job_id}/results?limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{id}/import/{job_id}/results?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -25568,15 +27138,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/workdays/{workday_id}/auth \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/workdays/{workday_id}/auth \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{workday_id}/auth\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{workday_id}/auth\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{workday_id}/auth' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{workday_id}/auth' -Method DELETE -Headers $headers" } ] }, @@ -25614,15 +27184,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/workdays/{workday_id}/auth \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"auth\":{\"basic\":{\"password\":\"mollit cillum\",\"username\":\"veniam dolore\"},\"oauth\":{\"code\":\"minim ad ea dolor\"}}}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/workdays/{workday_id}/auth \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"auth\":{\"basic\":{\"password\":\"mollit cillum\",\"username\":\"veniam dolore\"},\"oauth\":{\"code\":\"minim ad ea dolor\"}}}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{workday_id}/auth\"\n\npayload = {\"auth\": {\n \"basic\": {\n \"password\": \"mollit cillum\",\n \"username\": \"veniam dolore\"\n },\n \"oauth\": {\"code\": \"minim ad ea dolor\"}\n }}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{workday_id}/auth\"\n\npayload = {\"auth\": {\n \"basic\": {\n \"password\": \"mollit cillum\",\n \"username\": \"veniam dolore\"\n },\n \"oauth\": {\"code\": \"minim ad ea dolor\"}\n }}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{workday_id}/auth' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"auth\":{\"basic\":{\"password\":\"mollit cillum\",\"username\":\"veniam dolore\"},\"oauth\":{\"code\":\"minim ad ea dolor\"}}}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{workday_id}/auth' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"auth\":{\"basic\":{\"password\":\"mollit cillum\",\"username\":\"veniam dolore\"},\"oauth\":{\"code\":\"minim ad ea dolor\"}}}'" } ] }, @@ -25671,15 +27241,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/workdays/{workday_id}/import \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '[{\"attributes\":[{}],\"email\":\"string\",\"firstname\":\"string\",\"lastname\":\"string\",\"username\":\"string\"}]'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/workdays/{workday_id}/import \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '[{\"attributes\":[{}],\"email\":\"string\",\"firstname\":\"string\",\"lastname\":\"string\",\"username\":\"string\"}]'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{workday_id}/import\"\n\npayload = [\n {\n \"attributes\": [{}],\n \"email\": \"string\",\n \"firstname\": \"string\",\n \"lastname\": \"string\",\n \"username\": \"string\"\n }\n]\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{workday_id}/import\"\n\npayload = [\n {\n \"attributes\": [{}],\n \"email\": \"string\",\n \"firstname\": \"string\",\n \"lastname\": \"string\",\n \"username\": \"string\"\n }\n]\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{workday_id}/import' -Method POST -Headers $headers -ContentType 'application/json' -Body '[{\"attributes\":[{}],\"email\":\"string\",\"firstname\":\"string\",\"lastname\":\"string\",\"username\":\"string\"}]'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{workday_id}/import' -Method POST -Headers $headers -ContentType 'application/json' -Body '[{\"attributes\":[{}],\"email\":\"string\",\"firstname\":\"string\",\"lastname\":\"string\",\"username\":\"string\"}]'" } ] }, @@ -25743,15 +27313,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/workdays/{workday_id}/workers?limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/workdays/{workday_id}/workers?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{workday_id}/workers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{workday_id}/workers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{workday_id}/workers?limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{workday_id}/workers?limit=10&skip=0' -Method GET -Headers $headers" } ] }, diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/Module.cs b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/Module.cs index 66f53e887..d09ff8a4a 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/Module.cs +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/Module.cs @@ -212,10 +212,10 @@ protected async Task AddAuthHeaders(HttpRequestMessage requ request.Headers.Add("Accept", "application/json"); } // If headers do not contain an "UserAgent" with the correct value fix it - if (request.Headers.UserAgent.ToString() != "JumpCloud_JumpCloud.PowerShell.SDK.V2/0.1.2") + if (request.Headers.UserAgent.ToString() != "JumpCloud_JumpCloud.PowerShell.SDK.V2/0.2.0") { request.Headers.UserAgent.Clear(); - request.Headers.UserAgent.ParseAdd("JumpCloud_JumpCloud.PowerShell.SDK.V2/0.1.2"); + request.Headers.UserAgent.ParseAdd("JumpCloud_JumpCloud.PowerShell.SDK.V2/0.2.0"); } // // request.Headers.Add("Content-Type", "application/json"); System.Net.Http.HttpResponseMessage response = await next.SendAsync(request, callback); diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Clear-JcSdkAppleMdmDevice.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Clear-JcSdkAppleMdmDevice.ps1 index cd35f1aac..ac8c36063 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Clear-JcSdkAppleMdmDevice.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Clear-JcSdkAppleMdmDevice.ps1 @@ -51,6 +51,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Clear-JcSdkAppleMdmDeviceActivationLock.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Clear-JcSdkAppleMdmDeviceActivationLock.ps1 index 66ff09293..9f170e174 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Clear-JcSdkAppleMdmDeviceActivationLock.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Clear-JcSdkAppleMdmDeviceActivationLock.ps1 @@ -46,6 +46,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkAccessRequest.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkAccessRequest.ps1 new file mode 100644 index 000000000..6910c66c0 --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkAccessRequest.ps1 @@ -0,0 +1,257 @@ +<# +.Synopsis +Endpoint that returns the workflow access request by id +.Description +Endpoint that returns the workflow access request by id +.Example +PS C:\> Get-JcSdkAccessRequest -Id:() +.Example +PS C:\> Get-JcSdkAccessRequest -Fields:() -Filter:() -Sort:() + +.Inputs +JumpCloud.SDK.V2.Models.IJumpCloudApiIdentity +.Outputs +JumpCloud.SDK.V2.Models.IJumpcloudIngressoGetAllWorkflowAccessRequestResponse +.Outputs +JumpCloud.SDK.V2.Models.IJumpcloudIngressoGetWorkflowAccessRequestResponse +.Notes +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT : + [AccountId ]: + [ActivedirectoryId ]: + [AdministratorId ]: + [AgentId ]: + [AppleMdmId ]: + [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: + [CommandId ]: ObjectID of the Command. + [CustomEmailType ]: + [DeviceId ]: + [GroupId ]: ObjectID of the Policy Group. + [GsuiteId ]: ObjectID of the G Suite instance. + [Id ]: ObjectID of this Active Directory instance. + [JobId ]: + [LdapserverId ]: ObjectID of the LDAP Server. + [Office365Id ]: ObjectID of the Office 365 instance. + [PolicyId ]: ObjectID of the Policy. + [ProviderId ]: + [PushEndpointId ]: + [RadiusserverId ]: ObjectID of the Radius Server. + [SoftwareAppId ]: ObjectID of the Software App. + [SystemId ]: ObjectID of the System. + [UserId ]: ObjectID of the User. + [WorkdayId ]: +.Link +https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkAccessRequest.md +#> + Function Get-JcSdkAccessRequest +{ + [OutputType([JumpCloud.SDK.V2.Models.IJumpcloudIngressoGetWorkflowAccessRequestResponse], [JumpCloud.SDK.V2.Models.IJumpcloudIngressoGetAllWorkflowAccessRequestResponse])] + [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] + Param( + [Parameter(Mandatory)] + [JumpCloud.SDK.V2.Category('Uri')] + [System.String] + # Region for JumpCloud API host. + # Use 'console' for US or 'console.eu' for EU. + ${ConsoleHost}, + + [Parameter(ParameterSetName='Get', Mandatory)] + [JumpCloud.SDK.V2.Category('Path')] + [System.String] + # . + ${Id}, + + [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] + [JumpCloud.SDK.V2.Category('Path')] + [JumpCloud.SDK.V2.Models.IJumpCloudApiIdentity] + # Identity Parameter + ${InputObject}, + + [Parameter()] + [JumpCloud.SDK.V2.Category('Query')] + [JumpCloud.SDK.V2.Runtime.Info(PossibleTypes=([System.Byte[]]))] + [System.Byte[]] + # . + ${OrganizationObjectId}, + + [Parameter(ParameterSetName='List')] + [AllowEmptyCollection()] + [JumpCloud.SDK.V2.Category('Query')] + [JumpCloud.SDK.V2.Runtime.Info(PossibleTypes=([System.String]))] + [System.Collections.Generic.List[System.String]] + # . + ${Fields}, + + [Parameter(ParameterSetName='List')] + [AllowEmptyCollection()] + [JumpCloud.SDK.V2.Category('Query')] + [JumpCloud.SDK.V2.Runtime.Info(PossibleTypes=([System.String]))] + [System.Collections.Generic.List[System.String]] + # . + ${Filter}, + + [Parameter(ParameterSetName='List')] + [JumpCloud.SDK.V2.Category('Query')] + [System.String] + # . + ${Sort}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [JumpCloud.SDK.V2.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [JumpCloud.SDK.V2.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials}, + + [Parameter(DontShow)] + [System.Boolean] + # Set to $true to return all results. This will overwrite any skip and limit parameter. + $Paginate = $true + ) + Begin + { + $Results = @() + $PSBoundParameters.Add('HttpPipelineAppend', { + param($req, $callback, $next) + # call the next step in the Pipeline + $ResponseTask = $next.SendAsync($req, $callback) + $global:JCHttpRequest = $req + $global:JCHttpRequestContent = If (-not [System.String]::IsNullOrEmpty($req.Content)) { $req.Content.ReadAsStringAsync() } + $global:JCHttpResponse = $ResponseTask + # $global:JCHttpResponseContent = If (-not [System.String]::IsNullOrEmpty($ResponseTask.Result.Content)) { $ResponseTask.Result.Content.ReadAsStringAsync() } + Return $ResponseTask + } + ) + } + Process + { + If ($Paginate -and $PSCmdlet.ParameterSetName -in ('List')) { + $PSBoundParameters.Remove('Paginate') | Out-Null + If ([System.String]::IsNullOrEmpty($PSBoundParameters.Limit)) { + $PSBoundParameters.Add('Limit', 100) + } + If ([System.String]::IsNullOrEmpty($PSBoundParameters.Skip)) { + $PSBoundParameters.Add('Skip', 0) + } + Do { + Write-Debug ("Limit: $($PSBoundParameters.Limit); "); + Write-Debug ("Skip: $($PSBoundParameters.Skip); "); + $maxRetries = 4 + $resultCounter = 0 + :retryLoop do { + $resultCounter++ + $Result = JumpCloud.SDK.V2.internal\Get-JcSdkInternalAccessRequest @PSBoundParameters -errorAction SilentlyContinue -errorVariable sdkError + If ($sdkError){ + If ($resultCounter -eq $maxRetries){ + throw $sdkError + } + If ($JCHttpResponse.Result.StatusCode -eq "503") { + Write-Warning ("503: Service Unavailable - retrying in " + ($resultCounter * 5) + " seconds.") + } else { + throw $sdkError + } + } else { + break retryLoop + } + Start-Sleep -Seconds ($resultCounter * 5) + } while ($resultCounter -lt $maxRetries) + Write-Debug ('HttpRequest: ' + $JCHttpRequest); + Write-Debug ('HttpRequestContent: ' + $JCHttpRequestContent.Result); + Write-Debug ('HttpResponse: ' + $JCHttpResponse.Result); + # Write-Debug ('HttpResponseContent: ' + $JCHttpResponseContent.Result); + $Result = If ('Results' -in $Result.PSObject.Properties.Name) { + $Result.results + } Else { + $Result + } + If (-not [System.String]::IsNullOrEmpty($Result)) + { + $ResultCount = ($Result | Measure-Object).Count; + $Results += $Result; + $PSBoundParameters.Skip += $ResultCount + } + } + While ($ResultCount -eq $PSBoundParameters.Limit -and -not [System.String]::IsNullOrEmpty($Result)) + } Else { + $PSBoundParameters.Remove('Paginate') | Out-Null + $maxRetries = 4 + $resultCounter = 0 + :retryLoop do { + $resultCounter++ + $Result = JumpCloud.SDK.V2.internal\Get-JcSdkInternalAccessRequest @PSBoundParameters -errorAction SilentlyContinue -errorVariable sdkError + If ($sdkError){ + If ($resultCounter -eq $maxRetries){ + throw $sdkError + } + If ($JCHttpResponse.Result.StatusCode -eq "503") { + Write-Warning ("503: Service Unavailable - retrying in " + ($resultCounter * 5) + " seconds.") + } else { + throw $sdkError + } + } else { + break retryLoop + } + Start-Sleep -Seconds ($resultCounter * 5) + } while ($resultCounter -lt $maxRetries) + Write-Debug ('HttpRequest: ' + $JCHttpRequest); + Write-Debug ('HttpRequestContent: ' + $JCHttpRequestContent.Result); + Write-Debug ('HttpResponse: ' + $JCHttpResponse.Result); + # Write-Debug ('HttpResponseContent: ' + $JCHttpResponseContent.Result); + $Result = If ('Results' -in $Result.PSObject.Properties.Name) { + $Result.results + } Else { + $Result + } + If (-not [System.String]::IsNullOrEmpty($Result)) { + $Results += $Result; + } + } + } + End + { + # Clean up global variables + $GlobalVars = @('JCHttpRequest', 'JCHttpRequestContent', 'JCHttpResponse','JCHttpResponseContent') + $GlobalVars | ForEach-Object { + If ((Get-Variable -Scope:('Global')).Where( { $_.Name -eq $_ })) { Remove-Variable -Name:($_) -Scope:('Global') } + } + Return $Results + } +} + + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkAccessRequestProgress.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkAccessRequestProgress.ps1 new file mode 100644 index 000000000..f842de8ed --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkAccessRequestProgress.ps1 @@ -0,0 +1,176 @@ +<# +.Synopsis +Endpoint for getting the approval progress of a access request +.Description +Endpoint for getting the approval progress of a access request +.Example +PS C:\> Get-JcSdkAccessRequestProgress -Id:() + +.Inputs +JumpCloud.SDK.V2.Models.IJumpCloudApiIdentity +.Outputs +JumpCloud.SDK.V2.Models.IJumpcloudIngressoGetAccessRequestApprovalProgressResponse +.Notes +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT : + [AccountId ]: + [ActivedirectoryId ]: + [AdministratorId ]: + [AgentId ]: + [AppleMdmId ]: + [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: + [CommandId ]: ObjectID of the Command. + [CustomEmailType ]: + [DeviceId ]: + [GroupId ]: ObjectID of the Policy Group. + [GsuiteId ]: ObjectID of the G Suite instance. + [Id ]: ObjectID of this Active Directory instance. + [JobId ]: + [LdapserverId ]: ObjectID of the LDAP Server. + [Office365Id ]: ObjectID of the Office 365 instance. + [PolicyId ]: ObjectID of the Policy. + [ProviderId ]: + [PushEndpointId ]: + [RadiusserverId ]: ObjectID of the Radius Server. + [SoftwareAppId ]: ObjectID of the Software App. + [SystemId ]: ObjectID of the System. + [UserId ]: ObjectID of the User. + [WorkdayId ]: +.Link +https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkAccessRequestProgress.md +#> + Function Get-JcSdkAccessRequestProgress +{ + [OutputType([JumpCloud.SDK.V2.Models.IJumpcloudIngressoGetAccessRequestApprovalProgressResponse])] + [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] + Param( + [Parameter(Mandatory)] + [JumpCloud.SDK.V2.Category('Uri')] + [System.String] + # Region for JumpCloud API host. + # Use 'console' for US or 'console.eu' for EU. + ${ConsoleHost}, + + [Parameter(ParameterSetName='Get', Mandatory)] + [JumpCloud.SDK.V2.Category('Path')] + [System.String] + # . + ${Id}, + + [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] + [JumpCloud.SDK.V2.Category('Path')] + [JumpCloud.SDK.V2.Models.IJumpCloudApiIdentity] + # Identity Parameter + ${InputObject}, + + [Parameter()] + [JumpCloud.SDK.V2.Category('Query')] + [JumpCloud.SDK.V2.Runtime.Info(PossibleTypes=([System.Byte[]]))] + [System.Byte[]] + # . + ${OrganizationObjectId}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [JumpCloud.SDK.V2.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [JumpCloud.SDK.V2.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} + ) + Begin + { + $Results = @() + $PSBoundParameters.Add('HttpPipelineAppend', { + param($req, $callback, $next) + # call the next step in the Pipeline + $ResponseTask = $next.SendAsync($req, $callback) + $global:JCHttpRequest = $req + $global:JCHttpRequestContent = If (-not [System.String]::IsNullOrEmpty($req.Content)) { $req.Content.ReadAsStringAsync() } + $global:JCHttpResponse = $ResponseTask + # $global:JCHttpResponseContent = If (-not [System.String]::IsNullOrEmpty($ResponseTask.Result.Content)) { $ResponseTask.Result.Content.ReadAsStringAsync() } + Return $ResponseTask + } + ) + } + Process + { + $maxRetries = 4 + $resultCounter = 0 + :retryLoop do { + $resultCounter++ + $Result = JumpCloud.SDK.V2.internal\Get-JcSdkInternalAccessRequestProgress @PSBoundParameters -errorAction SilentlyContinue -errorVariable sdkError + If ($sdkError){ + If ($resultCounter -eq $maxRetries){ + throw + } + If ($JCHttpResponse.Result.StatusCode -eq "503") { + Write-Warning ("503: Service Unavailable - retrying in " + ($resultCounter * 5) + " seconds.") + } else { + throw $sdkError + } + } else { + break retryLoop + } + Start-Sleep -Seconds ($resultCounter * 5) + } while ($resultCounter -lt $maxRetries) + Write-Debug ('HttpRequest: ' + $JCHttpRequest); + Write-Debug ('HttpRequestContent: ' + $JCHttpRequestContent.Result); + Write-Debug ('HttpResponse: ' + $JCHttpResponse.Result); + # Write-Debug ('HttpResponseContent: ' + $JCHttpResponseContent.Result); + $Result = If ('Results' -in $Result.PSObject.Properties.Name) { + $Result.results + } Else { + $Result + } + If (-not [System.String]::IsNullOrEmpty($Result)) { + $Results += $Result; + } + } + End + { + # Clean up global variables + $GlobalVars = @('JCHttpRequest', 'JCHttpRequestContent', 'JCHttpResponse','JCHttpResponseContent') + $GlobalVars | ForEach-Object { + If ((Get-Variable -Scope:('Global')).Where( { $_.Name -eq $_ })) { Remove-Variable -Name:($_) -Scope:('Global') } + } + Return $Results + } +} + + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkActiveDirectory.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkActiveDirectory.ps1 index 3d544993b..531df2324 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkActiveDirectory.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkActiveDirectory.ps1 @@ -62,6 +62,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkActiveDirectoryAgent.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkActiveDirectoryAgent.ps1 index 89c7ed4fe..7727b4369 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkActiveDirectoryAgent.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkActiveDirectoryAgent.ps1 @@ -64,6 +64,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkActiveDirectoryAssociation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkActiveDirectoryAssociation.ps1 index 70921e7ab..cef3273bd 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkActiveDirectoryAssociation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkActiveDirectoryAssociation.ps1 @@ -61,6 +61,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkActiveDirectoryTraverseUser.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkActiveDirectoryTraverseUser.ps1 index 0435e6d69..6f78e9a45 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkActiveDirectoryTraverseUser.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkActiveDirectoryTraverseUser.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkActiveDirectoryTraverseUserGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkActiveDirectoryTraverseUserGroup.ps1 index cac43e049..ec9dc41c8 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkActiveDirectoryTraverseUserGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkActiveDirectoryTraverseUserGroup.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkAppleMdmDevice.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkAppleMdmDevice.ps1 index 469a67611..2a6244314 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkAppleMdmDevice.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkAppleMdmDevice.ps1 @@ -102,6 +102,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkApplicationAssociation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkApplicationAssociation.ps1 index 2ce79f9ad..3d8446bfd 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkApplicationAssociation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkApplicationAssociation.ps1 @@ -59,6 +59,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkApplicationTraverseUser.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkApplicationTraverseUser.ps1 index 19791e6f7..0a00ff4cb 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkApplicationTraverseUser.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkApplicationTraverseUser.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkApplicationTraverseUserGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkApplicationTraverseUserGroup.ps1 index 2c0f77c90..9b66b8d65 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkApplicationTraverseUserGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkApplicationTraverseUserGroup.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkApprovalFlow.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkApprovalFlow.ps1 new file mode 100644 index 000000000..c9a5bcc02 --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkApprovalFlow.ps1 @@ -0,0 +1,257 @@ +<# +.Synopsis +Endpoint for getting workflow by id +.Description +Endpoint for getting workflow by id +.Example +PS C:\> Get-JcSdkApprovalFlow -ApprovalFlowId:() +.Example +PS C:\> Get-JcSdkApprovalFlow -Fields:() -Filter:() -Sort:() + +.Inputs +JumpCloud.SDK.V2.Models.IJumpCloudApiIdentity +.Outputs +JumpCloud.SDK.V2.Models.IJumpcloudIngressoAccessWorkflow +.Outputs +JumpCloud.SDK.V2.Models.IJumpcloudIngressoGetAllAccessWorkFlowsResponse +.Notes +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT : + [AccountId ]: + [ActivedirectoryId ]: + [AdministratorId ]: + [AgentId ]: + [AppleMdmId ]: + [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: + [CommandId ]: ObjectID of the Command. + [CustomEmailType ]: + [DeviceId ]: + [GroupId ]: ObjectID of the Policy Group. + [GsuiteId ]: ObjectID of the G Suite instance. + [Id ]: ObjectID of this Active Directory instance. + [JobId ]: + [LdapserverId ]: ObjectID of the LDAP Server. + [Office365Id ]: ObjectID of the Office 365 instance. + [PolicyId ]: ObjectID of the Policy. + [ProviderId ]: + [PushEndpointId ]: + [RadiusserverId ]: ObjectID of the Radius Server. + [SoftwareAppId ]: ObjectID of the Software App. + [SystemId ]: ObjectID of the System. + [UserId ]: ObjectID of the User. + [WorkdayId ]: +.Link +https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkApprovalFlow.md +#> + Function Get-JcSdkApprovalFlow +{ + [OutputType([JumpCloud.SDK.V2.Models.IJumpcloudIngressoAccessWorkflow], [JumpCloud.SDK.V2.Models.IJumpcloudIngressoGetAllAccessWorkFlowsResponse])] + [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] + Param( + [Parameter(Mandatory)] + [JumpCloud.SDK.V2.Category('Uri')] + [System.String] + # Region for JumpCloud API host. + # Use 'console' for US or 'console.eu' for EU. + ${ConsoleHost}, + + [Parameter(ParameterSetName='Get', Mandatory)] + [JumpCloud.SDK.V2.Category('Path')] + [System.String] + # . + ${ApprovalFlowId}, + + [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] + [JumpCloud.SDK.V2.Category('Path')] + [JumpCloud.SDK.V2.Models.IJumpCloudApiIdentity] + # Identity Parameter + ${InputObject}, + + [Parameter()] + [JumpCloud.SDK.V2.Category('Query')] + [JumpCloud.SDK.V2.Runtime.Info(PossibleTypes=([System.Byte[]]))] + [System.Byte[]] + # . + ${OrganizationObjectId}, + + [Parameter(ParameterSetName='List')] + [AllowEmptyCollection()] + [JumpCloud.SDK.V2.Category('Query')] + [JumpCloud.SDK.V2.Runtime.Info(PossibleTypes=([System.String]))] + [System.Collections.Generic.List[System.String]] + # . + ${Fields}, + + [Parameter(ParameterSetName='List')] + [AllowEmptyCollection()] + [JumpCloud.SDK.V2.Category('Query')] + [JumpCloud.SDK.V2.Runtime.Info(PossibleTypes=([System.String]))] + [System.Collections.Generic.List[System.String]] + # . + ${Filter}, + + [Parameter(ParameterSetName='List')] + [JumpCloud.SDK.V2.Category('Query')] + [System.String] + # . + ${Sort}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [JumpCloud.SDK.V2.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [JumpCloud.SDK.V2.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials}, + + [Parameter(DontShow)] + [System.Boolean] + # Set to $true to return all results. This will overwrite any skip and limit parameter. + $Paginate = $true + ) + Begin + { + $Results = @() + $PSBoundParameters.Add('HttpPipelineAppend', { + param($req, $callback, $next) + # call the next step in the Pipeline + $ResponseTask = $next.SendAsync($req, $callback) + $global:JCHttpRequest = $req + $global:JCHttpRequestContent = If (-not [System.String]::IsNullOrEmpty($req.Content)) { $req.Content.ReadAsStringAsync() } + $global:JCHttpResponse = $ResponseTask + # $global:JCHttpResponseContent = If (-not [System.String]::IsNullOrEmpty($ResponseTask.Result.Content)) { $ResponseTask.Result.Content.ReadAsStringAsync() } + Return $ResponseTask + } + ) + } + Process + { + If ($Paginate -and $PSCmdlet.ParameterSetName -in ('List')) { + $PSBoundParameters.Remove('Paginate') | Out-Null + If ([System.String]::IsNullOrEmpty($PSBoundParameters.Limit)) { + $PSBoundParameters.Add('Limit', 100) + } + If ([System.String]::IsNullOrEmpty($PSBoundParameters.Skip)) { + $PSBoundParameters.Add('Skip', 0) + } + Do { + Write-Debug ("Limit: $($PSBoundParameters.Limit); "); + Write-Debug ("Skip: $($PSBoundParameters.Skip); "); + $maxRetries = 4 + $resultCounter = 0 + :retryLoop do { + $resultCounter++ + $Result = JumpCloud.SDK.V2.internal\Get-JcSdkInternalApprovalFlow @PSBoundParameters -errorAction SilentlyContinue -errorVariable sdkError + If ($sdkError){ + If ($resultCounter -eq $maxRetries){ + throw $sdkError + } + If ($JCHttpResponse.Result.StatusCode -eq "503") { + Write-Warning ("503: Service Unavailable - retrying in " + ($resultCounter * 5) + " seconds.") + } else { + throw $sdkError + } + } else { + break retryLoop + } + Start-Sleep -Seconds ($resultCounter * 5) + } while ($resultCounter -lt $maxRetries) + Write-Debug ('HttpRequest: ' + $JCHttpRequest); + Write-Debug ('HttpRequestContent: ' + $JCHttpRequestContent.Result); + Write-Debug ('HttpResponse: ' + $JCHttpResponse.Result); + # Write-Debug ('HttpResponseContent: ' + $JCHttpResponseContent.Result); + $Result = If ('Results' -in $Result.PSObject.Properties.Name) { + $Result.results + } Else { + $Result + } + If (-not [System.String]::IsNullOrEmpty($Result)) + { + $ResultCount = ($Result | Measure-Object).Count; + $Results += $Result; + $PSBoundParameters.Skip += $ResultCount + } + } + While ($ResultCount -eq $PSBoundParameters.Limit -and -not [System.String]::IsNullOrEmpty($Result)) + } Else { + $PSBoundParameters.Remove('Paginate') | Out-Null + $maxRetries = 4 + $resultCounter = 0 + :retryLoop do { + $resultCounter++ + $Result = JumpCloud.SDK.V2.internal\Get-JcSdkInternalApprovalFlow @PSBoundParameters -errorAction SilentlyContinue -errorVariable sdkError + If ($sdkError){ + If ($resultCounter -eq $maxRetries){ + throw $sdkError + } + If ($JCHttpResponse.Result.StatusCode -eq "503") { + Write-Warning ("503: Service Unavailable - retrying in " + ($resultCounter * 5) + " seconds.") + } else { + throw $sdkError + } + } else { + break retryLoop + } + Start-Sleep -Seconds ($resultCounter * 5) + } while ($resultCounter -lt $maxRetries) + Write-Debug ('HttpRequest: ' + $JCHttpRequest); + Write-Debug ('HttpRequestContent: ' + $JCHttpRequestContent.Result); + Write-Debug ('HttpResponse: ' + $JCHttpResponse.Result); + # Write-Debug ('HttpResponseContent: ' + $JCHttpResponseContent.Result); + $Result = If ('Results' -in $Result.PSObject.Properties.Name) { + $Result.results + } Else { + $Result + } + If (-not [System.String]::IsNullOrEmpty($Result)) { + $Results += $Result; + } + } + } + End + { + # Clean up global variables + $GlobalVars = @('JCHttpRequest', 'JCHttpRequestContent', 'JCHttpResponse','JCHttpResponseContent') + $GlobalVars | ForEach-Object { + If ((Get-Variable -Scope:('Global')).Where( { $_.Name -eq $_ })) { Remove-Variable -Name:($_) -Scope:('Global') } + } + Return $Results + } +} + + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkApprovalFlowSetting.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkApprovalFlowSetting.ps1 new file mode 100644 index 000000000..531dd9a62 --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkApprovalFlowSetting.ps1 @@ -0,0 +1,132 @@ +<# +.Synopsis +Endpoint for getting workflow settings for an organisation +.Description +Endpoint for getting workflow settings for an organisation +.Example +PS C:\> Get-JcSdkApprovalFlowSetting + +.Outputs +JumpCloud.SDK.V2.Models.IJumpcloudIngressoAccessWorkflowSettings +.Link +https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkApprovalFlowSetting.md +#> + Function Get-JcSdkApprovalFlowSetting +{ + [OutputType([JumpCloud.SDK.V2.Models.IJumpcloudIngressoAccessWorkflowSettings])] + [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] + Param( + [Parameter(Mandatory)] + [JumpCloud.SDK.V2.Category('Uri')] + [System.String] + # Region for JumpCloud API host. + # Use 'console' for US or 'console.eu' for EU. + ${ConsoleHost}, + + [Parameter()] + [JumpCloud.SDK.V2.Category('Query')] + [JumpCloud.SDK.V2.Runtime.Info(PossibleTypes=([System.Byte[]]))] + [System.Byte[]] + # . + ${OrganizationObjectId}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [JumpCloud.SDK.V2.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [JumpCloud.SDK.V2.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} + ) + Begin + { + $Results = @() + $PSBoundParameters.Add('HttpPipelineAppend', { + param($req, $callback, $next) + # call the next step in the Pipeline + $ResponseTask = $next.SendAsync($req, $callback) + $global:JCHttpRequest = $req + $global:JCHttpRequestContent = If (-not [System.String]::IsNullOrEmpty($req.Content)) { $req.Content.ReadAsStringAsync() } + $global:JCHttpResponse = $ResponseTask + # $global:JCHttpResponseContent = If (-not [System.String]::IsNullOrEmpty($ResponseTask.Result.Content)) { $ResponseTask.Result.Content.ReadAsStringAsync() } + Return $ResponseTask + } + ) + } + Process + { + $maxRetries = 4 + $resultCounter = 0 + :retryLoop do { + $resultCounter++ + $Result = JumpCloud.SDK.V2.internal\Get-JcSdkInternalApprovalFlowSetting @PSBoundParameters -errorAction SilentlyContinue -errorVariable sdkError + If ($sdkError){ + If ($resultCounter -eq $maxRetries){ + throw + } + If ($JCHttpResponse.Result.StatusCode -eq "503") { + Write-Warning ("503: Service Unavailable - retrying in " + ($resultCounter * 5) + " seconds.") + } else { + throw $sdkError + } + } else { + break retryLoop + } + Start-Sleep -Seconds ($resultCounter * 5) + } while ($resultCounter -lt $maxRetries) + Write-Debug ('HttpRequest: ' + $JCHttpRequest); + Write-Debug ('HttpRequestContent: ' + $JCHttpRequestContent.Result); + Write-Debug ('HttpResponse: ' + $JCHttpResponse.Result); + # Write-Debug ('HttpResponseContent: ' + $JCHttpResponseContent.Result); + $Result = If ('Results' -in $Result.PSObject.Properties.Name) { + $Result.results + } Else { + $Result + } + If (-not [System.String]::IsNullOrEmpty($Result)) { + $Results += $Result; + } + } + End + { + # Clean up global variables + $GlobalVars = @('JCHttpRequest', 'JCHttpRequestContent', 'JCHttpResponse','JCHttpResponseContent') + $GlobalVars | ForEach-Object { + If ((Get-Variable -Scope:('Global')).Where( { $_.Name -eq $_ })) { Remove-Variable -Name:($_) -Scope:('Global') } + } + Return $Results + } +} + + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkAuthenticationPolicy.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkAuthenticationPolicy.ps1 index e247cd8a9..bbf4bad89 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkAuthenticationPolicy.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkAuthenticationPolicy.ps1 @@ -82,6 +82,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkBulkUsersResult.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkBulkUsersResult.ps1 index f5ffb41c3..c4a060e1d 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkBulkUsersResult.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkBulkUsersResult.ps1 @@ -57,6 +57,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkCommandAssociation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkCommandAssociation.ps1 index 62d655bb0..9786aa98e 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkCommandAssociation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkCommandAssociation.ps1 @@ -61,6 +61,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkCommandTraverseSystem.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkCommandTraverseSystem.ps1 index 2b62d9e10..91f64e437 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkCommandTraverseSystem.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkCommandTraverseSystem.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkCommandTraverseSystemGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkCommandTraverseSystemGroup.ps1 index 1353833f1..cd9a1adec 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkCommandTraverseSystemGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkCommandTraverseSystemGroup.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkCustomEmailConfiguration.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkCustomEmailConfiguration.ps1 index f523b336c..2d44b8f70 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkCustomEmailConfiguration.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkCustomEmailConfiguration.ps1 @@ -40,6 +40,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkDuoAccount.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkDuoAccount.ps1 index ae08f3c93..5d1e434a1 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkDuoAccount.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkDuoAccount.ps1 @@ -56,6 +56,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkDuoApplication.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkDuoApplication.ps1 index 92645674d..e9c2cd31c 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkDuoApplication.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkDuoApplication.ps1 @@ -60,6 +60,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkGSuite.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkGSuite.ps1 index 48c3f6e22..a6ada04bc 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkGSuite.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkGSuite.ps1 @@ -57,6 +57,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkGSuiteAssociation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkGSuiteAssociation.ps1 index d8b8034ee..3e3aa8a6e 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkGSuiteAssociation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkGSuiteAssociation.ps1 @@ -61,6 +61,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkGSuiteTranslationRule.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkGSuiteTranslationRule.ps1 index 5e4e835f3..f05ff5df1 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkGSuiteTranslationRule.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkGSuiteTranslationRule.ps1 @@ -62,6 +62,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkGSuiteTraverseUser.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkGSuiteTraverseUser.ps1 index a21e27995..c4841b5e1 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkGSuiteTraverseUser.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkGSuiteTraverseUser.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkGSuiteTraverseUserGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkGSuiteTraverseUserGroup.ps1 index ffefac634..2d21357c7 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkGSuiteTraverseUserGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkGSuiteTraverseUserGroup.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkGroup.ps1 index 37bcbcb8c..77ac209f4 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkGroup.ps1 @@ -6,6 +6,7 @@ This endpoint returns all Groups that exist in your organization. - `name` - `disabled` - `type` + - `memberQueryErrorFlags` #### Sample Request @@ -23,6 +24,7 @@ This endpoint returns all Groups that exist in your organization. - `name` - `disabled` - `type` + - `memberQueryErrorFlags` #### Sample Request diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkIPList.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkIPList.ps1 index c5fdaf90d..59ecf399b 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkIPList.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkIPList.ps1 @@ -60,6 +60,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkLdapServer.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkLdapServer.ps1 index c6c28c909..c7abfabe6 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkLdapServer.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkLdapServer.ps1 @@ -62,6 +62,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkLdapServerAssociation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkLdapServerAssociation.ps1 index 5c33ad134..40b6ab696 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkLdapServerAssociation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkLdapServerAssociation.ps1 @@ -61,6 +61,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkLdapServerSambaDomain.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkLdapServerSambaDomain.ps1 index b4e8d4a3a..53483268e 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkLdapServerSambaDomain.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkLdapServerSambaDomain.ps1 @@ -60,6 +60,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkLdapServerTraverseUser.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkLdapServerTraverseUser.ps1 index bbec1c0b9..a12c560c1 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkLdapServerTraverseUser.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkLdapServerTraverseUser.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkLdapServerTraverseUserGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkLdapServerTraverseUserGroup.ps1 index c1cd23629..578cc6130 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkLdapServerTraverseUserGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkLdapServerTraverseUserGroup.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkOffice365.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkOffice365.ps1 index 6d4dc0985..f0bc4daf4 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkOffice365.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkOffice365.ps1 @@ -63,6 +63,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkOffice365Association.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkOffice365Association.ps1 index 5b7b19126..3e73b1b9c 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkOffice365Association.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkOffice365Association.ps1 @@ -63,6 +63,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkOffice365TranslationRule.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkOffice365TranslationRule.ps1 index e48ac5bfe..4f855842e 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkOffice365TranslationRule.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkOffice365TranslationRule.ps1 @@ -62,6 +62,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkOffice365TraverseUser.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkOffice365TraverseUser.ps1 index 5d25353da..4cc16e918 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkOffice365TraverseUser.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkOffice365TraverseUser.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: @@ -133,6 +134,12 @@ https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/Jum # **EX:** `GET /api/v2/groups?filter=name:eq:Test+Group` ${Filter}, + [Parameter()] + [JumpCloud.SDK.V2.Category('Query')] + [System.Management.Automation.SwitchParameter] + # Include sync status for users + ${SyncStatus}, + [Parameter(DontShow)] [JumpCloud.SDK.V2.Category('Runtime')] [System.Management.Automation.SwitchParameter] diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkOffice365TraverseUserGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkOffice365TraverseUserGroup.ps1 index efda12834..0c4a01bcc 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkOffice365TraverseUserGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkOffice365TraverseUserGroup.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicy.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicy.ps1 index 6da110262..0bbaf7804 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicy.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicy.ps1 @@ -84,6 +84,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyAssociation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyAssociation.ps1 index 79c852f91..f34275680 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyAssociation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyAssociation.ps1 @@ -59,6 +59,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyGroup.ps1 index 78e7912e4..33737f2a5 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyGroup.ps1 @@ -64,6 +64,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyGroupMember.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyGroupMember.ps1 index 18b1c33d8..f8237a781 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyGroupMember.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyGroupMember.ps1 @@ -70,6 +70,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyGroupMembership.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyGroupMembership.ps1 index 04a1fe2e5..6df8a2a6b 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyGroupMembership.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyGroupMembership.ps1 @@ -52,6 +52,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyGroupTraverseSystem.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyGroupTraverseSystem.ps1 index 57106b2d1..d345b0d42 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyGroupTraverseSystem.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyGroupTraverseSystem.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyGroupTraverseSystemGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyGroupTraverseSystemGroup.ps1 index 0f1c96ae6..8474aff9b 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyGroupTraverseSystemGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyGroupTraverseSystemGroup.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyResult.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyResult.ps1 index 77ad50a89..1ce182296 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyResult.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyResult.ps1 @@ -74,6 +74,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyTemplate.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyTemplate.ps1 index 73cc892f7..efa73d472 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyTemplate.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyTemplate.ps1 @@ -78,6 +78,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyTraverseSystem.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyTraverseSystem.ps1 index accec7ae7..76cf75e6b 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyTraverseSystem.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyTraverseSystem.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyTraverseSystemGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyTraverseSystemGroup.ps1 index 8061d66c0..655b193a8 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyTraverseSystemGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkPolicyTraverseSystemGroup.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkProvidersInvoice.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkProvidersInvoice.ps1 index 97dba22ad..b7e7e72b8 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkProvidersInvoice.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkProvidersInvoice.ps1 @@ -36,6 +36,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkRadiusServerAssociation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkRadiusServerAssociation.ps1 index cf50227d3..dd825f1ed 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkRadiusServerAssociation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkRadiusServerAssociation.ps1 @@ -59,6 +59,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkRadiusServerTraverseUser.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkRadiusServerTraverseUser.ps1 index 24279d868..4e66821a1 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkRadiusServerTraverseUser.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkRadiusServerTraverseUser.ps1 @@ -70,6 +70,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkRadiusServerTraverseUserGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkRadiusServerTraverseUserGroup.ps1 index e1a0b66cf..79b662d8b 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkRadiusServerTraverseUserGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkRadiusServerTraverseUserGroup.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSoftwareApp.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSoftwareApp.ps1 index 1fe608cbe..c969fd44a 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSoftwareApp.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSoftwareApp.ps1 @@ -60,6 +60,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSoftwareAppAssociation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSoftwareAppAssociation.ps1 index 7799724e5..a3e6e16c6 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSoftwareAppAssociation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSoftwareAppAssociation.ps1 @@ -59,6 +59,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSoftwareAppStatus.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSoftwareAppStatus.ps1 index b5c998c0d..382843b3b 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSoftwareAppStatus.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSoftwareAppStatus.ps1 @@ -56,6 +56,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSoftwareAppTraverseSystem.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSoftwareAppTraverseSystem.ps1 index 3602bd0fe..7fd6a783a 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSoftwareAppTraverseSystem.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSoftwareAppTraverseSystem.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSoftwareAppTraverseSystemGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSoftwareAppTraverseSystemGroup.ps1 index 34df6984f..a28850d1c 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSoftwareAppTraverseSystemGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSoftwareAppTraverseSystemGroup.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemAssociation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemAssociation.ps1 index f60c5ccba..ad656dacf 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemAssociation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemAssociation.ps1 @@ -63,6 +63,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemFdeKey.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemFdeKey.ps1 index 58caed199..622948823 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemFdeKey.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemFdeKey.ps1 @@ -28,6 +28,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroup.ps1 index 975c909ff..762b87354 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroup.ps1 @@ -74,6 +74,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupAssociation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupAssociation.ps1 index 8859ee6cc..decbcff75 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupAssociation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupAssociation.ps1 @@ -61,6 +61,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupMember.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupMember.ps1 index a0170756f..dda37e1b1 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupMember.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupMember.ps1 @@ -57,6 +57,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupMembership.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupMembership.ps1 index 6c3f8d384..f47a30d5f 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupMembership.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupMembership.ps1 @@ -54,6 +54,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupTraverseCommand.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupTraverseCommand.ps1 index f6dcf62a3..e52672c3b 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupTraverseCommand.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupTraverseCommand.ps1 @@ -77,6 +77,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupTraversePolicy.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupTraversePolicy.ps1 index 044751271..e86453e53 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupTraversePolicy.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupTraversePolicy.ps1 @@ -72,6 +72,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupTraversePolicyGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupTraversePolicyGroup.ps1 index 6d6676314..436149b23 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupTraversePolicyGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupTraversePolicyGroup.ps1 @@ -70,6 +70,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupTraverseUser.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupTraverseUser.ps1 index 7358ea817..5a4021bdc 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupTraverseUser.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupTraverseUser.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupTraverseUserGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupTraverseUserGroup.ps1 index e71053a68..9fb1d2209 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupTraverseUserGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemGroupTraverseUserGroup.ps1 @@ -70,6 +70,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemMember.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemMember.ps1 index 04a8ba9c0..b54853154 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemMember.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemMember.ps1 @@ -54,6 +54,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemTraverseCommand.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemTraverseCommand.ps1 index af8f5c400..f25f2c2d9 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemTraverseCommand.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemTraverseCommand.ps1 @@ -79,6 +79,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemTraversePolicy.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemTraversePolicy.ps1 index 99e9a53c3..bccf31411 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemTraversePolicy.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemTraversePolicy.ps1 @@ -76,6 +76,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemTraversePolicyGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemTraversePolicyGroup.ps1 index 65662489e..d2f557bcb 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemTraversePolicyGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemTraversePolicyGroup.ps1 @@ -70,6 +70,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemTraverseUser.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemTraverseUser.ps1 index 82cc94c24..2ef4bf10c 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemTraverseUser.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemTraverseUser.ps1 @@ -70,6 +70,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemTraverseUserGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemTraverseUserGroup.ps1 index 32cb66f27..f4eccf8f3 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemTraverseUserGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkSystemTraverseUserGroup.ps1 @@ -70,6 +70,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserAssociation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserAssociation.ps1 index 96546b455..b1daf5df2 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserAssociation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserAssociation.ps1 @@ -63,6 +63,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroup.ps1 index 19a5b2b8d..87cd98019 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroup.ps1 @@ -80,6 +80,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupAssociation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupAssociation.ps1 index c57f9b2c8..0c4e94629 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupAssociation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupAssociation.ps1 @@ -61,6 +61,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupMember.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupMember.ps1 index e5498d2e8..177de5343 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupMember.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupMember.ps1 @@ -55,6 +55,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupMembership.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupMembership.ps1 index 5a31ca8b8..57de04877 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupMembership.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupMembership.ps1 @@ -52,6 +52,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseActiveDirectory.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseActiveDirectory.ps1 index 071ddf006..4771f397f 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseActiveDirectory.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseActiveDirectory.ps1 @@ -64,6 +64,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseApplication.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseApplication.ps1 index 1ebf8d8d2..c5c3336ef 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseApplication.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseApplication.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseDirectory.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseDirectory.ps1 index af1402191..680ec5102 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseDirectory.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseDirectory.ps1 @@ -70,6 +70,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseGSuite.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseGSuite.ps1 index bc96fce9e..c0fdcbad8 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseGSuite.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseGSuite.ps1 @@ -70,6 +70,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseLdapServer.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseLdapServer.ps1 index 376ee629d..49690e109 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseLdapServer.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseLdapServer.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseOffice365.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseOffice365.ps1 index eed9a2bc0..c1cc6434f 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseOffice365.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseOffice365.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseRadiusServer.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseRadiusServer.ps1 index 65b6b018d..59cc875d6 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseRadiusServer.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseRadiusServer.ps1 @@ -70,6 +70,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseSystem.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseSystem.ps1 index 8eb4ff0d3..32a25e5f4 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseSystem.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseSystem.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseSystemGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseSystemGroup.ps1 index 51653bff7..ba31c4794 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseSystemGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserGroupTraverseSystemGroup.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserMember.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserMember.ps1 index c5c0611da..d2d5f6e56 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserMember.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserMember.ps1 @@ -52,6 +52,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserPushEndpoint.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserPushEndpoint.ps1 index ea1af18f2..fafbbcc70 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserPushEndpoint.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserPushEndpoint.ps1 @@ -58,6 +58,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseActiveDirectory.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseActiveDirectory.ps1 index 126e88930..34a944110 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseActiveDirectory.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseActiveDirectory.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseApplication.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseApplication.ps1 index 93804e14e..3d00bfb17 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseApplication.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseApplication.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseDirectory.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseDirectory.ps1 index a269827d4..7139fd7e8 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseDirectory.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseDirectory.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseGSuite.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseGSuite.ps1 index 7eafeb459..928795c46 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseGSuite.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseGSuite.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseLdapServer.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseLdapServer.ps1 index cf5e38d6f..6a7ebbc21 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseLdapServer.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseLdapServer.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseOffice365.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseOffice365.ps1 index eb6ce73c9..802241a03 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseOffice365.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseOffice365.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseRadiusServer.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseRadiusServer.ps1 index 104edbb7a..73c976d64 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseRadiusServer.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseRadiusServer.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseSystem.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseSystem.ps1 index b536ea5cb..46eb43c30 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseSystem.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseSystem.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseSystemGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseSystemGroup.ps1 index 372b17188..1c62522cc 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseSystemGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkUserTraverseSystemGroup.ps1 @@ -68,6 +68,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkWorkday.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkWorkday.ps1 index 0cca28142..c6734c8d1 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkWorkday.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkWorkday.ps1 @@ -74,6 +74,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkWorkdayWorker.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkWorkdayWorker.ps1 index 1a9e07561..3ac3e9fdb 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkWorkdayWorker.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Get-JcSdkWorkdayWorker.ps1 @@ -59,6 +59,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Grant-JcSdkWorkday.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Grant-JcSdkWorkday.ps1 index 982c63e58..d3677e0e3 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Grant-JcSdkWorkday.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Grant-JcSdkWorkday.ps1 @@ -83,6 +83,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Import-JcSdkScim.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Import-JcSdkScim.ps1 index 3c2b037f8..c8493ac4d 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Import-JcSdkScim.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Import-JcSdkScim.ps1 @@ -34,6 +34,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Import-JcSdkWorkday.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Import-JcSdkWorkday.ps1 index 0c2d33be5..adcb9b770 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Import-JcSdkWorkday.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Import-JcSdkWorkday.ps1 @@ -140,6 +140,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Import-JcSdkWorkdayResult.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Import-JcSdkWorkdayResult.ps1 index f2f100a45..cbcdaa5fd 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Import-JcSdkWorkdayResult.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Import-JcSdkWorkdayResult.ps1 @@ -55,6 +55,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Invoke-JcSdkReclaimSoftwareAppLicense.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Invoke-JcSdkReclaimSoftwareAppLicense.ps1 index 7f168e0f5..a18779165 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Invoke-JcSdkReclaimSoftwareAppLicense.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Invoke-JcSdkReclaimSoftwareAppLicense.ps1 @@ -52,6 +52,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Lock-JcSdkAppleMdmDevice.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Lock-JcSdkAppleMdmDevice.ps1 index 5e389c78f..ee974cf26 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Lock-JcSdkAppleMdmDevice.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Lock-JcSdkAppleMdmDevice.ps1 @@ -51,6 +51,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkActiveDirectoryAgent.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkActiveDirectoryAgent.ps1 index b81a2ce11..8ce74c28b 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkActiveDirectoryAgent.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkActiveDirectoryAgent.ps1 @@ -75,6 +75,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkAdministratorOrganization.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkAdministratorOrganization.ps1 index 08c7e820f..a18826a57 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkAdministratorOrganization.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkAdministratorOrganization.ps1 @@ -45,6 +45,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkApprovalFlow.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkApprovalFlow.ps1 new file mode 100644 index 000000000..ba4747448 --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkApprovalFlow.ps1 @@ -0,0 +1,293 @@ +<# +.Synopsis +Endpoint for adding a new access workflow +.Description +Endpoint for adding a new access workflow +.Example +New-JcSdkApprovalFlow -ApprovalType 'manual' -Category "Application" -Description "A new workflow" -MultiSelectDuration @("P5D") -Name "New Workflow" -ResourceId 5d67fd481da3c52aa1faa883 -ResourceType "user_group" -Status "active" -TimeBasedAccess -TtlConfig "TTL_CONFIG_MULTI_SELECT_DURATIONS" -VisibleTo @('6148cd739d38866f0814e874') + +.Inputs +JumpCloud.SDK.V2.Models.IJumpcloudIngressoCreateAccessWorkflowRequest +.Outputs +JumpCloud.SDK.V2.Models.IJumpcloudIngressoCreateAccessWorkflowResponse +.Notes +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + +APPROVERRESOURCES : + [RequireAll ]: + [ResourceId ]: + [ResourceName ]: + [ResourceOrder ]: + [ResourceType ]: + +BODY : + [ApprovalType ]: + [ApproverRequirement ]: + [ApproverResources >]: + [RequireAll ]: + [ResourceId ]: + [ResourceName ]: + [ResourceOrder ]: + [ResourceType ]: + [Category ]: + [Description ]: + [FixedDuration ]: + [IconColor ]: + [IconUrl ]: + [MultiSelectDuration >]: + [Name ]: + [NonAdminApproval ]: + [OrganizationObjectId ]: + [ResourceId ]: + [ResourceType ]: + [SlackConfig >]: + [SlackResourceId ]: + [SlackEnabled ]: + [Status ]: + [TimeBasedAccess ]: + [TtlConfig ]: + [VisibleTo >]: + +SLACKCONFIG : + [SlackResourceId ]: +.Link +https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkApprovalFlow.md +#> + Function New-JcSdkApprovalFlow +{ + [OutputType([JumpCloud.SDK.V2.Models.IJumpcloudIngressoCreateAccessWorkflowResponse])] + [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] + Param( + [Parameter(Mandatory)] + [JumpCloud.SDK.V2.Category('Uri')] + [System.String] + # Region for JumpCloud API host. + # Use 'console' for US or 'console.eu' for EU. + ${ConsoleHost}, + + [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] + [JumpCloud.SDK.V2.Category('Body')] + [JumpCloud.SDK.V2.Models.IJumpcloudIngressoCreateAccessWorkflowRequest] + # . + ${Body}, + + [Parameter(ParameterSetName='CreateExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${ApprovalType}, + + [Parameter(ParameterSetName='CreateExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${ApproverRequirement}, + + [Parameter(ParameterSetName='CreateExpanded')] + [AllowEmptyCollection()] + [JumpCloud.SDK.V2.Category('Body')] + [JumpCloud.SDK.V2.Models.IJumpcloudIngressoApproverResource[]] + # . + ${ApproverResources}, + + [Parameter(ParameterSetName='CreateExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${Category}, + + [Parameter(ParameterSetName='CreateExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${Description}, + + [Parameter(ParameterSetName='CreateExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${FixedDuration}, + + [Parameter(ParameterSetName='CreateExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${IconColor}, + + [Parameter(ParameterSetName='CreateExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${IconUrl}, + + [Parameter(ParameterSetName='CreateExpanded')] + [AllowEmptyCollection()] + [JumpCloud.SDK.V2.Category('Body')] + [System.String[]] + # . + ${MultiSelectDuration}, + + [Parameter(ParameterSetName='CreateExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${Name}, + + [Parameter(ParameterSetName='CreateExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.Management.Automation.SwitchParameter] + # . + ${NonAdminApproval}, + + [Parameter(ParameterSetName='CreateExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # Input File for OrganizationObjectId (.) + ${OrganizationObjectIdInputFile}, + + [Parameter(ParameterSetName='CreateExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${ResourceId}, + + [Parameter(ParameterSetName='CreateExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${ResourceType}, + + [Parameter(ParameterSetName='CreateExpanded')] + [AllowEmptyCollection()] + [JumpCloud.SDK.V2.Category('Body')] + [JumpCloud.SDK.V2.Models.IJumpcloudIngressoSlackConfig[]] + # . + ${SlackConfig}, + + [Parameter(ParameterSetName='CreateExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.Management.Automation.SwitchParameter] + # . + ${SlackEnabled}, + + [Parameter(ParameterSetName='CreateExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${Status}, + + [Parameter(ParameterSetName='CreateExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.Management.Automation.SwitchParameter] + # . + ${TimeBasedAccess}, + + [Parameter(ParameterSetName='CreateExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${TtlConfig}, + + [Parameter(ParameterSetName='CreateExpanded')] + [AllowEmptyCollection()] + [JumpCloud.SDK.V2.Category('Body')] + [System.String[]] + # . + ${VisibleTo}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [JumpCloud.SDK.V2.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [JumpCloud.SDK.V2.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} + ) + Begin + { + $Results = @() + $PSBoundParameters.Add('HttpPipelineAppend', { + param($req, $callback, $next) + # call the next step in the Pipeline + $ResponseTask = $next.SendAsync($req, $callback) + $global:JCHttpRequest = $req + # $global:JCHttpRequestContent = If (-not [System.String]::IsNullOrEmpty($req.Content)) { $req.Content.ReadAsStringAsync() } + $global:JCHttpResponse = $ResponseTask + # $global:JCHttpResponseContent = If (-not [System.String]::IsNullOrEmpty($ResponseTask.Result.Content)) { $ResponseTask.Result.Content.ReadAsStringAsync() } + Return $ResponseTask + } + ) + } + Process + { + $maxRetries = 4 + $resultCounter = 0 + :retryLoop do { + $resultCounter++ + $Results = JumpCloud.SDK.V2.internal\New-JcSdkInternalApprovalFlow @PSBoundParameters -errorAction SilentlyContinue -errorVariable sdkError + If ($sdkError){ + If ($resultCounter -eq $maxRetries){ + throw $sdkError + } + If ($JCHttpResponse.Result.StatusCode -eq "503") { + Write-Warning ("503: Service Unavailable - retrying in " + ($resultCounter * 5) + " seconds.") + } else { + throw $sdkError + } + } else { + break retryLoop + } + Start-Sleep -Seconds ($resultCounter * 5) + } while ($resultCounter -lt $maxRetries) + } + End + { + Write-Debug ('HttpRequest: ' + $JCHttpRequest); + # Write-Debug ('HttpRequestContent: ' + $JCHttpRequestContent.Result); + Write-Debug ('HttpResponse: ' + $JCHttpResponse.Result); + # Write-Debug ('HttpResponseContent: ' + $JCHttpResponseContent.Result); + # Clean up global variables + $GlobalVars = @('JCHttpRequest', 'JCHttpRequestContent', 'JCHttpResponse', 'JCHttpResponseContent') + $GlobalVars | ForEach-Object { + If ((Get-Variable -Scope:('Global')).Where( { $_.Name -eq $_ })) { + Remove-Variable -Name:($_) -Scope:('Global') + } + } + Return $Results + } +} + + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkDuoApplication.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkDuoApplication.ps1 index 4c5f724c9..25757ddec 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkDuoApplication.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkDuoApplication.ps1 @@ -80,6 +80,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkGSuiteTranslationRule.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkGSuiteTranslationRule.ps1 index 880db77ae..53d5fbf70 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkGSuiteTranslationRule.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkGSuiteTranslationRule.ps1 @@ -72,6 +72,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkLdapServerSambaDomain.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkLdapServerSambaDomain.ps1 index 4438a7120..2890bb211 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkLdapServerSambaDomain.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkLdapServerSambaDomain.ps1 @@ -72,6 +72,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkOffice365TranslationRule.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkOffice365TranslationRule.ps1 index 125ce6ac4..21653c6af 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkOffice365TranslationRule.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkOffice365TranslationRule.ps1 @@ -72,6 +72,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkProviderAdministrator.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkProviderAdministrator.ps1 index 9046e9b61..183fcc627 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkProviderAdministrator.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/New-JcSdkProviderAdministrator.ps1 @@ -79,6 +79,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkActiveDirectory.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkActiveDirectory.ps1 index 36d9b9bac..4d7ab0f68 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkActiveDirectory.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkActiveDirectory.ps1 @@ -52,6 +52,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkActiveDirectoryAgent.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkActiveDirectoryAgent.ps1 index e4d444dfd..569abcf35 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkActiveDirectoryAgent.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkActiveDirectoryAgent.ps1 @@ -44,6 +44,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkAdministratorOrganization.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkAdministratorOrganization.ps1 index 468e4a40b..fdd4e2cbf 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkAdministratorOrganization.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkAdministratorOrganization.ps1 @@ -28,6 +28,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkAppleMdm.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkAppleMdm.ps1 index f907476b2..a6aa45c82 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkAppleMdm.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkAppleMdm.ps1 @@ -85,6 +85,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkAppleMdmDevice.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkAppleMdmDevice.ps1 index 1db69d9ad..fd7d8c29d 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkAppleMdmDevice.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkAppleMdmDevice.ps1 @@ -72,6 +72,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkApplicationLogo.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkApplicationLogo.ps1 index 01b60f93f..a4145bee8 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkApplicationLogo.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkApplicationLogo.ps1 @@ -28,6 +28,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkApprovalFlow.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkApprovalFlow.ps1 new file mode 100644 index 000000000..d5ba3205e --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkApprovalFlow.ps1 @@ -0,0 +1,172 @@ +<# +.Synopsis +Endpoint for deleting accessworkflow by id +.Description +Endpoint for deleting accessworkflow by id +.Example +PS C:\> Remove-JcSdkApprovalFlow -ApprovalFlowId:() +.Example +{{ Add code here }} + +.Inputs +JumpCloud.SDK.V2.Models.IJumpCloudApiIdentity +.Outputs +JumpCloud.SDK.V2.Models.IJumpcloudIngressoDeleteAccessWorkflowResponse +.Notes +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT : + [AccountId ]: + [ActivedirectoryId ]: + [AdministratorId ]: + [AgentId ]: + [AppleMdmId ]: + [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: + [CommandId ]: ObjectID of the Command. + [CustomEmailType ]: + [DeviceId ]: + [GroupId ]: ObjectID of the Policy Group. + [GsuiteId ]: ObjectID of the G Suite instance. + [Id ]: ObjectID of this Active Directory instance. + [JobId ]: + [LdapserverId ]: ObjectID of the LDAP Server. + [Office365Id ]: ObjectID of the Office 365 instance. + [PolicyId ]: ObjectID of the Policy. + [ProviderId ]: + [PushEndpointId ]: + [RadiusserverId ]: ObjectID of the Radius Server. + [SoftwareAppId ]: ObjectID of the Software App. + [SystemId ]: ObjectID of the System. + [UserId ]: ObjectID of the User. + [WorkdayId ]: +.Link +https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkApprovalFlow.md +#> + Function Remove-JcSdkApprovalFlow +{ + [OutputType([JumpCloud.SDK.V2.Models.IJumpcloudIngressoDeleteAccessWorkflowResponse])] + [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] + Param( + [Parameter(Mandatory)] + [JumpCloud.SDK.V2.Category('Uri')] + [System.String] + # Region for JumpCloud API host. + # Use 'console' for US or 'console.eu' for EU. + ${ConsoleHost}, + + [Parameter(ParameterSetName='Delete', Mandatory)] + [JumpCloud.SDK.V2.Category('Path')] + [System.String] + # . + ${ApprovalFlowId}, + + [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] + [JumpCloud.SDK.V2.Category('Path')] + [JumpCloud.SDK.V2.Models.IJumpCloudApiIdentity] + # Identity Parameter + ${InputObject}, + + [Parameter()] + [JumpCloud.SDK.V2.Category('Query')] + [JumpCloud.SDK.V2.Runtime.Info(PossibleTypes=([System.Byte[]]))] + [System.Byte[]] + # . + ${OrganizationObjectId}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [JumpCloud.SDK.V2.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [JumpCloud.SDK.V2.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} + ) + Begin + { + $Results = @() + $PSBoundParameters.Add('HttpPipelineAppend', { + param($req, $callback, $next) + # call the next step in the Pipeline + $ResponseTask = $next.SendAsync($req, $callback) + $global:JCHttpRequest = $req + # $global:JCHttpRequestContent = If (-not [System.String]::IsNullOrEmpty($req.Content)) { $req.Content.ReadAsStringAsync() } + $global:JCHttpResponse = $ResponseTask + # $global:JCHttpResponseContent = If (-not [System.String]::IsNullOrEmpty($ResponseTask.Result.Content)) { $ResponseTask.Result.Content.ReadAsStringAsync() } + Return $ResponseTask + } + ) + } + Process + { + $maxRetries = 4 + $resultCounter = 0 + :retryLoop do { + $resultCounter++ + $Results = JumpCloud.SDK.V2.internal\Remove-JcSdkInternalApprovalFlow @PSBoundParameters -errorAction SilentlyContinue -errorVariable sdkError + If ($sdkError){ + If ($resultCounter -eq $maxRetries){ + throw $sdkError + } + If ($JCHttpResponse.Result.StatusCode -eq "503") { + Write-Warning ("503: Service Unavailable - retrying in " + ($resultCounter * 5) + " seconds.") + } else { + throw $sdkError + } + } else { + break retryLoop + } + Start-Sleep -Seconds ($resultCounter * 5) + } while ($resultCounter -lt $maxRetries) + } + End + { + Write-Debug ('HttpRequest: ' + $JCHttpRequest); + # Write-Debug ('HttpRequestContent: ' + $JCHttpRequestContent.Result); + Write-Debug ('HttpResponse: ' + $JCHttpResponse.Result); + # Write-Debug ('HttpResponseContent: ' + $JCHttpResponseContent.Result); + # Clean up global variables + $GlobalVars = @('JCHttpRequest', 'JCHttpRequestContent', 'JCHttpResponse', 'JCHttpResponseContent') + $GlobalVars | ForEach-Object { + If ((Get-Variable -Scope:('Global')).Where( { $_.Name -eq $_ })) { + Remove-Variable -Name:($_) -Scope:('Global') + } + } + Return $Results + } +} + + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkAuthenticationPolicy.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkAuthenticationPolicy.ps1 index 194e02f95..0b7b3dbb1 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkAuthenticationPolicy.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkAuthenticationPolicy.ps1 @@ -63,6 +63,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkBulkUserState.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkBulkUserState.ps1 index 8f5efcb11..313d836a6 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkBulkUserState.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkBulkUserState.ps1 @@ -42,6 +42,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkCustomEmailConfiguration.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkCustomEmailConfiguration.ps1 index 5bd11b3cc..809a6c615 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkCustomEmailConfiguration.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkCustomEmailConfiguration.ps1 @@ -28,6 +28,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkDuoAccount.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkDuoAccount.ps1 index b28d1196f..f9f3a67d6 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkDuoAccount.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkDuoAccount.ps1 @@ -50,6 +50,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkDuoApplication.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkDuoApplication.ps1 index acb044bd3..351225dda 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkDuoApplication.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkDuoApplication.ps1 @@ -52,6 +52,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkGSuiteTranslationRule.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkGSuiteTranslationRule.ps1 index d2d12c3c4..2de7b1150 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkGSuiteTranslationRule.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkGSuiteTranslationRule.ps1 @@ -48,6 +48,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkIPList.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkIPList.ps1 index 590eeffe1..d36df2ecf 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkIPList.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkIPList.ps1 @@ -52,6 +52,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkLdapServerSambaDomain.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkLdapServerSambaDomain.ps1 index 3cd9f6d4c..3af650838 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkLdapServerSambaDomain.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkLdapServerSambaDomain.ps1 @@ -44,6 +44,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkOffice365TranslationRule.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkOffice365TranslationRule.ps1 index 53d4b784a..cc1e86891 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkOffice365TranslationRule.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkOffice365TranslationRule.ps1 @@ -48,6 +48,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkPolicy.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkPolicy.ps1 index 4cd9dca9b..e7b6dd86b 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkPolicy.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkPolicy.ps1 @@ -46,6 +46,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkPolicyGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkPolicyGroup.ps1 index b46162f90..4ec70154c 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkPolicyGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkPolicyGroup.ps1 @@ -56,6 +56,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkProviderAdministrator.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkProviderAdministrator.ps1 index 41abf0c56..52e46758a 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkProviderAdministrator.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkProviderAdministrator.ps1 @@ -30,6 +30,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkSoftwareApp.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkSoftwareApp.ps1 index 65ea3525f..836542dbd 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkSoftwareApp.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkSoftwareApp.ps1 @@ -48,6 +48,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkSystemGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkSystemGroup.ps1 index abb7c5257..17217fe5b 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkSystemGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkSystemGroup.ps1 @@ -61,6 +61,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkUserGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkUserGroup.ps1 index 53524210f..c37533a2e 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkUserGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkUserGroup.ps1 @@ -64,6 +64,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkUserPushEndpoint.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkUserPushEndpoint.ps1 index 75b2c2ec3..7dc67bb65 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkUserPushEndpoint.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkUserPushEndpoint.ps1 @@ -43,6 +43,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkWorkdayAuthorization.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkWorkdayAuthorization.ps1 index 36de8e67f..b8ac589ee 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkWorkdayAuthorization.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Remove-JcSdkWorkdayAuthorization.ps1 @@ -44,6 +44,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Restart-JcSdkAppleMdmDevice.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Restart-JcSdkAppleMdmDevice.ps1 index 90a97326f..d48561791 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Restart-JcSdkAppleMdmDevice.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Restart-JcSdkAppleMdmDevice.ps1 @@ -51,6 +51,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkAccessRequest.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkAccessRequest.ps1 new file mode 100644 index 000000000..2363be705 --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkAccessRequest.ps1 @@ -0,0 +1,226 @@ +<# +.Synopsis +Endpoint that set the workflow access request by id +.Description +Endpoint that set the workflow access request by id +.Example +PS C:\> Set-JcSdkAccessRequest -Id:() -Admin:() -ApprovedDuration:() -InternalNote:() -OrganizationObjectIdInputFile:() -Remarks:() -Status:() +.Example +PS C:\> Set-JcSdkAccessRequest -Id:() -Body:() + +.Inputs +JumpCloud.SDK.V2.Models.IJumpCloudApiIdentity +.Inputs +JumpCloud.SDK.V2.Models.IPaths17F25RsApprovalflowrequestIdPutRequestbodyContentApplicationJsonSchema +.Outputs +JumpCloud.SDK.V2.Models.IJumpcloudIngressoUpdateWorkflowAccessRequestResponse +.Notes +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + +BODY : + [Admin ]: + [ApprovedDuration ]: + [InternalNote ]: + [OrganizationObjectId ]: + [Remarks ]: + [Status ]: + +INPUTOBJECT : + [AccountId ]: + [ActivedirectoryId ]: + [AdministratorId ]: + [AgentId ]: + [AppleMdmId ]: + [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: + [CommandId ]: ObjectID of the Command. + [CustomEmailType ]: + [DeviceId ]: + [GroupId ]: ObjectID of the Policy Group. + [GsuiteId ]: ObjectID of the G Suite instance. + [Id ]: ObjectID of this Active Directory instance. + [JobId ]: + [LdapserverId ]: ObjectID of the LDAP Server. + [Office365Id ]: ObjectID of the Office 365 instance. + [PolicyId ]: ObjectID of the Policy. + [ProviderId ]: + [PushEndpointId ]: + [RadiusserverId ]: ObjectID of the Radius Server. + [SoftwareAppId ]: ObjectID of the Software App. + [SystemId ]: ObjectID of the System. + [UserId ]: ObjectID of the User. + [WorkdayId ]: +.Link +https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkAccessRequest.md +#> + Function Set-JcSdkAccessRequest +{ + [OutputType([JumpCloud.SDK.V2.Models.IJumpcloudIngressoUpdateWorkflowAccessRequestResponse])] + [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] + Param( + [Parameter(Mandatory)] + [JumpCloud.SDK.V2.Category('Uri')] + [System.String] + # Region for JumpCloud API host. + # Use 'console' for US or 'console.eu' for EU. + ${ConsoleHost}, + + [Parameter(ParameterSetName='Set', Mandatory)] + [Parameter(ParameterSetName='SetExpanded', Mandatory)] + [JumpCloud.SDK.V2.Category('Path')] + [System.String] + # . + ${Id}, + + [Parameter(ParameterSetName='SetViaIdentity', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='SetViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [JumpCloud.SDK.V2.Category('Path')] + [JumpCloud.SDK.V2.Models.IJumpCloudApiIdentity] + # Identity Parameter + ${InputObject}, + + [Parameter(ParameterSetName='Set', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='SetViaIdentity', Mandatory, ValueFromPipeline)] + [JumpCloud.SDK.V2.Category('Body')] + [JumpCloud.SDK.V2.Models.IPaths17F25RsApprovalflowrequestIdPutRequestbodyContentApplicationJsonSchema] + # . + ${Body}, + + [Parameter(ParameterSetName='SetExpanded')] + [Parameter(ParameterSetName='SetViaIdentityExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${Admin}, + + [Parameter(ParameterSetName='SetExpanded')] + [Parameter(ParameterSetName='SetViaIdentityExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${ApprovedDuration}, + + [Parameter(ParameterSetName='SetExpanded')] + [Parameter(ParameterSetName='SetViaIdentityExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${InternalNote}, + + [Parameter(ParameterSetName='SetExpanded')] + [Parameter(ParameterSetName='SetViaIdentityExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # Input File for OrganizationObjectId (.) + ${OrganizationObjectIdInputFile}, + + [Parameter(ParameterSetName='SetExpanded')] + [Parameter(ParameterSetName='SetViaIdentityExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${Remarks}, + + [Parameter(ParameterSetName='SetExpanded')] + [Parameter(ParameterSetName='SetViaIdentityExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${Status}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [JumpCloud.SDK.V2.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [JumpCloud.SDK.V2.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} + ) + Begin + { + $Results = @() + $PSBoundParameters.Add('HttpPipelineAppend', { + param($req, $callback, $next) + # call the next step in the Pipeline + $ResponseTask = $next.SendAsync($req, $callback) + $global:JCHttpRequest = $req + # $global:JCHttpRequestContent = If (-not [System.String]::IsNullOrEmpty($req.Content)) { $req.Content.ReadAsStringAsync() } + $global:JCHttpResponse = $ResponseTask + # $global:JCHttpResponseContent = If (-not [System.String]::IsNullOrEmpty($ResponseTask.Result.Content)) { $ResponseTask.Result.Content.ReadAsStringAsync() } + Return $ResponseTask + } + ) + } + Process + { + $maxRetries = 4 + $resultCounter = 0 + :retryLoop do { + $resultCounter++ + $Results = JumpCloud.SDK.V2.internal\Set-JcSdkInternalAccessRequest @PSBoundParameters -errorAction SilentlyContinue -errorVariable sdkError + If ($sdkError){ + If ($resultCounter -eq $maxRetries){ + throw $sdkError + } + If ($JCHttpResponse.Result.StatusCode -eq "503") { + Write-Warning ("503: Service Unavailable - retrying in " + ($resultCounter * 5) + " seconds.") + } else { + throw $sdkError + } + } else { + break retryLoop + } + Start-Sleep -Seconds ($resultCounter * 5) + } while ($resultCounter -lt $maxRetries) + } + End + { + Write-Debug ('HttpRequest: ' + $JCHttpRequest); + # Write-Debug ('HttpRequestContent: ' + $JCHttpRequestContent.Result); + Write-Debug ('HttpResponse: ' + $JCHttpResponse.Result); + # Write-Debug ('HttpResponseContent: ' + $JCHttpResponseContent.Result); + # Clean up global variables + $GlobalVars = @('JCHttpRequest', 'JCHttpRequestContent', 'JCHttpResponse', 'JCHttpResponseContent') + $GlobalVars | ForEach-Object { + If ((Get-Variable -Scope:('Global')).Where( { $_.Name -eq $_ })) { + Remove-Variable -Name:($_) -Scope:('Global') + } + } + Return $Results + } +} + + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkAccessRequestApproval.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkAccessRequestApproval.ps1 new file mode 100644 index 000000000..364fdb821 --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkAccessRequestApproval.ps1 @@ -0,0 +1,170 @@ +<# +.Synopsis +Endpoint for user approval +.Description +Endpoint for user approval +.Example +PS C:\> Set-JcSdkAccessRequestApproval -ApprovedDuration:() -Id:() -OrganizationObjectIdInputFile:() -Remarks:() -Status:() +.Example +PS C:\> Set-JcSdkAccessRequestApproval -Body:() + +.Inputs +JumpCloud.SDK.V2.Models.IJumpcloudIngressoUserApprovalRequest +.Outputs +JumpCloud.SDK.V2.Models.IJumpcloudIngressoUserApprovalRequestResponse +.Notes +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + +BODY : + [ApprovedDuration ]: + [Id ]: + [OrganizationObjectId ]: + [Remarks ]: + [Status ]: +.Link +https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkAccessRequestApproval.md +#> + Function Set-JcSdkAccessRequestApproval +{ + [OutputType([JumpCloud.SDK.V2.Models.IJumpcloudIngressoUserApprovalRequestResponse])] + [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] + Param( + [Parameter(Mandatory)] + [JumpCloud.SDK.V2.Category('Uri')] + [System.String] + # Region for JumpCloud API host. + # Use 'console' for US or 'console.eu' for EU. + ${ConsoleHost}, + + [Parameter(ParameterSetName='Set', Mandatory, ValueFromPipeline)] + [JumpCloud.SDK.V2.Category('Body')] + [JumpCloud.SDK.V2.Models.IJumpcloudIngressoUserApprovalRequest] + # . + ${Body}, + + [Parameter(ParameterSetName='SetExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${ApprovedDuration}, + + [Parameter(ParameterSetName='SetExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${Id}, + + [Parameter(ParameterSetName='SetExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # Input File for OrganizationObjectId (.) + ${OrganizationObjectIdInputFile}, + + [Parameter(ParameterSetName='SetExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${Remarks}, + + [Parameter(ParameterSetName='SetExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${Status}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [JumpCloud.SDK.V2.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [JumpCloud.SDK.V2.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} + ) + Begin + { + $Results = @() + $PSBoundParameters.Add('HttpPipelineAppend', { + param($req, $callback, $next) + # call the next step in the Pipeline + $ResponseTask = $next.SendAsync($req, $callback) + $global:JCHttpRequest = $req + # $global:JCHttpRequestContent = If (-not [System.String]::IsNullOrEmpty($req.Content)) { $req.Content.ReadAsStringAsync() } + $global:JCHttpResponse = $ResponseTask + # $global:JCHttpResponseContent = If (-not [System.String]::IsNullOrEmpty($ResponseTask.Result.Content)) { $ResponseTask.Result.Content.ReadAsStringAsync() } + Return $ResponseTask + } + ) + } + Process + { + $maxRetries = 4 + $resultCounter = 0 + :retryLoop do { + $resultCounter++ + $Results = JumpCloud.SDK.V2.internal\Set-JcSdkInternalAccessRequestApproval @PSBoundParameters -errorAction SilentlyContinue -errorVariable sdkError + If ($sdkError){ + If ($resultCounter -eq $maxRetries){ + throw $sdkError + } + If ($JCHttpResponse.Result.StatusCode -eq "503") { + Write-Warning ("503: Service Unavailable - retrying in " + ($resultCounter * 5) + " seconds.") + } else { + throw $sdkError + } + } else { + break retryLoop + } + Start-Sleep -Seconds ($resultCounter * 5) + } while ($resultCounter -lt $maxRetries) + } + End + { + Write-Debug ('HttpRequest: ' + $JCHttpRequest); + # Write-Debug ('HttpRequestContent: ' + $JCHttpRequestContent.Result); + Write-Debug ('HttpResponse: ' + $JCHttpResponse.Result); + # Write-Debug ('HttpResponseContent: ' + $JCHttpResponseContent.Result); + # Clean up global variables + $GlobalVars = @('JCHttpRequest', 'JCHttpRequestContent', 'JCHttpResponse', 'JCHttpResponseContent') + $GlobalVars | ForEach-Object { + If ((Get-Variable -Scope:('Global')).Where( { $_.Name -eq $_ })) { + Remove-Variable -Name:($_) -Scope:('Global') + } + } + Return $Results + } +} + + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkActiveDirectoryAssociation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkActiveDirectoryAssociation.ps1 index 273974d70..ffc5d92a4 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkActiveDirectoryAssociation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkActiveDirectoryAssociation.ps1 @@ -67,6 +67,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkAppleMdm.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkAppleMdm.ps1 index c04092fee..572a5dc16 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkAppleMdm.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkAppleMdm.ps1 @@ -176,6 +176,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkApplicationAssociation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkApplicationAssociation.ps1 index 4af06b65c..a3adafcd3 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkApplicationAssociation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkApplicationAssociation.ps1 @@ -65,6 +65,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkApprovalFlow.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkApprovalFlow.ps1 new file mode 100644 index 000000000..9a138da73 --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkApprovalFlow.ps1 @@ -0,0 +1,342 @@ +<# +.Synopsis +Endpoint for updating a new access workflow +.Description +Endpoint for updating a new access workflow +.Example +PS C:\> Set-JcSdkApprovalFlow -ApprovalFlowId:() -ApprovalType:() -ApproverRequirement:() -ApproverResources:() -Description:() -FixedDuration:() -IconColor:() -IconUrl:() -MultiSelectDuration:() -Name:() -NonAdminApproval:() -OrganizationObjectIdInputFile:() -ResourceId:() -SlackConfig:() -SlackEnabled:() -Status:() -TimeBasedAccess:() -TtlConfig:() -VisibleTo:() +.Example +PS C:\> Set-JcSdkApprovalFlow -ApprovalFlowId:() -Body:() + +.Inputs +JumpCloud.SDK.V2.Models.IJumpCloudApiIdentity +.Inputs +JumpCloud.SDK.V2.Models.IPaths14Hfh8UApprovalflowsApprovalflowidPutRequestbodyContentApplicationJsonSchema +.Outputs +JumpCloud.SDK.V2.Models.IJumpcloudIngressoUpdateAccessWorkflowResponse +.Notes +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + +APPROVERRESOURCES : + [RequireAll ]: + [ResourceId ]: + [ResourceName ]: + [ResourceOrder ]: + [ResourceType ]: + +BODY : + [ApprovalType ]: + [ApproverRequirement ]: + [ApproverResources >]: + [RequireAll ]: + [ResourceId ]: + [ResourceName ]: + [ResourceOrder ]: + [ResourceType ]: + [Description ]: + [FixedDuration ]: + [IconColor ]: + [IconUrl ]: + [MultiSelectDuration >]: + [Name ]: + [NonAdminApproval ]: + [OrganizationObjectId ]: + [ResourceId ]: + [SlackConfig >]: + [SlackResourceId ]: + [SlackEnabled ]: + [Status ]: + [TimeBasedAccess ]: + [TtlConfig ]: + [VisibleTo >]: + +INPUTOBJECT : + [AccountId ]: + [ActivedirectoryId ]: + [AdministratorId ]: + [AgentId ]: + [AppleMdmId ]: + [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: + [CommandId ]: ObjectID of the Command. + [CustomEmailType ]: + [DeviceId ]: + [GroupId ]: ObjectID of the Policy Group. + [GsuiteId ]: ObjectID of the G Suite instance. + [Id ]: ObjectID of this Active Directory instance. + [JobId ]: + [LdapserverId ]: ObjectID of the LDAP Server. + [Office365Id ]: ObjectID of the Office 365 instance. + [PolicyId ]: ObjectID of the Policy. + [ProviderId ]: + [PushEndpointId ]: + [RadiusserverId ]: ObjectID of the Radius Server. + [SoftwareAppId ]: ObjectID of the Software App. + [SystemId ]: ObjectID of the System. + [UserId ]: ObjectID of the User. + [WorkdayId ]: + +SLACKCONFIG : + [SlackResourceId ]: +.Link +https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkApprovalFlow.md +#> + Function Set-JcSdkApprovalFlow +{ + [OutputType([JumpCloud.SDK.V2.Models.IJumpcloudIngressoUpdateAccessWorkflowResponse])] + [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] + Param( + [Parameter(Mandatory)] + [JumpCloud.SDK.V2.Category('Uri')] + [System.String] + # Region for JumpCloud API host. + # Use 'console' for US or 'console.eu' for EU. + ${ConsoleHost}, + + [Parameter(ParameterSetName='Set', Mandatory)] + [Parameter(ParameterSetName='SetExpanded', Mandatory)] + [JumpCloud.SDK.V2.Category('Path')] + [System.String] + # . + ${ApprovalFlowId}, + + [Parameter(ParameterSetName='SetViaIdentity', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='SetViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [JumpCloud.SDK.V2.Category('Path')] + [JumpCloud.SDK.V2.Models.IJumpCloudApiIdentity] + # Identity Parameter + ${InputObject}, + + [Parameter(ParameterSetName='Set', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='SetViaIdentity', Mandatory, ValueFromPipeline)] + [JumpCloud.SDK.V2.Category('Body')] + [JumpCloud.SDK.V2.Models.IPaths14Hfh8UApprovalflowsApprovalflowidPutRequestbodyContentApplicationJsonSchema] + # . + ${Body}, + + [Parameter(ParameterSetName='SetExpanded')] + [Parameter(ParameterSetName='SetViaIdentityExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${ApprovalType}, + + [Parameter(ParameterSetName='SetExpanded')] + [Parameter(ParameterSetName='SetViaIdentityExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${ApproverRequirement}, + + [Parameter(ParameterSetName='SetExpanded')] + [Parameter(ParameterSetName='SetViaIdentityExpanded')] + [AllowEmptyCollection()] + [JumpCloud.SDK.V2.Category('Body')] + [JumpCloud.SDK.V2.Models.IJumpcloudIngressoApproverResource[]] + # . + ${ApproverResources}, + + [Parameter(ParameterSetName='SetExpanded')] + [Parameter(ParameterSetName='SetViaIdentityExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${Description}, + + [Parameter(ParameterSetName='SetExpanded')] + [Parameter(ParameterSetName='SetViaIdentityExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${FixedDuration}, + + [Parameter(ParameterSetName='SetExpanded')] + [Parameter(ParameterSetName='SetViaIdentityExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${IconColor}, + + [Parameter(ParameterSetName='SetExpanded')] + [Parameter(ParameterSetName='SetViaIdentityExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${IconUrl}, + + [Parameter(ParameterSetName='SetExpanded')] + [Parameter(ParameterSetName='SetViaIdentityExpanded')] + [AllowEmptyCollection()] + [JumpCloud.SDK.V2.Category('Body')] + [System.String[]] + # . + ${MultiSelectDuration}, + + [Parameter(ParameterSetName='SetExpanded')] + [Parameter(ParameterSetName='SetViaIdentityExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${Name}, + + [Parameter(ParameterSetName='SetExpanded')] + [Parameter(ParameterSetName='SetViaIdentityExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.Management.Automation.SwitchParameter] + # . + ${NonAdminApproval}, + + [Parameter(ParameterSetName='SetExpanded')] + [Parameter(ParameterSetName='SetViaIdentityExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # Input File for OrganizationObjectId (.) + ${OrganizationObjectIdInputFile}, + + [Parameter(ParameterSetName='SetExpanded')] + [Parameter(ParameterSetName='SetViaIdentityExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${ResourceId}, + + [Parameter(ParameterSetName='SetExpanded')] + [Parameter(ParameterSetName='SetViaIdentityExpanded')] + [AllowEmptyCollection()] + [JumpCloud.SDK.V2.Category('Body')] + [JumpCloud.SDK.V2.Models.IJumpcloudIngressoSlackConfig[]] + # . + ${SlackConfig}, + + [Parameter(ParameterSetName='SetExpanded')] + [Parameter(ParameterSetName='SetViaIdentityExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.Management.Automation.SwitchParameter] + # . + ${SlackEnabled}, + + [Parameter(ParameterSetName='SetExpanded')] + [Parameter(ParameterSetName='SetViaIdentityExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${Status}, + + [Parameter(ParameterSetName='SetExpanded')] + [Parameter(ParameterSetName='SetViaIdentityExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.Management.Automation.SwitchParameter] + # . + ${TimeBasedAccess}, + + [Parameter(ParameterSetName='SetExpanded')] + [Parameter(ParameterSetName='SetViaIdentityExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # . + ${TtlConfig}, + + [Parameter(ParameterSetName='SetExpanded')] + [Parameter(ParameterSetName='SetViaIdentityExpanded')] + [AllowEmptyCollection()] + [JumpCloud.SDK.V2.Category('Body')] + [System.String[]] + # . + ${VisibleTo}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [JumpCloud.SDK.V2.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [JumpCloud.SDK.V2.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} + ) + Begin + { + $Results = @() + $PSBoundParameters.Add('HttpPipelineAppend', { + param($req, $callback, $next) + # call the next step in the Pipeline + $ResponseTask = $next.SendAsync($req, $callback) + $global:JCHttpRequest = $req + # $global:JCHttpRequestContent = If (-not [System.String]::IsNullOrEmpty($req.Content)) { $req.Content.ReadAsStringAsync() } + $global:JCHttpResponse = $ResponseTask + # $global:JCHttpResponseContent = If (-not [System.String]::IsNullOrEmpty($ResponseTask.Result.Content)) { $ResponseTask.Result.Content.ReadAsStringAsync() } + Return $ResponseTask + } + ) + } + Process + { + $maxRetries = 4 + $resultCounter = 0 + :retryLoop do { + $resultCounter++ + $Results = JumpCloud.SDK.V2.internal\Set-JcSdkInternalApprovalFlow @PSBoundParameters -errorAction SilentlyContinue -errorVariable sdkError + If ($sdkError){ + If ($resultCounter -eq $maxRetries){ + throw $sdkError + } + If ($JCHttpResponse.Result.StatusCode -eq "503") { + Write-Warning ("503: Service Unavailable - retrying in " + ($resultCounter * 5) + " seconds.") + } else { + throw $sdkError + } + } else { + break retryLoop + } + Start-Sleep -Seconds ($resultCounter * 5) + } while ($resultCounter -lt $maxRetries) + } + End + { + Write-Debug ('HttpRequest: ' + $JCHttpRequest); + # Write-Debug ('HttpRequestContent: ' + $JCHttpRequestContent.Result); + Write-Debug ('HttpResponse: ' + $JCHttpResponse.Result); + # Write-Debug ('HttpResponseContent: ' + $JCHttpResponseContent.Result); + # Clean up global variables + $GlobalVars = @('JCHttpRequest', 'JCHttpRequestContent', 'JCHttpResponse', 'JCHttpResponseContent') + $GlobalVars | ForEach-Object { + If ((Get-Variable -Scope:('Global')).Where( { $_.Name -eq $_ })) { + Remove-Variable -Name:($_) -Scope:('Global') + } + } + Return $Results + } +} + + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkApprovalFlowSetting.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkApprovalFlowSetting.ps1 new file mode 100644 index 000000000..a2825a8a5 --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkApprovalFlowSetting.ps1 @@ -0,0 +1,191 @@ +<# +.Synopsis +Endpoint for updating a access workflow settings for an organization +.Description +Endpoint for updating a access workflow settings for an organization +.Example +PS C:\> Set-JcSdkApprovalFlowSetting -AdminApprovalEmail:() -ChannelEvents:() -ExposeApprovalProgress:() -OrganizationObjectIdInputFile:() -ResourceRequest:() -UserApprovalEmail:() -UserRequestEmail:() +.Example +PS C:\> Set-JcSdkApprovalFlowSetting -Body:() + +.Inputs +JumpCloud.SDK.V2.Models.IJumpcloudIngressoUpdateAccessWorkflowSettingsRequest +.Outputs +JumpCloud.SDK.V2.Models.IJumpcloudIngressoUpdateAccessWorkflowSettingsResponse +.Notes +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + +BODY : + [AdminApprovalEmail ]: + [ChannelEvents >]: + [ChannelObjectId ]: + [EventTypes >]: + [ExposeApprovalProgress ]: + [OrganizationObjectId ]: + [ResourceRequest ]: + [UserApprovalEmail ]: + [UserRequestEmail ]: + +CHANNELEVENTS : + [ChannelObjectId ]: + [EventTypes >]: +.Link +https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkApprovalFlowSetting.md +#> + Function Set-JcSdkApprovalFlowSetting +{ + [OutputType([JumpCloud.SDK.V2.Models.IJumpcloudIngressoUpdateAccessWorkflowSettingsResponse])] + [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] + Param( + [Parameter(Mandatory)] + [JumpCloud.SDK.V2.Category('Uri')] + [System.String] + # Region for JumpCloud API host. + # Use 'console' for US or 'console.eu' for EU. + ${ConsoleHost}, + + [Parameter(ParameterSetName='Set', Mandatory, ValueFromPipeline)] + [JumpCloud.SDK.V2.Category('Body')] + [JumpCloud.SDK.V2.Models.IJumpcloudIngressoUpdateAccessWorkflowSettingsRequest] + # . + ${Body}, + + [Parameter(ParameterSetName='SetExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.Management.Automation.SwitchParameter] + # . + ${AdminApprovalEmail}, + + [Parameter(ParameterSetName='SetExpanded')] + [AllowEmptyCollection()] + [JumpCloud.SDK.V2.Category('Body')] + [JumpCloud.SDK.V2.Models.IJumpcloudIngressoChannelEvent[]] + # . + ${ChannelEvents}, + + [Parameter(ParameterSetName='SetExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.Management.Automation.SwitchParameter] + # . + ${ExposeApprovalProgress}, + + [Parameter(ParameterSetName='SetExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.String] + # Input File for OrganizationObjectId (.) + ${OrganizationObjectIdInputFile}, + + [Parameter(ParameterSetName='SetExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.Management.Automation.SwitchParameter] + # . + ${ResourceRequest}, + + [Parameter(ParameterSetName='SetExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.Management.Automation.SwitchParameter] + # . + ${UserApprovalEmail}, + + [Parameter(ParameterSetName='SetExpanded')] + [JumpCloud.SDK.V2.Category('Body')] + [System.Management.Automation.SwitchParameter] + # . + ${UserRequestEmail}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [JumpCloud.SDK.V2.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [JumpCloud.SDK.V2.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [JumpCloud.SDK.V2.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} + ) + Begin + { + $Results = @() + $PSBoundParameters.Add('HttpPipelineAppend', { + param($req, $callback, $next) + # call the next step in the Pipeline + $ResponseTask = $next.SendAsync($req, $callback) + $global:JCHttpRequest = $req + # $global:JCHttpRequestContent = If (-not [System.String]::IsNullOrEmpty($req.Content)) { $req.Content.ReadAsStringAsync() } + $global:JCHttpResponse = $ResponseTask + # $global:JCHttpResponseContent = If (-not [System.String]::IsNullOrEmpty($ResponseTask.Result.Content)) { $ResponseTask.Result.Content.ReadAsStringAsync() } + Return $ResponseTask + } + ) + } + Process + { + $maxRetries = 4 + $resultCounter = 0 + :retryLoop do { + $resultCounter++ + $Results = JumpCloud.SDK.V2.internal\Set-JcSdkInternalApprovalFlowSetting @PSBoundParameters -errorAction SilentlyContinue -errorVariable sdkError + If ($sdkError){ + If ($resultCounter -eq $maxRetries){ + throw $sdkError + } + If ($JCHttpResponse.Result.StatusCode -eq "503") { + Write-Warning ("503: Service Unavailable - retrying in " + ($resultCounter * 5) + " seconds.") + } else { + throw $sdkError + } + } else { + break retryLoop + } + Start-Sleep -Seconds ($resultCounter * 5) + } while ($resultCounter -lt $maxRetries) + } + End + { + Write-Debug ('HttpRequest: ' + $JCHttpRequest); + # Write-Debug ('HttpRequestContent: ' + $JCHttpRequestContent.Result); + Write-Debug ('HttpResponse: ' + $JCHttpResponse.Result); + # Write-Debug ('HttpResponseContent: ' + $JCHttpResponseContent.Result); + # Clean up global variables + $GlobalVars = @('JCHttpRequest', 'JCHttpRequestContent', 'JCHttpResponse', 'JCHttpResponseContent') + $GlobalVars | ForEach-Object { + If ((Get-Variable -Scope:('Global')).Where( { $_.Name -eq $_ })) { + Remove-Variable -Name:($_) -Scope:('Global') + } + } + Return $Results + } +} + + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkCommandAssociation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkCommandAssociation.ps1 index 571d1b4fe..040e76b77 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkCommandAssociation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkCommandAssociation.ps1 @@ -69,6 +69,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: @@ -146,7 +147,7 @@ https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/Jum [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] - [JumpCloud.SDK.V2.PSArgumentCompleterAttribute("system", "system_group")] + [JumpCloud.SDK.V2.PSArgumentCompleterAttribute("system", "system_group", "password_manager_item")] [JumpCloud.SDK.V2.Category('Body')] [System.String] # Targets which a "command" can be associated to. diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkCustomEmailConfiguration.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkCustomEmailConfiguration.ps1 index 35ea3b927..0df0d021a 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkCustomEmailConfiguration.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkCustomEmailConfiguration.ps1 @@ -67,6 +67,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkDuoApplication.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkDuoApplication.ps1 index 09b5a7215..7d25e1182 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkDuoApplication.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkDuoApplication.ps1 @@ -80,6 +80,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkGSuiteAssociation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkGSuiteAssociation.ps1 index 9dd7a8ec1..bf65f5e2e 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkGSuiteAssociation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkGSuiteAssociation.ps1 @@ -69,6 +69,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkIPList.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkIPList.ps1 index dfc9e4742..f087b4b08 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkIPList.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkIPList.ps1 @@ -79,6 +79,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkLdapServerAssociation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkLdapServerAssociation.ps1 index d0cf54b20..0d07d0982 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkLdapServerAssociation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkLdapServerAssociation.ps1 @@ -67,6 +67,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkLdapServerSambaDomain.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkLdapServerSambaDomain.ps1 index 5b4ebafbc..2ce466ec2 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkLdapServerSambaDomain.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkLdapServerSambaDomain.ps1 @@ -72,6 +72,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkOffice365Association.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkOffice365Association.ps1 index 8bef8e957..755ad9b37 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkOffice365Association.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkOffice365Association.ps1 @@ -67,6 +67,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkPolicy.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkPolicy.ps1 index 01803509e..e0f57cffa 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkPolicy.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkPolicy.ps1 @@ -100,6 +100,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkPolicyAssociation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkPolicyAssociation.ps1 index 0f4f86548..049dc6333 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkPolicyAssociation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkPolicyAssociation.ps1 @@ -67,6 +67,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkPolicyGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkPolicyGroup.ps1 index 34f092e9e..87fe247ae 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkPolicyGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkPolicyGroup.ps1 @@ -75,6 +75,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkPolicyGroupAssociation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkPolicyGroupAssociation.ps1 index d80837df6..35c8ec98f 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkPolicyGroupAssociation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkPolicyGroupAssociation.ps1 @@ -69,6 +69,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkPolicyGroupMember.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkPolicyGroupMember.ps1 index c5ca23dc9..4fec94da5 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkPolicyGroupMember.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkPolicyGroupMember.ps1 @@ -62,6 +62,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkRadiusServerAssociation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkRadiusServerAssociation.ps1 index b3f6176c0..4ef82432c 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkRadiusServerAssociation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkRadiusServerAssociation.ps1 @@ -71,6 +71,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkSoftwareApp.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkSoftwareApp.ps1 index 3fc1414d0..fb4fe63c7 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkSoftwareApp.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkSoftwareApp.ps1 @@ -243,6 +243,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkSoftwareAppAssociation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkSoftwareAppAssociation.ps1 index 62dad4092..33014f363 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkSoftwareAppAssociation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkSoftwareAppAssociation.ps1 @@ -63,6 +63,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkSystemAssociation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkSystemAssociation.ps1 index 93c6f7ff4..d0ecb41a9 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkSystemAssociation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkSystemAssociation.ps1 @@ -83,6 +83,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkSystemGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkSystemGroup.ps1 index f4d145300..16010e76d 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkSystemGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkSystemGroup.ps1 @@ -102,6 +102,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkSystemGroupAssociation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkSystemGroupAssociation.ps1 index 8795fa039..208cf2072 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkSystemGroupAssociation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkSystemGroupAssociation.ps1 @@ -69,6 +69,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkSystemGroupMember.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkSystemGroupMember.ps1 index 1dcd4b9b7..883be300d 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkSystemGroupMember.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkSystemGroupMember.ps1 @@ -62,6 +62,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkUserAssociation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkUserAssociation.ps1 index eaf8291e4..e732dd6e9 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkUserAssociation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkUserAssociation.ps1 @@ -83,6 +83,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkUserGroup.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkUserGroup.ps1 index 57b97f5fa..77ab8252b 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkUserGroup.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkUserGroup.ps1 @@ -120,6 +120,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkUserGroupAssociation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkUserGroupAssociation.ps1 index 7cf864085..6a95db108 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkUserGroupAssociation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkUserGroupAssociation.ps1 @@ -69,6 +69,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkUserGroupMember.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkUserGroupMember.ps1 index 36ede6e0a..9e9679f84 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkUserGroupMember.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkUserGroupMember.ps1 @@ -62,6 +62,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkWorkday.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkWorkday.ps1 index 4aeb4e670..28935afac 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkWorkday.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Set-JcSdkWorkday.ps1 @@ -90,6 +90,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Stop-JcSdkAppleMdmDevice.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Stop-JcSdkAppleMdmDevice.ps1 index a68759560..c93c1d05c 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Stop-JcSdkAppleMdmDevice.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Stop-JcSdkAppleMdmDevice.ps1 @@ -46,6 +46,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Sync-JcSdkAppleMdmDevice.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Sync-JcSdkAppleMdmDevice.ps1 index a7799931e..731e0a197 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Sync-JcSdkAppleMdmDevice.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Sync-JcSdkAppleMdmDevice.ps1 @@ -46,6 +46,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkAppleMdmDeviceLockInformation.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkAppleMdmDeviceLockInformation.ps1 index 98c92f7c0..72d96f854 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkAppleMdmDeviceLockInformation.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkAppleMdmDeviceLockInformation.ps1 @@ -48,6 +48,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkAuthenticationPolicy.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkAuthenticationPolicy.ps1 index eb4bb1019..821e90221 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkAuthenticationPolicy.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkAuthenticationPolicy.ps1 @@ -116,6 +116,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkGSuite.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkGSuite.ps1 index db73a2a6d..00adeadf7 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkGSuite.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkGSuite.ps1 @@ -137,6 +137,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkIPList.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkIPList.ps1 index 8f1fca5fc..00ac46fe5 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkIPList.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkIPList.ps1 @@ -69,6 +69,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkLdapServer.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkLdapServer.ps1 index 640c2418d..fc1db0fbf 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkLdapServer.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkLdapServer.ps1 @@ -77,6 +77,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkOffice365.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkOffice365.ps1 index 782fffbae..ef72cb478 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkOffice365.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkOffice365.ps1 @@ -141,6 +141,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkUserPushEndpoint.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkUserPushEndpoint.ps1 index f30dfb8e3..b339b722a 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkUserPushEndpoint.ps1 +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/generated/Update-JcSdkUserPushEndpoint.ps1 @@ -64,6 +64,7 @@ INPUTOBJECT : [AgentId ]: [AppleMdmId ]: [ApplicationId ]: ObjectID of the Application. + [ApprovalFlowId ]: [CommandId ]: ObjectID of the Command. [CustomEmailType ]: [DeviceId ]: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Clear-JcSdkAppleMdmDevice.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Clear-JcSdkAppleMdmDevice.md index a55e13aa1..55baa82ad 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Clear-JcSdkAppleMdmDevice.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Clear-JcSdkAppleMdmDevice.md @@ -244,6 +244,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Clear-JcSdkAppleMdmDeviceActivationLock.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Clear-JcSdkAppleMdmDeviceActivationLock.md index fe2c7c4f7..88ae08aae 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Clear-JcSdkAppleMdmDeviceActivationLock.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Clear-JcSdkAppleMdmDeviceActivationLock.md @@ -195,6 +195,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkAccessRequest.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkAccessRequest.md new file mode 100644 index 000000000..48770bdb5 --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkAccessRequest.md @@ -0,0 +1,207 @@ +--- +external help file: +Module Name: JumpCloud.SDK.V2 +online version: https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkAccessRequest.md +schema: 2.0.0 +--- + +# Get-JcSdkAccessRequest + +## SYNOPSIS +Endpoint that returns the workflow access request by id + +## SYNTAX + +### List (Default) +``` +Get-JcSdkAccessRequest -ConsoleHost [-Fields >] [-Filter >] + [-OrganizationObjectId ] [-Sort ] [] +``` + +### Get +``` +Get-JcSdkAccessRequest -ConsoleHost -Id [-OrganizationObjectId ] + [] +``` + +### GetViaIdentity +``` +Get-JcSdkAccessRequest -ConsoleHost -InputObject + [-OrganizationObjectId ] [] +``` + +## DESCRIPTION +Endpoint that returns the workflow access request by id + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-JcSdkAccessRequest -Id:() +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +Get-JcSdkAccessRequest -Fields:() -Filter:() -Sort:() +``` + + + +## PARAMETERS + +### -ConsoleHost +Region for JumpCloud API host. +Use 'console' for US or 'console.eu' for EU. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Fields +. + +```yaml +Type: System.Collections.Generic.List`1[[System.String, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filter +. + +```yaml +Type: System.Collections.Generic.List`1[[System.String, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Id +. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: JumpCloud.SDK.V2.Models.IJumpCloudApiIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -OrganizationObjectId +. + +```yaml +Type: System.Byte[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sort +. + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### JumpCloud.SDK.V2.Models.IJumpCloudApiIdentity + +## OUTPUTS + +### JumpCloud.SDK.V2.Models.IJumpcloudIngressoGetAllWorkflowAccessRequestResponse + +### JumpCloud.SDK.V2.Models.IJumpcloudIngressoGetWorkflowAccessRequestResponse + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`INPUTOBJECT `: Identity Parameter + - `[AccountId ]`: + - `[ActivedirectoryId ]`: + - `[AdministratorId ]`: + - `[AgentId ]`: + - `[AppleMdmId ]`: + - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: + - `[CommandId ]`: ObjectID of the Command. + - `[CustomEmailType ]`: + - `[DeviceId ]`: + - `[GroupId ]`: ObjectID of the Policy Group. + - `[GsuiteId ]`: ObjectID of the G Suite instance. + - `[Id ]`: ObjectID of this Active Directory instance. + - `[JobId ]`: + - `[LdapserverId ]`: ObjectID of the LDAP Server. + - `[Office365Id ]`: ObjectID of the Office 365 instance. + - `[PolicyId ]`: ObjectID of the Policy. + - `[ProviderId ]`: + - `[PushEndpointId ]`: + - `[RadiusserverId ]`: ObjectID of the Radius Server. + - `[SoftwareAppId ]`: ObjectID of the Software App. + - `[SystemId ]`: ObjectID of the System. + - `[UserId ]`: ObjectID of the User. + - `[WorkdayId ]`: + +## RELATED LINKS + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkAccessRequestProgress.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkAccessRequestProgress.md new file mode 100644 index 000000000..b9a96f65e --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkAccessRequestProgress.md @@ -0,0 +1,147 @@ +--- +external help file: +Module Name: JumpCloud.SDK.V2 +online version: https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkAccessRequestProgress.md +schema: 2.0.0 +--- + +# Get-JcSdkAccessRequestProgress + +## SYNOPSIS +Endpoint for getting the approval progress of a access request + +## SYNTAX + +### Get (Default) +``` +Get-JcSdkAccessRequestProgress -ConsoleHost -Id [-OrganizationObjectId ] + [] +``` + +### GetViaIdentity +``` +Get-JcSdkAccessRequestProgress -ConsoleHost -InputObject + [-OrganizationObjectId ] [] +``` + +## DESCRIPTION +Endpoint for getting the approval progress of a access request + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-JcSdkAccessRequestProgress -Id:() +``` + + + +## PARAMETERS + +### -ConsoleHost +Region for JumpCloud API host. +Use 'console' for US or 'console.eu' for EU. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Id +. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: JumpCloud.SDK.V2.Models.IJumpCloudApiIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -OrganizationObjectId +. + +```yaml +Type: System.Byte[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### JumpCloud.SDK.V2.Models.IJumpCloudApiIdentity + +## OUTPUTS + +### JumpCloud.SDK.V2.Models.IJumpcloudIngressoGetAccessRequestApprovalProgressResponse + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`INPUTOBJECT `: Identity Parameter + - `[AccountId ]`: + - `[ActivedirectoryId ]`: + - `[AdministratorId ]`: + - `[AgentId ]`: + - `[AppleMdmId ]`: + - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: + - `[CommandId ]`: ObjectID of the Command. + - `[CustomEmailType ]`: + - `[DeviceId ]`: + - `[GroupId ]`: ObjectID of the Policy Group. + - `[GsuiteId ]`: ObjectID of the G Suite instance. + - `[Id ]`: ObjectID of this Active Directory instance. + - `[JobId ]`: + - `[LdapserverId ]`: ObjectID of the LDAP Server. + - `[Office365Id ]`: ObjectID of the Office 365 instance. + - `[PolicyId ]`: ObjectID of the Policy. + - `[ProviderId ]`: + - `[PushEndpointId ]`: + - `[RadiusserverId ]`: ObjectID of the Radius Server. + - `[SoftwareAppId ]`: ObjectID of the Software App. + - `[SystemId ]`: ObjectID of the System. + - `[UserId ]`: ObjectID of the User. + - `[WorkdayId ]`: + +## RELATED LINKS + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkActiveDirectory.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkActiveDirectory.md index 2e6275e23..574898ecf 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkActiveDirectory.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkActiveDirectory.md @@ -206,6 +206,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkActiveDirectoryAgent.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkActiveDirectoryAgent.md index a8836b957..b4aa51550 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkActiveDirectoryAgent.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkActiveDirectoryAgent.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkActiveDirectoryAssociation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkActiveDirectoryAssociation.md index bd9ba48a1..11f92c40c 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkActiveDirectoryAssociation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkActiveDirectoryAssociation.md @@ -160,6 +160,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkActiveDirectoryTraverseUser.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkActiveDirectoryTraverseUser.md index d78aa8ba6..01394a05e 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkActiveDirectoryTraverseUser.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkActiveDirectoryTraverseUser.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkActiveDirectoryTraverseUserGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkActiveDirectoryTraverseUserGroup.md index b0b1a327f..61c832173 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkActiveDirectoryTraverseUserGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkActiveDirectoryTraverseUserGroup.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkAppleMdmDevice.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkAppleMdmDevice.md index e42e97516..481eb8920 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkAppleMdmDevice.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkAppleMdmDevice.md @@ -260,6 +260,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkApplicationAssociation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkApplicationAssociation.md index c822c4456..2f483a775 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkApplicationAssociation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkApplicationAssociation.md @@ -158,6 +158,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkApplicationTraverseUser.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkApplicationTraverseUser.md index df2331b2e..8f116cf04 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkApplicationTraverseUser.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkApplicationTraverseUser.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkApplicationTraverseUserGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkApplicationTraverseUserGroup.md index c5a959712..d1e12c051 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkApplicationTraverseUserGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkApplicationTraverseUserGroup.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkApprovalFlow.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkApprovalFlow.md new file mode 100644 index 000000000..c31218af4 --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkApprovalFlow.md @@ -0,0 +1,207 @@ +--- +external help file: +Module Name: JumpCloud.SDK.V2 +online version: https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkApprovalFlow.md +schema: 2.0.0 +--- + +# Get-JcSdkApprovalFlow + +## SYNOPSIS +Endpoint for getting workflow by id + +## SYNTAX + +### List (Default) +``` +Get-JcSdkApprovalFlow -ConsoleHost [-Fields >] [-Filter >] + [-OrganizationObjectId ] [-Sort ] [] +``` + +### Get +``` +Get-JcSdkApprovalFlow -ConsoleHost -ApprovalFlowId [-OrganizationObjectId ] + [] +``` + +### GetViaIdentity +``` +Get-JcSdkApprovalFlow -ConsoleHost -InputObject + [-OrganizationObjectId ] [] +``` + +## DESCRIPTION +Endpoint for getting workflow by id + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-JcSdkApprovalFlow -ApprovalFlowId:() +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +Get-JcSdkApprovalFlow -Fields:() -Filter:() -Sort:() +``` + + + +## PARAMETERS + +### -ApprovalFlowId +. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ConsoleHost +Region for JumpCloud API host. +Use 'console' for US or 'console.eu' for EU. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Fields +. + +```yaml +Type: System.Collections.Generic.List`1[[System.String, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filter +. + +```yaml +Type: System.Collections.Generic.List`1[[System.String, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: JumpCloud.SDK.V2.Models.IJumpCloudApiIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -OrganizationObjectId +. + +```yaml +Type: System.Byte[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sort +. + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### JumpCloud.SDK.V2.Models.IJumpCloudApiIdentity + +## OUTPUTS + +### JumpCloud.SDK.V2.Models.IJumpcloudIngressoAccessWorkflow + +### JumpCloud.SDK.V2.Models.IJumpcloudIngressoGetAllAccessWorkFlowsResponse + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`INPUTOBJECT `: Identity Parameter + - `[AccountId ]`: + - `[ActivedirectoryId ]`: + - `[AdministratorId ]`: + - `[AgentId ]`: + - `[AppleMdmId ]`: + - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: + - `[CommandId ]`: ObjectID of the Command. + - `[CustomEmailType ]`: + - `[DeviceId ]`: + - `[GroupId ]`: ObjectID of the Policy Group. + - `[GsuiteId ]`: ObjectID of the G Suite instance. + - `[Id ]`: ObjectID of this Active Directory instance. + - `[JobId ]`: + - `[LdapserverId ]`: ObjectID of the LDAP Server. + - `[Office365Id ]`: ObjectID of the Office 365 instance. + - `[PolicyId ]`: ObjectID of the Policy. + - `[ProviderId ]`: + - `[PushEndpointId ]`: + - `[RadiusserverId ]`: ObjectID of the Radius Server. + - `[SoftwareAppId ]`: ObjectID of the Software App. + - `[SystemId ]`: ObjectID of the System. + - `[UserId ]`: ObjectID of the User. + - `[WorkdayId ]`: + +## RELATED LINKS + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkApprovalFlowSetting.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkApprovalFlowSetting.md new file mode 100644 index 000000000..bd330af92 --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkApprovalFlowSetting.md @@ -0,0 +1,76 @@ +--- +external help file: +Module Name: JumpCloud.SDK.V2 +online version: https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkApprovalFlowSetting.md +schema: 2.0.0 +--- + +# Get-JcSdkApprovalFlowSetting + +## SYNOPSIS +Endpoint for getting workflow settings for an organisation + +## SYNTAX + +``` +Get-JcSdkApprovalFlowSetting -ConsoleHost [-OrganizationObjectId ] [] +``` + +## DESCRIPTION +Endpoint for getting workflow settings for an organisation + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-JcSdkApprovalFlowSetting +``` + + + +## PARAMETERS + +### -ConsoleHost +Region for JumpCloud API host. +Use 'console' for US or 'console.eu' for EU. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrganizationObjectId +. + +```yaml +Type: System.Byte[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### JumpCloud.SDK.V2.Models.IJumpcloudIngressoAccessWorkflowSettings + +## NOTES + +## RELATED LINKS + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkAuthenticationPolicy.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkAuthenticationPolicy.md index aa646a7ff..614a2831b 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkAuthenticationPolicy.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkAuthenticationPolicy.md @@ -225,6 +225,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkBulkUsersResult.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkBulkUsersResult.md index 854ff7a6d..432be9818 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkBulkUsersResult.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkBulkUsersResult.md @@ -139,6 +139,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkCommandAssociation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkCommandAssociation.md index 315223ffb..c414ed439 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkCommandAssociation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkCommandAssociation.md @@ -159,6 +159,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkCommandTraverseSystem.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkCommandTraverseSystem.md index 25b787fe4..a193a324d 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkCommandTraverseSystem.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkCommandTraverseSystem.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkCommandTraverseSystemGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkCommandTraverseSystemGroup.md index 5d0a81615..3addeecd3 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkCommandTraverseSystemGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkCommandTraverseSystemGroup.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkCustomEmailConfiguration.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkCustomEmailConfiguration.md index 78ffcaa00..352dd2992 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkCustomEmailConfiguration.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkCustomEmailConfiguration.md @@ -123,6 +123,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkDuoAccount.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkDuoAccount.md index 2dfbd29d6..d2dc9f049 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkDuoAccount.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkDuoAccount.md @@ -139,6 +139,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkDuoApplication.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkDuoApplication.md index 8571086bf..2546fba24 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkDuoApplication.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkDuoApplication.md @@ -158,6 +158,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkGSuite.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkGSuite.md index f9029fac0..64f8ebf2a 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkGSuite.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkGSuite.md @@ -139,6 +139,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkGSuiteAssociation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkGSuiteAssociation.md index 87f6db785..7d6c976be 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkGSuiteAssociation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkGSuiteAssociation.md @@ -159,6 +159,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkGSuiteTranslationRule.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkGSuiteTranslationRule.md index 0fae6c727..0a694a41a 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkGSuiteTranslationRule.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkGSuiteTranslationRule.md @@ -221,6 +221,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkGSuiteTraverseUser.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkGSuiteTraverseUser.md index 88e70b239..b48ad5cab 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkGSuiteTraverseUser.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkGSuiteTraverseUser.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkGSuiteTraverseUserGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkGSuiteTraverseUserGroup.md index 71ed2712f..2d6823e1b 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkGSuiteTraverseUserGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkGSuiteTraverseUserGroup.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkGroup.md index 3a27bbd1e..2acfe79a9 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkGroup.md @@ -14,6 +14,7 @@ This endpoint returns all Groups that exist in your organization. - `name` - `disabled` - `type` + - `memberQueryErrorFlags` #### Sample Request @@ -39,6 +40,7 @@ This endpoint returns all Groups that exist in your organization. - `name` - `disabled` - `type` + - `memberQueryErrorFlags` #### Sample Request diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkIPList.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkIPList.md index d8c89e57a..0f6bd01d1 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkIPList.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkIPList.md @@ -203,6 +203,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkLdapServer.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkLdapServer.md index 0e93babc1..16ea5b351 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkLdapServer.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkLdapServer.md @@ -206,6 +206,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkLdapServerAssociation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkLdapServerAssociation.md index 8bfe34c33..cff658a15 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkLdapServerAssociation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkLdapServerAssociation.md @@ -160,6 +160,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkLdapServerSambaDomain.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkLdapServerSambaDomain.md index 3a8ddb31c..2c36106ed 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkLdapServerSambaDomain.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkLdapServerSambaDomain.md @@ -219,6 +219,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkLdapServerTraverseUser.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkLdapServerTraverseUser.md index 94452edd1..57fd589cc 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkLdapServerTraverseUser.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkLdapServerTraverseUser.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkLdapServerTraverseUserGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkLdapServerTraverseUserGroup.md index 27e63f0e0..58a7607e1 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkLdapServerTraverseUserGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkLdapServerTraverseUserGroup.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkOffice365.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkOffice365.md index 83900cfb7..6f2b67492 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkOffice365.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkOffice365.md @@ -145,6 +145,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkOffice365Association.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkOffice365Association.md index c5b50587b..e2904378f 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkOffice365Association.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkOffice365Association.md @@ -162,6 +162,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkOffice365TranslationRule.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkOffice365TranslationRule.md index b5ba5efbc..0d596d0f9 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkOffice365TranslationRule.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkOffice365TranslationRule.md @@ -223,6 +223,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkOffice365TraverseUser.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkOffice365TraverseUser.md index 6ab1bd626..4bc02677a 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkOffice365TraverseUser.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkOffice365TraverseUser.md @@ -31,13 +31,13 @@ curl -X GET https://console.jumpcloud.com/api/v2/office365s/{OFFICE365_ID}/users ### Get (Default) ``` Get-JcSdkOffice365TraverseUser -ConsoleHost -Office365Id [-Filter >] - [] + [-SyncStatus] [] ``` ### GetViaIdentity ``` Get-JcSdkOffice365TraverseUser -ConsoleHost -InputObject - [-Filter >] [] + [-Filter >] [-SyncStatus] [] ``` ## DESCRIPTION @@ -155,6 +155,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -SyncStatus +Include sync status for users + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). @@ -180,6 +195,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkOffice365TraverseUserGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkOffice365TraverseUserGroup.md index 6674311d7..c8cf648a0 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkOffice365TraverseUserGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkOffice365TraverseUserGroup.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicy.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicy.md index 358689a30..0b903f6e5 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicy.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicy.md @@ -228,6 +228,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyAssociation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyAssociation.md index 1cd97e80c..b219d63fc 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyAssociation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyAssociation.md @@ -157,6 +157,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyGroup.md index bf060334a..df3c8ff3e 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyGroup.md @@ -208,6 +208,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyGroupMember.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyGroupMember.md index c9ffa3943..bc19f040c 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyGroupMember.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyGroupMember.md @@ -244,6 +244,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyGroupMembership.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyGroupMembership.md index 09f43b188..d419dbe60 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyGroupMembership.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyGroupMembership.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyGroupTraverseSystem.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyGroupTraverseSystem.md index fe633dffd..d5e86ed17 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyGroupTraverseSystem.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyGroupTraverseSystem.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyGroupTraverseSystemGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyGroupTraverseSystemGroup.md index 86dc4c5ca..94fc752b6 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyGroupTraverseSystemGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyGroupTraverseSystemGroup.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyResult.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyResult.md index bc0cd54e3..514fd097c 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyResult.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyResult.md @@ -233,6 +233,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyTemplate.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyTemplate.md index db664e2b8..12312f556 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyTemplate.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyTemplate.md @@ -222,6 +222,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyTraverseSystem.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyTraverseSystem.md index a00ba020f..c8d1a3616 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyTraverseSystem.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyTraverseSystem.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyTraverseSystemGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyTraverseSystemGroup.md index a96700ca1..ef1dbf745 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyTraverseSystemGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkPolicyTraverseSystemGroup.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkProvidersInvoice.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkProvidersInvoice.md index 23cb690be..2946674ea 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkProvidersInvoice.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkProvidersInvoice.md @@ -164,6 +164,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkRadiusServerAssociation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkRadiusServerAssociation.md index 751736bab..d3300c760 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkRadiusServerAssociation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkRadiusServerAssociation.md @@ -158,6 +158,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkRadiusServerTraverseUser.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkRadiusServerTraverseUser.md index 23adb6d78..49d6f526a 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkRadiusServerTraverseUser.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkRadiusServerTraverseUser.md @@ -182,6 +182,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkRadiusServerTraverseUserGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkRadiusServerTraverseUserGroup.md index 7a32179be..96bca9495 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkRadiusServerTraverseUserGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkRadiusServerTraverseUserGroup.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSoftwareApp.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSoftwareApp.md index 277fd1822..1528e36ad 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSoftwareApp.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSoftwareApp.md @@ -188,6 +188,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSoftwareAppAssociation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSoftwareAppAssociation.md index e2440a378..f670194ec 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSoftwareAppAssociation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSoftwareAppAssociation.md @@ -158,6 +158,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSoftwareAppStatus.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSoftwareAppStatus.md index fc57b2908..c51723f0e 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSoftwareAppStatus.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSoftwareAppStatus.md @@ -184,6 +184,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSoftwareAppTraverseSystem.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSoftwareAppTraverseSystem.md index 8d8c79b02..e3aaa0abb 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSoftwareAppTraverseSystem.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSoftwareAppTraverseSystem.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSoftwareAppTraverseSystemGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSoftwareAppTraverseSystemGroup.md index 13e408518..3844f53fe 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSoftwareAppTraverseSystemGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSoftwareAppTraverseSystemGroup.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemAssociation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemAssociation.md index 1c64922b5..55aa2e4e1 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemAssociation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemAssociation.md @@ -192,6 +192,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemFdeKey.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemFdeKey.md index 1f4809781..87c6d84f1 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemFdeKey.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemFdeKey.md @@ -114,6 +114,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroup.md index f89bb3ec3..f777bd22c 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroup.md @@ -218,6 +218,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupAssociation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupAssociation.md index c359eda64..7e9d843f1 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupAssociation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupAssociation.md @@ -159,6 +159,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupMember.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupMember.md index 3f241bd97..4ebd45950 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupMember.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupMember.md @@ -139,6 +139,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupMembership.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupMembership.md index 05b05b45f..a9ccd2ea2 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupMembership.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupMembership.md @@ -182,6 +182,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupTraverseCommand.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupTraverseCommand.md index 2f1681538..58f54c35a 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupTraverseCommand.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupTraverseCommand.md @@ -204,6 +204,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupTraversePolicy.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupTraversePolicy.md index 3b552c3ca..121b2349e 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupTraversePolicy.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupTraversePolicy.md @@ -184,6 +184,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupTraversePolicyGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupTraversePolicyGroup.md index d89a2b326..4a3497df3 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupTraversePolicyGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupTraversePolicyGroup.md @@ -182,6 +182,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupTraverseUser.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupTraverseUser.md index eb79c38bf..b090ff5b3 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupTraverseUser.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupTraverseUser.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupTraverseUserGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupTraverseUserGroup.md index 8fe011f87..fea80a971 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupTraverseUserGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemGroupTraverseUserGroup.md @@ -182,6 +182,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemMember.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemMember.md index 97d5e374e..ec061d0aa 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemMember.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemMember.md @@ -212,6 +212,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemTraverseCommand.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemTraverseCommand.md index 0f4685411..69c51553a 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemTraverseCommand.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemTraverseCommand.md @@ -206,6 +206,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemTraversePolicy.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemTraversePolicy.md index 9a6ceb5b5..fe7fe14d7 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemTraversePolicy.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemTraversePolicy.md @@ -188,6 +188,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemTraversePolicyGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemTraversePolicyGroup.md index bbfeb407e..914bc95c3 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemTraversePolicyGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemTraversePolicyGroup.md @@ -212,6 +212,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemTraverseUser.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemTraverseUser.md index 25a7fa5cc..dbb603fa5 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemTraverseUser.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemTraverseUser.md @@ -212,6 +212,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemTraverseUserGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemTraverseUserGroup.md index 24737962c..6d967693e 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemTraverseUserGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkSystemTraverseUserGroup.md @@ -212,6 +212,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserAssociation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserAssociation.md index c334acff7..eb22356dc 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserAssociation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserAssociation.md @@ -161,6 +161,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroup.md index cc7683fc3..69c23d497 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroup.md @@ -224,6 +224,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupAssociation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupAssociation.md index ded12485f..456c2bdf9 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupAssociation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupAssociation.md @@ -159,6 +159,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupMember.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupMember.md index a93d15cc5..a53f769aa 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupMember.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupMember.md @@ -137,6 +137,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupMembership.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupMembership.md index aa1eee874..afa6041c3 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupMembership.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupMembership.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseActiveDirectory.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseActiveDirectory.md index 606b3a26f..f210e673d 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseActiveDirectory.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseActiveDirectory.md @@ -176,6 +176,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseApplication.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseApplication.md index 71fdd1661..8ef59ba98 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseApplication.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseApplication.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseDirectory.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseDirectory.md index 245ad0e97..fffaf1a05 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseDirectory.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseDirectory.md @@ -182,6 +182,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseGSuite.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseGSuite.md index 7c5f8bfca..246054e9f 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseGSuite.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseGSuite.md @@ -182,6 +182,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseLdapServer.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseLdapServer.md index bfe825247..719a03213 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseLdapServer.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseLdapServer.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseOffice365.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseOffice365.md index 3bc436355..55f84a9dc 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseOffice365.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseOffice365.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseRadiusServer.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseRadiusServer.md index d428289c0..9e60e1888 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseRadiusServer.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseRadiusServer.md @@ -182,6 +182,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseSystem.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseSystem.md index b11d56862..9a98ff09b 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseSystem.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseSystem.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseSystemGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseSystemGroup.md index eb85cf933..26c89dc00 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseSystemGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserGroupTraverseSystemGroup.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserMember.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserMember.md index 8bcad6b05..2aeee1146 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserMember.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserMember.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserPushEndpoint.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserPushEndpoint.md index aecd7dbef..664fe02b7 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserPushEndpoint.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserPushEndpoint.md @@ -156,6 +156,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseActiveDirectory.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseActiveDirectory.md index ec742240c..00ac10707 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseActiveDirectory.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseActiveDirectory.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseApplication.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseApplication.md index e489608a3..726a0c3bc 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseApplication.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseApplication.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseDirectory.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseDirectory.md index 5f5918df1..40a32b4da 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseDirectory.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseDirectory.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseGSuite.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseGSuite.md index 399f82859..905bfc939 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseGSuite.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseGSuite.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseLdapServer.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseLdapServer.md index 3f7c34e67..e3c7bf30f 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseLdapServer.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseLdapServer.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseOffice365.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseOffice365.md index 46ab22591..3aef92fda 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseOffice365.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseOffice365.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseRadiusServer.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseRadiusServer.md index b66cccb01..757521d7d 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseRadiusServer.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseRadiusServer.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseSystem.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseSystem.md index 50846db2d..9bc963f1c 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseSystem.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseSystem.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseSystemGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseSystemGroup.md index 9b9380b42..81cc22780 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseSystemGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkUserTraverseSystemGroup.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkWorkday.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkWorkday.md index 348aa103f..df589dc1b 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkWorkday.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkWorkday.md @@ -218,6 +218,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkWorkdayWorker.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkWorkdayWorker.md index cc2bba58d..46738cf09 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkWorkdayWorker.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Get-JcSdkWorkdayWorker.md @@ -158,6 +158,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Grant-JcSdkWorkday.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Grant-JcSdkWorkday.md index 8c1776530..f87d1b413 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Grant-JcSdkWorkday.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Grant-JcSdkWorkday.md @@ -289,6 +289,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Import-JcSdkScim.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Import-JcSdkScim.md index 721fe5c76..6ec6350eb 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Import-JcSdkScim.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Import-JcSdkScim.md @@ -240,6 +240,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Import-JcSdkWorkday.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Import-JcSdkWorkday.md index 29c54c92f..16a9f7dd9 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Import-JcSdkWorkday.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Import-JcSdkWorkday.md @@ -274,6 +274,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Import-JcSdkWorkdayResult.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Import-JcSdkWorkdayResult.md index 905d53242..50ec8465f 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Import-JcSdkWorkdayResult.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Import-JcSdkWorkdayResult.md @@ -152,6 +152,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Invoke-JcSdkReclaimSoftwareAppLicense.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Invoke-JcSdkReclaimSoftwareAppLicense.md index f48f16a69..7bc65b8f8 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Invoke-JcSdkReclaimSoftwareAppLicense.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Invoke-JcSdkReclaimSoftwareAppLicense.md @@ -167,6 +167,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/JumpCloud.SDK.V2.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/JumpCloud.SDK.V2.md index d89f0de9f..bffb87f68 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/JumpCloud.SDK.V2.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/JumpCloud.SDK.V2.md @@ -35,6 +35,12 @@ Clears the activation lock on the specified device. -d '{}' ``` +### [Get-JcSdkAccessRequest](Get-JcSdkAccessRequest.md) +Endpoint that returns the workflow access request by id + +### [Get-JcSdkAccessRequestProgress](Get-JcSdkAccessRequestProgress.md) +Endpoint for getting the approval progress of a access request + ### [Get-JcSdkActiveDirectory](Get-JcSdkActiveDirectory.md) This endpoint returns a specific Active Directory. @@ -204,6 +210,12 @@ curl -X GET https://console.jumpcloud.com/api/v2/applications/{Application_ID}/u -H 'x-api-key: {API_KEY}' ``` +### [Get-JcSdkApprovalFlow](Get-JcSdkApprovalFlow.md) +Endpoint for getting workflow by id + +### [Get-JcSdkApprovalFlowSetting](Get-JcSdkApprovalFlowSetting.md) +Endpoint for getting workflow settings for an organisation + ### [Get-JcSdkAuthenticationPolicy](Get-JcSdkAuthenticationPolicy.md) Return a specific authentication policy. @@ -335,6 +347,7 @@ This endpoint returns all Groups that exist in your organization. - `name` - `disabled` - `type` + - `memberQueryErrorFlags` #### Sample Request @@ -2006,6 +2019,9 @@ curl -X POST https://console.jumpcloud.com/api/v2/activedirectories/{activedirec ### [New-JcSdkAdministratorOrganization](New-JcSdkAdministratorOrganization.md) This endpoint allows you to grant Administrator access to an Organization. +### [New-JcSdkApprovalFlow](New-JcSdkApprovalFlow.md) +Endpoint for adding a new access workflow + ### [New-JcSdkAuthenticationPolicy](New-JcSdkAuthenticationPolicy.md) Create an authentication policy. @@ -2365,6 +2381,9 @@ Remove a single Apple MDM device from MDM enrollment. ### [Remove-JcSdkApplicationLogo](Remove-JcSdkApplicationLogo.md) Deletes the specified image from an application +### [Remove-JcSdkApprovalFlow](Remove-JcSdkApprovalFlow.md) +Endpoint for deleting accessworkflow by id + ### [Remove-JcSdkAuthenticationPolicy](Remove-JcSdkAuthenticationPolicy.md) Delete the specified authentication policy. @@ -2550,6 +2569,12 @@ Restarts a DEP-enrolled device. -d '{\"kextPaths\": [\"Path1\", \"Path2\"]}' ``` +### [Set-JcSdkAccessRequest](Set-JcSdkAccessRequest.md) +Endpoint that set the workflow access request by id + +### [Set-JcSdkAccessRequestApproval](Set-JcSdkAccessRequestApproval.md) +Endpoint for user approval + ### [Set-JcSdkActiveDirectoryAssociation](Set-JcSdkActiveDirectoryAssociation.md) This endpoint allows you to manage the _direct_ associations of an Active Directory instance. @@ -2610,6 +2635,12 @@ curl -X POST 'https://console.jumpcloud.com/api/v2/applications/{Application_ID} }' ``` +### [Set-JcSdkApprovalFlow](Set-JcSdkApprovalFlow.md) +Endpoint for updating a new access workflow + +### [Set-JcSdkApprovalFlowSetting](Set-JcSdkApprovalFlowSetting.md) +Endpoint for updating a access workflow settings for an organization + ### [Set-JcSdkCommandAssociation](Set-JcSdkCommandAssociation.md) This endpoint will allow you to manage the _direct_ associations of this Command. diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Lock-JcSdkAppleMdmDevice.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Lock-JcSdkAppleMdmDevice.md index 00b6ab331..8d48f43b8 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Lock-JcSdkAppleMdmDevice.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Lock-JcSdkAppleMdmDevice.md @@ -244,6 +244,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkActiveDirectoryAgent.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkActiveDirectoryAgent.md index b27d46329..8a1424152 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkActiveDirectoryAgent.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkActiveDirectoryAgent.md @@ -228,6 +228,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkAdministratorOrganization.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkAdministratorOrganization.md index e67d5cfcc..1387753c8 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkAdministratorOrganization.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkAdministratorOrganization.md @@ -198,6 +198,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkApprovalFlow.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkApprovalFlow.md new file mode 100644 index 000000000..abe34e98a --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkApprovalFlow.md @@ -0,0 +1,464 @@ +--- +external help file: +Module Name: JumpCloud.SDK.V2 +online version: https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkApprovalFlow.md +schema: 2.0.0 +--- + +# New-JcSdkApprovalFlow + +## SYNOPSIS +Endpoint for adding a new access workflow + +## SYNTAX + +### CreateExpanded (Default) +``` +New-JcSdkApprovalFlow -ConsoleHost [-ApprovalType ] [-ApproverRequirement ] + [-ApproverResources ] [-Category ] [-Description ] + [-FixedDuration ] [-IconColor ] [-IconUrl ] [-MultiSelectDuration ] + [-Name ] [-NonAdminApproval] [-OrganizationObjectIdInputFile ] [-ResourceId ] + [-ResourceType ] [-SlackConfig ] [-SlackEnabled] [-Status ] + [-TimeBasedAccess] [-TtlConfig ] [-VisibleTo ] [-Confirm] [-WhatIf] [] +``` + +### Create +``` +New-JcSdkApprovalFlow -ConsoleHost -Body [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Endpoint for adding a new access workflow + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +New-JcSdkApprovalFlow -ApprovalType 'manual' -Category "Application" -Description "A new workflow" -MultiSelectDuration @("P5D") -Name "New Workflow" -ResourceId 5d67fd481da3c52aa1faa883 -ResourceType "user_group" -Status "active" -TimeBasedAccess -TtlConfig "TTL_CONFIG_MULTI_SELECT_DURATIONS" -VisibleTo @('6148cd739d38866f0814e874') +``` + + + +## PARAMETERS + +### -ApprovalType +. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ApproverRequirement +. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ApproverResources +. + +```yaml +Type: JumpCloud.SDK.V2.Models.IJumpcloudIngressoApproverResource[] +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +. + +```yaml +Type: JumpCloud.SDK.V2.Models.IJumpcloudIngressoCreateAccessWorkflowRequest +Parameter Sets: Create +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Category +. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ConsoleHost +Region for JumpCloud API host. +Use 'console' for US or 'console.eu' for EU. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FixedDuration +. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IconColor +. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IconUrl +. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MultiSelectDuration +. + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NonAdminApproval +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrganizationObjectIdInputFile +Input File for OrganizationObjectId (.) + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceId +. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceType +. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SlackConfig +. + +```yaml +Type: JumpCloud.SDK.V2.Models.IJumpcloudIngressoSlackConfig[] +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SlackEnabled +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Status +. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TimeBasedAccess +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TtlConfig +. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VisibleTo +. + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### JumpCloud.SDK.V2.Models.IJumpcloudIngressoCreateAccessWorkflowRequest + +## OUTPUTS + +### JumpCloud.SDK.V2.Models.IJumpcloudIngressoCreateAccessWorkflowResponse + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`APPROVERRESOURCES `: . + - `[RequireAll ]`: + - `[ResourceId ]`: + - `[ResourceName ]`: + - `[ResourceOrder ]`: + - `[ResourceType ]`: + +`BODY `: . + - `[ApprovalType ]`: + - `[ApproverRequirement ]`: + - `[ApproverResources >]`: + - `[RequireAll ]`: + - `[ResourceId ]`: + - `[ResourceName ]`: + - `[ResourceOrder ]`: + - `[ResourceType ]`: + - `[Category ]`: + - `[Description ]`: + - `[FixedDuration ]`: + - `[IconColor ]`: + - `[IconUrl ]`: + - `[MultiSelectDuration >]`: + - `[Name ]`: + - `[NonAdminApproval ]`: + - `[OrganizationObjectId ]`: + - `[ResourceId ]`: + - `[ResourceType ]`: + - `[SlackConfig >]`: + - `[SlackResourceId ]`: + - `[SlackEnabled ]`: + - `[Status ]`: + - `[TimeBasedAccess ]`: + - `[TtlConfig ]`: + - `[VisibleTo >]`: + +`SLACKCONFIG `: . + - `[SlackResourceId ]`: + +## RELATED LINKS + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkDuoApplication.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkDuoApplication.md index a039d8bc7..d9a0cc3e9 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkDuoApplication.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkDuoApplication.md @@ -278,6 +278,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkGSuiteTranslationRule.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkGSuiteTranslationRule.md index 06fc5da8f..e96f69a40 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkGSuiteTranslationRule.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkGSuiteTranslationRule.md @@ -240,6 +240,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkLdapServerSambaDomain.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkLdapServerSambaDomain.md index ccbb42618..60132303d 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkLdapServerSambaDomain.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkLdapServerSambaDomain.md @@ -240,6 +240,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkOffice365TranslationRule.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkOffice365TranslationRule.md index 384a0b359..d08db22b0 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkOffice365TranslationRule.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkOffice365TranslationRule.md @@ -240,6 +240,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkProviderAdministrator.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkProviderAdministrator.md index 5912494fc..87a524c8a 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkProviderAdministrator.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/New-JcSdkProviderAdministrator.md @@ -386,6 +386,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkActiveDirectory.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkActiveDirectory.md index 508130a47..929746cb7 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkActiveDirectory.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkActiveDirectory.md @@ -166,6 +166,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkActiveDirectoryAgent.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkActiveDirectoryAgent.md index 3659015c9..5f919c15c 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkActiveDirectoryAgent.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkActiveDirectoryAgent.md @@ -193,6 +193,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkAdministratorOrganization.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkAdministratorOrganization.md index 12150956e..ebb6352e1 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkAdministratorOrganization.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkAdministratorOrganization.md @@ -177,6 +177,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkAppleMdm.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkAppleMdm.md index 60d3c074b..465964c91 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkAppleMdm.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkAppleMdm.md @@ -199,6 +199,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkAppleMdmDevice.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkAppleMdmDevice.md index 7760eaaa9..2e18e2859 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkAppleMdmDevice.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkAppleMdmDevice.md @@ -202,6 +202,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkApplicationLogo.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkApplicationLogo.md index 523c4ee44..e5113f031 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkApplicationLogo.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkApplicationLogo.md @@ -162,6 +162,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkApprovalFlow.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkApprovalFlow.md new file mode 100644 index 000000000..20b90fb35 --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkApprovalFlow.md @@ -0,0 +1,185 @@ +--- +external help file: +Module Name: JumpCloud.SDK.V2 +online version: https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkApprovalFlow.md +schema: 2.0.0 +--- + +# Remove-JcSdkApprovalFlow + +## SYNOPSIS +Endpoint for deleting accessworkflow by id + +## SYNTAX + +### Delete (Default) +``` +Remove-JcSdkApprovalFlow -ConsoleHost -ApprovalFlowId [-OrganizationObjectId ] + [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-JcSdkApprovalFlow -ConsoleHost -InputObject + [-OrganizationObjectId ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Endpoint for deleting accessworkflow by id + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Remove-JcSdkApprovalFlow -ApprovalFlowId:() +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -ApprovalFlowId +. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ConsoleHost +Region for JumpCloud API host. +Use 'console' for US or 'console.eu' for EU. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: JumpCloud.SDK.V2.Models.IJumpCloudApiIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -OrganizationObjectId +. + +```yaml +Type: System.Byte[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### JumpCloud.SDK.V2.Models.IJumpCloudApiIdentity + +## OUTPUTS + +### JumpCloud.SDK.V2.Models.IJumpcloudIngressoDeleteAccessWorkflowResponse + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`INPUTOBJECT `: Identity Parameter + - `[AccountId ]`: + - `[ActivedirectoryId ]`: + - `[AdministratorId ]`: + - `[AgentId ]`: + - `[AppleMdmId ]`: + - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: + - `[CommandId ]`: ObjectID of the Command. + - `[CustomEmailType ]`: + - `[DeviceId ]`: + - `[GroupId ]`: ObjectID of the Policy Group. + - `[GsuiteId ]`: ObjectID of the G Suite instance. + - `[Id ]`: ObjectID of this Active Directory instance. + - `[JobId ]`: + - `[LdapserverId ]`: ObjectID of the LDAP Server. + - `[Office365Id ]`: ObjectID of the Office 365 instance. + - `[PolicyId ]`: ObjectID of the Policy. + - `[ProviderId ]`: + - `[PushEndpointId ]`: + - `[RadiusserverId ]`: ObjectID of the Radius Server. + - `[SoftwareAppId ]`: ObjectID of the Software App. + - `[SystemId ]`: ObjectID of the System. + - `[UserId ]`: ObjectID of the User. + - `[WorkdayId ]`: + +## RELATED LINKS + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkAuthenticationPolicy.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkAuthenticationPolicy.md index b08ff139f..7c5e414eb 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkAuthenticationPolicy.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkAuthenticationPolicy.md @@ -177,6 +177,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkBulkUserState.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkBulkUserState.md index 6b2a909c0..027b4a92a 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkBulkUserState.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkBulkUserState.md @@ -176,6 +176,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkCustomEmailConfiguration.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkCustomEmailConfiguration.md index 5919216c8..f873e3aa7 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkCustomEmailConfiguration.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkCustomEmailConfiguration.md @@ -162,6 +162,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkDuoAccount.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkDuoAccount.md index 19d56c445..50d59a557 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkDuoAccount.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkDuoAccount.md @@ -164,6 +164,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkDuoApplication.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkDuoApplication.md index 2c3174c7d..d0106f8d4 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkDuoApplication.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkDuoApplication.md @@ -182,6 +182,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkGSuiteTranslationRule.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkGSuiteTranslationRule.md index 0d4c83127..a966b97f1 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkGSuiteTranslationRule.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkGSuiteTranslationRule.md @@ -197,6 +197,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkIPList.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkIPList.md index 10b32abf6..bc1a5c2ab 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkIPList.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkIPList.md @@ -166,6 +166,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkLdapServerSambaDomain.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkLdapServerSambaDomain.md index 8b3101e88..50372ece5 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkLdapServerSambaDomain.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkLdapServerSambaDomain.md @@ -193,6 +193,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkOffice365TranslationRule.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkOffice365TranslationRule.md index 139b5cb62..5be2719bd 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkOffice365TranslationRule.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkOffice365TranslationRule.md @@ -197,6 +197,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkPolicy.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkPolicy.md index d8fad5391..dcc7e2464 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkPolicy.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkPolicy.md @@ -179,6 +179,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkPolicyGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkPolicyGroup.md index e06c6d90e..cde6cb890 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkPolicyGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkPolicyGroup.md @@ -186,6 +186,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkProviderAdministrator.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkProviderAdministrator.md index 5779c86f5..f6a03f48c 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkProviderAdministrator.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkProviderAdministrator.md @@ -179,6 +179,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkSoftwareApp.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkSoftwareApp.md index 00aad559a..4f70c6514 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkSoftwareApp.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkSoftwareApp.md @@ -182,6 +182,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkSystemGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkSystemGroup.md index 714179cce..c32cafeb4 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkSystemGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkSystemGroup.md @@ -191,6 +191,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkUserGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkUserGroup.md index d69f91e4e..f332fa831 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkUserGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkUserGroup.md @@ -193,6 +193,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkUserPushEndpoint.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkUserPushEndpoint.md index 937e8704c..bc99b9591 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkUserPushEndpoint.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkUserPushEndpoint.md @@ -173,6 +173,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkWorkdayAuthorization.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkWorkdayAuthorization.md index 64a5bdc04..7648b5a66 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkWorkdayAuthorization.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Remove-JcSdkWorkdayAuthorization.md @@ -178,6 +178,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Restart-JcSdkAppleMdmDevice.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Restart-JcSdkAppleMdmDevice.md index 00ed41431..b85bd1b4b 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Restart-JcSdkAppleMdmDevice.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Restart-JcSdkAppleMdmDevice.md @@ -244,6 +244,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkAccessRequest.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkAccessRequest.md new file mode 100644 index 000000000..cdb2b17e8 --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkAccessRequest.md @@ -0,0 +1,301 @@ +--- +external help file: +Module Name: JumpCloud.SDK.V2 +online version: https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkAccessRequest.md +schema: 2.0.0 +--- + +# Set-JcSdkAccessRequest + +## SYNOPSIS +Endpoint that set the workflow access request by id + +## SYNTAX + +### SetExpanded (Default) +``` +Set-JcSdkAccessRequest -ConsoleHost -Id [-Admin ] [-ApprovedDuration ] + [-InternalNote ] [-OrganizationObjectIdInputFile ] [-Remarks ] [-Status ] + [-Confirm] [-WhatIf] [] +``` + +### Set +``` +Set-JcSdkAccessRequest -ConsoleHost -Id + -Body [-Confirm] [-WhatIf] + [] +``` + +### SetViaIdentity +``` +Set-JcSdkAccessRequest -ConsoleHost -InputObject + -Body [-Confirm] [-WhatIf] + [] +``` + +### SetViaIdentityExpanded +``` +Set-JcSdkAccessRequest -ConsoleHost -InputObject [-Admin ] + [-ApprovedDuration ] [-InternalNote ] [-OrganizationObjectIdInputFile ] + [-Remarks ] [-Status ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Endpoint that set the workflow access request by id + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Set-JcSdkAccessRequest -Id:() -Admin:() -ApprovedDuration:() -InternalNote:() -OrganizationObjectIdInputFile:() -Remarks:() -Status:() +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +Set-JcSdkAccessRequest -Id:() -Body:() +``` + + + +## PARAMETERS + +### -Admin +. + +```yaml +Type: System.String +Parameter Sets: SetExpanded, SetViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ApprovedDuration +. + +```yaml +Type: System.String +Parameter Sets: SetExpanded, SetViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +. + +```yaml +Type: JumpCloud.SDK.V2.Models.IPaths17F25RsApprovalflowrequestIdPutRequestbodyContentApplicationJsonSchema +Parameter Sets: Set, SetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ConsoleHost +Region for JumpCloud API host. +Use 'console' for US or 'console.eu' for EU. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Id +. + +```yaml +Type: System.String +Parameter Sets: Set, SetExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: JumpCloud.SDK.V2.Models.IJumpCloudApiIdentity +Parameter Sets: SetViaIdentity, SetViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InternalNote +. + +```yaml +Type: System.String +Parameter Sets: SetExpanded, SetViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrganizationObjectIdInputFile +Input File for OrganizationObjectId (.) + +```yaml +Type: System.String +Parameter Sets: SetExpanded, SetViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Remarks +. + +```yaml +Type: System.String +Parameter Sets: SetExpanded, SetViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Status +. + +```yaml +Type: System.String +Parameter Sets: SetExpanded, SetViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### JumpCloud.SDK.V2.Models.IJumpCloudApiIdentity + +### JumpCloud.SDK.V2.Models.IPaths17F25RsApprovalflowrequestIdPutRequestbodyContentApplicationJsonSchema + +## OUTPUTS + +### JumpCloud.SDK.V2.Models.IJumpcloudIngressoUpdateWorkflowAccessRequestResponse + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`BODY `: . + - `[Admin ]`: + - `[ApprovedDuration ]`: + - `[InternalNote ]`: + - `[OrganizationObjectId ]`: + - `[Remarks ]`: + - `[Status ]`: + +`INPUTOBJECT `: Identity Parameter + - `[AccountId ]`: + - `[ActivedirectoryId ]`: + - `[AdministratorId ]`: + - `[AgentId ]`: + - `[AppleMdmId ]`: + - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: + - `[CommandId ]`: ObjectID of the Command. + - `[CustomEmailType ]`: + - `[DeviceId ]`: + - `[GroupId ]`: ObjectID of the Policy Group. + - `[GsuiteId ]`: ObjectID of the G Suite instance. + - `[Id ]`: ObjectID of this Active Directory instance. + - `[JobId ]`: + - `[LdapserverId ]`: ObjectID of the LDAP Server. + - `[Office365Id ]`: ObjectID of the Office 365 instance. + - `[PolicyId ]`: ObjectID of the Policy. + - `[ProviderId ]`: + - `[PushEndpointId ]`: + - `[RadiusserverId ]`: ObjectID of the Radius Server. + - `[SoftwareAppId ]`: ObjectID of the Software App. + - `[SystemId ]`: ObjectID of the System. + - `[UserId ]`: ObjectID of the User. + - `[WorkdayId ]`: + +## RELATED LINKS + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkAccessRequestApproval.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkAccessRequestApproval.md new file mode 100644 index 000000000..9540d8325 --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkAccessRequestApproval.md @@ -0,0 +1,212 @@ +--- +external help file: +Module Name: JumpCloud.SDK.V2 +online version: https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkAccessRequestApproval.md +schema: 2.0.0 +--- + +# Set-JcSdkAccessRequestApproval + +## SYNOPSIS +Endpoint for user approval + +## SYNTAX + +### SetExpanded (Default) +``` +Set-JcSdkAccessRequestApproval -ConsoleHost [-ApprovedDuration ] [-Id ] + [-OrganizationObjectIdInputFile ] [-Remarks ] [-Status ] [-Confirm] [-WhatIf] + [] +``` + +### Set +``` +Set-JcSdkAccessRequestApproval -ConsoleHost -Body [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Endpoint for user approval + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Set-JcSdkAccessRequestApproval -ApprovedDuration:() -Id:() -OrganizationObjectIdInputFile:() -Remarks:() -Status:() +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +Set-JcSdkAccessRequestApproval -Body:() +``` + + + +## PARAMETERS + +### -ApprovedDuration +. + +```yaml +Type: System.String +Parameter Sets: SetExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +. + +```yaml +Type: JumpCloud.SDK.V2.Models.IJumpcloudIngressoUserApprovalRequest +Parameter Sets: Set +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ConsoleHost +Region for JumpCloud API host. +Use 'console' for US or 'console.eu' for EU. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Id +. + +```yaml +Type: System.String +Parameter Sets: SetExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrganizationObjectIdInputFile +Input File for OrganizationObjectId (.) + +```yaml +Type: System.String +Parameter Sets: SetExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Remarks +. + +```yaml +Type: System.String +Parameter Sets: SetExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Status +. + +```yaml +Type: System.String +Parameter Sets: SetExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### JumpCloud.SDK.V2.Models.IJumpcloudIngressoUserApprovalRequest + +## OUTPUTS + +### JumpCloud.SDK.V2.Models.IJumpcloudIngressoUserApprovalRequestResponse + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`BODY `: . + - `[ApprovedDuration ]`: + - `[Id ]`: + - `[OrganizationObjectId ]`: + - `[Remarks ]`: + - `[Status ]`: + +## RELATED LINKS + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkActiveDirectoryAssociation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkActiveDirectoryAssociation.md index b76d0c4d0..485230d56 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkActiveDirectoryAssociation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkActiveDirectoryAssociation.md @@ -290,6 +290,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkAppleMdm.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkAppleMdm.md index 9b3958f94..585539567 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkAppleMdm.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkAppleMdm.md @@ -726,6 +726,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkApplicationAssociation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkApplicationAssociation.md index e5558d79f..51c6e1287 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkApplicationAssociation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkApplicationAssociation.md @@ -287,6 +287,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkApprovalFlow.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkApprovalFlow.md new file mode 100644 index 000000000..a1c78ce1a --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkApprovalFlow.md @@ -0,0 +1,517 @@ +--- +external help file: +Module Name: JumpCloud.SDK.V2 +online version: https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkApprovalFlow.md +schema: 2.0.0 +--- + +# Set-JcSdkApprovalFlow + +## SYNOPSIS +Endpoint for updating a new access workflow + +## SYNTAX + +### SetExpanded (Default) +``` +Set-JcSdkApprovalFlow -ConsoleHost -ApprovalFlowId [-ApprovalType ] + [-ApproverRequirement ] [-ApproverResources ] + [-Description ] [-FixedDuration ] [-IconColor ] [-IconUrl ] + [-MultiSelectDuration ] [-Name ] [-NonAdminApproval] + [-OrganizationObjectIdInputFile ] [-ResourceId ] + [-SlackConfig ] [-SlackEnabled] [-Status ] [-TimeBasedAccess] + [-TtlConfig ] [-VisibleTo ] [-Confirm] [-WhatIf] [] +``` + +### Set +``` +Set-JcSdkApprovalFlow -ConsoleHost -ApprovalFlowId + -Body [-Confirm] + [-WhatIf] [] +``` + +### SetViaIdentity +``` +Set-JcSdkApprovalFlow -ConsoleHost -InputObject + -Body [-Confirm] + [-WhatIf] [] +``` + +### SetViaIdentityExpanded +``` +Set-JcSdkApprovalFlow -ConsoleHost -InputObject [-ApprovalType ] + [-ApproverRequirement ] [-ApproverResources ] + [-Description ] [-FixedDuration ] [-IconColor ] [-IconUrl ] + [-MultiSelectDuration ] [-Name ] [-NonAdminApproval] + [-OrganizationObjectIdInputFile ] [-ResourceId ] + [-SlackConfig ] [-SlackEnabled] [-Status ] [-TimeBasedAccess] + [-TtlConfig ] [-VisibleTo ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Endpoint for updating a new access workflow + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Set-JcSdkApprovalFlow -ApprovalFlowId:() -ApprovalType:() -ApproverRequirement:() -ApproverResources:() -Description:() -FixedDuration:() -IconColor:() -IconUrl:() -MultiSelectDuration:() -Name:() -NonAdminApproval:() -OrganizationObjectIdInputFile:() -ResourceId:() -SlackConfig:() -SlackEnabled:() -Status:() -TimeBasedAccess:() -TtlConfig:() -VisibleTo:() +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +Set-JcSdkApprovalFlow -ApprovalFlowId:() -Body:() +``` + + + +## PARAMETERS + +### -ApprovalFlowId +. + +```yaml +Type: System.String +Parameter Sets: Set, SetExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ApprovalType +. + +```yaml +Type: System.String +Parameter Sets: SetExpanded, SetViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ApproverRequirement +. + +```yaml +Type: System.String +Parameter Sets: SetExpanded, SetViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ApproverResources +. + +```yaml +Type: JumpCloud.SDK.V2.Models.IJumpcloudIngressoApproverResource[] +Parameter Sets: SetExpanded, SetViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +. + +```yaml +Type: JumpCloud.SDK.V2.Models.IPaths14Hfh8UApprovalflowsApprovalflowidPutRequestbodyContentApplicationJsonSchema +Parameter Sets: Set, SetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ConsoleHost +Region for JumpCloud API host. +Use 'console' for US or 'console.eu' for EU. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: SetExpanded, SetViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FixedDuration +. + +```yaml +Type: System.String +Parameter Sets: SetExpanded, SetViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IconColor +. + +```yaml +Type: System.String +Parameter Sets: SetExpanded, SetViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IconUrl +. + +```yaml +Type: System.String +Parameter Sets: SetExpanded, SetViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: JumpCloud.SDK.V2.Models.IJumpCloudApiIdentity +Parameter Sets: SetViaIdentity, SetViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -MultiSelectDuration +. + +```yaml +Type: System.String[] +Parameter Sets: SetExpanded, SetViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: SetExpanded, SetViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NonAdminApproval +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: SetExpanded, SetViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrganizationObjectIdInputFile +Input File for OrganizationObjectId (.) + +```yaml +Type: System.String +Parameter Sets: SetExpanded, SetViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceId +. + +```yaml +Type: System.String +Parameter Sets: SetExpanded, SetViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SlackConfig +. + +```yaml +Type: JumpCloud.SDK.V2.Models.IJumpcloudIngressoSlackConfig[] +Parameter Sets: SetExpanded, SetViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SlackEnabled +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: SetExpanded, SetViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Status +. + +```yaml +Type: System.String +Parameter Sets: SetExpanded, SetViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TimeBasedAccess +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: SetExpanded, SetViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TtlConfig +. + +```yaml +Type: System.String +Parameter Sets: SetExpanded, SetViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VisibleTo +. + +```yaml +Type: System.String[] +Parameter Sets: SetExpanded, SetViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### JumpCloud.SDK.V2.Models.IJumpCloudApiIdentity + +### JumpCloud.SDK.V2.Models.IPaths14Hfh8UApprovalflowsApprovalflowidPutRequestbodyContentApplicationJsonSchema + +## OUTPUTS + +### JumpCloud.SDK.V2.Models.IJumpcloudIngressoUpdateAccessWorkflowResponse + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`APPROVERRESOURCES `: . + - `[RequireAll ]`: + - `[ResourceId ]`: + - `[ResourceName ]`: + - `[ResourceOrder ]`: + - `[ResourceType ]`: + +`BODY `: . + - `[ApprovalType ]`: + - `[ApproverRequirement ]`: + - `[ApproverResources >]`: + - `[RequireAll ]`: + - `[ResourceId ]`: + - `[ResourceName ]`: + - `[ResourceOrder ]`: + - `[ResourceType ]`: + - `[Description ]`: + - `[FixedDuration ]`: + - `[IconColor ]`: + - `[IconUrl ]`: + - `[MultiSelectDuration >]`: + - `[Name ]`: + - `[NonAdminApproval ]`: + - `[OrganizationObjectId ]`: + - `[ResourceId ]`: + - `[SlackConfig >]`: + - `[SlackResourceId ]`: + - `[SlackEnabled ]`: + - `[Status ]`: + - `[TimeBasedAccess ]`: + - `[TtlConfig ]`: + - `[VisibleTo >]`: + +`INPUTOBJECT `: Identity Parameter + - `[AccountId ]`: + - `[ActivedirectoryId ]`: + - `[AdministratorId ]`: + - `[AgentId ]`: + - `[AppleMdmId ]`: + - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: + - `[CommandId ]`: ObjectID of the Command. + - `[CustomEmailType ]`: + - `[DeviceId ]`: + - `[GroupId ]`: ObjectID of the Policy Group. + - `[GsuiteId ]`: ObjectID of the G Suite instance. + - `[Id ]`: ObjectID of this Active Directory instance. + - `[JobId ]`: + - `[LdapserverId ]`: ObjectID of the LDAP Server. + - `[Office365Id ]`: ObjectID of the Office 365 instance. + - `[PolicyId ]`: ObjectID of the Policy. + - `[ProviderId ]`: + - `[PushEndpointId ]`: + - `[RadiusserverId ]`: ObjectID of the Radius Server. + - `[SoftwareAppId ]`: ObjectID of the Software App. + - `[SystemId ]`: ObjectID of the System. + - `[UserId ]`: ObjectID of the User. + - `[WorkdayId ]`: + +`SLACKCONFIG `: . + - `[SlackResourceId ]`: + +## RELATED LINKS + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkApprovalFlowSetting.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkApprovalFlowSetting.md new file mode 100644 index 000000000..c9667d4a4 --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkApprovalFlowSetting.md @@ -0,0 +1,251 @@ +--- +external help file: +Module Name: JumpCloud.SDK.V2 +online version: https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkApprovalFlowSetting.md +schema: 2.0.0 +--- + +# Set-JcSdkApprovalFlowSetting + +## SYNOPSIS +Endpoint for updating a access workflow settings for an organization + +## SYNTAX + +### SetExpanded (Default) +``` +Set-JcSdkApprovalFlowSetting -ConsoleHost [-AdminApprovalEmail] + [-ChannelEvents ] [-ExposeApprovalProgress] + [-OrganizationObjectIdInputFile ] [-ResourceRequest] [-UserApprovalEmail] [-UserRequestEmail] + [-Confirm] [-WhatIf] [] +``` + +### Set +``` +Set-JcSdkApprovalFlowSetting -ConsoleHost + -Body [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Endpoint for updating a access workflow settings for an organization + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Set-JcSdkApprovalFlowSetting -AdminApprovalEmail:() -ChannelEvents:() -ExposeApprovalProgress:() -OrganizationObjectIdInputFile:() -ResourceRequest:() -UserApprovalEmail:() -UserRequestEmail:() +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +Set-JcSdkApprovalFlowSetting -Body:() +``` + + + +## PARAMETERS + +### -AdminApprovalEmail +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: SetExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +. + +```yaml +Type: JumpCloud.SDK.V2.Models.IJumpcloudIngressoUpdateAccessWorkflowSettingsRequest +Parameter Sets: Set +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ChannelEvents +. + +```yaml +Type: JumpCloud.SDK.V2.Models.IJumpcloudIngressoChannelEvent[] +Parameter Sets: SetExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ConsoleHost +Region for JumpCloud API host. +Use 'console' for US or 'console.eu' for EU. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExposeApprovalProgress +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: SetExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrganizationObjectIdInputFile +Input File for OrganizationObjectId (.) + +```yaml +Type: System.String +Parameter Sets: SetExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceRequest +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: SetExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserApprovalEmail +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: SetExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserRequestEmail +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: SetExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### JumpCloud.SDK.V2.Models.IJumpcloudIngressoUpdateAccessWorkflowSettingsRequest + +## OUTPUTS + +### JumpCloud.SDK.V2.Models.IJumpcloudIngressoUpdateAccessWorkflowSettingsResponse + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`BODY `: . + - `[AdminApprovalEmail ]`: + - `[ChannelEvents >]`: + - `[ChannelObjectId ]`: + - `[EventTypes >]`: + - `[ExposeApprovalProgress ]`: + - `[OrganizationObjectId ]`: + - `[ResourceRequest ]`: + - `[UserApprovalEmail ]`: + - `[UserRequestEmail ]`: + +`CHANNELEVENTS `: . + - `[ChannelObjectId ]`: + - `[EventTypes >]`: + +## RELATED LINKS + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkCommandAssociation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkCommandAssociation.md index 9bf3b2cba..5e1a02787 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkCommandAssociation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkCommandAssociation.md @@ -291,6 +291,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkCustomEmailConfiguration.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkCustomEmailConfiguration.md index 5bec3df60..f36611d3d 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkCustomEmailConfiguration.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkCustomEmailConfiguration.md @@ -312,6 +312,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkDuoApplication.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkDuoApplication.md index d46865e84..9a2e471c7 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkDuoApplication.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkDuoApplication.md @@ -293,6 +293,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkGSuiteAssociation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkGSuiteAssociation.md index 87e22a036..6cf979de6 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkGSuiteAssociation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkGSuiteAssociation.md @@ -291,6 +291,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkIPList.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkIPList.md index 336de7379..c4711b6cb 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkIPList.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkIPList.md @@ -262,6 +262,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkLdapServerAssociation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkLdapServerAssociation.md index 617cc2961..2e1702bef 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkLdapServerAssociation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkLdapServerAssociation.md @@ -289,6 +289,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkLdapServerSambaDomain.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkLdapServerSambaDomain.md index 5d16e100f..506ddbc9a 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkLdapServerSambaDomain.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkLdapServerSambaDomain.md @@ -255,6 +255,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkOffice365Association.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkOffice365Association.md index 9d9590644..3b34af7ec 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkOffice365Association.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkOffice365Association.md @@ -289,6 +289,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkPolicy.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkPolicy.md index e1c59372d..078b4a5dc 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkPolicy.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkPolicy.md @@ -283,6 +283,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkPolicyAssociation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkPolicyAssociation.md index 4610c44c2..ee96799c7 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkPolicyAssociation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkPolicyAssociation.md @@ -289,6 +289,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkPolicyGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkPolicyGroup.md index 8fa7ef34f..c67be49e0 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkPolicyGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkPolicyGroup.md @@ -228,6 +228,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkPolicyGroupAssociation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkPolicyGroupAssociation.md index 0111c44c7..ba4c11ce2 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkPolicyGroupAssociation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkPolicyGroupAssociation.md @@ -291,6 +291,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkPolicyGroupMember.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkPolicyGroupMember.md index 031e90f4c..9ec5f6ef8 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkPolicyGroupMember.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkPolicyGroupMember.md @@ -268,6 +268,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkRadiusServerAssociation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkRadiusServerAssociation.md index c709216ab..eb66ab80d 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkRadiusServerAssociation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkRadiusServerAssociation.md @@ -293,6 +293,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkSoftwareApp.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkSoftwareApp.md index 6886b22ac..b7327c3a2 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkSoftwareApp.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkSoftwareApp.md @@ -458,6 +458,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkSoftwareAppAssociation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkSoftwareAppAssociation.md index 8bd90a777..e880cf129 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkSoftwareAppAssociation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkSoftwareAppAssociation.md @@ -285,6 +285,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkSystemAssociation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkSystemAssociation.md index 1904e913e..a60a1d1f7 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkSystemAssociation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkSystemAssociation.md @@ -337,6 +337,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkSystemGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkSystemGroup.md index 7ec393b61..55e5e1f4f 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkSystemGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkSystemGroup.md @@ -396,6 +396,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkSystemGroupAssociation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkSystemGroupAssociation.md index a63b03770..fe8e44005 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkSystemGroupAssociation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkSystemGroupAssociation.md @@ -291,6 +291,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkSystemGroupMember.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkSystemGroupMember.md index c2797c177..1ec9f9acb 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkSystemGroupMember.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkSystemGroupMember.md @@ -300,6 +300,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkUserAssociation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkUserAssociation.md index 4ece3a8ea..c4e96950a 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkUserAssociation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkUserAssociation.md @@ -304,6 +304,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkUserGroup.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkUserGroup.md index 54331cb07..5bc9dc476 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkUserGroup.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkUserGroup.md @@ -414,6 +414,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkUserGroupAssociation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkUserGroupAssociation.md index 95be8eee5..03f43ec87 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkUserGroupAssociation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkUserGroupAssociation.md @@ -291,6 +291,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkUserGroupMember.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkUserGroupMember.md index 3e4463c8a..e74d19a43 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkUserGroupMember.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkUserGroupMember.md @@ -268,6 +268,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkWorkday.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkWorkday.md index 322018d01..e44cfb5e4 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkWorkday.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Set-JcSdkWorkday.md @@ -258,6 +258,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Stop-JcSdkAppleMdmDevice.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Stop-JcSdkAppleMdmDevice.md index d80149c35..36aee53d2 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Stop-JcSdkAppleMdmDevice.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Stop-JcSdkAppleMdmDevice.md @@ -195,6 +195,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Sync-JcSdkAppleMdmDevice.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Sync-JcSdkAppleMdmDevice.md index 07609dd21..aacde8cef 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Sync-JcSdkAppleMdmDevice.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Sync-JcSdkAppleMdmDevice.md @@ -180,6 +180,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkAppleMdmDeviceLockInformation.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkAppleMdmDeviceLockInformation.md index a6dcb0e76..dba310017 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkAppleMdmDeviceLockInformation.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkAppleMdmDeviceLockInformation.md @@ -197,6 +197,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkAuthenticationPolicy.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkAuthenticationPolicy.md index d77d8ac10..858b2fbe8 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkAuthenticationPolicy.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkAuthenticationPolicy.md @@ -586,6 +586,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkGSuite.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkGSuite.md index 26e30ce80..cb67d614d 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkGSuite.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkGSuite.md @@ -384,6 +384,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkIPList.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkIPList.md index f8ec700b5..fb4f724b2 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkIPList.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkIPList.md @@ -252,6 +252,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkLdapServer.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkLdapServer.md index 107e3d33d..38ced44d6 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkLdapServer.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkLdapServer.md @@ -263,6 +263,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkOffice365.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkOffice365.md index 6dd69a91a..f94e37859 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkOffice365.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkOffice365.md @@ -356,6 +356,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkUserPushEndpoint.md b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkUserPushEndpoint.md index fa96a7d8b..59c4c397e 100644 --- a/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkUserPushEndpoint.md +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/docs/exports/Update-JcSdkUserPushEndpoint.md @@ -249,6 +249,7 @@ To create the parameters described below, construct a hash table containing the - `[AgentId ]`: - `[AppleMdmId ]`: - `[ApplicationId ]`: ObjectID of the Application. + - `[ApprovalFlowId ]`: - `[CommandId ]`: ObjectID of the Command. - `[CustomEmailType ]`: - `[DeviceId ]`: diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Get-JcSdkAccessRequest.md b/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Get-JcSdkAccessRequest.md new file mode 100644 index 000000000..c7b4a5599 --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Get-JcSdkAccessRequest.md @@ -0,0 +1,64 @@ +### Example 1: Get an AccessRequest by Id +```powershell +PS C:\> Get-JcSdkAccessRequest -Id:() +``` + +```output +ApprovalFlowDescription : Workflow Description +ApprovalFlowId : 698b4c92097b6a000175dda8 +ApprovalFlowName : Workflow Name +ApprovalType : manual +ApprovedDuration : +CreatedAt : 2026-02-10T21:22:30.465574Z +Department : Sales +Group : 00-Farmer-Type-Dairy +IconColor : #006CAC +IconUrl : +Id : 698ba196ff5a9e00016c58d4 +Manager : +NonAdminApproval : False +Remarks : User Requested Message +RequestedDuration : +Requestor : 5d67fd481da3c52aa1faa883 +RunId : +Status : granted +UpdatedAt : 2026-02-10T21:25:09.352713Z +UpdatedBy : 5d643a77600577710a5e6113 +UserName : Default Admin +WfMetadata : {123, 125} +``` + +This function will Get an AccessRequest by Id. Id is a required parameter. + +### Example 2: List AccessRequests +```powershell +PS C:\> Get-JcSdkAccessRequest -Fields:() -Filter:() -Sort:() +``` + +```output +ApprovalFlowDescription : Workflow Description +ApprovalFlowId : 698b4c92097b6a000175dda8 +ApprovalFlowName : Workflow Name +ApprovalType : manual +ApprovedDuration : +CreatedAt : 2026-02-10T21:22:30.465574Z +Department : Sales +Group : 00-Farmer-Type-Dairy +IconColor : #006CAC +IconUrl : +Id : 698ba196ff5a9e00016c58d4 +Manager : +NonAdminApproval : False +Remarks : User Requested Message +RequestedDuration : +Requestor : 5d67fd481da3c52aa1faa883 +RunId : +Status : granted +UpdatedAt : 2026-02-10T21:25:09.352713Z +UpdatedBy : 5d643a77600577710a5e6113 +UserName : Default Admin +WfMetadata : {123, 125} +``` + +This function will return a list of all AccessRequests. Fields, Filter, and Sort are optional parameters. + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Get-JcSdkAccessRequestProgress.md b/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Get-JcSdkAccessRequestProgress.md new file mode 100644 index 000000000..87c3ea508 --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Get-JcSdkAccessRequestProgress.md @@ -0,0 +1,7 @@ +### Example 1: Get an AccessRequestProgress by Id +```powershell +PS C:\> Get-JcSdkAccessRequestProgress -Id:() +``` + +This function will Get an AccessRequestProgress by Id. Id is a required parameter. + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Get-JcSdkApprovalFlow.md b/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Get-JcSdkApprovalFlow.md new file mode 100644 index 000000000..1eea3653c --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Get-JcSdkApprovalFlow.md @@ -0,0 +1,64 @@ +### Example 1: Get an ApprovalFlow by ApprovalFlowId +```powershell +PS C:\> Get-JcSdkApprovalFlow -ApprovalFlowId:() +``` + +```output +ApprovalType : automated +ApproverRequirement : +ApproverResources : {} +Category : Application +CreatedBy : 5d643a77600577710a5e6113 +Description : Approval Flow testing +FixedDuration : +IconColor : #006CAC +IconUrl : +Id : 67c5f44e2d72ba0001b6890b +MultiSelectDuration : {} +Name : Test Workflow +NonAdminApproval : False +OrganizationId : {93, 100, 58, 119…} +Resources : {Radius2} +SlackConfig : {} +SlackEnabled : False +Status : active +TimeBasedAccess : False +TtlConfig : TTL_CONFIG_UNSPECIFIED +UpdatedBy : 5d643a77600577710a5e6113 +VisibleTo : {Default Admin, Radius} +``` + +This function will Get an ApprovalFlow by ApprovalFlowId. ApprovalFlowId is a required parameter. + +### Example 2: List all ApprovalFlow(s) +```powershell +PS C:\> Get-JcSdkApprovalFlow -Fields:() -Filter:() -Sort:() +``` + +```output +ApprovalType : automated +ApproverRequirement : +ApproverResources : {} +Category : Application +CreatedBy : 5d643a77600577710a5e6113 +Description : Approval Flow testing +FixedDuration : +IconColor : #006CAC +IconUrl : +Id : 67c5f44e2d72ba0001b6890b +MultiSelectDuration : {} +Name : Test Approval Flow +NonAdminApproval : False +OrganizationId : {93, 100, 58, 119…} +Resources : {Radius2} +SlackConfig : {} +SlackEnabled : False +Status : active +TimeBasedAccess : False +TtlConfig : TTL_CONFIG_UNSPECIFIED +UpdatedBy : 5d643a77600577710a5e6113 +VisibleTo : {Default Admin, Radius} +``` + +This function will return a list of all ApprovalFlows. Fields, Filter, and Sort are optional parameters. + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Get-JcSdkApprovalFlowSetting.md b/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Get-JcSdkApprovalFlowSetting.md new file mode 100644 index 000000000..f95a623fd --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Get-JcSdkApprovalFlowSetting.md @@ -0,0 +1,18 @@ +### Example 1: Get an ApprovalFlowSetting by +```powershell +PS C:\> Get-JcSdkApprovalFlowSetting +``` + +```output +AdminApprovalEmail : True +ChannelEvents : {} +CreatedBy : 5d643a77600577710a5e6113 +ExposeApprovalProgress : True +Id : 16 +ResourceRequest : True +UpdatedBy : 5d643a77600577710a5e6113 +UserApprovalEmail : True +UserRequestEmail : True +``` + +This function will Get an ApprovalFlowSetting \ No newline at end of file diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/examples/New-JcSdkApprovalFlow.md b/SDKs/PowerShell/JumpCloud.SDK.V2/examples/New-JcSdkApprovalFlow.md new file mode 100644 index 000000000..e500dc430 --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/examples/New-JcSdkApprovalFlow.md @@ -0,0 +1,12 @@ +### Example 1: Create an ApprovalFlow +```powershell +New-JcSdkApprovalFlow -ApprovalType 'manual' -Category "Application" -Description "A new workflow" -MultiSelectDuration @("P5D") -Name "New Workflow" -ResourceId 5d67fd481da3c52aa1faa883 -ResourceType "user_group" -Status "active" -TimeBasedAccess -TtlConfig "TTL_CONFIG_MULTI_SELECT_DURATIONS" -VisibleTo @('6148cd739d38866f0814e874') +``` + +```output +Id +-- +698cba2ed5a55800019f4aae +``` + +This function will Create an Approval Flow \ No newline at end of file diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Remove-JcSdkApprovalFlow.md b/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Remove-JcSdkApprovalFlow.md new file mode 100644 index 000000000..86e8dd10b --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Remove-JcSdkApprovalFlow.md @@ -0,0 +1,22 @@ +### Example 1: Remove an ApprovalFlow by ApprovalFlowId +```powershell +PS C:\> Remove-JcSdkApprovalFlow -ApprovalFlowId:() +``` + +```output +{{ Add output here (remove the output block if the example doesnt have an output) }} +``` + +This function will Remove an ApprovalFlow by ApprovalFlowId. ApprovalFlowId is a required parameter. + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesnt have an output) }} +``` + +{{ Add description here }} + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Set-JcSdkAccessRequest.md b/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Set-JcSdkAccessRequest.md new file mode 100644 index 000000000..509e35d57 --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Set-JcSdkAccessRequest.md @@ -0,0 +1,22 @@ +### Example 1: Set an AccessRequest by Id +```powershell +PS C:\> Set-JcSdkAccessRequest -Id:() -Admin:() -ApprovedDuration:() -InternalNote:() -OrganizationObjectIdInputFile:() -Remarks:() -Status:() +``` + +```output +JumpCloud.SDK.V2.Models.JumpcloudIngressoUpdateWorkflowAccessRequestResponse +``` + +This function will Set an AccessRequest by Id. Id is a required parameter. + +### Example 2: Set an AccessRequest by Id, and Body +```powershell +PS C:\> Set-JcSdkAccessRequest -Id:() -Body:() +``` + +```output +JumpCloud.SDK.V2.Models.JumpcloudIngressoUpdateWorkflowAccessRequestResponse +``` + +This function will Set an AccessRequest by Id Body. Id, and Body are required parameters. + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Set-JcSdkAccessRequestApproval.md b/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Set-JcSdkAccessRequestApproval.md new file mode 100644 index 000000000..72703d80b --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Set-JcSdkAccessRequestApproval.md @@ -0,0 +1,22 @@ +### Example 1: Set an AccessRequestApproval by +```powershell +PS C:\> Set-JcSdkAccessRequestApproval -ApprovedDuration:() -Id:() -OrganizationObjectIdInputFile:() -Remarks:() -Status:() +``` + +```output +JumpCloud.SDK.V2.Models.JumpcloudIngressoUserApprovalRequestResponse +``` + +This function will Set an AccessRequestApproval by . + +### Example 2: Set an AccessRequestApproval by Body +```powershell +PS C:\> Set-JcSdkAccessRequestApproval -Body:() +``` + +```output +JumpCloud.SDK.V2.Models.JumpcloudIngressoUserApprovalRequestResponse +``` + +This function will Set an AccessRequestApproval by Body. Body is a required parameter. + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Set-JcSdkApprovalFlow.md b/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Set-JcSdkApprovalFlow.md new file mode 100644 index 000000000..fd277354f --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Set-JcSdkApprovalFlow.md @@ -0,0 +1,22 @@ +### Example 1: Set an ApprovalFlow by ApprovalFlowId +```powershell +PS C:\> Set-JcSdkApprovalFlow -ApprovalFlowId:() -ApprovalType:() -ApproverRequirement:() -ApproverResources:() -Description:() -FixedDuration:() -IconColor:() -IconUrl:() -MultiSelectDuration:() -Name:() -NonAdminApproval:() -OrganizationObjectIdInputFile:() -ResourceId:() -SlackConfig:() -SlackEnabled:() -Status:() -TimeBasedAccess:() -TtlConfig:() -VisibleTo:() +``` + +```output +{{ Add output here (remove the output block if the example doesnt have an output) }} +``` + +This function will Set an ApprovalFlow by ApprovalFlowId. ApprovalFlowId is a required parameter. + +### Example 2: Set an ApprovalFlow by ApprovalFlowId, and Body +```powershell +PS C:\> Set-JcSdkApprovalFlow -ApprovalFlowId:() -Body:() +``` + +```output +{{ Add output here (remove the output block if the example doesnt have an output) }} +``` + +This function will Set an ApprovalFlow by ApprovalFlowId Body. ApprovalFlowId, and Body are required parameters. + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Set-JcSdkApprovalFlowSetting.md b/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Set-JcSdkApprovalFlowSetting.md new file mode 100644 index 000000000..94fa73248 --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/examples/Set-JcSdkApprovalFlowSetting.md @@ -0,0 +1,22 @@ +### Example 1: Set an ApprovalFlowSetting by +```powershell +PS C:\> Set-JcSdkApprovalFlowSetting -AdminApprovalEmail:() -ChannelEvents:() -ExposeApprovalProgress:() -OrganizationObjectIdInputFile:() -ResourceRequest:() -UserApprovalEmail:() -UserRequestEmail:() +``` + +```output +{{ Add output here (remove the output block if the example doesnt have an output) }} +``` + +This function will Set an ApprovalFlowSetting by . + +### Example 2: Set an ApprovalFlowSetting by Body +```powershell +PS C:\> Set-JcSdkApprovalFlowSetting -Body:() +``` + +```output +{{ Add output here (remove the output block if the example doesnt have an output) }} +``` + +This function will Set an ApprovalFlowSetting by Body. Body is a required parameter. + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/test/Get-JcSdkAccessRequest.Tests.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/test/Get-JcSdkAccessRequest.Tests.ps1 new file mode 100644 index 000000000..59e7f392b --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/test/Get-JcSdkAccessRequest.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-JcSdkAccessRequest')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-JcSdkAccessRequest.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-JcSdkAccessRequest' { + It 'List' { + { Get-JcSdkAccessRequest } | Should -Not -Throw + } + + It 'List should return actual access requests if they exist' { + $accessRequests = Get-JcSdkAccessRequest + if ($null -eq $accessRequests){ + # can't create workflows without logging in as a user, skip test + continue + } else { + $accessRequest = $accessRequests | Get-Random -Count 1 + $accessRequest | Should -Not -BeNullOrEmpty + $accessRequest.Count | Should -Be 1 + } + } +} diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/test/Get-JcSdkAccessRequestProgress.Tests.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/test/Get-JcSdkAccessRequestProgress.Tests.ps1 new file mode 100644 index 000000000..f39f6dd0b --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/test/Get-JcSdkAccessRequestProgress.Tests.ps1 @@ -0,0 +1,30 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-JcSdkAccessRequestProgress')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-JcSdkAccessRequestProgress.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-JcSdkAccessRequestProgress' { + It 'Get' { + $workflows = Get-JcSdkApprovalFlow + if ($null -eq $workflows){ + # can't create workflows without logging in as a user, skip test + continue + } else { + $workflow = $workflows | Get-Random -Count 1 + $progress = Get-JcSdkAccessRequestProgress -Id $workflow.Id + $progress | Should -Not -BeNullOrEmpty + $progress.Count | Should -Be 1 + } + } +} diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/test/Get-JcSdkApprovalFlow.Tests.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/test/Get-JcSdkApprovalFlow.Tests.ps1 new file mode 100644 index 000000000..1c2bcd0bd --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/test/Get-JcSdkApprovalFlow.Tests.ps1 @@ -0,0 +1,50 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-JcSdkApprovalFlow')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-JcSdkApprovalFlow.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-JcSdkApprovalFlow' { + It 'List' { + { Get-JcSdkApprovalFlow } | Should -Not -Throw + } + + It 'List should return actual workflows if they exist' { + $workflows = Get-JcSdkApprovalFlow + if ($null -eq $workflows){ + # create a workflow with new-jcsdkworkflow + $userGroups = Get-JcSdkUserGroup + $userGroup = $userGroups | Get-Random -Count 1 + $targetGroup = Get-JcSdkUserGroup | Get-Random -Count 1 + while ($targetGroup.Id -eq $userGroup.Id) { + $targetGroup = Get-JcSdkUserGroup | Get-Random -Count 1 + } + $workflow = New-JcSdkWorkflow -ApprovalType 'manual' -Category "Application" -Description "A new workflow" -MultiSelectDuration @("P5D") -Name "New Workflow" -ResourceId $userGroup.Id -ResourceType "user_group" -Status "active" -TimeBasedAccess -TtlConfig "TTL_CONFIG_MULTI_SELECT_DURATIONS" -VisibleTo @($targetGroup.Id) + } else { + $workflow = $workflows | Get-Random -Count 1 + } + $workflow | Should -Not -BeNullOrEmpty + $workflow.Count | Should -Be 1 + } + + It 'Get' { + $workflows = Get-JcSdkApprovalFlow + if ($null -eq $workflows){ + $workflow = New-JcSdkWorkflow -ApprovalType 'manual' -Category "Application" -Description "A new workflow" -MultiSelectDuration @("P5D") -Name "New Workflow" -ResourceId $userGroup.Id -ResourceType "user_group" -Status "active" -TimeBasedAccess -TtlConfig "TTL_CONFIG_MULTI_SELECT_DURATIONS" -VisibleTo @($targetGroup.Id) + } else { + $workflow = $workflows | Get-Random -Count 1 + } + Get-JcSdkApprovalFlow -ApprovalFlowId $workflow.Id | Should -Not -BeNullOrEmpty + $workflow.Id | Should -Be $workflow.Id + } +} diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/test/Get-JcSdkApprovalFlowSetting.Tests.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/test/Get-JcSdkApprovalFlowSetting.Tests.ps1 new file mode 100644 index 000000000..979c9591e --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/test/Get-JcSdkApprovalFlowSetting.Tests.ps1 @@ -0,0 +1,26 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-JcSdkApprovalFlowSetting')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-JcSdkApprovalFlowSetting.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-JcSdkApprovalFlowSetting' { + It 'Get' { + { Get-JcSdkApprovalFlowSetting } | Should -Not -Throw + } + It 'Get should return actual settings if they exist' { + $settings = Get-JcSdkApprovalFlowSetting + $settings | Should -Not -BeNullOrEmpty + $settings.Count | Should -Be 1 + } +} diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/test/New-JcSdkApprovalFlow.Tests.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/test/New-JcSdkApprovalFlow.Tests.ps1 new file mode 100644 index 000000000..a578330a3 --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/test/New-JcSdkApprovalFlow.Tests.ps1 @@ -0,0 +1,72 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-JcSdkApprovalFlow')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-JcSdkApprovalFlow.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +function Get-TestApprovalFlowGroupContext { + $userGroups = @(Get-JcSdkUserGroup | Where-Object { $_ }) + + while ($userGroups.Count -lt 2) { + $suffix = [guid]::NewGuid().ToString('N').Substring(0,8) + $userGroups += New-JcSdkUserGroup -Name "PesterApprovalFlowGroup-$suffix" + } + + $resourceGroup = $userGroups | Get-Random + $visibleGroup = Get-JcSdkUserGroup -Filter @('name:eq:All Activated Users') | Select-Object -First 1 + + if (-not $visibleGroup -or $visibleGroup.Id -eq $resourceGroup.Id) { + $visibleCandidates = $userGroups | Where-Object { $_.Id -ne $resourceGroup.Id } + if ($visibleCandidates) { + $visibleGroup = $visibleCandidates | Get-Random + } + else { + $visibleGroup = $resourceGroup + } + } + + [pscustomobject]@{ + ResourceGroup = $resourceGroup + VisibleGroup = $visibleGroup + } +} +Describe 'New-JcSdkApprovalFlow' -Tag:(""){ + It 'Create new approval flow with required parameters' { + $context = Get-TestApprovalFlowGroupContext + $flowName = "PesterApprovalFlow-$([guid]::NewGuid().ToString('N').Substring(0,8))" + $description = "Created new approval flow with required parameters on $(Get-Date -Format 'u')" + + $parameters = @{ + ApprovalType = 'manual' + Category = 'Application' + Description = $description + MultiSelectDuration = @('P5D') + Name = $flowName + NonAdminApproval = $false + ResourceId = $context.ResourceGroup.Id + ResourceType = 'user_group' + SlackEnabled = $false + Status = 'active' + TimeBasedAccess = $true + TtlConfig = 'TTL_CONFIG_MULTI_SELECT_DURATIONS' + VisibleTo = @($context.VisibleGroup.Id) + } + + $approvalFlow = New-JcSdkApprovalFlow @parameters + + $approvalFlow | Should -Not -BeNullOrEmpty + $approvalFlow.ID | Should -Not -BeNullOrEmpty + } + + +} diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/test/Remove-JcSdkApprovalFlow.Tests.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/test/Remove-JcSdkApprovalFlow.Tests.ps1 new file mode 100644 index 000000000..280446e2e --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/test/Remove-JcSdkApprovalFlow.Tests.ps1 @@ -0,0 +1,95 @@ +$script:TestApprovalFlowGroupIds = @() + +if(($null -eq $TestName) -or ($TestName -contains 'Remove-JcSdkApprovalFlow')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-JcSdkApprovalFlow.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + + +function Get-TestApprovalFlowGroupContext { + $userGroups = @(Get-JcSdkUserGroup | Where-Object { $_ }) + + while ($userGroups.Count -lt 2) { + $suffix = [guid]::NewGuid().ToString('N').Substring(0,8) + $createdGroup = New-JcSdkUserGroup -Name "PesterApprovalFlowGroup-$suffix" + $userGroups += $createdGroup + $script:TestApprovalFlowGroupIds += $createdGroup.Id + } + + $resourceGroup = $userGroups | Get-Random + $visibleGroup = Get-JcSdkUserGroup -Filter @('name:eq:All Activated Users') | Select-Object -First 1 + + if (-not $visibleGroup -or $visibleGroup.Id -eq $resourceGroup.Id) { + $visibleCandidates = $userGroups | Where-Object { $_.Id -ne $resourceGroup.Id } + if ($visibleCandidates) { + $visibleGroup = $visibleCandidates | Get-Random + } + else { + $visibleGroup = $resourceGroup + } + } + + [pscustomobject]@{ + ResourceGroup = $resourceGroup + VisibleGroup = $visibleGroup + } +} +function New-TestApprovalFlowInstance { + $context = Get-TestApprovalFlowGroupContext + $flowName = "PesterRemoveApprovalFlow-$([guid]::NewGuid().ToString('N').Substring(0,8))" + $description = "Seeded for Remove-JcSdkApprovalFlow on $(Get-Date -Format 'u')" + + $parameters = @{ + ApprovalType = 'manual' + Category = 'Application' + Description = $description + MultiSelectDuration = @('P5D') + Name = $flowName + NonAdminApproval = $false + ResourceId = $context.ResourceGroup.Id + ResourceType = 'user_group' + SlackEnabled = $false + Status = 'active' + TimeBasedAccess = $true + TtlConfig = 'TTL_CONFIG_MULTI_SELECT_DURATIONS' + VisibleTo = @($context.VisibleGroup.Id) + } + + New-JcSdkApprovalFlow @parameters +} + +Describe 'Remove-JcSdkApprovalFlow' -Tag:(""){ + It 'Delete' { + $approvalFlow = New-TestApprovalFlowInstance + $approvalFlow | Should -Not -BeNullOrEmpty + + { Remove-JcSdkApprovalFlow -ApprovalFlowId $approvalFlow.Id } | Should -Not -Throw + + $lookupResult = $null + try { + $lookupResult = Get-JcSdkApprovalFlow -ApprovalFlowId $approvalFlow.Id -ErrorAction Stop + } + catch { + $lookupResult = $null + } + + $lookupResult | Should -BeNullOrEmpty + + foreach ($groupId in $script:TestApprovalFlowGroupIds) { + Remove-JcSdkUserGroup -Id $groupId -ErrorAction Stop | Out-Null + } + } +} + + diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/test/Set-JcSdkAccessRequest.Tests.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/test/Set-JcSdkAccessRequest.Tests.ps1 new file mode 100644 index 000000000..7493e4d9c --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/test/Set-JcSdkAccessRequest.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Set-JcSdkAccessRequest')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Set-JcSdkAccessRequest.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Set-JcSdkAccessRequest' { + It 'SetExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Set' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'SetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'SetViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/test/Set-JcSdkAccessRequestApproval.Tests.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/test/Set-JcSdkAccessRequestApproval.Tests.ps1 new file mode 100644 index 000000000..0d48653a2 --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/test/Set-JcSdkAccessRequestApproval.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Set-JcSdkAccessRequestApproval')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Set-JcSdkAccessRequestApproval.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Set-JcSdkAccessRequestApproval' { + It 'SetExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Set' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/test/Set-JcSdkApprovalFlow.Tests.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/test/Set-JcSdkApprovalFlow.Tests.ps1 new file mode 100644 index 000000000..82d1fe2c7 --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/test/Set-JcSdkApprovalFlow.Tests.ps1 @@ -0,0 +1,83 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Set-JcSdkApprovalFlow')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Set-JcSdkApprovalFlow.Recording.json' + $currentPath = $PSScriptRoot + $mockingPath = $null + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + + +Describe 'Set-JcSdkApprovalFlow' -Tag:(""){ + It 'Set' { + $workflows = Get-JcSdkApprovalFlow + if (-not $workflows) { + $userGroups = Get-JcSdkUserGroup + $resourceGroup = $null + $visibleGroup = $null + if (-not $userGroups) { + $createdGroups = @() + 1..2 | ForEach-Object { + $groupName = "PesterFlowGroup$_-$([guid]::NewGuid().ToString('N').Substring(0,8))" + $createdGroups += New-JcSdkUserGroup -Name $groupName + } + + $userGroups = $createdGroups + $resourceGroup = $createdGroups[0] + $visibleGroup = $createdGroups[1] + } + + $workflowNameSuffix = [guid]::NewGuid().ToString('N').Substring(0,8) + $workflows = @( + New-JcSdkApprovalFlow -ApprovalType 'manual' -Category 'Application' -Description 'A new workflow2' -MultiSelectDuration @('P5D') -Name "New Workflow-$workflowNameSuffix" -ResourceId $resourceGroup.Id -ResourceType 'user_group' -Status 'active' -TimeBasedAccess -TtlConfig 'TTL_CONFIG_MULTI_SELECT_DURATIONS' -VisibleTo @($visibleGroup.Id) + ) + } + + $workflow = $workflows | Get-Random + $newName = "{0}-Updated" -f $workflow.Name + $newDescription = "Updated via Pester on $(Get-Date -Format 'u')" + + $body = @{ + ApprovalType = $workflow.ApprovalType + ApproverRequirement = $workflow.ApproverRequirement + ApproverResources = $workflow.ApproverResources + Description = $newDescription + FixedDuration = $workflow.FixedDuration + IconColor = $workflow.IconColor + IconUrl = $workflow.IconUrl + MultiSelectDuration = $workflow.MultiSelectDuration + Name = $newName + NonAdminApproval = $workflow.NonAdminApproval + ResourceId = $workflow.ResourceId + SlackConfig = $workflow.SlackConfig + SlackEnabled = $workflow.SlackEnabled + Status = $workflow.Status + TimeBasedAccess = $workflow.TimeBasedAccess + TtlConfig = $workflow.TtlConfig + VisibleTo = $workflow.VisibleTo + } + + foreach ($key in @($body.Keys)) { + if ($null -eq $body[$key]) { + $body.Remove($key) | Out-Null + } + } + + $updatedWorkflow = Set-JcSdkApprovalFlow -ApprovalFlowId $workflow.Id -Body $body + + $updatedWorkflow | Should -Not -BeNullOrEmpty + + $refreshedWorkflow = Get-JcSdkApprovalFlow -ApprovalFlowId $workflow.Id + $refreshedWorkflow | Should -Not -BeNullOrEmpty + $refreshedWorkflow.Name | Should -Be $newName + $refreshedWorkflow.Description | Should -Be $newDescription + } +} diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/test/Set-JcSdkApprovalFlowSetting.Tests.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V2/test/Set-JcSdkApprovalFlowSetting.Tests.ps1 new file mode 100644 index 000000000..b912dcb94 --- /dev/null +++ b/SDKs/PowerShell/JumpCloud.SDK.V2/test/Set-JcSdkApprovalFlowSetting.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Set-JcSdkApprovalFlowSetting')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Set-JcSdkApprovalFlowSetting.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Set-JcSdkApprovalFlowSetting' { + It 'SetExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Set' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/SwaggerSpecs/JumpCloud.SDK.V2.json b/SwaggerSpecs/JumpCloud.SDK.V2.json index 646fe86e8..89832eb30 100644 --- a/SwaggerSpecs/JumpCloud.SDK.V2.json +++ b/SwaggerSpecs/JumpCloud.SDK.V2.json @@ -1099,6 +1099,10 @@ "compiledAttributes": { "$ref": "#/definitions/GraphAttributes" }, + "externalId": { + "description": "The external resource ID that is being synced. Only present when syncStatus query parameter is true.", + "type": "string" + }, "id": { "description": "Object ID of this graph object.", "type": "string" @@ -1113,6 +1117,9 @@ }, "type": "array" }, + "syncStatus": { + "$ref": "#/definitions/SyncStatus" + }, "type": { "$ref": "#/definitions/GraphType" } @@ -1222,7 +1229,8 @@ "description": "Targets which a \"command\" can be associated to.", "enum": [ "system", - "system_group" + "system_group", + "password_manager_item" ], "type": "string", "x-ms-enum": { @@ -1235,6 +1243,10 @@ { "name": "systems_group", "value": "system_group" + }, + { + "name": "password_manager_item", + "value": "password_manager_item" } ] } @@ -1356,7 +1368,7 @@ ], "type": "string", "x-ms-enum": { - "name": "GraphOperation-Policy1", + "name": "GraphOperation-Policy3", "values": [ { "name": "systems", @@ -1396,7 +1408,7 @@ ], "type": "string", "x-ms-enum": { - "name": "GraphOperation-PolicyGroup1", + "name": "GraphOperation-PolicyGroup3", "values": [ { "name": "systems", @@ -1435,7 +1447,7 @@ ], "type": "string", "x-ms-enum": { - "name": "GraphOperation-PolicyGroup-Member2" + "name": "GraphOperation-PolicyGroup-Member4" } } }, @@ -1495,7 +1507,7 @@ ], "type": "string", "x-ms-enum": { - "name": "GraphOperation-SoftwareApp1", + "name": "GraphOperation-SoftwareApp3", "values": [ { "name": "systems", @@ -1545,7 +1557,7 @@ ], "type": "string", "x-ms-enum": { - "name": "GraphOperation-System3" + "name": "GraphOperation-System5" } } }, @@ -1578,7 +1590,7 @@ ], "type": "string", "x-ms-enum": { - "name": "GraphOperation-SystemGroup3" + "name": "GraphOperation-SystemGroup5" } } }, @@ -1607,7 +1619,7 @@ ], "type": "string", "x-ms-enum": { - "name": "GraphOperation-SystemGroup-Member4", + "name": "GraphOperation-SystemGroup-Member6", "values": [ { "name": "systems", @@ -1658,7 +1670,7 @@ ], "type": "string", "x-ms-enum": { - "name": "GraphOperation-User5", + "name": "GraphOperation-User7", "values": [ { "name": "active_directory", @@ -1738,7 +1750,7 @@ ], "type": "string", "x-ms-enum": { - "name": "GraphOperation-UserGroup5", + "name": "GraphOperation-UserGroup7", "values": [ { "name": "active_directory", @@ -1809,7 +1821,7 @@ ], "type": "string", "x-ms-enum": { - "name": "GraphOperation-UserGroup-Member6" + "name": "GraphOperation-UserGroup-Member8" } } }, @@ -1860,10 +1872,17 @@ "description": "ObjectId uniquely identifying a Group.", "type": "string" }, + "memberQueryErrorFlags": { + "$ref": "#/definitions/MemberQueryErrorFlags" + }, "name": { "description": "Display name of a Group.", "type": "string" }, + "organizationObjectId": { + "description": "id of the organization owning this group", + "type": "string" + }, "type": { "$ref": "#/definitions/GroupType" } @@ -1999,6 +2018,13 @@ }, "description": "Query object for group membership. Both 'filters' and 'searchFilters' accept stringified JSON that will be parsed and validated by the API." }, + "MemberQueryErrorFlags": { + "description": "Group error flags indicating errors encountered during member query evaluation.\n\nPossible flag values:\n- CYCLE: A cyclic dependency was detected in group membership\n- INVALID_GROUP_REFERENCE: The group reference is invalid or does not exist\n\nThe `member_query_error_flags` as a field supports array-based filtering:\n- `CO`: Contains Overlap - check if array overlaps with the specified array (use `[\"VALUE\"]` for single value)\n- `NCO`: Not Contains Overlap - check if array does not overlap\n- `EQ`: Exact array match\n- `NE`: Not equal to array\n- `IN`: Array contains any of the specified values\n**Note:** Single `value` is converted to array `[\"value\"]``.", + "items": { + "type": "string" + }, + "type": "array" + }, "OSRestriction": { "description": "Contains OS properties to restrict the application of policies to devices based on the device's OS", "example": { @@ -2244,6 +2270,10 @@ "description": "Display name of a Policy Group.", "type": "string" }, + "organizationObjectId": { + "description": "id of the organization owning this group", + "type": "string" + }, "type": { "description": "The type of the group; always 'policy' for a Policy Group.", "enum": [ @@ -2717,7 +2747,7 @@ "amountPaid": "10.9", "amountRemaining": "189.1", "currency": "USD", - "dueDate": "2021-08-07T00:00:00", + "dueDate": "2021-08-07", "id": "234324", "status": "Partially Paid" }, @@ -2875,6 +2905,33 @@ "readOnly": true, "type": "object" }, + "SyncStatus": { + "description": "Sync status information for this object. Only present when syncStatus query parameter is true.", + "properties": { + "code": { + "description": "Status code of the sync operation.", + "type": "integer" + }, + "details": { + "description": "Additional details about the sync status.", + "items": { + "type": "object", + "additionalProperties": true + }, + "type": "array" + }, + "message": { + "description": "Status message of the sync operation.", + "type": "string" + }, + "syncedAt": { + "description": "The last time the object was synced.", + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, "SystemGroup": { "properties": { "attributes": { @@ -2895,6 +2952,9 @@ "memberQuery": { "$ref": "#/definitions/MemberQuery" }, + "memberQueryErrorFlags": { + "$ref": "#/definitions/MemberQueryErrorFlags" + }, "memberQueryExemptions": { "description": "Array of GraphObjects exempted from the query", "items": { @@ -2913,6 +2973,10 @@ "description": "Display name of a System Group.", "type": "string" }, + "organizationObjectId": { + "description": "id of the organization owning this group", + "type": "string" + }, "type": { "description": "The type of the group; always 'system' for a System Group.", "enum": [ @@ -3088,6 +3152,9 @@ "memberQuery": { "$ref": "#/definitions/MemberQuery" }, + "memberQueryErrorFlags": { + "$ref": "#/definitions/MemberQueryErrorFlags" + }, "memberQueryExemptions": { "description": "Array of GraphObjects exempted from the query", "items": { @@ -3106,6 +3173,10 @@ "description": "Display name of a User Group.", "type": "string" }, + "organizationObjectId": { + "description": "id of the organization owning this group", + "type": "string" + }, "suggestionCounts": { "$ref": "#/definitions/SuggestionCounts" }, @@ -3416,6 +3487,9 @@ "imei": { "type": "string" }, + "isAppleSilicon": { + "type": "boolean" + }, "isSupervised": { "type": "boolean" }, @@ -3483,6 +3557,9 @@ "passcodePresent": { "type": "boolean" }, + "recoveryLockEnabled": { + "type": "boolean" + }, "userApprovedEnrollment": { "type": "boolean" } @@ -4609,4132 +4686,5498 @@ "title": "Job WorkResult", "type": "object" }, - "jumpcloud.search.Function": { - "default": "function_unknown", - "enum": [ - "function_unknown", - "count", - "avg", - "max", - "min", - "sum", - "count_unique" - ], - "type": "string" - }, - "jumpcloud.search.PaginationParams": { - "description": "Parameters for controlling pagination of search results.", + "jumpcloud.ingresso.AccessWorkflow": { "properties": { - "offset": { - "description": "Zero-based index of the first result to return.\nFor example: 0 returns the first page, 100 returns the second page when page_size=100.", - "format": "int32", - "type": "integer" + "approvalType": { + "type": "string" }, - "pageSize": { - "description": "Number of results to return per page.\nIf not specified, uses server default (typically 50-100 items).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "jumpcloud.search.SearchRequest": { - "properties": { - "aggregations": { + "approverRequirement": { + "type": "string" + }, + "approverResources": { "items": { - "$ref": "#/definitions/jumpcloud.search.SearchRequestAggregation" + "$ref": "#/definitions/jumpcloud.ingresso.ApproverResource" }, "type": "array" }, - "cacheToken": { - "title": "Optional: Token for retrieving data from a previously cached result set", - "type": "string", - "x-nullable": true + "category": { + "type": "string" }, - "fields": { - "$ref": "#/definitions/jumpcloud.search.SearchRequestFields" + "createdBy": { + "type": "string" }, - "filters": { + "description": { + "type": "string" + }, + "fixedDuration": { + "type": "string" + }, + "iconColor": { + "type": "string" + }, + "iconUrl": { + "type": "string" + }, + "id": { + "type": "string" + }, + "multiSelectDuration": { "items": { - "$ref": "#/definitions/jumpcloud.search.SearchRequestFilter" + "type": "string" }, "type": "array" }, - "limit": { - "description": "Maximum number of rows (inclusive) to return in the objects. Note that there is an implicit limit enforced always\nin the external API.", - "format": "int32", - "type": "integer" - }, - "pagination": { - "$ref": "#/definitions/jumpcloud.search.PaginationParams" + "name": { + "type": "string" }, - "requestCache": { - "title": "Optional: If true, cache the full result set of this query", + "nonAdminApproval": { "type": "boolean" }, - "sort": { + "organizationId": { + "format": "byte", + "type": "string" + }, + "resources": { "items": { - "$ref": "#/definitions/jumpcloud.search.SearchRequestSort" + "$ref": "#/definitions/jumpcloud.ingresso.AccessWorkflowResources" }, "type": "array" - } - }, - "type": "object" - }, - "jumpcloud.search.SearchRequestAggregation": { - "properties": { - "field": { - "description": "This is a field on an object. It should always be in the form of . This will be case\ninsensitive, and will be cast to lowercase always.", + }, + "slackConfig": { "items": { - "type": "string" + "$ref": "#/definitions/jumpcloud.ingresso.SlackConfig" }, "type": "array" }, - "function": { - "$ref": "#/definitions/jumpcloud.search.Function" + "slackEnabled": { + "type": "boolean" }, - "name": { + "status": { + "type": "string" + }, + "timeBasedAccess": { + "type": "boolean" + }, + "ttlConfig": { + "$ref": "#/definitions/jumpcloud.ingresso.TtlConfig" + }, + "updatedBy": { "type": "string" + }, + "visibleTo": { + "items": { + "$ref": "#/definitions/jumpcloud.ingresso.VisibleTo" + }, + "type": "array" } }, "type": "object" }, - "jumpcloud.search.SearchRequestFields": { + "jumpcloud.ingresso.AccessWorkflowResources": { "properties": { - "exclude": { - "items": { - "type": "string" - }, - "type": "array" + "resourceId": { + "type": "string" }, - "include": { - "items": { - "type": "string" - }, - "type": "array" + "resourceName": { + "type": "string" + }, + "resourceType": { + "type": "string" } }, "type": "object" }, - "jumpcloud.search.SearchRequestFilter": { - "description": "A filter for a search query.", + "jumpcloud.ingresso.AccessWorkflowSettings": { "properties": { - "field": { - "description": "This is a field on an object. It should always be in the form of . This will be case\ninsensitive, and will be cast to lowercase always.", - "type": "string", - "x-nullable": true + "adminApprovalEmail": { + "type": "boolean" }, - "filters": { - "description": "Only allowed when operation is 'and'/'or'. This allows for logical groupings of sub-filters provided in this\nfield's array.", + "channelEvents": { "items": { - "$ref": "#/definitions/jumpcloud.search.SearchRequestFilter" + "$ref": "#/definitions/jumpcloud.ingresso.ChannelEvent" }, "type": "array" }, - "operation": { - "$ref": "#/definitions/jumpcloud.search.SearchRequestFilter.Operation" + "createdBy": { + "type": "string" }, - "query": { - "$ref": "#/definitions/jumpcloud.search.SearchRequest" + "exposeApprovalProgress": { + "type": "boolean" }, - "unit": { - "type": "string", - "x-nullable": true + "id": { + "format": "int32", + "type": "integer" }, - "value": { - "description": "Static value to be compared against. For values that will need to be compared as a datetime object, this should be\nprovided as an ISO8601 format string with no offset (UTC). This is made optional so that\nthe client can omit this field on AND/OR filters." + "resourceRequest": { + "type": "boolean" + }, + "updatedBy": { + "type": "string" + }, + "userApprovalEmail": { + "type": "boolean" + }, + "userRequestEmail": { + "type": "boolean" } }, "type": "object" }, - "jumpcloud.search.SearchRequestFilter.Operation": { - "default": "operation_unknown", - "description": "Filter operation to be applied:\nand - Provides logical 'and' groupings of all elements provided in the `filters` array (all sub-filter criteria\n must be satisfied).\nor - Provides logical 'or' groupings of all elements provided in the `filters` array (any sub-filter criteria can\n be satisfied).\nequals - Compares `field` with `value` for a // match. Case insensitive.\nnot_equals - Compares `field` with `value` for an exact non-match. Case insensitive.\ngreater_than - Checks if `field` is greater numerically than static `value` (non-inclusive). Works for numbers and\n datetime types.\nless_than - Checks if `field` is less than static `value` (non-inclusive). Works for numbers and datetime types.\nstarts_with - Checks if `field` starts with static `value`. Case insensitive. Only works for string types.\nends_with - Checks if `field` ends with static `value`. Case insensitive. Only works for string types.\ncontains - Checks if `field` has the static `value` as its substring. Case insensitive. Only works for string types.\nnot_contains - Checks if `field` does not have the static `value` as its substring. Case insensitive. Only works for string types.\nin - Checks if `field` is in the static `value` array. Works with strings (case insensitive), numbers, and datetime types.\nnot_in - Checks if `field` is not in the static `value` array. Works with strings (case insensitive), numbers, and datetime types.\ngreater_than_or_equals - Checks if `field` is greater than or equal to static `value`. Works for numbers and datetime types.\nless_than_or_equals - Checks if `field` is less than or equal to static `value`. Works for numbers and datetime types.\nis_null - Checks if `field` is null. Works for all field types. Requires boolean value (true for null, false for not null).\nis_empty - Checks if `field` is null or empty string. Works only for string field types. Requires boolean value (true for empty, false for not empty).\nequals_case_sensitive - Compares `field` with `value` for an exact match. Case sensitive. Only works for string types.\nnot_equals_case_sensitive - Compares `field` with `value` for an exact non-match. Case sensitive. Only works for string types.\nstarts_with_case_sensitive - Checks if `field` starts with static `value`. Case sensitive. Only works for string types.\nends_with_case_sensitive - Checks if `field` ends with static `value`. Case sensitive. Only works for string types.\ncontains_case_sensitive - Checks if `field` has the static `value` as its substring. Case sensitive. Only works for string types.\nnot_contains_case_sensitive - Checks if `field` does not have the static `value` as its substring. Case sensitive. Only works for string types.\nin_case_sensitive - Checks if `field` is in the static `value` array. Works with strings (case sensitive), numbers, and datetime types.\nnot_in_case_sensitive - Checks if `field` is not in the static `value` array. Works with strings (case sensitive), numbers, and datetime types.", - "enum": [ - "operation_unknown", - "and", - "or", - "equals", - "not_equals", - "greater_than", - "less_than", - "starts_with", - "ends_with", - "contains", - "not_contains", - "in", - "not_in", - "greater_than_or_equals", - "less_than_or_equals", - "is_null", - "is_empty", - "equals_case_sensitive", - "not_equals_case_sensitive", - "starts_with_case_sensitive", - "ends_with_case_sensitive", - "contains_case_sensitive", - "not_contains_case_sensitive", - "in_case_sensitive", - "not_in_case_sensitive" - ], - "type": "string" - }, - "jumpcloud.search.SearchRequestSort": { + "jumpcloud.ingresso.ApproverResource": { "properties": { - "field": { - "description": "This is a field on an object. It should always be in the form of\n. This will be case insensitive, and will be cast to\nlowercase always.", + "requireAll": { + "type": "boolean" + }, + "resourceId": { "type": "string" }, - "order": { - "$ref": "#/definitions/jumpcloud.search.SearchRequestSort.Order" + "resourceName": { + "type": "string" + }, + "resourceOrder": { + "format": "int32", + "type": "integer" + }, + "resourceType": { + "type": "string" } }, "type": "object" }, - "jumpcloud.search.SearchRequestSort.Order": { - "default": "asc", - "enum": [ - "asc", - "desc" - ], - "title": "Sort order. Defaults to ascending", - "type": "string" - }, - "ldap-server": { + "jumpcloud.ingresso.Approvers": { "properties": { - "id": { - "description": "Unique identifier of this LDAP server", - "readOnly": true, + "approvalSequence": { + "format": "int64", "type": "string" }, - "name": { - "description": "The name of this LDAP server", + "approvalStatus": { "type": "string" }, - "userLockoutAction": { - "description": "action to take; one of 'remove' or 'disable'", - "enum": [ - "disable", - "remove" - ], + "approverId": { "type": "string" }, - "userPasswordExpirationAction": { - "description": "action to take; one of 'remove' or 'disable'", - "enum": [ - "disable", - "remove" - ], + "approverType": { "type": "string" - } - }, - "title": "LDAP Server", - "type": "object" - }, - "object-storage-item": { - "description": "Object storage item information.", - "properties": { - "objectId": { + }, + "createdAt": { "type": "string" }, - "versions": { - "items": { - "$ref": "#/definitions/object-storage-version" - }, - "type": "array" + "requireAll": { + "type": "boolean" + }, + "resourceId": { + "type": "string" + }, + "resourceName": { + "type": "string" + }, + "resourceType": { + "type": "string" } }, - "title": "Object Storage item", "type": "object" }, - "object-storage-version": { - "description": "Object storage version information.", + "jumpcloud.ingresso.ApproversProgress": { "properties": { - "metadata": { - "type": "object", - "additionalProperties": true + "approvalSequence": { + "format": "int32", + "type": "integer" }, - "name": { + "approvalStatus": { "type": "string" }, - "rejectedReason": { - "type": "string" + "approvedCount": { + "format": "int32", + "type": "integer" }, - "sha256sum": { + "approverId": { "type": "string" }, - "size": { - "default": 0, - "type": "integer" + "approverType": { + "type": "string" }, - "status": { + "createdAt": { "type": "string" }, - "version": { - "default": 0, - "type": "integer" - } - }, - "title": "Object Storage Version", - "type": "object" - }, - "office365": { - "properties": { - "defaultDomain": { - "$ref": "#/definitions/defaultDomain" + "overridenApproval": { + "type": "boolean" }, - "groupsEnabled": { + "requireAll": { "type": "boolean" }, - "id": { - "readOnly": true, + "resourceId": { "type": "string" }, - "name": { + "resourceName": { "type": "string" }, - "userLockoutAction": { - "enum": [ - "suspend", - "maintain" - ], + "resourceType": { "type": "string" }, - "userPasswordExpirationAction": { - "enum": [ - "suspend", - "maintain" - ], - "type": "string" + "totalCount": { + "format": "int32", + "type": "integer" } }, - "title": "Office 365", "type": "object" }, - "samba-domain": { + "jumpcloud.ingresso.ChannelEvent": { "properties": { - "id": { - "description": "Unique identifier of this domain", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "Name of this domain's WorkGroup", + "channelObjectId": { + "format": "byte", "type": "string" }, - "sid": { - "description": "Security identifier of this domain", - "type": "string" + "eventTypes": { + "items": { + "$ref": "#/definitions/jumpcloud.ingresso.EventType" + }, + "type": "array" } }, - "required": [ - "name", - "sid" - ], - "title": "Samba Domain", "type": "object" }, - "scheduled-userstate-result": { + "jumpcloud.ingresso.CreateAccessWorkflowRequest": { "properties": { - "scheduledDate": { - "description": "The UTC date and time when the scheduled job will execute.", + "approvalType": { "type": "string" }, - "scheduledJobId": { - "description": "The id of the scheduled job that scheduled the state change.", + "approverRequirement": { "type": "string" }, - "state": { - "description": "The state that the user will be in once the scheduled job executes.", + "approverResources": { + "items": { + "$ref": "#/definitions/jumpcloud.ingresso.ApproverResource" + }, + "type": "array" + }, + "category": { "type": "string" }, - "systemUserId": { - "description": "The id of the user that the scheduled job will update.", + "description": { "type": "string" - } - }, - "title": "Scheduled Userstate Result", - "type": "object" - }, - "software-app": { - "properties": { - "createdAt": { - "format": "date-time", + }, + "fixedDuration": { "type": "string" }, - "displayName": { + "iconColor": { "type": "string" }, - "id": { + "iconUrl": { "type": "string" }, - "settings": { + "multiSelectDuration": { "items": { - "$ref": "#/definitions/SoftwareAppSettings" + "type": "string" }, "type": "array" }, - "updatedAt": { - "format": "date-time", + "name": { "type": "string" - } - }, - "title": "Software Application Package", - "type": "object" - }, - "software-app-apple-vpp": { - "description": "appleVpp is an optional attribute, it will only be present on apps with a 'setting' 'package_manager' type of 'APPLE_VPP'.", - "properties": { - "appConfiguration": { - "description": "Text sent to configure the application, the text should be a valid plist. Returned only by 'GET /softwareapps/{id}'.", + }, + "nonAdminApproval": { + "type": "boolean" + }, + "organizationObjectId": { + "format": "byte", "type": "string" }, - "assignedLicenses": { - "default": 0, - "type": "integer" + "resourceId": { + "type": "string" }, - "availableLicenses": { - "default": 0, - "type": "integer" + "resourceType": { + "type": "string" }, - "details": { - "description": "App details returned by iTunes API. See example. The properties in this field are out of our control and we cannot guarantee consistency, so it should be checked by the client and manage the details accordingly.", - "type": "object", - "additionalProperties": true + "slackConfig": { + "items": { + "$ref": "#/definitions/jumpcloud.ingresso.SlackConfig" + }, + "type": "array" }, - "isConfigEnabled": { - "description": "Denotes if configuration has been enabled for the application. Returned only by ''GET /softwareapps/{id}''.", + "slackEnabled": { "type": "boolean" }, - "supportedDeviceFamilies": { - "description": "The supported device families for this VPP Application.", + "status": { + "type": "string" + }, + "timeBasedAccess": { + "type": "boolean" + }, + "ttlConfig": { + "$ref": "#/definitions/jumpcloud.ingresso.TtlConfig" + }, + "visibleTo": { "items": { - "enum": [ - "IPAD", - "IPHONE", - "IPOD", - "MAC" - ], "type": "string" }, "type": "array" - }, - "totalLicenses": { - "default": 0, - "type": "integer" } }, - "title": "software-app-apple-vpp", "type": "object" }, - "software-app-create": { + "jumpcloud.ingresso.CreateAccessWorkflowResponse": { "properties": { - "createdAt": { - "format": "date-time", - "type": "string" - }, - "displayName": { - "type": "string" - }, "id": { "type": "string" - }, - "settings": { + } + }, + "type": "object" + }, + "jumpcloud.ingresso.DeleteAccessWorkflowResponse": { + "type": "object", + "additionalProperties": true + }, + "jumpcloud.ingresso.EventType": { + "default": "ACCESS_MANAGEMENT_EVENT_TYPE_UNSPECIFIED", + "enum": [ + "ACCESS_MANAGEMENT_EVENT_TYPE_UNSPECIFIED", + "ACCESS_MANAGEMENT_ACCESS_REQUEST", + "ACCESS_MANAGEMENT_ACCESS_REQUEST_APPROVAL", + "ACCESS_MANAGEMENT_ASSOCIATION_CHANGE", + "ACCESS_MANAGEMENT_APPROVAL_FLOW_CREATE", + "ACCESS_MANAGEMENT_APPROVAL_FLOW_UPDATE", + "ACCESS_MANAGEMENT_APPROVAL_FLOW_DELETE", + "ACCESS_MANAGEMENT_ACCESS_REQUEST_SETTINGS_UPDATE" + ], + "type": "string" + }, + "jumpcloud.ingresso.GetAccessRequestApprovalProgressResponse": { + "properties": { + "approvers": { "items": { - "$ref": "#/definitions/SoftwareAppSettings" + "$ref": "#/definitions/jumpcloud.ingresso.ApproversProgress" }, "type": "array" }, - "updatedAt": { - "format": "date-time", + "approversRequirement": { "type": "string" + } + }, + "type": "object" + }, + "jumpcloud.ingresso.GetAllAccessWorkFlowsResponse": { + "properties": { + "results": { + "items": { + "$ref": "#/definitions/jumpcloud.ingresso.AccessWorkflow" + }, + "type": "array" }, - "uploadUrl": { - "type": "string" + "totalCount": { + "format": "int32", + "type": "integer" } }, - "title": "SoftwareApplicationCreate", "type": "object" }, - "software-app-google-android": { - "description": "googleAndroid is an optional attribute, it will only be present on apps with a 'setting' 'package_manager' type of 'GOOGLE_ANDROID'.", + "jumpcloud.ingresso.GetAllWorkflowAccessRequestResponse": { "properties": { - "androidFeatures": { - "description": "The array of android features for the app.", + "results": { "items": { - "type": "string" + "$ref": "#/definitions/jumpcloud.ingresso.WorkflowAccessRequest" }, "type": "array" }, - "appPricing": { - "description": "Whether this app is free, free with in-app purchases, or paid.", + "totalCount": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "jumpcloud.ingresso.GetWorkflowAccessRequestResponse": { + "properties": { + "approvalFlowDescription": { "type": "string" }, - "appVersion": { - "description": "Latest version currently available for this app.", + "approvalFlowId": { "type": "string" }, - "author": { - "description": "The name of the author of this app.", + "approvalFlowName": { "type": "string" }, - "autoUpdateMode": { - "description": "Controls the auto-update mode for the app.", - "enum": [ - "AUTO_UPDATE_DEFAULT", - "AUTO_UPDATE_POSTPONED", - "AUTO_UPDATE_HIGH_PRIORITY" - ], + "approvalType": { "type": "string" }, - "category": { - "description": "The app category (e.g. COMMUNICATION, SOCIAL, etc.).", + "approvedDuration": { "type": "string" }, - "contentRating": { - "description": "The content rating for this app.", + "approvers": { + "items": { + "$ref": "#/definitions/jumpcloud.ingresso.Approvers" + }, + "type": "array" + }, + "approversRequirement": { "type": "string" }, - "displayMode": { - "description": "The display mode of the web app.", + "createdAt": { "type": "string" }, - "distributionChannel": { - "description": "How and to whom the package is made available.", + "department": { "type": "string" }, - "fullDescription": { - "description": "Full app description, if available.", + "fixedDuration": { "type": "string" }, - "iconUrl": { - "description": "A link to an image that can be used as an icon for the app.", + "group": { "type": "string" }, - "installType": { - "description": "The type of installation to perform for an app.", - "enum": [ - "AVAILABLE", - "FORCE_INSTALLED", - "BLOCKED" - ], + "iconColor": { "type": "string" }, - "managedConfigurationTemplateId": { - "description": "The managed configurations template for the app.", + "iconUrl": { "type": "string" }, - "managedProperties": { - "description": "Indicates whether this app has managed properties or not.", - "type": "boolean" + "id": { + "type": "string" }, - "minSdkVersion": { - "description": "The minimum Android SDK necessary to run the app.", - "type": "integer" + "manager": { + "type": "string" }, - "name": { - "description": "The name of the app in the form enterprises/{enterprise}/applications/{packageName}.", + "metadata": { + "format": "byte", "type": "string" }, - "permissionGrants": { + "multiSelectDuration": { "items": { - "$ref": "#/definitions/software-app-permission-grants" + "type": "string" }, "type": "array" }, - "runtimePermission": { - "description": "The policy for granting permission requests to apps.", - "enum": [ - "PROMPT", - "GRANT", - "DENY" - ], + "nonAdminApproval": { + "type": "boolean" + }, + "remarks": { "type": "string" }, - "startUrl": { - "description": "The start URL, i.e. the URL that should load when the user opens the application. Applicable only for webapps.", + "requestedDuration": { "type": "string" }, - "type": { - "description": "Type of this android application.", - "enum": [ - "APP_TYPE_UNSPECIFIED", - "PUBLIC", - "PRIVATE", - "WEBAPP" - ], + "requestor": { "type": "string" }, - "updateTime": { - "description": "The approximate time (within 7 days) the app was last published.", + "runId": { "type": "string" }, - "versionCode": { - "description": "The current version of the web app.", - "type": "integer" - } - }, - "title": "software-app-google-android", - "type": "object" - }, - "software-app-microsoft-store": { - "description": "microsoftStore is an optional attribute, it will only be present on apps with a 'setting' 'package_manager' type of 'MICROSOFT_STORE'.", - "properties": { - "doNotUpdate": { - "description": "Indicates whether the app can be updated or not.", - "type": "boolean" + "status": { + "type": "string" }, - "nonRemovable": { - "description": "Indicates whether the app is removable by the users or not.", + "timeBasedAccess": { "type": "boolean" }, - "packageFamilyName": { - "description": "Package Family Name for the app from Microsoft App Store.", + "ttlConfig": { "type": "string" - } - }, - "title": "software-app-microsoft-store", - "type": "object" - }, - "software-app-permission-grants": { - "properties": { - "id": { - "description": "An opaque string uniquely identifying the Android permission, e.g. android.permission.READ_CALENDAR.", + }, + "updatedAt": { "type": "string" }, - "policy": { - "description": "The policy for granting the permission.", - "enum": [ - "PROMPT", - "GRANT", - "DENY" - ], + "updatedBy": { + "type": "string" + }, + "userName": { "type": "string" } }, "type": "object" }, - "software-app-reclaim-licenses": { + "jumpcloud.ingresso.SlackConfig": { "properties": { - "assignedLicenses": { - "default": 0, - "type": "integer" - }, - "availableLicenses": { - "default": 0, - "type": "integer" - }, - "reclaimedLicenses": { - "default": 0, - "type": "integer" - }, - "totalLicenses": { - "default": 0, - "type": "integer" + "slackResourceId": { + "type": "string" } }, "type": "object" }, - "SoftwareAppSettings": { + "jumpcloud.ingresso.TtlConfig": { + "default": "TTL_CONFIG_UNSPECIFIED", + "enum": [ + "TTL_CONFIG_UNSPECIFIED", + "TTL_CONFIG_MULTI_SELECT_DURATIONS", + "TTL_CONFIG_FIXED_DURATION" + ], + "type": "string" + }, + "jumpcloud.ingresso.UpdateAccessWorkflowResponse": { + "type": "object", + "additionalProperties": true + }, + "jumpcloud.ingresso.UpdateAccessWorkflowSettingsRequest": { "properties": { - "allowUpdateDelay": { - "default": false, + "adminApprovalEmail": { "type": "boolean" }, - "appCatalogInstallableObjectId": { - "description": "ID of the app catalog installable that created this app.", - "type": "string" - }, - "appFileName": { - "type": "string" - }, - "appleVpp": { - "$ref": "#/definitions/software-app-apple-vpp" - }, - "architectures": { + "channelEvents": { "items": { - "type": "string" + "$ref": "#/definitions/jumpcloud.ingresso.ChannelEvent" }, "type": "array" }, - "assetKind": { - "description": "The manifest asset kind (ex: software).", - "type": "string" + "exposeApprovalProgress": { + "type": "boolean" }, - "assetSha256Size": { - "description": "The incremental size to use for summing the package as it is downloaded.", - "type": "integer" + "organizationObjectId": { + "format": "byte", + "type": "string" }, - "assetSha256Strings": { - "description": "The array of checksums, one each for the hash size up to the total size of the package.", - "items": { - "type": "string" - }, - "type": "array" + "resourceRequest": { + "type": "boolean" }, - "autoUpdate": { - "default": false, + "userApprovalEmail": { "type": "boolean" }, - "bundleId": { + "userRequestEmail": { + "type": "boolean" + } + }, + "type": "object" + }, + "jumpcloud.ingresso.UpdateAccessWorkflowSettingsResponse": { + "type": "object", + "additionalProperties": true + }, + "jumpcloud.ingresso.UpdateWorkflowAccessRequestResponse": { + "type": "object", + "additionalProperties": true + }, + "jumpcloud.ingresso.UserApprovalRequestRequest": { + "properties": { + "approvedDuration": { "type": "string" }, - "commandLineArguments": { - "description": "Command line arguments to use with the application.", + "id": { "type": "string" }, - "createdAt": { - "format": "date-time", + "organizationObjectId": { + "format": "byte", "type": "string" }, - "description": { - "description": "The software app description.", + "remarks": { "type": "string" }, - "desiredState": { - "description": "State of Install or Uninstall", + "status": { "type": "string" - }, - "downloadUrl": { + } + }, + "type": "object" + }, + "jumpcloud.ingresso.UserApprovalRequestResponse": { + "type": "object", + "additionalProperties": true + }, + "jumpcloud.ingresso.VisibleTo": { + "properties": { + "id": { "type": "string" }, - "enterpriseObjectId": { - "description": "ID of the Enterprise with which this app is associated", + "name": { "type": "string" - }, - "format": { + } + }, + "type": "object" + }, + "jumpcloud.ingresso.WorkflowAccessRequest": { + "properties": { + "approvalFlowDescription": { "type": "string" }, - "googleAndroid": { - "$ref": "#/definitions/software-app-google-android" + "approvalFlowId": { + "type": "string" }, - "iconUrl": { - "description": "URL to the icon for the app.", + "approvalFlowName": { "type": "string" }, - "location": { - "description": "Repository where the app is located within the package manager", + "approvalType": { "type": "string" }, - "locationObjectId": { - "description": "ID of the repository where the app is located within the package manager", + "approvedDuration": { "type": "string" }, - "microsoftStore": { - "$ref": "#/definitions/software-app-microsoft-store" + "createdAt": { + "type": "string" }, - "packageId": { + "department": { "type": "string" }, - "packageKind": { - "description": "The package manifest kind (ex: software-package).", + "group": { "type": "string" }, - "packageManager": { - "description": "App store serving the app: APPLE_VPP, CHOCOLATEY, etc.", + "iconColor": { "type": "string" }, - "packageSubtitle": { - "description": "The package manifest subtitle.", + "iconUrl": { "type": "string" }, - "packageVersion": { - "description": "The package manifest version.", + "id": { "type": "string" }, - "packageVersionUpdatedAt": { - "format": "date-time", + "manager": { "type": "string" }, - "scope": { - "description": "The installation scope of the software app.", + "nonAdminApproval": { + "type": "boolean" + }, + "remarks": { "type": "string" }, - "shortVersion": { + "requestedDuration": { "type": "string" }, - "storedPackage": { - "$ref": "#/definitions/object-storage-item" + "requestor": { + "type": "string" }, - "storedPackageObjectId": { - "description": "ID of the stored package this app uses to reference the stored install media.", + "runId": { "type": "string" }, - "teamId": { + "status": { "type": "string" }, - "updateTool": { + "timeBasedAccess": { + "type": "boolean" + }, + "updatedAt": { "type": "string" }, - "updateToolArguments": { + "updatedBy": { "type": "string" }, - "updatedAt": { - "format": "date-time", + "userName": { "type": "string" }, - "versionlessDownloadUrl": { - "type": "boolean" + "wfMetadata": { + "format": "byte", + "type": "string" } }, - "type": "object", - "x-examples": { - "example-1": { - "allowUpdateDelay": false, - "autoUpdate": false, - "desiredState": "string", - "location": "string", - "locationObjectId": "string", - "packageId": "string", - "packageManager": "string" - } - } + "type": "object" }, - "software-app-status": { + "jumpcloud.search.Function": { + "default": "function_unknown", + "enum": [ + "function_unknown", + "count", + "avg", + "max", + "min", + "sum", + "count_unique" + ], + "type": "string" + }, + "jumpcloud.search.PaginationParams": { + "description": "Parameters for controlling pagination of search results.", "properties": { - "code": { + "offset": { + "description": "Zero-based index of the first result to return.\nFor example: 0 returns the first page, 100 returns the second page when page_size=100.", + "format": "int32", "type": "integer" }, - "details": { - "type": "string" - }, - "id": { - "type": "string" - }, - "softwareAppId": { - "type": "string" - }, - "state": { - "type": "string" - }, - "systemId": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "version": { - "type": "string" + "pageSize": { + "description": "Number of results to return per page.\nIf not specified, uses server default (typically 50-100 items).", + "format": "int32", + "type": "integer" } }, - "title": "Software Application Status" + "type": "object" }, - "subscription": { + "jumpcloud.search.SearchRequest": { "properties": { - "annualPrice": { - "description": "The annual (discounted) price of this subscription.", - "type": "number" - }, - "displayName": { - "description": "The display name of this subscription.", - "type": "string" - }, - "features": { - "description": "Array of the features included in the subscription.", + "aggregations": { "items": { - "$ref": "#/definitions/feature" + "$ref": "#/definitions/jumpcloud.search.SearchRequestAggregation" }, "type": "array" }, - "listPrice": { - "description": "The list price of this subscription.", - "type": "number" - }, - "productCode": { - "description": "Unique identifier corresponding to this subscription.", - "type": "string" - }, - "upgradeRecommendation": { - "description": "Upgrade plan add-on.", - "type": "string" - } - }, - "required": [ - "annualPrice", - "displayName", - "features", - "listPrice", - "productCode" - ], - "title": "Subscription", - "type": "object" - }, - "system-insights-alf": { - "properties": { - "allow_signed_enabled": { - "type": "integer" - }, - "collection_time": { - "type": "string" - }, - "firewall_unload": { - "type": "integer" + "cacheToken": { + "title": "Optional: Token for retrieving data from a previously cached result set", + "type": "string", + "x-nullable": true }, - "global_state": { - "type": "integer" + "fields": { + "$ref": "#/definitions/jumpcloud.search.SearchRequestFields" }, - "logging_enabled": { - "type": "integer" + "filters": { + "items": { + "$ref": "#/definitions/jumpcloud.search.SearchRequestFilter" + }, + "type": "array" }, - "logging_option": { + "limit": { + "description": "Maximum number of rows (inclusive) to return in the objects. Note that there is an implicit limit enforced always\nin the external API.", + "format": "int32", "type": "integer" }, - "stealth_enabled": { - "type": "integer" + "pagination": { + "$ref": "#/definitions/jumpcloud.search.PaginationParams" }, - "system_id": { - "type": "string" + "requestCache": { + "title": "Optional: If true, cache the full result set of this query", + "type": "boolean" }, - "version": { - "type": "string" + "sort": { + "items": { + "$ref": "#/definitions/jumpcloud.search.SearchRequestSort" + }, + "type": "array" } }, - "title": "System Insights ALF", "type": "object" }, - "system-insights-alf-exceptions": { + "jumpcloud.search.SearchRequestAggregation": { "properties": { - "collection_time": { - "type": "string" - }, - "path": { - "type": "string" + "field": { + "description": "This is a field on an object. It should always be in the form of . This will be case\ninsensitive, and will be cast to lowercase always.", + "items": { + "type": "string" + }, + "type": "array" }, - "state": { - "type": "number" + "function": { + "$ref": "#/definitions/jumpcloud.search.Function" }, - "system_id": { + "name": { "type": "string" } }, - "title": "System Insights ALF Exceptions", "type": "object" }, - "system-insights-alf-explicit-auths": { + "jumpcloud.search.SearchRequestFields": { "properties": { - "collection_time": { - "type": "string" - }, - "process": { - "type": "string" + "exclude": { + "items": { + "type": "string" + }, + "type": "array" }, - "system_id": { - "type": "string" + "include": { + "items": { + "type": "string" + }, + "type": "array" } }, - "title": "System Insights ALF Explicit Authorizations", "type": "object" }, - "system-insights-appcompat-shims": { + "jumpcloud.search.SearchRequestFilter": { + "description": "A filter for a search query.", "properties": { - "collection_time": { - "type": "string" - }, - "description": { - "type": "string" - }, - "executable": { - "type": "string" + "field": { + "description": "This is a field on an object. It should always be in the form of . This will be case\ninsensitive, and will be cast to lowercase always.", + "type": "string", + "x-nullable": true }, - "install_time": { - "type": "number" + "filters": { + "description": "Only allowed when operation is 'and'/'or'. This allows for logical groupings of sub-filters provided in this\nfield's array.", + "items": { + "$ref": "#/definitions/jumpcloud.search.SearchRequestFilter" + }, + "type": "array" }, - "path": { - "type": "string" + "operation": { + "$ref": "#/definitions/jumpcloud.search.SearchRequestFilter.Operation" }, - "sdb_id": { - "type": "string" + "query": { + "$ref": "#/definitions/jumpcloud.search.SearchRequest" }, - "system_id": { - "type": "string" + "unit": { + "type": "string", + "x-nullable": true }, - "type": { - "type": "string" + "value": { + "description": "Static value to be compared against. For values that will need to be compared as a datetime object, this should be\nprovided as an ISO8601 format string with no offset (UTC). This is made optional so that\nthe client can omit this field on AND/OR filters." } }, - "title": "System Insights Application Compatibility Shims", "type": "object" }, - "system-insights-apps": { - "example": { - "applescript_enabled": "1", - "bundle_executable": "App Store", - "bundle_identifier": "com.apple.appstore", - "bundle_name": "App Store", - "bundle_package_type": "APPL", - "bundle_short_version": "2.4", - "bundle_version": "658.1", - "category": "public.app-category.utilities", - "collection_time": "2019-06-03T13:41:30.658-06:00", - "compiler": "com.apple.compilers.llvm.clang.1_0", - "copyright": "", - "development_region": "English", - "display_name": "App Store", - "element": "", - "environment": "", - "info_string": "", - "last_opened_time": 1556688963.50383, - "minimum_system_version": "10.13", - "name": "App Store.app", - "path": "/Applications/App Store.app", - "system_id": "5c9e51a13c5146f89bae12d9" - }, - "properties": { - "applescript_enabled": { - "type": "string" - }, - "bundle_executable": { - "type": "string" - }, - "bundle_identifier": { - "type": "string" - }, - "bundle_name": { - "type": "string" - }, - "bundle_package_type": { - "type": "string" - }, - "bundle_short_version": { - "type": "string" - }, - "bundle_version": { - "type": "string" - }, - "category": { + "jumpcloud.search.SearchRequestFilter.Operation": { + "default": "operation_unknown", + "description": "Filter operation to be applied:\nand - Provides logical 'and' groupings of all elements provided in the `filters` array (all sub-filter criteria\n must be satisfied).\nor - Provides logical 'or' groupings of all elements provided in the `filters` array (any sub-filter criteria can\n be satisfied).\nequals - Compares `field` with `value` for a // match. Case insensitive.\nnot_equals - Compares `field` with `value` for an exact non-match. Case insensitive.\ngreater_than - Checks if `field` is greater numerically than static `value` (non-inclusive). Works for numbers and\n datetime types.\nless_than - Checks if `field` is less than static `value` (non-inclusive). Works for numbers and datetime types.\nstarts_with - Checks if `field` starts with static `value`. Case insensitive. Only works for string types.\nends_with - Checks if `field` ends with static `value`. Case insensitive. Only works for string types.\ncontains - Checks if `field` has the static `value` as its substring. Case insensitive. Only works for string types.\nnot_contains - Checks if `field` does not have the static `value` as its substring. Case insensitive. Only works for string types.\nin - Checks if `field` is in the static `value` array. Works with strings (case insensitive), numbers, and datetime types.\nnot_in - Checks if `field` is not in the static `value` array. Works with strings (case insensitive), numbers, and datetime types.\ngreater_than_or_equals - Checks if `field` is greater than or equal to static `value`. Works for numbers and datetime types.\nless_than_or_equals - Checks if `field` is less than or equal to static `value`. Works for numbers and datetime types.\nis_null - Checks if `field` is null. Works for all field types. Requires boolean value (true for null, false for not null).\nis_empty - Checks if `field` is null or empty string. Works only for string field types. Requires boolean value (true for empty, false for not empty).\nequals_case_sensitive - Compares `field` with `value` for an exact match. Case sensitive. Only works for string types.\nnot_equals_case_sensitive - Compares `field` with `value` for an exact non-match. Case sensitive. Only works for string types.\nstarts_with_case_sensitive - Checks if `field` starts with static `value`. Case sensitive. Only works for string types.\nends_with_case_sensitive - Checks if `field` ends with static `value`. Case sensitive. Only works for string types.\ncontains_case_sensitive - Checks if `field` has the static `value` as its substring. Case sensitive. Only works for string types.\nnot_contains_case_sensitive - Checks if `field` does not have the static `value` as its substring. Case sensitive. Only works for string types.\nin_case_sensitive - Checks if `field` is in the static `value` array. Works with strings (case sensitive), numbers, and datetime types.\nnot_in_case_sensitive - Checks if `field` is not in the static `value` array. Works with strings (case sensitive), numbers, and datetime types.", + "enum": [ + "operation_unknown", + "and", + "or", + "equals", + "not_equals", + "greater_than", + "less_than", + "starts_with", + "ends_with", + "contains", + "not_contains", + "in", + "not_in", + "greater_than_or_equals", + "less_than_or_equals", + "is_null", + "is_empty", + "equals_case_sensitive", + "not_equals_case_sensitive", + "starts_with_case_sensitive", + "ends_with_case_sensitive", + "contains_case_sensitive", + "not_contains_case_sensitive", + "in_case_sensitive", + "not_in_case_sensitive" + ], + "type": "string" + }, + "jumpcloud.search.SearchRequestSort": { + "properties": { + "field": { + "description": "This is a field on an object. It should always be in the form of\n. This will be case insensitive, and will be cast to\nlowercase always.", "type": "string" }, - "collection_time": { + "order": { + "$ref": "#/definitions/jumpcloud.search.SearchRequestSort.Order" + } + }, + "type": "object" + }, + "jumpcloud.search.SearchRequestSort.Order": { + "default": "asc", + "enum": [ + "asc", + "desc" + ], + "title": "Sort order. Defaults to ascending", + "type": "string" + }, + "ldap-server": { + "properties": { + "id": { + "description": "Unique identifier of this LDAP server", + "readOnly": true, "type": "string" }, - "compiler": { + "name": { + "description": "The name of this LDAP server", "type": "string" }, - "copyright": { + "userLockoutAction": { + "description": "action to take; one of 'remove' or 'disable'", + "enum": [ + "disable", + "remove" + ], "type": "string" }, - "development_region": { + "userPasswordExpirationAction": { + "description": "action to take; one of 'remove' or 'disable'", + "enum": [ + "disable", + "remove" + ], "type": "string" - }, - "display_name": { + } + }, + "title": "LDAP Server", + "type": "object" + }, + "object-storage-item": { + "description": "Object storage item information.", + "properties": { + "objectId": { "type": "string" }, - "element": { - "type": "string" + "versions": { + "items": { + "$ref": "#/definitions/object-storage-version" + }, + "type": "array" + } + }, + "title": "Object Storage item", + "type": "object" + }, + "object-storage-version": { + "description": "Object storage version information.", + "properties": { + "metadata": { + "type": "object", + "additionalProperties": true }, - "environment": { + "name": { "type": "string" }, - "info_string": { + "rejectedReason": { "type": "string" }, - "last_opened_time": { - "type": "number" - }, - "minimum_system_version": { + "sha256sum": { "type": "string" }, - "name": { - "type": "string" + "size": { + "default": 0, + "type": "integer" }, - "path": { + "status": { "type": "string" }, - "system_id": { - "type": "string" + "version": { + "default": 0, + "type": "integer" } }, - "title": "System Insights Apps", + "title": "Object Storage Version", "type": "object" }, - "system-insights-authorized-keys": { + "office365": { "properties": { - "algorithm": { - "type": "string" + "defaultDomain": { + "$ref": "#/definitions/defaultDomain" }, - "collection_time": { - "type": "string" + "groupsEnabled": { + "type": "boolean" }, - "key": { + "id": { + "readOnly": true, "type": "string" }, - "key_file": { + "name": { "type": "string" }, - "system_id": { + "userLockoutAction": { + "enum": [ + "suspend", + "maintain" + ], "type": "string" }, - "uid": { + "userPasswordExpirationAction": { + "enum": [ + "suspend", + "maintain" + ], "type": "string" } }, - "title": "System Insights Authorized Keys", + "title": "Office 365", "type": "object" }, - "system-insights-azure-instance-metadata": { + "samba-domain": { "properties": { - "collection_time": { - "type": "string" - }, - "location": { + "id": { + "description": "Unique identifier of this domain", + "readOnly": true, "type": "string" }, "name": { + "description": "Name of this domain's WorkGroup", "type": "string" }, - "offer": { - "type": "string" - }, - "os_type": { - "type": "string" - }, - "placement_group_id": { - "type": "string" - }, - "platform_fault_domain": { - "type": "string" - }, - "platform_update_domain": { - "type": "string" - }, - "publisher": { + "sid": { + "description": "Security identifier of this domain", "type": "string" - }, - "resource_group_name": { + } + }, + "required": [ + "name", + "sid" + ], + "title": "Samba Domain", + "type": "object" + }, + "scheduled-userstate-result": { + "properties": { + "scheduledDate": { + "description": "The UTC date and time when the scheduled job will execute.", "type": "string" }, - "sku": { + "scheduledJobId": { + "description": "The id of the scheduled job that scheduled the state change.", "type": "string" }, - "subscription_id": { + "state": { + "description": "The state that the user will be in once the scheduled job executes.", "type": "string" }, - "system_id": { + "systemUserId": { + "description": "The id of the user that the scheduled job will update.", "type": "string" - }, - "version": { + } + }, + "title": "Scheduled Userstate Result", + "type": "object" + }, + "software-app": { + "properties": { + "createdAt": { + "format": "date-time", "type": "string" }, - "vm_id": { + "displayName": { "type": "string" }, - "vm_scale_set_name": { + "id": { "type": "string" }, - "vm_size": { - "type": "string" + "settings": { + "items": { + "$ref": "#/definitions/SoftwareAppSettings" + }, + "type": "array" }, - "zone": { + "updatedAt": { + "format": "date-time", "type": "string" } }, - "title": "System Insights Azure Instance Metadata", + "title": "Software Application Package", "type": "object" }, - "system-insights-azure-instance-tags": { + "software-app-apple-vpp": { + "description": "appleVpp is an optional attribute, it will only be present on apps with a 'setting' 'package_manager' type of 'APPLE_VPP'.", "properties": { - "collection_time": { + "appConfiguration": { + "description": "Text sent to configure the application, the text should be a valid plist. Returned only by 'GET /softwareapps/{id}'.", "type": "string" }, - "key": { - "type": "string" - }, - "system_id": { - "type": "string" - }, - "value": { - "type": "string" - }, - "vm_id": { - "type": "string" - } - }, - "title": "System Insights Azure Instance Tags", - "type": "object" - }, - "system-insights-battery": { - "example": { - "amperage": 93836453, - "charged": 63086136, - "charging": 6577424, - "collection_time": "anim in dolor", - "condition": "magna Ut dolor laborum", - "current_capacity": 95829126, - "cycle_count": -58203101, - "designed_capacity": 51607498, - "health": "ipsum Duis amet magna sint", - "manufacture_date": 66625366, - "manufacturer": "laboris", - "max_capacity": 407375, - "minutes_to_full_charge": -43087634, - "minutes_until_empty": 56660087, - "model": "cupidatat quis esse tempor nostr", - "percent_remaining": -77798506, - "serial_number": "est do nisi anim eu", - "state": "Duis qui eu labore", - "system_id": "elit nulla cillum et", - "voltage": -79728034 - }, - "properties": { - "amperage": { - "type": "integer" - }, - "charged": { - "type": "integer" - }, - "charging": { - "type": "integer" - }, - "collection_time": { - "type": "string" - }, - "condition": { - "type": "string" - }, - "current_capacity": { - "type": "integer" - }, - "cycle_count": { - "type": "integer" - }, - "designed_capacity": { - "type": "integer" - }, - "health": { - "type": "string" - }, - "manufacture_date": { - "type": "integer" - }, - "manufacturer": { - "type": "string" - }, - "max_capacity": { - "type": "integer" - }, - "minutes_to_full_charge": { - "type": "integer" - }, - "minutes_until_empty": { + "assignedLicenses": { + "default": 0, "type": "integer" }, - "model": { - "type": "string" - }, - "percent_remaining": { + "availableLicenses": { + "default": 0, "type": "integer" }, - "serial_number": { - "type": "string" + "details": { + "description": "App details returned by iTunes API. See example. The properties in this field are out of our control and we cannot guarantee consistency, so it should be checked by the client and manage the details accordingly.", + "type": "object", + "additionalProperties": true }, - "state": { - "type": "string" + "isConfigEnabled": { + "description": "Denotes if configuration has been enabled for the application. Returned only by ''GET /softwareapps/{id}''.", + "type": "boolean" }, - "system_id": { - "type": "string" + "supportedDeviceFamilies": { + "description": "The supported device families for this VPP Application.", + "items": { + "enum": [ + "IPAD", + "IPHONE", + "IPOD", + "MAC" + ], + "type": "string" + }, + "type": "array" }, - "voltage": { + "totalLicenses": { + "default": 0, "type": "integer" } }, - "title": "System Insights Battery", + "title": "software-app-apple-vpp", "type": "object" }, - "system-insights-bitlocker-info": { - "example": { - "collection_time": "2019-06-03T13:41:30.658-06:00", - "conversion_status": 0, - "device_id": "\\\\\\\\?\\\\Volume{3ba5cc52-e0fd-45fa-b8b8-5c88f44f8b17}\\", - "drive_letter": "C:", - "encryption_method": "None", - "percentage_encrypted": 0, - "persistent_volume_id": "", - "protection_status": 0, - "system_id": "5c9e51a13c5146f89bae12d9" - }, + "software-app-create": { "properties": { - "collection_time": { - "type": "string" - }, - "conversion_status": { - "type": "integer" - }, - "device_id": { + "createdAt": { + "format": "date-time", "type": "string" }, - "drive_letter": { + "displayName": { "type": "string" }, - "encryption_method": { + "id": { "type": "string" }, - "percentage_encrypted": { - "type": "integer" + "settings": { + "items": { + "$ref": "#/definitions/SoftwareAppSettings" + }, + "type": "array" }, - "persistent_volume_id": { + "updatedAt": { + "format": "date-time", "type": "string" }, - "protection_status": { - "type": "integer" - }, - "system_id": { + "uploadUrl": { "type": "string" } }, - "title": "System Insights Bitlocker Info", + "title": "SoftwareApplicationCreate", "type": "object" }, - "system-insights-browser-plugins": { - "example": { - "collection_time": "2019-06-03T13:41:30.858-06:00", - "description": "LastPass Plugin", - "development_region": "en-US", - "disabled": 0, - "identifier": "com.lastpass.nplastpass", - "name": "LastPass", - "native": 0, - "path": "/Library/Internet Plug-Ins/nplastpass.plugin/", - "sdk": "7D175", - "system_id": "5c9e51a13c5146f89bae12d9", - "uid": "0", - "version": "4.1.7" - }, + "software-app-google-android": { + "description": "googleAndroid is an optional attribute, it will only be present on apps with a 'setting' 'package_manager' type of 'GOOGLE_ANDROID'.", "properties": { - "collection_time": { - "type": "string" - }, - "description": { - "type": "string" + "androidFeatures": { + "description": "The array of android features for the app.", + "items": { + "type": "string" + }, + "type": "array" }, - "development_region": { + "appPricing": { + "description": "Whether this app is free, free with in-app purchases, or paid.", "type": "string" }, - "disabled": { - "type": "integer" - }, - "identifier": { + "appVersion": { + "description": "Latest version currently available for this app.", "type": "string" }, - "name": { + "author": { + "description": "The name of the author of this app.", "type": "string" }, - "native": { - "type": "integer" - }, - "path": { + "autoUpdateMode": { + "description": "Controls the auto-update mode for the app.", + "enum": [ + "AUTO_UPDATE_DEFAULT", + "AUTO_UPDATE_POSTPONED", + "AUTO_UPDATE_HIGH_PRIORITY" + ], "type": "string" }, - "sdk": { + "category": { + "description": "The app category (e.g. COMMUNICATION, SOCIAL, etc.).", "type": "string" }, - "system_id": { + "contentRating": { + "description": "The content rating for this app.", "type": "string" }, - "uid": { + "displayMode": { + "description": "The display mode of the web app.", "type": "string" }, - "version": { - "type": "string" - } - }, - "title": "System Insights Browser Plugins", - "type": "object" - }, - "system-insights-certificates": { - "properties": { - "authority_key_id": { + "distributionChannel": { + "description": "How and to whom the package is made available.", "type": "string" }, - "ca": { - "type": "integer" - }, - "common_name": { + "fullDescription": { + "description": "Full app description, if available.", "type": "string" }, - "issuer": { + "iconUrl": { + "description": "A link to an image that can be used as an icon for the app.", "type": "string" }, - "key_algorithm": { + "installType": { + "description": "The type of installation to perform for an app.", + "enum": [ + "AVAILABLE", + "FORCE_INSTALLED", + "BLOCKED" + ], "type": "string" }, - "key_strength": { + "managedConfigurationTemplateId": { + "description": "The managed configurations template for the app.", "type": "string" }, - "key_usage": { - "type": "string" + "managedProperties": { + "description": "Indicates whether this app has managed properties or not.", + "type": "boolean" }, - "not_valid_after": { - "type": "string" - }, - "not_valid_before": { - "type": "string" + "minSdkVersion": { + "description": "The minimum Android SDK necessary to run the app.", + "type": "integer" }, - "path": { + "name": { + "description": "The name of the app in the form enterprises/{enterprise}/applications/{packageName}.", "type": "string" }, - "self_signed": { - "type": "integer" + "permissionGrants": { + "items": { + "$ref": "#/definitions/software-app-permission-grants" + }, + "type": "array" }, - "serial": { + "runtimePermission": { + "description": "The policy for granting permission requests to apps.", + "enum": [ + "PROMPT", + "GRANT", + "DENY" + ], "type": "string" }, - "sha1": { + "startUrl": { + "description": "The start URL, i.e. the URL that should load when the user opens the application. Applicable only for webapps.", "type": "string" }, - "sid": { + "type": { + "description": "Type of this android application.", + "enum": [ + "APP_TYPE_UNSPECIFIED", + "PUBLIC", + "PRIVATE", + "WEBAPP" + ], "type": "string" }, - "signing_algorithm": { + "updateTime": { + "description": "The approximate time (within 7 days) the app was last published.", "type": "string" }, - "store": { - "type": "string" + "versionCode": { + "description": "The current version of the web app.", + "type": "integer" + } + }, + "title": "software-app-google-android", + "type": "object" + }, + "software-app-microsoft-store": { + "description": "microsoftStore is an optional attribute, it will only be present on apps with a 'setting' 'package_manager' type of 'MICROSOFT_STORE'.", + "properties": { + "doNotUpdate": { + "description": "Indicates whether the app can be updated or not.", + "type": "boolean" }, - "store_id": { - "type": "string" + "nonRemovable": { + "description": "Indicates whether the app is removable by the users or not.", + "type": "boolean" }, - "store_location": { + "packageFamilyName": { + "description": "Package Family Name for the app from Microsoft App Store.", "type": "string" - }, - "subject": { + } + }, + "title": "software-app-microsoft-store", + "type": "object" + }, + "software-app-permission-grants": { + "properties": { + "id": { + "description": "An opaque string uniquely identifying the Android permission, e.g. android.permission.READ_CALENDAR.", "type": "string" }, - "subject_key_id": { + "policy": { + "description": "The policy for granting the permission.", + "enum": [ + "PROMPT", + "GRANT", + "DENY" + ], "type": "string" + } + }, + "type": "object" + }, + "software-app-reclaim-licenses": { + "properties": { + "assignedLicenses": { + "default": 0, + "type": "integer" }, - "system_id": { - "type": "string" + "availableLicenses": { + "default": 0, + "type": "integer" }, - "username": { - "type": "string" + "reclaimedLicenses": { + "default": 0, + "type": "integer" + }, + "totalLicenses": { + "default": 0, + "type": "integer" } - } + }, + "type": "object" }, - "system-insights-chassis-info": { + "SoftwareAppSettings": { "properties": { - "audible_alarm": { - "type": "string" + "allowUpdateDelay": { + "default": false, + "type": "boolean" }, - "breach_description": { + "appCatalogInstallableObjectId": { + "description": "ID of the app catalog installable that created this app.", "type": "string" }, - "chassis_types": { + "appFileName": { "type": "string" }, - "collection_time": { + "appleVpp": { + "$ref": "#/definitions/software-app-apple-vpp" + }, + "architectures": { + "items": { + "type": "string" + }, + "type": "array" + }, + "assetKind": { + "description": "The manifest asset kind (ex: software).", "type": "string" }, - "description": { + "assetSha256Size": { + "description": "The incremental size to use for summing the package as it is downloaded.", + "type": "integer" + }, + "assetSha256Strings": { + "description": "The array of checksums, one each for the hash size up to the total size of the package.", + "items": { + "type": "string" + }, + "type": "array" + }, + "autoUpdate": { + "default": false, + "type": "boolean" + }, + "bundleId": { "type": "string" }, - "lock": { + "commandLineArguments": { + "description": "Command line arguments to use with the application.", "type": "string" }, - "manufacturer": { + "createdAt": { + "format": "date-time", "type": "string" }, - "model": { + "description": { + "description": "The software app description.", "type": "string" }, - "security_breach": { + "desiredState": { + "description": "State of Install or Uninstall", "type": "string" }, - "serial": { + "downloadUrl": { "type": "string" }, - "sku": { + "enterpriseObjectId": { + "description": "ID of the Enterprise with which this app is associated", "type": "string" }, - "smbios_tag": { + "format": { "type": "string" }, - "status": { + "googleAndroid": { + "$ref": "#/definitions/software-app-google-android" + }, + "iconUrl": { + "description": "URL to the icon for the app.", "type": "string" }, - "system_id": { + "location": { + "description": "Repository where the app is located within the package manager", "type": "string" }, - "visible_alarm": { + "locationObjectId": { + "description": "ID of the repository where the app is located within the package manager", "type": "string" - } - }, - "title": "System Insights Chassis Info", - "type": "object" - }, - "system-insights-chrome-extensions": { - "example": { - "author": "", - "collection_time": "2019-06-03T13:41:31.125-06:00", - "description": "provider for discovery and services for mirroring of chrome media router", - "identifier": "pkedcjkdefgpdelpbcmbmeomcjbeemfm", - "locale": "en", - "name": "chrome media router", - "path": "/users/thomas/library/application support/google/chrome/default/extensions/pkedcjkdefgpdelpbcmbmeomcjbeemfm/7419.311.0.1_0/", - "permissions": "alarms, cast, cast.streaming, declarativewebrequest, desktopcapture, gcm, http://*/*, identity, identity.email, management, mdns, mediarouterprivate, metricsprivate, networkingprivate, processes, storage, system.cpu, settingsprivate, tabcapture, tabs, webview, https://hangouts.google.com/*, https://*.google.com/cast/chromecast/home/gsse", - "persistent": 0, - "system_id": "5c9e51a13c5146f89bae12d9", - "uid": "501", - "update_url": "https://clients2.google.com/service/update2/crx", - "version": "7419.311.0.1" - }, - "properties": { - "author": { + }, + "microsoftStore": { + "$ref": "#/definitions/software-app-microsoft-store" + }, + "packageId": { "type": "string" }, - "collection_time": { + "packageKind": { + "description": "The package manifest kind (ex: software-package).", "type": "string" }, - "description": { + "packageManager": { + "description": "App store serving the app: APPLE_VPP, CHOCOLATEY, etc.", "type": "string" }, - "identifier": { + "packageSubtitle": { + "description": "The package manifest subtitle.", "type": "string" }, - "locale": { + "packageVersion": { + "description": "The package manifest version.", "type": "string" }, - "name": { + "packageVersionUpdatedAt": { + "format": "date-time", "type": "string" }, - "path": { + "scope": { + "description": "The installation scope of the software app.", "type": "string" }, - "permissions": { + "shortVersion": { "type": "string" }, - "persistent": { - "type": "integer" + "storedPackage": { + "$ref": "#/definitions/object-storage-item" }, - "system_id": { + "storedPackageObjectId": { + "description": "ID of the stored package this app uses to reference the stored install media.", "type": "string" }, - "uid": { + "teamId": { "type": "string" }, - "update_url": { + "updateTool": { "type": "string" }, - "version": { - "type": "string" - } - }, - "title": "System Insights Chrome Extensions", - "type": "object" - }, - "system-insights-connectivity": { - "properties": { - "collection_time": { + "updateToolArguments": { "type": "string" }, - "disconnected": { - "type": "integer" + "updatedAt": { + "format": "date-time", + "type": "string" }, - "ipv4_internet": { - "type": "integer" - }, - "ipv4_local_network": { - "type": "integer" - }, - "ipv4_no_traffic": { - "type": "integer" - }, - "ipv4_subnet": { - "type": "integer" - }, - "ipv6_internet": { - "type": "integer" - }, - "ipv6_local_network": { - "type": "integer" - }, - "ipv6_no_traffic": { - "type": "integer" - }, - "ipv6_subnet": { - "type": "integer" - }, - "system_id": { - "type": "string" + "versionlessDownloadUrl": { + "type": "boolean" } }, - "title": "system insights connectivity", - "type": "object" + "type": "object", + "x-examples": { + "example-1": { + "allowUpdateDelay": false, + "autoUpdate": false, + "desiredState": "string", + "location": "string", + "locationObjectId": "string", + "packageId": "string", + "packageManager": "string" + } + } }, - "system-insights-crashes": { + "software-app-status": { "properties": { - "collection_time": { - "type": "string" + "code": { + "type": "integer" }, - "crash_path": { + "details": { "type": "string" }, - "crashed_thread": { + "id": { "type": "string" }, - "datetime": { + "softwareAppId": { "type": "string" }, - "exception_codes": { + "state": { "type": "string" }, - "exception_notes": { + "systemId": { "type": "string" }, - "exception_type": { + "timestamp": { "type": "string" }, - "identifier": { + "version": { "type": "string" + } + }, + "title": "Software Application Status" + }, + "subscription": { + "properties": { + "annualPrice": { + "description": "The annual (discounted) price of this subscription.", + "type": "number" }, - "parent": { + "displayName": { + "description": "The display name of this subscription.", "type": "string" }, - "path": { - "type": "string" + "features": { + "description": "Array of the features included in the subscription.", + "items": { + "$ref": "#/definitions/feature" + }, + "type": "array" }, - "pid": { - "type": "string" + "listPrice": { + "description": "The list price of this subscription.", + "type": "number" }, - "registers": { + "productCode": { + "description": "Unique identifier corresponding to this subscription.", "type": "string" }, - "responsible": { + "upgradeRecommendation": { + "description": "Upgrade plan add-on.", "type": "string" + } + }, + "required": [ + "annualPrice", + "displayName", + "features", + "listPrice", + "productCode" + ], + "title": "Subscription", + "type": "object" + }, + "system-insights-alf": { + "properties": { + "allow_signed_enabled": { + "type": "integer" }, - "stack_trace": { + "collection_time": { "type": "string" }, - "system_id": { - "type": "string" + "firewall_unload": { + "type": "integer" }, - "type": { - "type": "string" + "global_state": { + "type": "integer" }, - "uid": { + "logging_enabled": { + "type": "integer" + }, + "logging_option": { "type": "integer" }, + "stealth_enabled": { + "type": "integer" + }, + "system_id": { + "type": "string" + }, "version": { "type": "string" } }, - "title": "System Insights Crashes", + "title": "System Insights ALF", "type": "object" }, - "system-insights-cups-destinations": { + "system-insights-alf-exceptions": { "properties": { - "name": { + "collection_time": { "type": "string" }, - "option_name": { + "path": { "type": "string" }, - "option_value": { - "type": "string" + "state": { + "type": "number" }, "system_id": { "type": "string" } - } - }, - "system-insights-disk-encryption": { - "example": { - "collection_time": "2019-06-03T13:41:31.557-06:00", - "encrypted": 0, - "encryption_status": "undefined", - "name": "/dev/disk8", - "system_id": "5c9e51a13c5146f89bae12d9", - "type": "", - "uid": "", - "user_uuid": "", - "uuid": "" }, + "title": "System Insights ALF Exceptions", + "type": "object" + }, + "system-insights-alf-explicit-auths": { "properties": { "collection_time": { "type": "string" }, - "encrypted": { - "type": "integer" + "process": { + "type": "string" }, - "encryption_status": { + "system_id": { + "type": "string" + } + }, + "title": "System Insights ALF Explicit Authorizations", + "type": "object" + }, + "system-insights-appcompat-shims": { + "properties": { + "collection_time": { "type": "string" }, - "name": { + "description": { "type": "string" }, - "system_id": { + "executable": { "type": "string" }, - "type": { + "install_time": { + "type": "number" + }, + "path": { "type": "string" }, - "uid": { + "sdb_id": { "type": "string" }, - "user_uuid": { + "system_id": { "type": "string" }, - "uuid": { + "type": { "type": "string" } }, - "title": "System Insights Disk Encryption", + "title": "System Insights Application Compatibility Shims", "type": "object" }, - "system-insights-disk-info": { + "system-insights-apps": { "example": { - "collection_time": "2019-06-03T13:41:30.658-06:00", - "description": "Disk drive", - "disk_index": 0, - "disk_size": "64420392960", - "hardware_model": "VMware, VMware Virtual S SCSI Disk Device", - "id": "\\\\.\\PHYSICALDRIVE0", - "manufacturer": "(Standard disk drives)", - "name": "\\\\.\\PHYSICALDRIVE0", - "partitions": 3, - "pnp_device_id": "SCSI\\DISK&VEN_VMWARE_&PROD_VMWARE_VIRTUAL_S\\5&1EC51BF7&0&000000", - "serial": "", - "system_id": "5c9e51a13c5146f89bae12d9", - "type": "SCSI" + "applescript_enabled": "1", + "bundle_executable": "App Store", + "bundle_identifier": "com.apple.appstore", + "bundle_name": "App Store", + "bundle_package_type": "APPL", + "bundle_short_version": "2.4", + "bundle_version": "658.1", + "category": "public.app-category.utilities", + "collection_time": "2019-06-03T19:41:30.658Z", + "compiler": "com.apple.compilers.llvm.clang.1_0", + "copyright": "", + "development_region": "English", + "display_name": "App Store", + "element": "", + "environment": "", + "info_string": "", + "last_opened_time": 1556688963.50383, + "minimum_system_version": "10.13", + "name": "App Store.app", + "path": "/Applications/App Store.app", + "system_id": "5c9e51a13c5146f89bae12d9" }, "properties": { - "collection_time": { + "applescript_enabled": { "type": "string" }, - "description": { + "bundle_executable": { "type": "string" }, - "disk_index": { - "type": "integer" + "bundle_identifier": { + "type": "string" }, - "disk_size": { + "bundle_name": { "type": "string" }, - "hardware_model": { + "bundle_package_type": { "type": "string" }, - "id": { + "bundle_short_version": { "type": "string" }, - "manufacturer": { + "bundle_version": { "type": "string" }, - "name": { + "category": { "type": "string" }, - "partitions": { - "type": "integer" + "collection_time": { + "type": "string" }, - "pnp_device_id": { + "compiler": { "type": "string" }, - "serial": { + "copyright": { "type": "string" }, - "system_id": { + "development_region": { "type": "string" }, - "type": { + "display_name": { "type": "string" - } - }, - "title": "System Insights Disk Info", - "type": "object" - }, - "system-insights-dns-resolvers": { - "properties": { - "address": { + }, + "element": { "type": "string" }, - "collection_time": { + "environment": { "type": "string" }, - "id": { + "info_string": { + "type": "string" + }, + "last_opened_time": { "type": "number" }, - "netmask": { + "minimum_system_version": { "type": "string" }, - "options": { + "name": { "type": "string" }, - "system_id": { + "path": { "type": "string" }, - "type": { + "system_id": { "type": "string" } }, - "title": "System Insights DNS Resolvers", + "title": "System Insights Apps", "type": "object" }, - "system-insights-etc-hosts": { - "example": { - "address": "192.168.2.21", - "collection_time": "2019-06-03T13:41:30.658-06:00", - "hostnames": "hosty hosty.local", - "system_id": "5c9e51a13c5146f89bae12d9" - }, + "system-insights-authorized-keys": { "properties": { - "address": { + "algorithm": { "type": "string" }, "collection_time": { "type": "string" }, - "hostnames": { + "key": { + "type": "string" + }, + "key_file": { "type": "string" }, "system_id": { "type": "string" + }, + "uid": { + "type": "string" } }, - "title": "System Insights Etc Hosts", + "title": "System Insights Authorized Keys", "type": "object" }, - "system-insights-firefox-addons": { - "example": { - "active": 1, - "autoupdate": 1, - "collection_time": "2019-06-03T13:41:31.204-06:00", - "creator": "null", - "description": "", - "disabled": 0, - "identifier": "fxmonitor@mozilla.org", - "location": "app-system-addons", - "name": "Firefox Monitor", - "path": "", - "source_url": "file:///var/folders/dn/zjm_0lzn4lv6bgnt5b3nkgxh0000gn/T/tmpaddon-9fb449", - "system_id": "5c9e51a13c5146f89bae12d9", - "type": "extension", - "uid": "501", - "version": "2.8", - "visible": 1 - }, + "system-insights-azure-instance-metadata": { "properties": { - "active": { - "type": "integer" - }, - "autoupdate": { - "type": "integer" - }, "collection_time": { "type": "string" }, - "creator": { - "type": "string" - }, - "description": { + "location": { "type": "string" }, - "disabled": { - "type": "integer" - }, - "identifier": { + "name": { "type": "string" }, - "location": { + "offer": { "type": "string" }, - "name": { + "os_type": { "type": "string" }, - "path": { + "placement_group_id": { "type": "string" }, - "source_url": { + "platform_fault_domain": { "type": "string" }, - "system_id": { + "platform_update_domain": { "type": "string" }, - "type": { + "publisher": { "type": "string" }, - "uid": { + "resource_group_name": { "type": "string" }, - "version": { + "sku": { "type": "string" }, - "visible": { - "type": "integer" - } - }, - "title": "System Insights Firefox Addons", - "type": "object" - }, - "system-insights-groups": { - "example": { - "collection_time": "2019-06-03T13:41:31.673-06:00", - "comment": "", - "gid": "701", - "gid_signed": "701", - "group_sid": "", - "groupname": "1", - "system_id": "5c9e51a13c5146f89bae12d9" - }, - "properties": { - "collection_time": { + "subscription_id": { "type": "string" }, - "comment": { + "system_id": { "type": "string" }, - "gid": { + "version": { "type": "string" }, - "gid_signed": { + "vm_id": { "type": "string" }, - "group_sid": { + "vm_scale_set_name": { "type": "string" }, - "groupname": { + "vm_size": { "type": "string" }, - "system_id": { + "zone": { "type": "string" } }, - "title": "System Insights Groups", + "title": "System Insights Azure Instance Metadata", "type": "object" }, - "system-insights-ie-extensions": { + "system-insights-azure-instance-tags": { "properties": { "collection_time": { "type": "string" }, - "name": { - "type": "string" - }, - "path": { + "key": { "type": "string" }, - "registry_path": { + "system_id": { "type": "string" }, - "system_id": { + "value": { "type": "string" }, - "version": { + "vm_id": { "type": "string" } }, - "title": "System Insights IE Extensions", + "title": "System Insights Azure Instance Tags", "type": "object" }, - "system-insights-interface-addresses": { + "system-insights-battery": { "example": { - "address": "::1", - "broadcast": "", - "collection_time": "2019-06-03T13:41:31.008-06:00", - "friendly_name": "", - "interface": "lo0", - "mask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", - "point_to_point": "::1", - "system_id": "5c9e51a13c5146f89bae12d9", - "type": "unknown" + "amperage": 93836453, + "charged": 63086136, + "charging": 6577424, + "collection_time": "anim in dolor", + "condition": "magna Ut dolor laborum", + "current_capacity": 95829126, + "cycle_count": -58203101, + "designed_capacity": 51607498, + "health": "ipsum Duis amet magna sint", + "manufacture_date": 66625366, + "manufacturer": "laboris", + "max_capacity": 407375, + "minutes_to_full_charge": -43087634, + "minutes_until_empty": 56660087, + "model": "cupidatat quis esse tempor nostr", + "percent_remaining": -77798506, + "serial_number": "est do nisi anim eu", + "state": "Duis qui eu labore", + "system_id": "elit nulla cillum et", + "voltage": -79728034 }, "properties": { - "address": { + "amperage": { + "type": "integer" + }, + "charged": { + "type": "integer" + }, + "charging": { + "type": "integer" + }, + "collection_time": { "type": "string" }, - "broadcast": { + "condition": { "type": "string" }, - "collection_time": { + "current_capacity": { + "type": "integer" + }, + "cycle_count": { + "type": "integer" + }, + "designed_capacity": { + "type": "integer" + }, + "health": { "type": "string" }, - "friendly_name": { + "manufacture_date": { + "type": "integer" + }, + "manufacturer": { "type": "string" }, - "interface": { + "max_capacity": { + "type": "integer" + }, + "minutes_to_full_charge": { + "type": "integer" + }, + "minutes_until_empty": { + "type": "integer" + }, + "model": { "type": "string" }, - "mask": { + "percent_remaining": { + "type": "integer" + }, + "serial_number": { "type": "string" }, - "point_to_point": { + "state": { "type": "string" }, "system_id": { "type": "string" }, - "type": { - "type": "string" + "voltage": { + "type": "integer" } }, - "title": "System Insights Interface Addresses", + "title": "System Insights Battery", "type": "object" }, - "system-insights-interface-details": { + "system-insights-bitlocker-info": { + "example": { + "collection_time": "2019-06-03T19:41:30.658Z", + "conversion_status": 0, + "device_id": "\\\\\\\\?\\\\Volume{3ba5cc52-e0fd-45fa-b8b8-5c88f44f8b17}\\", + "drive_letter": "C:", + "encryption_method": "None", + "percentage_encrypted": 0, + "persistent_volume_id": "", + "protection_status": 0, + "system_id": "5c9e51a13c5146f89bae12d9" + }, "properties": { - "collisions": { + "collection_time": { "type": "string" }, - "connection_id": { + "conversion_status": { + "type": "integer" + }, + "device_id": { "type": "string" }, - "connection_status": { + "drive_letter": { "type": "string" }, - "description": { + "encryption_method": { "type": "string" }, - "dhcp_enabled": { + "percentage_encrypted": { "type": "integer" }, - "dhcp_lease_expires": { - "type": "string" - }, - "dhcp_lease_obtained": { + "persistent_volume_id": { "type": "string" }, - "dhcp_server": { - "type": "string" + "protection_status": { + "type": "integer" }, - "dns_domain": { + "system_id": { "type": "string" - }, - "dns_domain_suffix_search_order": { + } + }, + "title": "System Insights Bitlocker Info", + "type": "object" + }, + "system-insights-browser-plugins": { + "example": { + "collection_time": "2019-06-03T19:41:30.858Z", + "description": "LastPass Plugin", + "development_region": "en-US", + "disabled": 0, + "identifier": "com.lastpass.nplastpass", + "name": "LastPass", + "native": 0, + "path": "/Library/Internet Plug-Ins/nplastpass.plugin/", + "sdk": "7D175", + "system_id": "5c9e51a13c5146f89bae12d9", + "uid": "0", + "version": "4.1.7" + }, + "properties": { + "collection_time": { "type": "string" }, - "dns_host_name": { + "description": { "type": "string" }, - "dns_server_search_order": { + "development_region": { "type": "string" }, - "enabled": { - "type": "integer" - }, - "flags": { + "disabled": { "type": "integer" }, - "friendly_name": { - "type": "string" - }, - "ibytes": { + "identifier": { "type": "string" }, - "idrops": { + "name": { "type": "string" }, - "ierrors": { - "type": "string" + "native": { + "type": "integer" }, - "interface": { + "path": { "type": "string" }, - "ipackets": { + "sdk": { "type": "string" }, - "last_change": { + "system_id": { "type": "string" }, - "link_speed": { + "uid": { "type": "string" }, - "mac": { + "version": { "type": "string" - }, - "manufacturer": { + } + }, + "title": "System Insights Browser Plugins", + "type": "object" + }, + "system-insights-certificates": { + "properties": { + "authority_key_id": { "type": "string" }, - "metric": { - "type": "integer" - }, - "mtu": { + "ca": { "type": "integer" }, - "obytes": { + "common_name": { "type": "string" }, - "odrops": { + "issuer": { "type": "string" }, - "oerrors": { + "key_algorithm": { "type": "string" }, - "opackets": { + "key_strength": { "type": "string" }, - "pci_slot": { + "key_usage": { "type": "string" }, - "physical_adapter": { - "type": "integer" - }, - "service": { + "not_valid_after": { "type": "string" }, - "speed": { - "type": "integer" - }, - "system_id": { + "not_valid_before": { "type": "string" }, - "type": { - "type": "integer" - } - }, - "type": "object" - }, - "system-insights-kernel-info": { - "properties": { - "arguments": { + "path": { "type": "string" }, - "collection_time": { - "type": "string" + "self_signed": { + "type": "integer" }, - "device": { + "serial": { "type": "string" }, - "path": { + "sha1": { "type": "string" }, - "system_id": { + "sid": { "type": "string" }, - "version": { - "type": "string" - } - }, - "title": "System Insights Kernel Info", - "type": "object" - }, - "system-insights-launchd": { - "properties": { - "collection_time": { + "signing_algorithm": { "type": "string" }, - "disabled": { + "store": { "type": "string" }, - "groupname": { + "store_id": { "type": "string" }, - "inetd_compatibility": { + "store_location": { "type": "string" }, - "keep_alive": { + "subject": { "type": "string" }, - "label": { + "subject_key_id": { "type": "string" }, - "name": { + "system_id": { "type": "string" }, - "on_demand": { + "username": { "type": "string" - }, - "path": { + } + } + }, + "system-insights-chassis-info": { + "properties": { + "audible_alarm": { "type": "string" }, - "process_type": { + "breach_description": { "type": "string" }, - "program": { + "chassis_types": { "type": "string" }, - "program_arguments": { + "collection_time": { "type": "string" }, - "queue_directories": { + "description": { "type": "string" }, - "root_directory": { + "lock": { "type": "string" }, - "run_at_load": { + "manufacturer": { "type": "string" }, - "start_interval": { + "model": { "type": "string" }, - "start_on_mount": { + "security_breach": { "type": "string" }, - "stderr_path": { + "serial": { "type": "string" }, - "stdout_path": { + "sku": { "type": "string" }, - "system_id": { + "smbios_tag": { "type": "string" }, - "username": { + "status": { "type": "string" }, - "watch_paths": { + "system_id": { "type": "string" }, - "working_directory": { + "visible_alarm": { "type": "string" } }, - "title": "System Insights LaunchD", + "title": "System Insights Chassis Info", "type": "object" }, - "system-insights-linux-packages": { + "system-insights-chrome-extensions": { "example": { - "arch": "amd64", - "install_time": 100000, - "maintainer_or_vendor": "Ubuntu Developers ", - "mount_namespace_id": "id123", - "name": "zip", - "package_format": "deb", - "package_group_or_section": "utils", - "pid_with_namespace": 0, - "release_or_revision": "11build1", - "size": "100000", + "author": "", + "collection_time": "2019-06-03t19:41:31.125z", + "description": "provider for discovery and services for mirroring of chrome media router", + "identifier": "pkedcjkdefgpdelpbcmbmeomcjbeemfm", + "locale": "en", + "name": "chrome media router", + "path": "/users/thomas/library/application support/google/chrome/default/extensions/pkedcjkdefgpdelpbcmbmeomcjbeemfm/7419.311.0.1_0/", + "permissions": "alarms, cast, cast.streaming, declarativewebrequest, desktopcapture, gcm, http://*/*, identity, identity.email, management, mdns, mediarouterprivate, metricsprivate, networkingprivate, processes, storage, system.cpu, settingsprivate, tabcapture, tabs, webview, https://hangouts.google.com/*, https://*.google.com/cast/chromecast/home/gsse", + "persistent": 0, "system_id": "5c9e51a13c5146f89bae12d9", - "version": "3.0-11build1" + "uid": "501", + "update_url": "https://clients2.google.com/service/update2/crx", + "version": "7419.311.0.1" }, "properties": { - "arch": { + "author": { "type": "string" }, - "install_time": { - "type": "integer" + "collection_time": { + "type": "string" }, - "maintainer_or_vendor": { + "description": { "type": "string" }, - "mount_namespace_id": { + "identifier": { + "type": "string" + }, + "locale": { "type": "string" }, "name": { "type": "string" }, - "package_format": { + "path": { "type": "string" }, - "package_group_or_section": { + "permissions": { "type": "string" }, - "pid_with_namespace": { + "persistent": { "type": "integer" }, - "release_or_revision": { + "system_id": { "type": "string" }, - "size": { + "uid": { "type": "string" }, - "system_id": { + "update_url": { "type": "string" }, "version": { "type": "string" } }, - "title": "System Insights Linux Packages", + "title": "System Insights Chrome Extensions", "type": "object" }, - "system-insights-logged-in-users": { + "system-insights-connectivity": { "properties": { "collection_time": { "type": "string" }, - "host": { - "type": "string" + "disconnected": { + "type": "integer" }, - "pid": { + "ipv4_internet": { "type": "integer" }, - "system_id": { - "type": "string" + "ipv4_local_network": { + "type": "integer" }, - "time": { + "ipv4_no_traffic": { "type": "integer" }, - "tty": { - "type": "string" + "ipv4_subnet": { + "type": "integer" }, - "type": { - "type": "string" + "ipv6_internet": { + "type": "integer" }, - "user": { - "type": "string" - } - }, - "title": "System Insights Logged-In Users", - "type": "object" - }, - "system-insights-logical-drives": { - "example": { - "boot_partition": 0, - "collection_time": "2019-06-03T13:41:30.658-06:00", - "device_id": "C:", - "file_system": "NTFS", - "free_space": "43194331136", - "size": "63778582528", - "system_id": "5c9e51a13c5146f89bae12d9", - "type": "Unknown" - }, - "properties": { - "boot_partition": { + "ipv6_local_network": { "type": "integer" }, - "collection_time": { - "type": "string" - }, - "device_id": { - "type": "string" - }, - "file_system": { - "type": "string" - }, - "free_space": { - "type": "string" + "ipv6_no_traffic": { + "type": "integer" }, - "size": { - "type": "string" + "ipv6_subnet": { + "type": "integer" }, "system_id": { "type": "string" - }, - "type": { - "type": "string" } }, - "title": "System Insights Logical Drives", + "title": "system insights connectivity", "type": "object" }, - "system-insights-managed-policies": { + "system-insights-crashes": { "properties": { "collection_time": { "type": "string" }, - "domain": { - "type": "string" - }, - "manual": { - "type": "integer" - }, - "name": { + "crash_path": { "type": "string" }, - "system_id": { + "crashed_thread": { "type": "string" }, - "username": { + "datetime": { "type": "string" }, - "uuid": { + "exception_codes": { "type": "string" }, - "value": { - "type": "string" - } - }, - "title": "System Insights Managed Policies", - "type": "object" - }, - "system-insights-mounts": { - "example": { - "blocks": "388086", - "blocks_available": "95135", - "blocks_free": "95135", - "blocks_size": "4096", - "collection_time": "2019-06-03T13:41:31.746-06:00", - "device": "/dev/disk5s1", - "device_alias": "/dev/disk5s1", - "flags": "70292505", - "inodes": "4294967279", - "inodes_free": "4294966853", - "path": "/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/.vbfolder_1dQavK", - "system_id": "5c9e51a13c5146f89bae12d9", - "type": "hfs" - }, - "properties": { - "blocks": { + "exception_notes": { "type": "string" }, - "blocks_available": { + "exception_type": { "type": "string" }, - "blocks_free": { + "identifier": { "type": "string" }, - "blocks_size": { + "parent": { "type": "string" }, - "collection_time": { + "path": { "type": "string" }, - "device": { + "pid": { "type": "string" }, - "device_alias": { + "registers": { "type": "string" }, - "flags": { + "responsible": { "type": "string" }, - "inodes": { + "stack_trace": { "type": "string" }, - "inodes_free": { + "system_id": { "type": "string" }, - "path": { + "type": { "type": "string" }, - "system_id": { - "type": "string" + "uid": { + "type": "integer" }, - "type": { + "version": { "type": "string" } }, - "title": "System Insights Mounts", + "title": "System Insights Crashes", "type": "object" }, - "system-insights-os-version": { - "example": { - "build": "17G65", - "codename": "", - "collection_time": "2019-06-03T13:41:30.933-06:00", - "install_date": "", - "major": 10, - "minor": 13, - "name": "Mac OS X", - "patch": 6, - "platform": "darwin", - "platform_like": "darwin", - "system_id": "5c9e51a13c5146f89bae12d9", - "version": "10.13.6" - }, + "system-insights-cups-destinations": { "properties": { - "build": { - "type": "string" - }, - "codename": { - "type": "string" - }, - "collection_time": { - "type": "string" - }, - "install_date": { - "type": "string" - }, - "major": { - "type": "integer" - }, - "minor": { - "type": "integer" - }, "name": { "type": "string" }, - "patch": { - "type": "integer" - }, - "platform": { + "option_name": { "type": "string" }, - "platform_like": { + "option_value": { "type": "string" }, "system_id": { "type": "string" - }, - "version": { - "type": "string" } - }, - "title": "System Insights OS Version", - "type": "object" + } }, - "system-insights-patches": { + "system-insights-disk-encryption": { "example": { - "caption": "http://support.microsoft.com/?kbid=4503308", - "collection_time": "2019-06-03T13:41:31.673-06:00", - "csname": "DESKTOP-B17DUKP", - "description": "Security Update", - "fix_comments": "", - "hotfix_id": "KB4503308", - "install_date": "", - "installed_by": "NT AUTHORITY\\SYSTEM", - "installed_on": "7/30/2019", - "system_id": "5c9e51a13c5146f89bae12d9" + "collection_time": "2019-06-03T19:41:31.557Z", + "encrypted": 0, + "encryption_status": "undefined", + "name": "/dev/disk8", + "system_id": "5c9e51a13c5146f89bae12d9", + "type": "", + "uid": "", + "user_uuid": "", + "uuid": "" }, "properties": { - "caption": { - "type": "string" - }, "collection_time": { "type": "string" }, - "csname": { - "type": "string" + "encrypted": { + "type": "integer" }, - "description": { + "encryption_status": { "type": "string" }, - "fix_comments": { + "name": { "type": "string" }, - "hotfix_id": { + "system_id": { "type": "string" }, - "install_date": { + "type": { "type": "string" }, - "installed_by": { + "uid": { "type": "string" }, - "installed_on": { + "user_uuid": { "type": "string" }, - "system_id": { + "uuid": { "type": "string" } }, - "title": "System Insights Patches", + "title": "System Insights Disk Encryption", "type": "object" }, - "system-insights-programs": { + "system-insights-disk-info": { "example": { - "collection_time": "2019-06-03T13:41:31.673-06:00", - "identifying_number": "{2E8B8BDD-03DF-4C1C-8C99-E6A4BCBF43CE}", - "install_date": "20190724", - "install_location": "", - "install_source": "C:\\Windows\\SoftwareDistribution\\Download\\b78f29c88063bd09e7afd48e257d0126\\img\\", - "language": "0", - "name": "Update for Windows 10 for x64-based Systems (KB4480730)", - "publisher": "Microsoft Corporation", + "collection_time": "2019-06-03T19:41:30.658Z", + "description": "Disk drive", + "disk_index": 0, + "disk_size": "64420392960", + "hardware_model": "VMware, VMware Virtual S SCSI Disk Device", + "id": "\\\\.\\PHYSICALDRIVE0", + "manufacturer": "(Standard disk drives)", + "name": "\\\\.\\PHYSICALDRIVE0", + "partitions": 3, + "pnp_device_id": "SCSI\\DISK&VEN_VMWARE_&PROD_VMWARE_VIRTUAL_S\\5&1EC51BF7&0&000000", + "serial": "", "system_id": "5c9e51a13c5146f89bae12d9", - "uninstall_string": "MsiExec.exe /X{2E8B8BDD-03DF-4C1C-8C99-E6A4BCBF43CE}", - "version": "2.51.0.0" + "type": "SCSI" }, "properties": { "collection_time": { "type": "string" }, - "identifying_number": { + "description": { "type": "string" }, - "install_date": { + "disk_index": { + "type": "integer" + }, + "disk_size": { "type": "string" }, - "install_location": { + "hardware_model": { "type": "string" }, - "install_source": { + "id": { "type": "string" }, - "language": { + "manufacturer": { "type": "string" }, "name": { "type": "string" }, - "publisher": { + "partitions": { + "type": "integer" + }, + "pnp_device_id": { "type": "string" }, - "system_id": { + "serial": { "type": "string" }, - "uninstall_string": { + "system_id": { "type": "string" }, - "version": { + "type": { "type": "string" } }, - "title": "System Insights Programs", + "title": "System Insights Disk Info", "type": "object" }, - "system-insights-python-packages": { + "system-insights-dns-resolvers": { "properties": { - "auther": { + "address": { "type": "string" }, - "directory": { + "collection_time": { "type": "string" }, - "license": { - "type": "string" + "id": { + "type": "number" }, - "name": { + "netmask": { "type": "string" }, - "path": { + "options": { "type": "string" }, - "summary": { + "system_id": { "type": "string" }, - "system_id": { + "type": { + "type": "string" + } + }, + "title": "System Insights DNS Resolvers", + "type": "object" + }, + "system-insights-etc-hosts": { + "example": { + "address": "192.168.2.21", + "collection_time": "2019-06-03T19:41:30.658Z", + "hostnames": "hosty hosty.local", + "system_id": "5c9e51a13c5146f89bae12d9" + }, + "properties": { + "address": { "type": "string" }, - "version": { + "collection_time": { + "type": "string" + }, + "hostnames": { + "type": "string" + }, + "system_id": { "type": "string" } - } + }, + "title": "System Insights Etc Hosts", + "type": "object" }, - "system-insights-safari-extensions": { + "system-insights-firefox-addons": { "example": { - "author": "Eyeo GmbH", - "collection_time": "2019-05-16T12:58:15.673-06:00", - "description": "Used by over 50 million people, a free ad blocker that blocks ALL annoying ads, malware and tracking.", - "developer_id": "GRYYZR985A", - "identifier": "org.adblockplus.adblockplussafari", - "name": "Adblock Plus", - "path": "/Users/samuelharvanek/Library/Safari/Extensions/Adblock Plus.safariextz", - "sdk": "6.0", - "system_id": "5cdb13e85a0e0719283583c0", + "active": 1, + "autoupdate": 1, + "collection_time": "2019-06-03T19:41:31.204Z", + "creator": "null", + "description": "", + "disabled": 0, + "identifier": "fxmonitor@mozilla.org", + "location": "app-system-addons", + "name": "Firefox Monitor", + "path": "", + "source_url": "file:///var/folders/dn/zjm_0lzn4lv6bgnt5b3nkgxh0000gn/T/tmpaddon-9fb449", + "system_id": "5c9e51a13c5146f89bae12d9", + "type": "extension", "uid": "501", - "update_url": "https://update.adblockplus.org/adblockplussafari/updates.plist", - "version": "1.12.5" + "version": "2.8", + "visible": 1 }, "properties": { - "author": { - "type": "string" + "active": { + "type": "integer" + }, + "autoupdate": { + "type": "integer" }, "collection_time": { "type": "string" }, - "description": { + "creator": { "type": "string" }, - "developer_id": { + "description": { "type": "string" }, + "disabled": { + "type": "integer" + }, "identifier": { "type": "string" }, + "location": { + "type": "string" + }, "name": { "type": "string" }, "path": { "type": "string" }, - "sdk": { + "source_url": { "type": "string" }, "system_id": { "type": "string" }, - "uid": { + "type": { "type": "string" }, - "update_url": { + "uid": { "type": "string" }, "version": { "type": "string" + }, + "visible": { + "type": "integer" } }, - "title": "System Insights Safari Extensions", + "title": "System Insights Firefox Addons", "type": "object" }, - "system-insights-scheduled-tasks": { + "system-insights-groups": { + "example": { + "collection_time": "2019-06-03T19:41:31.673Z", + "comment": "", + "gid": "701", + "gid_signed": "701", + "group_sid": "", + "groupname": "1", + "system_id": "5c9e51a13c5146f89bae12d9" + }, "properties": { - "action": { - "type": "string" - }, - "enabled": { - "type": "integer" - }, - "hidden": { - "type": "integer" - }, - "last_run_code": { - "type": "string" - }, - "last_run_message": { + "collection_time": { "type": "string" }, - "last_run_time": { + "comment": { "type": "string" }, - "name": { + "gid": { "type": "string" }, - "next_run_time": { + "gid_signed": { "type": "string" }, - "path": { + "group_sid": { "type": "string" }, - "state": { + "groupname": { "type": "string" }, "system_id": { "type": "string" } }, + "title": "System Insights Groups", "type": "object" }, - "system-insights-secureboot": { + "system-insights-ie-extensions": { "properties": { "collection_time": { "type": "string" }, - "secure_boot": { - "type": "number" + "name": { + "type": "string" }, - "setup_mode": { - "type": "number" + "path": { + "type": "string" + }, + "registry_path": { + "type": "string" }, "system_id": { "type": "string" + }, + "version": { + "type": "string" } }, - "title": "System Insights Secure Boot", + "title": "System Insights IE Extensions", "type": "object" }, - "system-insights-services": { + "system-insights-interface-addresses": { + "example": { + "address": "::1", + "broadcast": "", + "collection_time": "2019-06-03T19:41:31.008Z", + "friendly_name": "", + "interface": "lo0", + "mask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", + "point_to_point": "::1", + "system_id": "5c9e51a13c5146f89bae12d9", + "type": "unknown" + }, "properties": { - "description": { - "type": "string" - }, - "display_name": { + "address": { "type": "string" }, - "module_path": { + "broadcast": { "type": "string" }, - "name": { + "collection_time": { "type": "string" }, - "path": { + "friendly_name": { "type": "string" }, - "pid": { - "type": "integer" - }, - "service_exit_code": { - "type": "integer" - }, - "service_type": { + "interface": { "type": "string" }, - "start_type": { + "mask": { "type": "string" }, - "status": { + "point_to_point": { "type": "string" }, "system_id": { "type": "string" }, - "user_account": { + "type": { "type": "string" - }, - "win32_exit_code": { - "type": "integer" } }, + "title": "System Insights Interface Addresses", "type": "object" }, - "system-insights-shadow": { + "system-insights-interface-details": { "properties": { - "collection_time": { + "collisions": { "type": "string" }, - "expire": { + "connection_id": { "type": "string" }, - "flag": { + "connection_status": { "type": "string" }, - "hash_alg": { + "description": { "type": "string" }, - "inactive": { - "type": "string" + "dhcp_enabled": { + "type": "integer" }, - "last_change": { + "dhcp_lease_expires": { "type": "string" }, - "max": { + "dhcp_lease_obtained": { "type": "string" }, - "min": { + "dhcp_server": { "type": "string" }, - "password_status": { + "dns_domain": { "type": "string" }, - "system_id": { + "dns_domain_suffix_search_order": { "type": "string" }, - "username": { + "dns_host_name": { "type": "string" }, - "warning": { - "type": "string" - } - }, - "title": "System Insights Shadow", - "type": "object" - }, - "system-insights-shared-folders": { - "properties": { - "collection_time": { + "dns_server_search_order": { "type": "string" }, - "name": { - "type": "string" + "enabled": { + "type": "integer" }, - "path": { - "type": "string" + "flags": { + "type": "integer" }, - "system_id": { + "friendly_name": { "type": "string" - } - }, - "title": "System Insights Shared Folders", - "type": "object" - }, - "system-insights-shared-resources": { - "properties": { - "allow_maximum": { - "type": "integer" }, - "collection_time": { + "ibytes": { "type": "string" }, - "description": { + "idrops": { "type": "string" }, - "install_date": { + "ierrors": { "type": "string" }, - "maximum_allowed": { + "interface": { "type": "string" }, - "name": { + "ipackets": { "type": "string" }, - "path": { + "last_change": { "type": "string" }, - "status": { + "link_speed": { "type": "string" }, - "system_id": { + "mac": { "type": "string" }, - "type": { - "type": "string" - } - }, - "title": "System Insights Shared Resources", - "type": "object" - }, - "system-insights-sharing-preferences": { - "properties": { - "bluetooth_sharing": { - "type": "integer" - }, - "collection_time": { + "manufacturer": { "type": "string" }, - "content_caching": { + "metric": { "type": "integer" }, - "disc_sharing": { + "mtu": { "type": "integer" }, - "file_sharing": { - "type": "integer" + "obytes": { + "type": "string" }, - "internet_sharing": { - "type": "integer" + "odrops": { + "type": "string" }, - "printer_sharing": { - "type": "integer" + "oerrors": { + "type": "string" }, - "remote_apple_events": { - "type": "integer" + "opackets": { + "type": "string" }, - "remote_login": { - "type": "integer" + "pci_slot": { + "type": "string" }, - "remote_management": { + "physical_adapter": { "type": "integer" }, - "screen_sharing": { + "service": { + "type": "string" + }, + "speed": { "type": "integer" }, "system_id": { "type": "string" + }, + "type": { + "type": "integer" } }, - "title": "System Insights Sharing Preferences", "type": "object" }, - "system-insights-sip-config": { + "system-insights-kernel-info": { "properties": { - "collection_time": { + "arguments": { "type": "string" }, - "config_flag": { + "collection_time": { "type": "string" }, - "enabled": { - "type": "integer" + "device": { + "type": "string" }, - "enabled_nvram": { - "type": "integer" + "path": { + "type": "string" }, "system_id": { "type": "string" + }, + "version": { + "type": "string" } }, - "title": "System Insights SIP Config", + "title": "System Insights Kernel Info", "type": "object" }, - "system-insights-startup-items": { + "system-insights-launchd": { "properties": { - "args": { + "collection_time": { + "type": "string" + }, + "disabled": { + "type": "string" + }, + "groupname": { + "type": "string" + }, + "inetd_compatibility": { + "type": "string" + }, + "keep_alive": { + "type": "string" + }, + "label": { "type": "string" }, "name": { "type": "string" }, + "on_demand": { + "type": "string" + }, "path": { "type": "string" }, - "source": { + "process_type": { "type": "string" }, - "status": { + "program": { "type": "string" }, - "system_id": { + "program_arguments": { "type": "string" }, - "type": { + "queue_directories": { "type": "string" }, - "username": { + "root_directory": { "type": "string" - } - } - }, - "system-insights-system-controls": { - "properties": { - "collection_time": { + }, + "run_at_load": { "type": "string" }, - "config_value": { + "start_interval": { "type": "string" }, - "current_value": { + "start_on_mount": { "type": "string" }, - "field_name": { + "stderr_path": { "type": "string" }, - "name": { + "stdout_path": { "type": "string" }, - "oid": { + "system_id": { "type": "string" }, - "subsystem": { + "username": { "type": "string" }, - "system_id": { + "watch_paths": { "type": "string" }, - "type": { + "working_directory": { "type": "string" } }, - "title": "System Insights System Controls", + "title": "System Insights LaunchD", "type": "object" }, - "system-insights-system-info": { + "system-insights-linux-packages": { "example": { - "collection_time": "2019-06-03T13:41:30.771-06:00", - "computer_name": "Johnny's MacBook Pro (2)", - "cpu_brand": "Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz", - "cpu_logical_cores": 8, - "cpu_microcode": "", - "cpu_physical_cores": 4, - "cpu_subtype": "Intel x86-64h Haswell", - "cpu_type": "x86_64h", - "hardware_model": "MacBookPro14,3 ", - "hardware_serial": "111111FFFFFF", - "hardware_vendor": "Apple Inc. ", - "hardware_version": "1.0 ", - "hostname": "johnnys-macbook-pro-2.local", - "local_hostname": "Jonnys-MacBook-Pro-2", - "physical_memory": "17179869184", + "arch": "amd64", + "install_time": 100000, + "maintainer_or_vendor": "Ubuntu Developers ", + "mount_namespace_id": "id123", + "name": "zip", + "package_format": "deb", + "package_group_or_section": "utils", + "pid_with_namespace": 0, + "release_or_revision": "11build1", + "size": "100000", "system_id": "5c9e51a13c5146f89bae12d9", - "uuid": "11111111-FFFF-1111-FFFF-111111111111" + "version": "3.0-11build1" }, "properties": { - "collection_time": { + "arch": { "type": "string" }, - "computer_name": { + "install_time": { + "type": "integer" + }, + "maintainer_or_vendor": { "type": "string" }, - "cpu_brand": { + "mount_namespace_id": { "type": "string" }, - "cpu_logical_cores": { - "type": "integer" + "name": { + "type": "string" }, - "cpu_microcode": { + "package_format": { "type": "string" }, - "cpu_physical_cores": { + "package_group_or_section": { + "type": "string" + }, + "pid_with_namespace": { "type": "integer" }, - "cpu_subtype": { + "release_or_revision": { "type": "string" }, - "cpu_type": { + "size": { "type": "string" }, - "hardware_model": { + "system_id": { "type": "string" }, - "hardware_serial": { + "version": { "type": "string" - }, - "hardware_vendor": { + } + }, + "title": "System Insights Linux Packages", + "type": "object" + }, + "system-insights-logged-in-users": { + "properties": { + "collection_time": { "type": "string" }, - "hardware_version": { + "host": { "type": "string" }, - "hostname": { - "type": "string" + "pid": { + "type": "integer" }, - "local_hostname": { + "system_id": { "type": "string" }, - "physical_memory": { + "time": { + "type": "integer" + }, + "tty": { "type": "string" }, - "system_id": { + "type": { "type": "string" }, - "uuid": { + "user": { "type": "string" } }, - "title": "System Insights System Info", + "title": "System Insights Logged-In Users", "type": "object" }, - "system-insights-tpm-info": { + "system-insights-logical-drives": { + "example": { + "boot_partition": 0, + "collection_time": "2019-06-03T19:41:30.658Z", + "device_id": "C:", + "file_system": "NTFS", + "free_space": "43194331136", + "size": "63778582528", + "system_id": "5c9e51a13c5146f89bae12d9", + "type": "Unknown" + }, "properties": { - "activated": { - "type": "number" + "boot_partition": { + "type": "integer" }, "collection_time": { "type": "string" }, - "enabled": { - "type": "number" - }, - "manufacturer_id": { - "type": "number" - }, - "manufacturer_name": { + "device_id": { "type": "string" }, - "manufacturer_version": { + "file_system": { "type": "string" }, - "owned": { - "type": "number" - }, - "physical_presence_version": { + "free_space": { "type": "string" }, - "product_name": { + "size": { "type": "string" }, - "spec_version": { + "system_id": { "type": "string" }, - "system_id": { + "type": { "type": "string" } }, - "title": "System Insights TPM Info", + "title": "System Insights Logical Drives", "type": "object" }, - "system-insights-uptime": { + "system-insights-managed-policies": { "properties": { "collection_time": { "type": "string" }, - "days": { - "type": "integer" + "domain": { + "type": "string" }, - "hours": { + "manual": { "type": "integer" }, - "minutes": { - "type": "integer" - }, - "seconds": { - "type": "integer" + "name": { + "type": "string" }, "system_id": { "type": "string" }, - "total_seconds": { + "username": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { "type": "string" } }, - "title": "System Insights Uptime", + "title": "System Insights Managed Policies", "type": "object" }, - "system-insights-usb-devices": { + "system-insights-mounts": { + "example": { + "blocks": "388086", + "blocks_available": "95135", + "blocks_free": "95135", + "blocks_size": "4096", + "collection_time": "2019-06-03T19:41:31.746Z", + "device": "/dev/disk5s1", + "device_alias": "/dev/disk5s1", + "flags": "70292505", + "inodes": "4294967279", + "inodes_free": "4294966853", + "path": "/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/.vbfolder_1dQavK", + "system_id": "5c9e51a13c5146f89bae12d9", + "type": "hfs" + }, "properties": { - "class": { + "blocks": { "type": "string" }, - "collection_time": { + "blocks_available": { "type": "string" }, - "model": { + "blocks_free": { "type": "string" }, - "model_id": { + "blocks_size": { "type": "string" }, - "protocol": { + "collection_time": { "type": "string" }, - "removable": { - "type": "integer" - }, - "serial": { + "device": { "type": "string" }, - "subclass": { + "device_alias": { "type": "string" }, - "system_id": { + "flags": { "type": "string" }, - "usb_address": { - "type": "integer" + "inodes": { + "type": "string" }, - "usb_port": { - "type": "integer" + "inodes_free": { + "type": "string" }, - "vendor": { + "path": { "type": "string" }, - "vendor_id": { + "system_id": { "type": "string" }, - "version": { + "type": { "type": "string" } }, - "title": "System Insights USB Devices", + "title": "System Insights Mounts", "type": "object" }, - "system-insights-user-groups": { + "system-insights-os-version": { + "example": { + "build": "17G65", + "codename": "", + "collection_time": "2019-06-03T19:41:30.933Z", + "install_date": "", + "major": 10, + "minor": 13, + "name": "Mac OS X", + "patch": 6, + "platform": "darwin", + "platform_like": "darwin", + "system_id": "5c9e51a13c5146f89bae12d9", + "version": "10.13.6" + }, "properties": { - "collection_time": { + "build": { "type": "string" }, - "gid": { + "codename": { "type": "string" }, - "system_id": { + "collection_time": { "type": "string" }, - "uid": { + "install_date": { "type": "string" - } - }, - "title": "System Insights User Groups", - "type": "object" - }, - "system-insights-user-ssh-keys": { - "properties": { - "collection_time": { + }, + "major": { + "type": "integer" + }, + "minor": { + "type": "integer" + }, + "name": { "type": "string" }, - "encrypted": { + "patch": { "type": "integer" }, - "path": { + "platform": { + "type": "string" + }, + "platform_like": { "type": "string" }, "system_id": { "type": "string" }, - "uid": { + "version": { "type": "string" } }, - "title": "System Insights User SSH Keys", + "title": "System Insights OS Version", "type": "object" }, - "system-insights-userassist": { + "system-insights-patches": { + "example": { + "caption": "http://support.microsoft.com/?kbid=4503308", + "collection_time": "2019-06-03T19:41:31.673Z", + "csname": "DESKTOP-B17DUKP", + "description": "Security Update", + "fix_comments": "", + "hotfix_id": "KB4503308", + "install_date": "", + "installed_by": "NT AUTHORITY\\SYSTEM", + "installed_on": "7/30/2019", + "system_id": "5c9e51a13c5146f89bae12d9" + }, "properties": { + "caption": { + "type": "string" + }, "collection_time": { "type": "string" }, - "count": { - "type": "number" + "csname": { + "type": "string" }, - "last_execution_time": { - "type": "number" + "description": { + "type": "string" }, - "path": { + "fix_comments": { "type": "string" }, - "sid": { + "hotfix_id": { + "type": "string" + }, + "install_date": { + "type": "string" + }, + "installed_by": { + "type": "string" + }, + "installed_on": { "type": "string" }, "system_id": { "type": "string" } }, - "title": "System Insights User Assist", + "title": "System Insights Patches", "type": "object" }, - "system-insights-users": { + "system-insights-programs": { "example": { - "collection_time": "2019-06-03T13:41:29.71-06:00", - "description": "AppleEvents Daemon", - "directory": "/var/empty", - "gid": "55", - "gid_signed": "55", - "shell": "/usr/bin/false", + "collection_time": "2019-06-03T19:41:31.673Z", + "identifying_number": "{2E8B8BDD-03DF-4C1C-8C99-E6A4BCBF43CE}", + "install_date": "20190724", + "install_location": "", + "install_source": "C:\\Windows\\SoftwareDistribution\\Download\\b78f29c88063bd09e7afd48e257d0126\\img\\", + "language": "0", + "name": "Update for Windows 10 for x64-based Systems (KB4480730)", + "publisher": "Microsoft Corporation", "system_id": "5c9e51a13c5146f89bae12d9", - "type": "", - "uid": "55", - "uid_signed": "55", - "username": "_appleevents", - "uuid": "FFFFEEEE-DDDD-CCCC-BBBB-AAAA00000037" + "uninstall_string": "MsiExec.exe /X{2E8B8BDD-03DF-4C1C-8C99-E6A4BCBF43CE}", + "version": "2.51.0.0" }, "properties": { - "ad_managed": { - "description": "Indicates this account belongs to a AD-managed user", - "type": "boolean" - }, - "admin": { - "description": "Indicates this account has local administrator privileges", - "type": "boolean" - }, "collection_time": { "type": "string" }, - "description": { - "type": "string" - }, - "directory": { - "type": "string" - }, - "gid": { + "identifying_number": { "type": "string" }, - "gid_signed": { + "install_date": { "type": "string" }, - "last_login": { - "description": "A Unix timestamp showing the last time this user logged in", + "install_location": { "type": "string" }, - "managed": { - "description": "Indicates this account belongs to a JumpCloud-managed user", - "type": "boolean" - }, - "real_user": { - "description": "Indicates this account represents an interactive user account vs. a system or daemon account", - "type": "boolean" - }, - "shell": { + "install_source": { "type": "string" }, - "suspended": { - "description": "Indicates this account is suspended or locked out", - "type": "boolean" - }, - "system_id": { + "language": { "type": "string" }, - "type": { + "name": { "type": "string" }, - "uid": { + "publisher": { "type": "string" }, - "uid_signed": { + "system_id": { "type": "string" }, - "username": { + "uninstall_string": { "type": "string" }, - "uuid": { + "version": { "type": "string" } }, - "title": "System Insights Users", + "title": "System Insights Programs", "type": "object" }, - "system-insights-wifi-networks": { + "system-insights-python-packages": { "properties": { - "auto_login": { - "type": "number" - }, - "captive_portal": { - "type": "number" - }, - "collection_time": { + "auther": { "type": "string" }, - "disabled": { - "type": "number" - }, - "last_connected": { - "type": "number" - }, - "network_name": { + "directory": { "type": "string" }, - "passpoint": { - "type": "number" - }, - "possibly_hidden": { - "type": "number" - }, - "roaming": { - "type": "number" + "license": { + "type": "string" }, - "roaming_profile": { + "name": { "type": "string" }, - "security_type": { + "path": { "type": "string" }, - "ssid": { + "summary": { "type": "string" }, "system_id": { "type": "string" }, - "temporarily_disabled": { - "type": "number" + "version": { + "type": "string" } - }, - "title": "System Insights WiFi Networks", - "type": "object" + } }, - "system-insights-wifi-status": { + "system-insights-safari-extensions": { + "example": { + "author": "Eyeo GmbH", + "collection_time": "2019-05-16T18:58:15.673Z", + "description": "Used by over 50 million people, a free ad blocker that blocks ALL annoying ads, malware and tracking.", + "developer_id": "GRYYZR985A", + "identifier": "org.adblockplus.adblockplussafari", + "name": "Adblock Plus", + "path": "/Users/samuelharvanek/Library/Safari/Extensions/Adblock Plus.safariextz", + "sdk": "6.0", + "system_id": "5cdb13e85a0e0719283583c0", + "uid": "501", + "update_url": "https://update.adblockplus.org/adblockplussafari/updates.plist", + "version": "1.12.5" + }, "properties": { - "bssid": { + "author": { "type": "string" }, - "channel": { - "type": "number" - }, - "channel_band": { - "type": "number" - }, - "channel_width": { - "type": "number" - }, "collection_time": { "type": "string" }, - "country_code": { + "description": { "type": "string" }, - "interface": { + "developer_id": { "type": "string" }, - "mode": { + "identifier": { "type": "string" }, - "network_name": { + "name": { "type": "string" }, - "noise": { - "type": "number" + "path": { + "type": "string" }, - "rssi": { - "type": "number" + "sdk": { + "type": "string" }, - "security_type": { + "system_id": { "type": "string" }, - "ssid": { + "uid": { "type": "string" }, - "system_id": { + "update_url": { "type": "string" }, - "transmit_rate": { + "version": { "type": "string" } }, - "title": "System Insights WiFi Status", + "title": "System Insights Safari Extensions", "type": "object" }, - "system-insights-windows-security-center": { + "system-insights-scheduled-tasks": { "properties": { - "antispyware": { + "action": { "type": "string" }, - "antivirus": { + "enabled": { + "type": "integer" + }, + "hidden": { + "type": "integer" + }, + "last_run_code": { "type": "string" }, - "autoupdate": { + "last_run_message": { "type": "string" }, - "collection_time": { + "last_run_time": { "type": "string" }, - "firewall": { + "name": { "type": "string" }, - "internet_settings": { + "next_run_time": { "type": "string" }, - "system_id": { + "path": { "type": "string" }, - "user_account_control": { + "state": { "type": "string" }, - "windows_security_center_service": { + "system_id": { "type": "string" } }, - "title": "System Insights Windows Security Center", "type": "object" }, - "system-insights-windows-security-products": { + "system-insights-secureboot": { "properties": { "collection_time": { "type": "string" }, + "secure_boot": { + "type": "number" + }, + "setup_mode": { + "type": "number" + }, + "system_id": { + "type": "string" + } + }, + "title": "System Insights Secure Boot", + "type": "object" + }, + "system-insights-services": { + "properties": { + "description": { + "type": "string" + }, + "display_name": { + "type": "string" + }, + "module_path": { + "type": "string" + }, "name": { "type": "string" }, - "remediation_path": { + "path": { "type": "string" }, - "signatures_up_to_date": { - "type": "number" + "pid": { + "type": "integer" }, - "state": { + "service_exit_code": { + "type": "integer" + }, + "service_type": { "type": "string" }, - "state_timestamp": { + "start_type": { + "type": "string" + }, + "status": { "type": "string" }, "system_id": { "type": "string" }, - "type": { + "user_account": { "type": "string" + }, + "win32_exit_code": { + "type": "integer" } }, - "title": "System Insights Windows Security Products", "type": "object" }, - "systemfdekey": { + "system-insights-shadow": { "properties": { - "key": { + "collection_time": { "type": "string" - } - }, - "required": [ - "key" - ], - "title": "SystemFDEKey", - "type": "object" - }, - "workday-fields": { - "properties": { - "name": { + }, + "expire": { "type": "string" }, - "reportUrl": { + "flag": { + "type": "string" + }, + "hash_alg": { + "type": "string" + }, + "inactive": { + "type": "string" + }, + "last_change": { + "type": "string" + }, + "max": { + "type": "string" + }, + "min": { + "type": "string" + }, + "password_status": { + "type": "string" + }, + "system_id": { + "type": "string" + }, + "username": { + "type": "string" + }, + "warning": { "type": "string" } }, - "title": "Workday Fields", + "title": "System Insights Shadow", "type": "object" }, - "workday-input": { - "example": { - "auth": { - "basic": { - "password": "in tempor ipsum quis", - "username": "mollit ex" - }, - "oauth": { - "code": "non laborum dolore" - } - }, - "name": "dolore tempor", - "reportUrl": "est sit laboris" - }, + "system-insights-shared-folders": { "properties": { - "auth": { - "$ref": "#/definitions/auth-input" + "collection_time": { + "type": "string" }, "name": { "type": "string" }, - "reportUrl": { + "path": { + "type": "string" + }, + "system_id": { "type": "string" } }, - "title": "Workday Input", + "title": "System Insights Shared Folders", "type": "object" }, - "workday-output": { + "system-insights-shared-resources": { "properties": { - "auth": { - "properties": { - "basic": { - "$ref": "#/definitions/auth-info" - }, - "oauth": { - "$ref": "#/definitions/auth-info" - } - }, - "type": "object" + "allow_maximum": { + "type": "integer" }, - "id": { + "collection_time": { "type": "string" }, - "lastImport": { + "description": { "type": "string" }, - "name": { + "install_date": { "type": "string" }, - "reportUrl": { + "maximum_allowed": { "type": "string" - } - }, - "title": "Workday Output", - "type": "object" - }, - "workday-worker": { - "properties": { - "attributes": { - "type": "object", - "additionalProperties": true }, - "email": { + "name": { "type": "string" }, - "firstName": { + "path": { "type": "string" }, - "lastName": { + "status": { "type": "string" }, - "username": { + "system_id": { + "type": "string" + }, + "type": { "type": "string" } }, - "title": "Workday Worker", + "title": "System Insights Shared Resources", "type": "object" - } - }, + }, + "system-insights-sharing-preferences": { + "properties": { + "bluetooth_sharing": { + "type": "integer" + }, + "collection_time": { + "type": "string" + }, + "content_caching": { + "type": "integer" + }, + "disc_sharing": { + "type": "integer" + }, + "file_sharing": { + "type": "integer" + }, + "internet_sharing": { + "type": "integer" + }, + "printer_sharing": { + "type": "integer" + }, + "remote_apple_events": { + "type": "integer" + }, + "remote_login": { + "type": "integer" + }, + "remote_management": { + "type": "integer" + }, + "screen_sharing": { + "type": "integer" + }, + "system_id": { + "type": "string" + } + }, + "title": "System Insights Sharing Preferences", + "type": "object" + }, + "system-insights-sip-config": { + "properties": { + "collection_time": { + "type": "string" + }, + "config_flag": { + "type": "string" + }, + "enabled": { + "type": "integer" + }, + "enabled_nvram": { + "type": "integer" + }, + "system_id": { + "type": "string" + } + }, + "title": "System Insights SIP Config", + "type": "object" + }, + "system-insights-startup-items": { + "properties": { + "args": { + "type": "string" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "source": { + "type": "string" + }, + "status": { + "type": "string" + }, + "system_id": { + "type": "string" + }, + "type": { + "type": "string" + }, + "username": { + "type": "string" + } + } + }, + "system-insights-system-controls": { + "properties": { + "collection_time": { + "type": "string" + }, + "config_value": { + "type": "string" + }, + "current_value": { + "type": "string" + }, + "field_name": { + "type": "string" + }, + "name": { + "type": "string" + }, + "oid": { + "type": "string" + }, + "subsystem": { + "type": "string" + }, + "system_id": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "title": "System Insights System Controls", + "type": "object" + }, + "system-insights-system-info": { + "example": { + "collection_time": "2019-06-03T19:41:30.771Z", + "computer_name": "Johnny's MacBook Pro (2)", + "cpu_brand": "Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz", + "cpu_logical_cores": 8, + "cpu_microcode": "", + "cpu_physical_cores": 4, + "cpu_subtype": "Intel x86-64h Haswell", + "cpu_type": "x86_64h", + "hardware_model": "MacBookPro14,3 ", + "hardware_serial": "111111FFFFFF", + "hardware_vendor": "Apple Inc. ", + "hardware_version": "1.0 ", + "hostname": "johnnys-macbook-pro-2.local", + "local_hostname": "Jonnys-MacBook-Pro-2", + "physical_memory": "17179869184", + "system_id": "5c9e51a13c5146f89bae12d9", + "uuid": "11111111-FFFF-1111-FFFF-111111111111" + }, + "properties": { + "collection_time": { + "type": "string" + }, + "computer_name": { + "type": "string" + }, + "cpu_brand": { + "type": "string" + }, + "cpu_logical_cores": { + "type": "integer" + }, + "cpu_microcode": { + "type": "string" + }, + "cpu_physical_cores": { + "type": "integer" + }, + "cpu_subtype": { + "type": "string" + }, + "cpu_type": { + "type": "string" + }, + "hardware_model": { + "type": "string" + }, + "hardware_serial": { + "type": "string" + }, + "hardware_vendor": { + "type": "string" + }, + "hardware_version": { + "type": "string" + }, + "hostname": { + "type": "string" + }, + "local_hostname": { + "type": "string" + }, + "physical_memory": { + "type": "string" + }, + "system_id": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "title": "System Insights System Info", + "type": "object" + }, + "system-insights-tpm-info": { + "properties": { + "activated": { + "type": "number" + }, + "collection_time": { + "type": "string" + }, + "enabled": { + "type": "number" + }, + "manufacturer_id": { + "type": "number" + }, + "manufacturer_name": { + "type": "string" + }, + "manufacturer_version": { + "type": "string" + }, + "owned": { + "type": "number" + }, + "physical_presence_version": { + "type": "string" + }, + "product_name": { + "type": "string" + }, + "spec_version": { + "type": "string" + }, + "system_id": { + "type": "string" + } + }, + "title": "System Insights TPM Info", + "type": "object" + }, + "system-insights-uptime": { + "properties": { + "collection_time": { + "type": "string" + }, + "days": { + "type": "integer" + }, + "hours": { + "type": "integer" + }, + "minutes": { + "type": "integer" + }, + "seconds": { + "type": "integer" + }, + "system_id": { + "type": "string" + }, + "total_seconds": { + "type": "string" + } + }, + "title": "System Insights Uptime", + "type": "object" + }, + "system-insights-usb-devices": { + "properties": { + "class": { + "type": "string" + }, + "collection_time": { + "type": "string" + }, + "model": { + "type": "string" + }, + "model_id": { + "type": "string" + }, + "protocol": { + "type": "string" + }, + "removable": { + "type": "integer" + }, + "serial": { + "type": "string" + }, + "subclass": { + "type": "string" + }, + "system_id": { + "type": "string" + }, + "usb_address": { + "type": "integer" + }, + "usb_port": { + "type": "integer" + }, + "vendor": { + "type": "string" + }, + "vendor_id": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "title": "System Insights USB Devices", + "type": "object" + }, + "system-insights-user-groups": { + "properties": { + "collection_time": { + "type": "string" + }, + "gid": { + "type": "string" + }, + "system_id": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "title": "System Insights User Groups", + "type": "object" + }, + "system-insights-user-ssh-keys": { + "properties": { + "collection_time": { + "type": "string" + }, + "encrypted": { + "type": "integer" + }, + "path": { + "type": "string" + }, + "system_id": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "title": "System Insights User SSH Keys", + "type": "object" + }, + "system-insights-userassist": { + "properties": { + "collection_time": { + "type": "string" + }, + "count": { + "type": "number" + }, + "last_execution_time": { + "type": "number" + }, + "path": { + "type": "string" + }, + "sid": { + "type": "string" + }, + "system_id": { + "type": "string" + } + }, + "title": "System Insights User Assist", + "type": "object" + }, + "system-insights-users": { + "example": { + "collection_time": "2019-06-03T19:41:29.71Z", + "description": "AppleEvents Daemon", + "directory": "/var/empty", + "gid": "55", + "gid_signed": "55", + "shell": "/usr/bin/false", + "system_id": "5c9e51a13c5146f89bae12d9", + "type": "", + "uid": "55", + "uid_signed": "55", + "username": "_appleevents", + "uuid": "FFFFEEEE-DDDD-CCCC-BBBB-AAAA00000037" + }, + "properties": { + "ad_managed": { + "description": "Indicates this account belongs to a AD-managed user", + "type": "boolean" + }, + "admin": { + "description": "Indicates this account has local administrator privileges", + "type": "boolean" + }, + "collection_time": { + "type": "string" + }, + "description": { + "type": "string" + }, + "directory": { + "type": "string" + }, + "gid": { + "type": "string" + }, + "gid_signed": { + "type": "string" + }, + "last_login": { + "description": "A Unix timestamp showing the last time this user logged in", + "type": "string" + }, + "managed": { + "description": "Indicates this account belongs to a JumpCloud-managed user", + "type": "boolean" + }, + "real_user": { + "description": "Indicates this account represents an interactive user account vs. a system or daemon account", + "type": "boolean" + }, + "shell": { + "type": "string" + }, + "suspended": { + "description": "Indicates this account is suspended or locked out", + "type": "boolean" + }, + "system_id": { + "type": "string" + }, + "type": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "uid_signed": { + "type": "string" + }, + "username": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "title": "System Insights Users", + "type": "object" + }, + "system-insights-wifi-networks": { + "properties": { + "auto_login": { + "type": "number" + }, + "captive_portal": { + "type": "number" + }, + "collection_time": { + "type": "string" + }, + "disabled": { + "type": "number" + }, + "last_connected": { + "type": "number" + }, + "network_name": { + "type": "string" + }, + "passpoint": { + "type": "number" + }, + "possibly_hidden": { + "type": "number" + }, + "roaming": { + "type": "number" + }, + "roaming_profile": { + "type": "string" + }, + "security_type": { + "type": "string" + }, + "ssid": { + "type": "string" + }, + "system_id": { + "type": "string" + }, + "temporarily_disabled": { + "type": "number" + } + }, + "title": "System Insights WiFi Networks", + "type": "object" + }, + "system-insights-wifi-status": { + "properties": { + "bssid": { + "type": "string" + }, + "channel": { + "type": "number" + }, + "channel_band": { + "type": "number" + }, + "channel_width": { + "type": "number" + }, + "collection_time": { + "type": "string" + }, + "country_code": { + "type": "string" + }, + "interface": { + "type": "string" + }, + "mode": { + "type": "string" + }, + "network_name": { + "type": "string" + }, + "noise": { + "type": "number" + }, + "rssi": { + "type": "number" + }, + "security_type": { + "type": "string" + }, + "ssid": { + "type": "string" + }, + "system_id": { + "type": "string" + }, + "transmit_rate": { + "type": "string" + } + }, + "title": "System Insights WiFi Status", + "type": "object" + }, + "system-insights-windows-security-center": { + "properties": { + "antispyware": { + "type": "string" + }, + "antivirus": { + "type": "string" + }, + "autoupdate": { + "type": "string" + }, + "collection_time": { + "type": "string" + }, + "firewall": { + "type": "string" + }, + "internet_settings": { + "type": "string" + }, + "system_id": { + "type": "string" + }, + "user_account_control": { + "type": "string" + }, + "windows_security_center_service": { + "type": "string" + } + }, + "title": "System Insights Windows Security Center", + "type": "object" + }, + "system-insights-windows-security-products": { + "properties": { + "collection_time": { + "type": "string" + }, + "name": { + "type": "string" + }, + "remediation_path": { + "type": "string" + }, + "signatures_up_to_date": { + "type": "number" + }, + "state": { + "type": "string" + }, + "state_timestamp": { + "type": "string" + }, + "system_id": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "title": "System Insights Windows Security Products", + "type": "object" + }, + "systemfdekey": { + "properties": { + "key": { + "type": "string" + } + }, + "required": [ + "key" + ], + "title": "SystemFDEKey", + "type": "object" + }, + "workday-fields": { + "properties": { + "name": { + "type": "string" + }, + "reportUrl": { + "type": "string" + } + }, + "title": "Workday Fields", + "type": "object" + }, + "workday-input": { + "example": { + "auth": { + "basic": { + "password": "in tempor ipsum quis", + "username": "mollit ex" + }, + "oauth": { + "code": "non laborum dolore" + } + }, + "name": "dolore tempor", + "reportUrl": "est sit laboris" + }, + "properties": { + "auth": { + "$ref": "#/definitions/auth-input" + }, + "name": { + "type": "string" + }, + "reportUrl": { + "type": "string" + } + }, + "title": "Workday Input", + "type": "object" + }, + "workday-output": { + "properties": { + "auth": { + "properties": { + "basic": { + "$ref": "#/definitions/auth-info" + }, + "oauth": { + "$ref": "#/definitions/auth-info" + } + }, + "type": "object" + }, + "id": { + "type": "string" + }, + "lastImport": { + "type": "string" + }, + "name": { + "type": "string" + }, + "reportUrl": { + "type": "string" + } + }, + "title": "Workday Output", + "type": "object" + }, + "workday-worker": { + "properties": { + "attributes": { + "type": "object", + "additionalProperties": true + }, + "email": { + "type": "string" + }, + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "title": "Workday Worker", + "type": "object" + } + }, "host": "console.jumpcloud.com", "info": { "contact": { "name": "JumpCloud Support", "url": "https://jumpcloud.com/support/contact-jumpcloud-support" }, - "description": "# Overview\n\nJumpCloud's V2 API. This set of endpoints allows JumpCloud customers to manage objects, groupings and mappings and interact with the JumpCloud Graph.\n\n> **Note:** Customers using the [EU Data Center](https://jumpcloud.com/support/jumpcloud-eu-data-center-faq) should use `https://console.eu.jumpcloud.com` in the endpoint URLs.\n\n## API Best Practices\n\nRead the linked Help Article below for guidance on retrying failed requests to JumpCloud's REST API, as well as best practices for structuring subsequent retry requests. Customizing retry mechanisms based on these recommendations will increase the reliability and dependability of your API calls.\n\nCovered topics include:\n1. Important Considerations\n2. Supported HTTP Request Methods\n3. Response codes\n4. API Key rotation\n5. Paginating\n6. Error handling\n7. Retry rates\n\n[JumpCloud Help Center - API Best Practices](https://support.jumpcloud.com/support/s/article/JumpCloud-API-Best-Practices)\n\n# Directory Objects\n\nThis API offers the ability to interact with some of our core features; otherwise known as Directory Objects. The Directory Objects are:\n\n* Commands\n* Policies\n* Policy Groups\n* Applications\n* Systems\n* Users\n* User Groups\n* System Groups\n* Radius Servers\n* Directories: Office 365, LDAP,G-Suite, Active Directory\n* Duo accounts and applications.\n\nThe Directory Object is an important concept to understand in order to successfully use JumpCloud API.\n\n## JumpCloud Graph\n\nWe've also introduced the concept of the JumpCloud Graph along with Directory Objects. The Graph is a powerful aspect of our platform which will enable you to associate objects with each other, or establish membership for certain objects to become members of other objects.\n\nSpecific `GET` endpoints will allow you to traverse the JumpCloud Graph to return all indirect and directly bound objects in your organization.\n\n| ![alt text](https://s3.amazonaws.com/jumpcloud-kb/Knowledge+Base+Photos/API+Docs/jumpcloud_graph.png \"JumpCloud Graph Model Example\") |\n|:--:|\n| **This diagram highlights our association and membership model as it relates to Directory Objects.** |\n\n# API Key\n\n## Access Your API Key\n\nTo locate your API Key:\n\n1. Log into the [JumpCloud Admin Console](https://console.jumpcloud.com/).\n2. Go to the username drop down located in the top-right of the Console.\n3. Retrieve your API key from API Settings.\n\n## API Key Considerations\n\nThis API key is associated to the currently logged in administrator. Other admins will have different API keys.\n\n**WARNING** Please keep this API key secret, as it grants full access to any data accessible via your JumpCloud console account.\n\nYou can also reset your API key in the same location in the JumpCloud Admin Console.\n\n## Recycling or Resetting Your API Key\n\nIn order to revoke access with the current API key, simply reset your API key. This will render all calls using the previous API key inaccessible.\n\nYour API key will be passed in as a header with the header name \"x-api-key\".\n\n```bash\ncurl -H \"x-api-key: [YOUR_API_KEY_HERE]\" \"https://console.jumpcloud.com/api/v2/systemgroups\"\n```\n\n# System Context\n\n* [Introduction](#introduction)\n* [Supported endpoints](#supported-endpoints)\n* [Response codes](#response-codes)\n* [Authentication](#authentication)\n* [Additional examples](#additional-examples)\n* [Third party](#third-party)\n\n## Introduction\n\nJumpCloud System Context Authorization is an alternative way to authenticate with a subset of JumpCloud's REST APIs. Using this method, a system can manage its information and resource associations, allowing modern auto provisioning environments to scale as needed.\n\n**Notes:**\n\n * The following documentation applies to Linux Operating Systems only.\n * Systems that have been automatically enrolled using Apple's Device Enrollment Program (DEP) or systems enrolled using the User Portal install are not eligible to use the System Context API to prevent unauthorized access to system groups and resources. If a script that utilizes the System Context API is invoked on a system enrolled in this way, it will display an error.\n\n## Supported Endpoints\n\nJumpCloud System Context Authorization can be used in conjunction with Systems endpoints found in the V1 API and certain System Group endpoints found in the v2 API.\n\n* A system may fetch, alter, and delete metadata about itself, including manipulating a system's Group and Systemuser associations,\n * `/api/systems/{system_id}` | [`GET`](https://docs.jumpcloud.com/api/1.0/index.html#operation/systems_get) [`PUT`](https://docs.jumpcloud.com/api/1.0/index.html#operation/systems_put)\n* A system may delete itself from your JumpCloud organization\n * `/api/systems/{system_id}` | [`DELETE`](https://docs.jumpcloud.com/api/1.0/index.html#operation/systems_delete)\n* A system may fetch its direct resource associations under v2 (Groups)\n * `/api/v2/systems/{system_id}/memberof` | [`GET`](https://docs.jumpcloud.com/api/2.0/index.html#operation/graph_systemGroupMembership)\n * `/api/v2/systems/{system_id}/associations` | [`GET`](https://docs.jumpcloud.com/api/2.0/index.html#operation/graph_systemAssociationsList)\n * `/api/v2/systems/{system_id}/users` | [`GET`](https://docs.jumpcloud.com/api/2.0/index.html#operation/graph_systemTraverseUser)\n* A system may alter its direct resource associations under v2 (Groups)\n * `/api/v2/systems/{system_id}/associations` | [`POST`](https://docs.jumpcloud.com/api/2.0/index.html#operation/graph_systemAssociationsPost)\n* A system may alter its System Group associations\n * `/api/v2/systemgroups/{group_id}/members` | [`POST`](https://docs.jumpcloud.com/api/2.0/index.html#operation/graph_systemGroupMembersPost)\n * _NOTE_ If a system attempts to alter the system group membership of a different system the request will be rejected\n\n## Response Codes\n\nIf endpoints other than those described above are called using the System Context API, the server will return a `401` response.\n\n## Authentication\n\nTo allow for secure access to our APIs, you must authenticate each API request.\nJumpCloud System Context Authorization uses [HTTP Signatures](https://tools.ietf.org/html/draft-cavage-http-signatures-00) to authenticate API requests.\nThe HTTP Signatures sent with each request are similar to the signatures used by the Amazon Web Services REST API.\nTo help with the request-signing process, we have provided an [example bash script](https://github.com/TheJumpCloud/SystemContextAPI/blob/master/examples/shell/SigningExample.sh). This example API request simply requests the entire system record. You must be root, or have permissions to access the contents of the `/opt/jc` directory to generate a signature.\n\nHere is a breakdown of the example script with explanations.\n\nFirst, the script extracts the systemKey from the JSON formatted `/opt/jc/jcagent.conf` file.\n\n```bash\n#!/bin/bash\nconf=\"`cat /opt/jc/jcagent.conf`\"\nregex=\"systemKey\\\":\\\"(\\w+)\\\"\"\n\nif [[ $conf =~ $regex ]] ; then\n systemKey=\"${BASH_REMATCH[1]}\"\nfi\n```\n\nThen, the script retrieves the current date in the correct format.\n\n```bash\nnow=`date -u \"+%a, %d %h %Y %H:%M:%S GMT\"`;\n```\n\nNext, we build a signing string to demonstrate the expected signature format. The signed string must consist of the [request-line](https://tools.ietf.org/html/rfc2616#page-35) and the date header, separated by a newline character.\n\n```bash\nsignstr=\"GET /api/systems/${systemKey} HTTP/1.1\\ndate: ${now}\"\n```\n\nThe next step is to calculate and apply the signature. This is a two-step process:\n\n1. Create a signature from the signing string using the JumpCloud Agent private key: ``printf \"$signstr\" | openssl dgst -sha256 -sign /opt/jc/client.key``\n2. Then Base64-encode the signature string and trim off the newline characters: ``| openssl enc -e -a | tr -d '\\n'``\n\nThe combined steps above result in:\n\n```bash\nsignature=`printf \"$signstr\" | openssl dgst -sha256 -sign /opt/jc/client.key | openssl enc -e -a | tr -d '\\n'` ;\n```\n\nFinally, we make sure the API call sending the signature has the same Authorization and Date header values, HTTP method, and URL that were used in the signing string.\n\n```bash\ncurl -iq \\\n -H \"Accept: application/json\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Date: ${now}\" \\\n -H \"Authorization: Signature keyId=\\\"system/${systemKey}\\\",headers=\\\"request-line date\\\",algorithm=\\\"rsa-sha256\\\",signature=\\\"${signature}\\\"\" \\\n --url https://console.jumpcloud.com/api/systems/${systemKey}\n```\n\n### Input Data\n\nAll PUT and POST methods should use the HTTP Content-Type header with a value of 'application/json'. PUT methods are used for updating a record. POST methods are used to create a record.\n\nThe following example demonstrates how to update the `displayName` of the system.\n\n```bash\nsignstr=\"PUT /api/systems/${systemKey} HTTP/1.1\\ndate: ${now}\"\nsignature=`printf \"$signstr\" | openssl dgst -sha256 -sign /opt/jc/client.key | openssl enc -e -a | tr -d '\\n'` ;\n\ncurl -iq \\\n -d \"{\\\"displayName\\\" : \\\"updated-system-name-1\\\"}\" \\\n -X \"PUT\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Accept: application/json\" \\\n -H \"Date: ${now}\" \\\n -H \"Authorization: Signature keyId=\\\"system/${systemKey}\\\",headers=\\\"request-line date\\\",algorithm=\\\"rsa-sha256\\\",signature=\\\"${signature}\\\"\" \\\n --url https://console.jumpcloud.com/api/systems/${systemKey}\n```\n\n### Output Data\n\nAll results will be formatted as JSON.\n\nHere is an abbreviated example of response output:\n\n```json\n{\n \"_id\": \"625ee96f52e144993e000015\",\n \"agentServer\": \"lappy386\",\n \"agentVersion\": \"0.9.42\",\n \"arch\": \"x86_64\",\n \"displayName\": \"ubuntu-1204\",\n \"firstContact\": \"2013-10-16T19:30:55.611Z\",\n \"hostname\": \"ubuntu-1204\"\n ...\n```\n\n## Additional Examples\n\n### Signing Authentication Example\n\nThis example demonstrates how to make an authenticated request to fetch the JumpCloud record for this system.\n\n[SigningExample.sh](https://github.com/TheJumpCloud/SystemContextAPI/blob/master/examples/shell/SigningExample.sh)\n\n### Shutdown Hook\n\nThis example demonstrates how to make an authenticated request on system shutdown.\nUsing an init.d script registered at run level 0, you can call the System Context API as the system is shutting down.\n\n[Instance-shutdown-initd](https://github.com/TheJumpCloud/SystemContextAPI/blob/master/examples/instance-shutdown-initd) is an example of an init.d script that only runs at system shutdown.\n\nAfter customizing the [instance-shutdown-initd](https://github.com/TheJumpCloud/SystemContextAPI/blob/master/examples/instance-shutdown-initd) script, you should install it on the system(s) running the JumpCloud agent.\n\n1. Copy the modified [instance-shutdown-initd](https://github.com/TheJumpCloud/SystemContextAPI/blob/master/examples/instance-shutdown-initd) to `/etc/init.d/instance-shutdown`.\n2. On Ubuntu systems, run `update-rc.d instance-shutdown defaults`. On RedHat/CentOS systems, run `chkconfig --add instance-shutdown`.\n\n## Third Party\n\n### Chef Cookbooks\n\n[https://github.com/nshenry03/jumpcloud](https://github.com/nshenry03/jumpcloud)\n\n[https://github.com/cjs226/jumpcloud](https://github.com/cjs226/jumpcloud)\n\n# Multi-Tenant Portal Headers\n\nMulti-Tenant Organization API Headers are available for JumpCloud Admins to use when making API requests from Organizations that have multiple managed organizations.\n\nThe `x-org-id` is a required header for all multi-tenant admins when making API requests to JumpCloud. This header will define to which organization you would like to make the request.\n\n**NOTE** Single Tenant Admins do not need to provide this header when making an API request.\n\n## Header Value\n\n`x-org-id`\n\n## API Response Codes\n\n* `400` Malformed ID.\n* `400` x-org-id and Organization path ID do not match.\n* `401` ID not included for multi-tenant admin\n* `403` ID included on unsupported route.\n* `404` Organization ID Not Found.\n\n```bash\ncurl -X GET https://console.jumpcloud.com/api/v2/directories \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -H 'x-org-id: {ORG_ID}'\n\n```\n\n## To Obtain an Individual Organization ID via the UI\n\nAs a prerequisite, your Primary Organization will need to be setup for Multi-Tenancy. This provides access to the Multi-Tenant Organization Admin Portal.\n\n1. Log into JumpCloud [Admin Console](https://console.jumpcloud.com). If you are a multi-tenant Admin, you will automatically be routed to the Multi-Tenant Admin Portal.\n2. From the Multi-Tenant Portal's primary navigation bar, select the Organization you'd like to access.\n3. You will automatically be routed to that Organization's Admin Console.\n4. Go to Settings in the sub-tenant's primary navigation.\n5. You can obtain your Organization ID below your Organization's Contact Information on the Settings page.\n\n## To Obtain All Organization IDs via the API\n\n* You can make an API request to this endpoint using the API key of your Primary Organization. `https://console.jumpcloud.com/api/organizations/` This will return all your managed organizations.\n\n```bash\ncurl -X GET \\\n https://console.jumpcloud.com/api/organizations/ \\\n -H 'Accept: application/json' \\\n -H 'Content-Type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```\n\n# SDKs\n\nYou can find language specific SDKs that can help you kickstart your Integration with JumpCloud in the following GitHub repositories:\n\n* [Python](https://github.com/TheJumpCloud/jcapi-python)\n* [Go](https://github.com/TheJumpCloud/jcapi-go)\n* [Ruby](https://github.com/TheJumpCloud/jcapi-ruby)\n* [Java](https://github.com/TheJumpCloud/jcapi-java)\n", - "title": "JumpCloud API", - "version": "2.0" - }, - "parameters": { - "trait:GraphObjectWithPaths:details": { - "description": "This will provide detail descriptive response for the request.", - "enum": [ - "v1" - ], + "description": "# Overview\n\nJumpCloud's V2 API. This set of endpoints allows JumpCloud customers to manage objects, groupings and mappings and interact with the JumpCloud Graph.\n\n> **Note:** Customers using the [EU Data Center](https://jumpcloud.com/support/jumpcloud-eu-data-center-faq) should use `https://console.eu.jumpcloud.com` in the endpoint URLs.\n\n## API Best Practices\n\nRead the linked Help Article below for guidance on retrying failed requests to JumpCloud's REST API, as well as best practices for structuring subsequent retry requests. Customizing retry mechanisms based on these recommendations will increase the reliability and dependability of your API calls.\n\nCovered topics include:\n1. Important Considerations\n2. Supported HTTP Request Methods\n3. Response codes\n4. API Key rotation\n5. Paginating\n6. Error handling\n7. Retry rates\n\n[JumpCloud Help Center - API Best Practices](https://support.jumpcloud.com/support/s/article/JumpCloud-API-Best-Practices)\n\n# Directory Objects\n\nThis API offers the ability to interact with some of our core features; otherwise known as Directory Objects. The Directory Objects are:\n\n* Commands\n* Policies\n* Policy Groups\n* Applications\n* Systems\n* Users\n* User Groups\n* System Groups\n* Radius Servers\n* Directories: Office 365, LDAP,G-Suite, Active Directory\n* Duo accounts and applications.\n\nThe Directory Object is an important concept to understand in order to successfully use JumpCloud API.\n\n## JumpCloud Graph\n\nWe've also introduced the concept of the JumpCloud Graph along with Directory Objects. The Graph is a powerful aspect of our platform which will enable you to associate objects with each other, or establish membership for certain objects to become members of other objects.\n\nSpecific `GET` endpoints will allow you to traverse the JumpCloud Graph to return all indirect and directly bound objects in your organization.\n\n| ![alt text](https://s3.amazonaws.com/jumpcloud-kb/Knowledge+Base+Photos/API+Docs/jumpcloud_graph.png \"JumpCloud Graph Model Example\") |\n|:--:|\n| **This diagram highlights our association and membership model as it relates to Directory Objects.** |\n\n# API Key\n\n## Access Your API Key\n\nTo locate your API Key:\n\n1. Log into the [JumpCloud Admin Console](https://console.jumpcloud.com/).\n2. Go to the username drop down located in the top-right of the Console.\n3. Retrieve your API key from API Settings.\n\n## API Key Considerations\n\nThis API key is associated to the currently logged in administrator. Other admins will have different API keys.\n\n**WARNING** Please keep this API key secret, as it grants full access to any data accessible via your JumpCloud console account.\n\nYou can also reset your API key in the same location in the JumpCloud Admin Console.\n\n## Recycling or Resetting Your API Key\n\nIn order to revoke access with the current API key, simply reset your API key. This will render all calls using the previous API key inaccessible.\n\nYour API key will be passed in as a header with the header name \"x-api-key\".\n\n```bash\ncurl -H \"x-api-key: [YOUR_API_KEY_HERE]\" \"https://console.jumpcloud.com/api/v2/systemgroups\"\n```\n\n# System Context\n\n* [Introduction](#introduction)\n* [Supported endpoints](#supported-endpoints)\n* [Response codes](#response-codes)\n* [Authentication](#authentication)\n* [Additional examples](#additional-examples)\n* [Third party](#third-party)\n\n## Introduction\n\nJumpCloud System Context Authorization is an alternative way to authenticate with a subset of JumpCloud's REST APIs. Using this method, a system can manage its information and resource associations, allowing modern auto provisioning environments to scale as needed.\n\n**Notes:**\n\n * The following documentation applies to Linux Operating Systems only.\n * Systems that have been automatically enrolled using Apple's Device Enrollment Program (DEP) or systems enrolled using the User Portal install are not eligible to use the System Context API to prevent unauthorized access to system groups and resources. If a script that utilizes the System Context API is invoked on a system enrolled in this way, it will display an error.\n\n## Supported Endpoints\n\nJumpCloud System Context Authorization can be used in conjunction with Systems endpoints found in the V1 API and certain System Group endpoints found in the v2 API.\n\n* A system may fetch, alter, and delete metadata about itself, including manipulating a system's Group and Systemuser associations,\n * `/api/systems/{system_id}` | [`GET`](https://docs.jumpcloud.com/api/1.0/index.html#operation/systems_get) [`PUT`](https://docs.jumpcloud.com/api/1.0/index.html#operation/systems_put)\n* A system may delete itself from your JumpCloud organization\n * `/api/systems/{system_id}` | [`DELETE`](https://docs.jumpcloud.com/api/1.0/index.html#operation/systems_delete)\n* A system may fetch its direct resource associations under v2 (Groups)\n * `/api/v2/systems/{system_id}/memberof` | [`GET`](https://docs.jumpcloud.com/api/2.0/index.html#operation/graph_systemGroupMembership)\n * `/api/v2/systems/{system_id}/associations` | [`GET`](https://docs.jumpcloud.com/api/2.0/index.html#operation/graph_systemAssociationsList)\n * `/api/v2/systems/{system_id}/users` | [`GET`](https://docs.jumpcloud.com/api/2.0/index.html#operation/graph_systemTraverseUser)\n* A system may alter its direct resource associations under v2 (Groups)\n * `/api/v2/systems/{system_id}/associations` | [`POST`](https://docs.jumpcloud.com/api/2.0/index.html#operation/graph_systemAssociationsPost)\n* A system may alter its System Group associations\n * `/api/v2/systemgroups/{group_id}/members` | [`POST`](https://docs.jumpcloud.com/api/2.0/index.html#operation/graph_systemGroupMembersPost)\n * _NOTE_ If a system attempts to alter the system group membership of a different system the request will be rejected\n\n## Response Codes\n\nIf endpoints other than those described above are called using the System Context API, the server will return a `401` response.\n\n## Authentication\n\nTo allow for secure access to our APIs, you must authenticate each API request.\nJumpCloud System Context Authorization uses [HTTP Signatures](https://tools.ietf.org/html/draft-cavage-http-signatures-00) to authenticate API requests.\nThe HTTP Signatures sent with each request are similar to the signatures used by the Amazon Web Services REST API.\nTo help with the request-signing process, we have provided an [example bash script](https://github.com/TheJumpCloud/SystemContextAPI/blob/master/examples/shell/SigningExample.sh). This example API request simply requests the entire system record. You must be root, or have permissions to access the contents of the `/opt/jc` directory to generate a signature.\n\nHere is a breakdown of the example script with explanations.\n\nFirst, the script extracts the systemKey from the JSON formatted `/opt/jc/jcagent.conf` file.\n\n```bash\n#!/bin/bash\nconf=\"`cat /opt/jc/jcagent.conf`\"\nregex=\"systemKey\\\":\\\"(\\w+)\\\"\"\n\nif [[ $conf =~ $regex ]] ; then\n systemKey=\"${BASH_REMATCH[1]}\"\nfi\n```\n\nThen, the script retrieves the current date in the correct format.\n\n```bash\nnow=`date -u \"+%a, %d %h %Y %H:%M:%S GMT\"`;\n```\n\nNext, we build a signing string to demonstrate the expected signature format. The signed string must consist of the [request-line](https://tools.ietf.org/html/rfc2616#page-35) and the date header, separated by a newline character.\n\n```bash\nsignstr=\"GET /api/systems/${systemKey} HTTP/1.1\\ndate: ${now}\"\n```\n\nThe next step is to calculate and apply the signature. This is a two-step process:\n\n1. Create a signature from the signing string using the JumpCloud Agent private key: ``printf \"$signstr\" | openssl dgst -sha256 -sign /opt/jc/client.key``\n2. Then Base64-encode the signature string and trim off the newline characters: ``| openssl enc -e -a | tr -d '\\n'``\n\nThe combined steps above result in:\n\n```bash\nsignature=`printf \"$signstr\" | openssl dgst -sha256 -sign /opt/jc/client.key | openssl enc -e -a | tr -d '\\n'` ;\n```\n\nFinally, we make sure the API call sending the signature has the same Authorization and Date header values, HTTP method, and URL that were used in the signing string.\n\n```bash\ncurl -iq \\\n -H \"Accept: application/json\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Date: ${now}\" \\\n -H \"Authorization: Signature keyId=\\\"system/${systemKey}\\\",headers=\\\"request-line date\\\",algorithm=\\\"rsa-sha256\\\",signature=\\\"${signature}\\\"\" \\\n --url https://console.jumpcloud.com/api/systems/${systemKey}\n```\n\n### Input Data\n\nAll PUT and POST methods should use the HTTP Content-Type header with a value of 'application/json'. PUT methods are used for updating a record. POST methods are used to create a record.\n\nThe following example demonstrates how to update the `displayName` of the system.\n\n```bash\nsignstr=\"PUT /api/systems/${systemKey} HTTP/1.1\\ndate: ${now}\"\nsignature=`printf \"$signstr\" | openssl dgst -sha256 -sign /opt/jc/client.key | openssl enc -e -a | tr -d '\\n'` ;\n\ncurl -iq \\\n -d \"{\\\"displayName\\\" : \\\"updated-system-name-1\\\"}\" \\\n -X \"PUT\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Accept: application/json\" \\\n -H \"Date: ${now}\" \\\n -H \"Authorization: Signature keyId=\\\"system/${systemKey}\\\",headers=\\\"request-line date\\\",algorithm=\\\"rsa-sha256\\\",signature=\\\"${signature}\\\"\" \\\n --url https://console.jumpcloud.com/api/systems/${systemKey}\n```\n\n### Output Data\n\nAll results will be formatted as JSON.\n\nHere is an abbreviated example of response output:\n\n```json\n{\n \"_id\": \"625ee96f52e144993e000015\",\n \"agentServer\": \"lappy386\",\n \"agentVersion\": \"0.9.42\",\n \"arch\": \"x86_64\",\n \"displayName\": \"ubuntu-1204\",\n \"firstContact\": \"2013-10-16T19:30:55.611Z\",\n \"hostname\": \"ubuntu-1204\"\n ...\n```\n\n## Additional Examples\n\n### Signing Authentication Example\n\nThis example demonstrates how to make an authenticated request to fetch the JumpCloud record for this system.\n\n[SigningExample.sh](https://github.com/TheJumpCloud/SystemContextAPI/blob/master/examples/shell/SigningExample.sh)\n\n### Shutdown Hook\n\nThis example demonstrates how to make an authenticated request on system shutdown.\nUsing an init.d script registered at run level 0, you can call the System Context API as the system is shutting down.\n\n[Instance-shutdown-initd](https://github.com/TheJumpCloud/SystemContextAPI/blob/master/examples/instance-shutdown-initd) is an example of an init.d script that only runs at system shutdown.\n\nAfter customizing the [instance-shutdown-initd](https://github.com/TheJumpCloud/SystemContextAPI/blob/master/examples/instance-shutdown-initd) script, you should install it on the system(s) running the JumpCloud agent.\n\n1. Copy the modified [instance-shutdown-initd](https://github.com/TheJumpCloud/SystemContextAPI/blob/master/examples/instance-shutdown-initd) to `/etc/init.d/instance-shutdown`.\n2. On Ubuntu systems, run `update-rc.d instance-shutdown defaults`. On RedHat/CentOS systems, run `chkconfig --add instance-shutdown`.\n\n## Third Party\n\n### Chef Cookbooks\n\n[https://github.com/nshenry03/jumpcloud](https://github.com/nshenry03/jumpcloud)\n\n[https://github.com/cjs226/jumpcloud](https://github.com/cjs226/jumpcloud)\n\n# Multi-Tenant Portal Headers\n\nMulti-Tenant Organization API Headers are available for JumpCloud Admins to use when making API requests from Organizations that have multiple managed organizations.\n\nThe `x-org-id` is a required header for all multi-tenant admins when making API requests to JumpCloud. This header will define to which organization you would like to make the request.\n\n**NOTE** Single Tenant Admins do not need to provide this header when making an API request.\n\n## Header Value\n\n`x-org-id`\n\n## API Response Codes\n\n* `400` Malformed ID.\n* `400` x-org-id and Organization path ID do not match.\n* `401` ID not included for multi-tenant admin\n* `403` ID included on unsupported route.\n* `404` Organization ID Not Found.\n\n```bash\ncurl -X GET https://console.jumpcloud.com/api/v2/directories \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -H 'x-org-id: {ORG_ID}'\n\n```\n\n## To Obtain an Individual Organization ID via the UI\n\nAs a prerequisite, your Primary Organization will need to be setup for Multi-Tenancy. This provides access to the Multi-Tenant Organization Admin Portal.\n\n1. Log into JumpCloud [Admin Console](https://console.jumpcloud.com). If you are a multi-tenant Admin, you will automatically be routed to the Multi-Tenant Admin Portal.\n2. From the Multi-Tenant Portal's primary navigation bar, select the Organization you'd like to access.\n3. You will automatically be routed to that Organization's Admin Console.\n4. Go to Settings in the sub-tenant's primary navigation.\n5. You can obtain your Organization ID below your Organization's Contact Information on the Settings page.\n\n## To Obtain All Organization IDs via the API\n\n* You can make an API request to this endpoint using the API key of your Primary Organization. `https://console.jumpcloud.com/api/organizations/` This will return all your managed organizations.\n\n```bash\ncurl -X GET \\\n https://console.jumpcloud.com/api/organizations/ \\\n -H 'Accept: application/json' \\\n -H 'Content-Type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```\n\n# SDKs\n\nYou can find language specific SDKs that can help you kickstart your Integration with JumpCloud in the following GitHub repositories:\n\n* [Python](https://github.com/TheJumpCloud/jcapi-python)\n* [Go](https://github.com/TheJumpCloud/jcapi-go)\n* [Ruby](https://github.com/TheJumpCloud/jcapi-ruby)\n* [Java](https://github.com/TheJumpCloud/jcapi-java)\n", + "title": "JumpCloud API", + "version": "2.0" + }, + "parameters": { + "trait:GraphObjectWithPaths:details": { + "description": "This will provide detail descriptive response for the request.", + "enum": [ + "v1" + ], + "in": "query", + "name": "details", + "type": "string", + "x-ms-enum": { + "name": "GraphObjectWithPaths-Details" + } + }, + "trait:authnfallbackpolicy:resourceType": { + "in": "path", + "items": { + "enum": [ + "userportal", + "application", + "ldap" + ], + "type": "string", + "x-ms-enum": { + "name": "authnfallbackpolicy-resourceType" + } + }, + "name": "resource_type", + "required": true, + "type": "string" + }, + "trait:bulkJobQueryParameters:suppressEmail": { + "description": "An option indicating whether to suppress the job results email that will\notherwise be sent to the Administrator who created the job. If true, the\nemail won't be sent. If omitted or false, the email will be sent.\n", + "in": "query", + "name": "suppressEmail", + "type": "boolean" + }, + "trait:fields:fields": { + "default": [], + "description": "The comma separated fields included in the returned records.\nIf omitted, the default list of fields will be returned.\n", + "in": "query", + "items": { + "type": "string" + }, + "name": "fields", + "type": "array" + }, + "trait:filter:filter": { + "default": [], + "description": "A filter to apply to the query.\n\n**Filter structure**: `::`.\n\n**field** = Populate with a valid field from an endpoint response.\n\n**operator** = Supported operators are: eq, ne, gt, ge, lt, le, between, search, in.\n_Note: v1 operators differ from v2 operators._\n\n**value** = Populate with the value you want to search for. Is case sensitive. Supports wild cards.\n\n**EX:** `GET /api/v2/groups?filter=name:eq:Test+Group`", + "in": "query", + "items": { + "type": "string" + }, + "name": "filter", + "type": "array" + }, + "trait:filter:filterUserGroupMembership": { + "default": [], + "description": "A filter to apply to the query.\n\n**Filter structure**: `::`.\n\n**field** = Populate with a valid field from an endpoint response.\n\n**operator** = Supported operators are: eq, ne, gt, ge, lt, le, between, search, in.\n_Note: v1 operators differ from v2 operators._\n\n**value** = Populate with the value you want to search for. Is case sensitive. Supports wild cards.\n\n**Valid filter fields**: `object_id` and `type`.\n\n**EX:** `GET /api/v2/usergroups/{GroupID}/membership?filter=type:eq:user_group`", + "in": "query", + "items": { + "type": "string" + }, + "name": "filter", + "type": "array" + }, + "trait:filter:filterUserMemberOf": { + "default": [], + "description": "A filter to apply to the query.\n\n**Filter structure**: `::`.\n\n**field** = Populate with a valid field from an endpoint response.\n\n**operator** = Supported operators are: eq, ne, gt, ge, lt, le, between, search, in.\n_Note: v1 operators differ from v2 operators._\n\n**value** = Populate with the value you want to search for. Is case sensitive. Supports wild cards.\n\n**Valid filter fields**: `object_id` and `type`.\n\n**EX:** `GET /api/v2/users/{UserID}/memberof?filter=type:eq:user_group`", + "in": "query", + "items": { + "type": "string" + }, + "name": "filter", + "type": "array" + }, + "trait:graphTargetsActiveDirectory:targets": { + "description": "Targets which a \"active_directory\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "user", + "user_group" + ], + "x-ms-enum": { + "name": "graphTargetsActiveDirectory-Targets" + } + }, + "trait:graphTargetsApplication:targets": { + "description": "Targets which a \"application\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "user", + "user_group" + ], + "x-ms-enum": { + "name": "graphTargetsApplication-Targets" + } + }, + "trait:graphTargetsCommand:targets": { + "description": "Targets which a \"command\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "system", + "system_group", + "password_manager_item" + ], + "x-ms-enum": { + "name": "graphTargetsCommand-Targets1", + "values": [ + { + "name": "systems", + "value": "system" + }, + { + "name": "systems_group", + "value": "system_group" + }, + { + "name": "password_manager_item", + "value": "password_manager_item" + } + ] + } + }, + "trait:graphTargetsGSuite:targets": { + "description": "Targets which a \"g_suite\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "user", + "user_group" + ], + "x-ms-enum": { + "name": "graphTargetsGSuite-Targets" + } + }, + "trait:graphTargetsLdapServer:targets": { + "description": "Targets which a \"ldap_server\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "user", + "user_group" + ], + "x-ms-enum": { + "name": "graphTargetsLdapServer-Targets" + } + }, + "trait:graphTargetsOffice365:targets": { + "description": "Targets which a \"office_365\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "user", + "user_group" + ], + "x-ms-enum": { + "name": "graphTargetsOffice365-Targets" + } + }, + "trait:graphTargetsPolicy:targets": { + "description": "Targets which a \"policy\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "system", + "system_group" + ], + "x-ms-enum": { + "name": "graphTargetsPolicy-Targets3", + "values": [ + { + "name": "systems", + "value": "system" + }, + { + "name": "systems_group", + "value": "system_group" + } + ] + } + }, + "trait:graphTargetsPolicyGroup:targets": { + "description": "Targets which a \"policy_group\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "system", + "system_group" + ], + "x-ms-enum": { + "name": "graphTargetsPolicyGroup-Targets3", + "values": [ + { + "name": "systems", + "value": "system" + }, + { + "name": "systems_group", + "value": "system_group" + } + ] + } + }, + "trait:graphTargetsRadiusServer:targets": { + "description": "Targets which a \"radius_server\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "user", + "user_group" + ], + "x-ms-enum": { + "name": "graphTargetsRadiusServer-Targets" + } + }, + "trait:graphTargetsSoftwareApp:targets": { + "description": "Targets which a \"software_app\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "system", + "system_group" + ], + "x-ms-enum": { + "name": "graphTargetsSoftwareApp-Targets3", + "values": [ + { + "name": "systems", + "value": "system" + }, + { + "name": "systems_group", + "value": "system_group" + } + ] + } + }, + "trait:graphTargetsSystem:targets": { + "description": "Targets which a \"system\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "command", + "policy", + "policy_group", + "user", + "user_group" + ], + "x-ms-enum": { + "name": "graphTargetsSystem-Targets4" + } + }, + "trait:graphTargetsSystemGroup:targets": { + "description": "Targets which a \"system_group\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "command", + "policy", + "policy_group", + "user", + "user_group" + ], + "x-ms-enum": { + "name": "graphTargetsSystemGroup-Targets4" + } + }, + "trait:graphTargetsUser:targets": { + "description": "Targets which a \"user\" can be associated to.", + "in": "query", + "name": "targets", + "required": true, + "type": "string", + "enum": [ + "active_directory", + "application", + "g_suite", + "idp_routing_policy", + "ldap_server", + "office_365", + "password_manager_item", + "radius_server", + "system", + "system_group" + ], + "x-ms-enum": { + "name": "graphTargetsUser-Targets5", + "values": [ + { + "name": "active_directory", + "value": "active_directory" + }, + { + "name": "application", + "value": "application" + }, + { + "name": "g_suite", + "value": "g_suite" + }, + { + "name": "idp_routing_policy", + "value": "idp_routing_policy" + }, + { + "name": "ldap_server", + "value": "ldap_server" + }, + { + "name": "office_365", + "value": "office_365" + }, + { + "name": "password_manager_item", + "value": "password_manager_item" + }, + { + "name": "radius_server", + "value": "radius_server" + }, + { + "name": "systems", + "value": "system" + }, + { + "name": "systems_group", + "value": "system_group" + } + ] + } + }, + "trait:graphTargetsUserGroup:targets": { + "description": "Targets which a \"user_group\" can be associated to.", "in": "query", - "name": "details", + "name": "targets", + "required": true, "type": "string", + "enum": [ + "active_directory", + "application", + "g_suite", + "idp_routing_policy", + "ldap_server", + "office_365", + "password_manager_item", + "radius_server", + "system", + "system_group" + ], "x-ms-enum": { - "name": "GraphObjectWithPaths-Details" + "name": "graphTargetsUserGroup-Targets5", + "values": [ + { + "name": "active_directory", + "value": "active_directory" + }, + { + "name": "application", + "value": "application" + }, + { + "name": "g_suite", + "value": "g_suite" + }, + { + "name": "idp_routing_policy", + "value": "idp_routing_policy" + }, + { + "name": "ldap_server", + "value": "ldap_server" + }, + { + "name": "office_365", + "value": "office_365" + }, + { + "name": "password_manager_item", + "value": "password_manager_item" + }, + { + "name": "radius_server", + "value": "radius_server" + }, + { + "name": "systems", + "value": "system" + }, + { + "name": "systems_group", + "value": "system_group" + } + ] } }, - "trait:authnfallbackpolicy:resourceType": { - "in": "path", + "trait:gsuite:allowEmptyFields": { + "default": false, + "description": "[EXPERIMENTAL] Allow empty fields of the user object to be sent in the response", + "in": "query", + "name": "allowEmptyFields", + "type": "boolean" + }, + "trait:gsuite:maxResults": { + "description": "Google Directory API maximum number of results per page. See https://developers.google.com/admin-sdk/directory/reference/rest/v1/users/list.", + "in": "query", + "name": "maxResults", + "type": "integer" + }, + "trait:gsuite:orderBy": { + "description": "Google Directory API sort field parameter. See https://developers.google.com/admin-sdk/directory/reference/rest/v1/users/list.", + "in": "query", + "name": "orderBy", + "type": "string" + }, + "trait:gsuite:pageToken": { + "description": "Google Directory API token used to access the next page of results. See https://developers.google.com/admin-sdk/directory/reference/rest/v1/users/list.", + "in": "query", + "name": "pageToken", + "type": "string" + }, + "trait:gsuite:query": { + "description": "Google Directory API search parameter. See https://developers.google.com/admin-sdk/directory/v1/guides/search-users.", + "in": "query", + "name": "query", + "type": "string" + }, + "trait:gsuite:sortOrder": { + "description": "Google Directory API sort direction parameter. See https://developers.google.com/admin-sdk/directory/reference/rest/v1/users/list.", + "in": "query", + "name": "sortOrder", + "type": "string" + }, + "trait:limit:limit": { + "default": 10, + "description": "The number of records to return at once. Limited to 100.", + "in": "query", + "name": "limit", + "type": "integer" + }, + "trait:limitDefault1:limit": { + "default": 1, + "in": "query", + "maximum": 100, + "minimum": 0, + "name": "limit", + "type": "integer" + }, + "trait:listCount:x-total-count": { + "in": "header", + "name": "x-total-count", + "type": "integer" + }, + "trait:listCount:x-unfiltered-total-count": { + "description": "If provided in the request with any non-empty value, this header will be returned on the response populated with the total count of objects without filters taken into account", + "in": "header", + "name": "x-unfiltered-total-count", + "type": "integer" + }, + "trait:o365:ConsistencyLevel": { + "description": "Defines the consistency header for O365 requests. See https://docs.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0&tabs=http#request-headers", + "in": "header", + "name": "ConsistencyLevel", + "type": "string" + }, + "trait:skip:skip": { + "default": 0, + "description": "The offset into the records to return.", + "in": "query", + "minimum": 0, + "name": "skip", + "required": false, + "type": "integer" + }, + "trait:sort:sort": { + "default": [], + "description": "The comma separated fields used to sort the collection.\nDefault sort is ascending, prefix with `-` to sort descending.\n", + "in": "query", "items": { - "enum": [ - "userportal", - "application", - "ldap" - ], - "type": "string", - "x-ms-enum": { - "name": "authnfallbackpolicy-resourceType" - } + "type": "string" }, - "name": "resource_type", - "required": true, + "name": "sort", + "type": "array" + }, + "trait:sortIgnoreCase:sortIgnoreCase": { + "default": [], + "description": "The comma separated fields used to sort the collection, ignoring case.\nDefault sort is ascending, prefix with `-` to sort descending.\n", + "in": "query", + "items": { + "type": "string" + }, + "name": "sortIgnoreCase", + "type": "array" + }, + "trait:systemContextAuth:Authorization": { + "description": "Authorization header for the System Context API", + "in": "header", + "name": "Authorization", "type": "string" }, - "trait:bulkJobQueryParameters:suppressEmail": { - "description": "An option indicating whether to suppress the job results email that will\notherwise be sent to the Administrator who created the job. If true, the\nemail won't be sent. If omitted or false, the email will be sent.\n", + "trait:systemContextAuth:Date": { + "description": "Current date header for the System Context API", + "in": "header", + "name": "Date", + "type": "string" + }, + "trait:systemInsightsCertificatesFilter:filter": { + "default": [], + "description": "Supported operators are: eq, in. e.g:\nFilter for single value:\n`filter=field:eq:value`\nFilter value in a list: (note \"pipe\" character: `|` separating values)\n`filter=field:in:value1|value2|value3`\nNote: You can only filter by `system_id` and `common_name`\n", "in": "query", - "name": "suppressEmail", - "type": "boolean" + "items": { + "type": "string" + }, + "name": "filter", + "type": "array" }, - "trait:fields:fields": { + "trait:systemInsightsControlsFilter:filter": { "default": [], - "description": "The comma separated fields included in the returned records.\nIf omitted, the default list of fields will be returned.\n", + "description": "Supported operators are: eq, in. e.g:\nFilter for single value:\n`filter=field:eq:value`\nFilter value in a list: (note \"pipe\" character: `|` separating values)\n`filter=field:in:value1|value2|value3`\nNote: You can only filter by `system_id` and `name`\n", "in": "query", "items": { "type": "string" }, - "name": "fields", + "name": "filter", + "type": "array" + }, + "trait:systemInsightsFilter:filter": { + "default": [], + "description": "Supported operators are: eq, in. e.g:\nFilter for single value:\n`filter=field:eq:value`\nFilter for any value in a list: (note \"pipe\" character: `|` separating values)\n`filter=field:in:value1|value2|value3`\n", + "in": "query", + "items": { + "type": "string" + }, + "name": "filter", "type": "array" }, - "trait:filter:filter": { + "trait:systemInsightsFilterUptime:filter": { + "default": [], + "description": "Supported operators are: eq, gte, in. e.g:\nFilter for single value:\n`filter=field:gte:value`\nFilter for any value in a list: (note \"pipe\" character: `|` separating values)\n`filter=field:in:value1|value2|value3`\n", + "in": "query", + "items": { + "type": "string" + }, + "name": "filter", + "type": "array" + }, + "trait:systemInsightsLimit:limit": { + "default": 10, + "in": "query", + "maximum": 10000, + "minimum": 0, + "name": "limit", + "type": "integer" + }, + "trait:systemInsightsSort:sort": { "default": [], - "description": "A filter to apply to the query.\n\n**Filter structure**: `::`.\n\n**field** = Populate with a valid field from an endpoint response.\n\n**operator** = Supported operators are: eq, ne, gt, ge, lt, le, between, search, in.\n_Note: v1 operators differ from v2 operators._\n\n**value** = Populate with the value you want to search for. Is case sensitive. Supports wild cards.\n\n**EX:** `GET /api/v2/groups?filter=name:eq:Test+Group`", + "description": "The comma separated fields used to sort the collection.\nDefault sort is ascending, prefix with `-` to sort descending. e.g:\nSort by single field:\n`sort=field`\nSort descending by single field:\n`sort=-field`\nSort by multiple fields:\n`sort=field1,-field2,field3`\n", "in": "query", "items": { "type": "string" }, - "name": "filter", + "name": "sort", "type": "array" - }, - "trait:graphTargetsActiveDirectory:targets": { - "description": "Targets which a \"active_directory\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "user", - "user_group" + } + }, + "paths": { + "/accessrequests": {}, + "/accessrequests/{accessId}": {}, + "/accessrequests/{accessId}/revoke": {}, + "/accountManagerCalendar/{id}": { + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "type": "string" + } ], - "x-ms-enum": { - "name": "graphTargetsActiveDirectory-Targets" - } + "x-functionalities-tags": [ + "accounts-page-upgrade" + ] }, - "trait:graphTargetsApplication:targets": { - "description": "Targets which a \"application\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "user", - "user_group" - ], - "x-ms-enum": { - "name": "graphTargetsApplication-Targets" - } + "/activedirectories": { + "get": { + "description": "This endpoint allows you to list all your Active Directory Instances.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/activedirectories/ \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n ```", + "operationId": "ActiveDirectory_List", + "parameters": [ + { + "$ref": "#/parameters/trait:fields:fields" + }, + { + "$ref": "#/parameters/trait:filter:filter" + }, + { + "$ref": "#/parameters/trait:limit:limit" + }, + { + "$ref": "#/parameters/trait:skip:skip" + }, + { + "$ref": "#/parameters/trait:sort:sort" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "items": { + "$ref": "#/definitions/active-directory" + }, + "type": "array" + } + } + }, + "security": [ + { + "x-api-key": [] + } + ], + "summary": "List Active Directories", + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/activedirectories?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" + }, + { + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + }, + { + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories?limit=10&skip=0' -Method GET -Headers $headers" + } + ] + }, + "parameters": [], + "post": { + "description": "This endpoint allows you to create a new Active Directory.\n\n\n#### Sample Request\n```\ncurl -X POST https://console.jumpcloud.com/api/v2/activedirectories/ \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{\n \"domain\": \"{DC=AD_domain_name;DC=com}\"\n }'\n```", + "operationId": "ActiveDirectory_Create", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/active-directory" + } + } + ], + "responses": { + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/active-directory" + } + } + }, + "security": [ + { + "x-api-key": [] + } + ], + "summary": "Create a new Active Directory", + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/activedirectories \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"delegationState\":\"ENABLED\",\"domain\":\"string\",\"groupsEnabled\":true,\"updatedAt\":\"2019-08-24T14:15:22Z\",\"useCase\":\"UNSET\"}'" + }, + { + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories\"\n\npayload = {\n \"delegationState\": \"ENABLED\",\n \"domain\": \"string\",\n \"groupsEnabled\": True,\n \"updatedAt\": \"2019-08-24T14:15:22Z\",\n \"useCase\": \"UNSET\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + }, + { + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"delegationState\":\"ENABLED\",\"domain\":\"string\",\"groupsEnabled\":true,\"updatedAt\":\"2019-08-24T14:15:22Z\",\"useCase\":\"UNSET\"}'" + } + ] + }, + "x-functionalities-tags": [ + "active-directory" + ] }, - "trait:graphTargetsCommand:targets": { - "description": "Targets which a \"command\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "system", - "system_group" + "/activedirectories/translation-rules/preview": {}, + "/activedirectories/{activedirectory_id}/agents": { + "get": { + "description": "This endpoint allows you to list all your Active Directory Agents for a given Instance.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n ```", + "operationId": "ActiveDirectoryAgent_List", + "parameters": [ + { + "$ref": "#/parameters/trait:limit:limit" + }, + { + "$ref": "#/parameters/trait:skip:skip" + }, + { + "$ref": "#/parameters/trait:sort:sort" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "items": { + "$ref": "#/definitions/active-directory-agent-list" + }, + "type": "array" + } + } + }, + "security": [ + { + "x-api-key": [] + } + ], + "summary": "List Active Directory Agents", + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" + }, + { + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + }, + { + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents?limit=10&skip=0' -Method GET -Headers $headers" + } + ] + }, + "parameters": [ + { + "in": "path", + "name": "activedirectory_id", + "required": true, + "type": "string" + } ], - "x-ms-enum": { - "name": "graphTargetsCommand-Targets1", - "values": [ + "post": { + "description": "This endpoint allows you to create a new Active Directory Agent.\n\n\n#### Sample Request\n```\ncurl -X POST https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{ \"agent_type\":\"{SYNC}\" }'\n```", + "operationId": "ActiveDirectoryAgent_Create", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/active-directory-agent" + } + } + ], + "responses": { + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/active-directory-agent-get" + } + } + }, + "security": [ + { + "x-api-key": [] + } + ], + "summary": "Create a new Active Directory Agent", + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"agentType\":\"SYNC\"}'" + }, + { + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents\"\n\npayload = {\"agentType\": \"SYNC\"}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + }, + { + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"agentType\":\"SYNC\"}'" + } + ] + }, + "x-functionalities-tags": [ + "active-directory" + ] + }, + "/activedirectories/{activedirectory_id}/agents/{agent_id}": { + "delete": { + "description": "This endpoint deletes an Active Directory agent.\n\n#### Sample Request\n```\ncurl -X DELETE https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id} \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "ActiveDirectoryAgent_Delete", + "parameters": [], + "responses": { + "204": { + "description": "" + } + }, + "security": [ { - "name": "systems", - "value": "system" + "x-api-key": [] + } + ], + "summary": "Delete Active Directory Agent", + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { - "name": "systems_group", - "value": "system_group" + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + }, + { + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id}' -Method DELETE -Headers $headers" } ] - } - }, - "trait:graphTargetsGSuite:targets": { - "description": "Targets which a \"g_suite\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "user", - "user_group" - ], - "x-ms-enum": { - "name": "graphTargetsGSuite-Targets" - } - }, - "trait:graphTargetsLdapServer:targets": { - "description": "Targets which a \"ldap_server\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "user", - "user_group" - ], - "x-ms-enum": { - "name": "graphTargetsLdapServer-Targets" - } - }, - "trait:graphTargetsOffice365:targets": { - "description": "Targets which a \"office_365\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "user", - "user_group" - ], - "x-ms-enum": { - "name": "graphTargetsOffice365-Targets" - } - }, - "trait:graphTargetsPolicy:targets": { - "description": "Targets which a \"policy\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "system", - "system_group" - ], - "x-ms-enum": { - "name": "graphTargetsPolicy-Targets1", - "values": [ + }, + "get": { + "description": "This endpoint returns an Active Directory agent.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id} \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "ActiveDirectoryAgent_Get", + "parameters": [], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/active-directory-agent-list" + } + } + }, + "security": [ { - "name": "systems", - "value": "system" + "x-api-key": [] + } + ], + "summary": "Get Active Directory Agent", + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { - "name": "systems_group", - "value": "system_group" + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + }, + { + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id}' -Method GET -Headers $headers" } ] - } - }, - "trait:graphTargetsPolicyGroup:targets": { - "description": "Targets which a \"policy_group\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "system", - "system_group" + }, + "parameters": [ + { + "in": "path", + "name": "activedirectory_id", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "agent_id", + "required": true, + "type": "string" + } ], - "x-ms-enum": { - "name": "graphTargetsPolicyGroup-Targets1", - "values": [ + "x-functionalities-tags": [ + "active-directory" + ] + }, + "/activedirectories/{activedirectory_id}/associations": { + "get": { + "description": "This endpoint returns the direct associations of this Active Directory instance.\n\nA direct association can be a non-homogeneous relationship between 2 different objects, for example Active Directory and Users.\n\n\n#### Sample Request\n```\ncurl -X GET 'https://console.jumpcloud.com/api/v2/activedirectories/{ActiveDirectory_ID}/associations?targets=user \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "ActiveDirectoryAssociation_Get", + "parameters": [ { - "name": "systems", - "value": "system" + "$ref": "#/parameters/trait:graphTargetsActiveDirectory:targets" }, { - "name": "systems_group", - "value": "system_group" + "$ref": "#/parameters/trait:limit:limit" + }, + { + "$ref": "#/parameters/trait:skip:skip" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "items": { + "$ref": "#/definitions/GraphConnection" + }, + "type": "array" + } + } + }, + "security": [ + { + "x-api-key": [] + } + ], + "summary": "List the associations of an Active Directory instance", + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" + }, + { + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + }, + { + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] - } - }, - "trait:graphTargetsRadiusServer:targets": { - "description": "Targets which a \"radius_server\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "user", - "user_group" - ], - "x-ms-enum": { - "name": "graphTargetsRadiusServer-Targets" - } - }, - "trait:graphTargetsSoftwareApp:targets": { - "description": "Targets which a \"software_app\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "system", - "system_group" + }, + "parameters": [ + { + "in": "path", + "name": "activedirectory_id", + "required": true, + "type": "string" + } ], - "x-ms-enum": { - "name": "graphTargetsSoftwareApp-Targets1", - "values": [ + "post": { + "description": "This endpoint allows you to manage the _direct_ associations of an Active Directory instance.\n\nA direct association can be a non-homogeneous relationship between 2 different objects, for example Active Directory and Users.\n\n#### Sample Request\n```\ncurl -X POST https://console.jumpcloud.com/api/v2/activedirectories/{AD_Instance_ID}/associations \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{\n \"op\": \"add\",\n \"type\": \"user\",\n \"id\": \"{User_ID}\"\n }'\n```", + "operationId": "ActiveDirectoryAssociation_Set", + "parameters": [ { - "name": "systems", - "value": "system" + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/GraphOperation-ActiveDirectory" + } + } + ], + "responses": { + "204": { + "description": "" + } + }, + "security": [ + { + "x-api-key": [] + } + ], + "summary": "Manage the associations of an Active Directory instance", + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" }, { - "name": "systems_group", - "value": "system_group" + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + }, + { + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" } ] - } + }, + "x-functionalities-tags": [ + "active-directory" + ] + }, + "/activedirectories/{activedirectory_id}/translation-rules": { + "parameters": [ + { + "description": "ObjectID of the Active Directory instance.", + "in": "path", + "name": "activedirectory_id", + "required": true, + "type": "string" + } + ] }, - "trait:graphTargetsSystem:targets": { - "description": "Targets which a \"system\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "command", - "policy", - "policy_group", - "user", - "user_group" - ], - "x-ms-enum": { - "name": "graphTargetsSystem-Targets2" - } + "/activedirectories/{activedirectory_id}/translation-rules/bulk": { + "parameters": [ + { + "in": "path", + "name": "activedirectory_id", + "required": true, + "type": "string" + } + ] }, - "trait:graphTargetsSystemGroup:targets": { - "description": "Targets which a \"system_group\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "command", - "policy", - "policy_group", - "user", - "user_group" - ], - "x-ms-enum": { - "name": "graphTargetsSystemGroup-Targets2" - } + "/activedirectories/{activedirectory_id}/translation-rules/{translation_rule_object_id}": { + "parameters": [ + { + "in": "path", + "name": "activedirectory_id", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "translation_rule_object_id", + "required": true, + "type": "string" + } + ] }, - "trait:graphTargetsUser:targets": { - "description": "Targets which a \"user\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "active_directory", - "application", - "g_suite", - "idp_routing_policy", - "ldap_server", - "office_365", - "password_manager_item", - "radius_server", - "system", - "system_group" - ], - "x-ms-enum": { - "name": "graphTargetsUser-Targets3", - "values": [ + "/activedirectories/{activedirectory_id}/usergroups": { + "get": { + "description": "This endpoint will return all Users Groups bound to an Active Directory instance, either directly or indirectly, essentially traversing the JumpCloud Graph for your Organization.\n\nEach element will contain the group's type, id, attributes and paths.\n\nThe `attributes` object is a key/value hash of compiled graph attributes for all paths followed.\n\nThe `paths` array enumerates each path from this Active Directory instance to the corresponding User Group; this array represents all grouping and/or associations that would have to be removed to deprovision the User Group from this Active Directory instance.\n\nSee `/members` and `/associations` endpoints to manage those collections.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/activedirectories/{ActiveDirectory_ID}/usergroups \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "ActiveDirectoryTraverseUserGroup_Get", + "parameters": [ { - "name": "active_directory", - "value": "active_directory" + "$ref": "#/parameters/trait:limit:limit" }, { - "name": "application", - "value": "application" + "$ref": "#/parameters/trait:skip:skip" }, { - "name": "g_suite", - "value": "g_suite" - }, + "$ref": "#/parameters/trait:filter:filter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "items": { + "$ref": "#/definitions/GraphObjectWithPaths" + }, + "type": "array" + } + } + }, + "security": [ { - "name": "idp_routing_policy", - "value": "idp_routing_policy" + "x-api-key": [] + } + ], + "summary": "List the User Groups bound to an Active Directory instance", + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/usergroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { - "name": "ldap_server", - "value": "ldap_server" + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { - "name": "office_365", - "value": "office_365" + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/usergroups?limit=10&skip=0' -Method GET -Headers $headers" + } + ] + }, + "parameters": [ + { + "description": "ObjectID of the Active Directory instance.", + "in": "path", + "name": "activedirectory_id", + "required": true, + "type": "string" + } + ], + "x-functionalities-tags": [ + "active-directory" + ] + }, + "/activedirectories/{activedirectory_id}/users": { + "get": { + "description": "This endpoint will return all Users bound to an Active Directory instance, either directly or indirectly, essentially traversing the JumpCloud Graph for your Organization.\n\nEach element will contain the type, id, attributes and paths.\n\nThe `attributes` object is a key/value hash of compiled graph attributes for all paths followed.\n\nThe `paths` array enumerates each path from this Active Directory instance to the corresponding User; this array represents all grouping and/or associations that would have to be removed to deprovision the User from this Active Directory instance.\n\nSee `/members` and `/associations` endpoints to manage those collections.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/activedirectories/{ActiveDirectory_ID}/users \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "ActiveDirectoryTraverseUser_Get", + "parameters": [ + { + "$ref": "#/parameters/trait:filter:filter" }, { - "name": "password_manager_item", - "value": "password_manager_item" + "$ref": "#/parameters/trait:limit:limit" }, { - "name": "radius_server", - "value": "radius_server" + "$ref": "#/parameters/trait:skip:skip" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "items": { + "$ref": "#/definitions/GraphObjectWithPaths" + }, + "type": "array" + } + } + }, + "security": [ + { + "x-api-key": [] + } + ], + "summary": "List the Users bound to an Active Directory instance", + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/users?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { - "name": "systems", - "value": "system" + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { - "name": "systems_group", - "value": "system_group" + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/users?limit=10&skip=0' -Method GET -Headers $headers" } ] - } - }, - "trait:graphTargetsUserGroup:targets": { - "description": "Targets which a \"user_group\" can be associated to.", - "in": "query", - "name": "targets", - "required": true, - "type": "string", - "enum": [ - "active_directory", - "application", - "g_suite", - "idp_routing_policy", - "ldap_server", - "office_365", - "password_manager_item", - "radius_server", - "system", - "system_group" + }, + "parameters": [ + { + "description": "ObjectID of the Active Directory instance.", + "in": "path", + "name": "activedirectory_id", + "required": true, + "type": "string" + } ], - "x-ms-enum": { - "name": "graphTargetsUserGroup-Targets3", - "values": [ + "x-functionalities-tags": [ + "active-directory" + ] + }, + "/activedirectories/{id}": { + "delete": { + "description": "This endpoint allows you to delete an Active Directory Instance.\n\n#### Sample Request\n```\ncurl -X DELETE https://console.jumpcloud.com/api/v2/activedirectories/{ActiveDirectory_ID} \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n ```", + "operationId": "ActiveDirectory_Delete", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/active-directory" + } + } + }, + "security": [ { - "name": "active_directory", - "value": "active_directory" + "x-api-key": [] + } + ], + "summary": "Delete an Active Directory", + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/activedirectories/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { - "name": "application", - "value": "application" + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { - "name": "g_suite", - "value": "g_suite" - }, + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{id}' -Method DELETE -Headers $headers" + } + ] + }, + "get": { + "description": "This endpoint returns a specific Active Directory.\n\n#### Sample Request\n\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/activedirectories/{ActiveDirectory_ID} \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n ```", + "operationId": "ActiveDirectory_Get", + "parameters": [], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/active-directory" + } + } + }, + "security": [ + { + "x-api-key": [] + } + ], + "summary": "Get an Active Directory", + "x-codeSamples": [ { - "name": "idp_routing_policy", - "value": "idp_routing_policy" + "lang": "Shell", + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/activedirectories/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { - "name": "ldap_server", - "value": "ldap_server" + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { - "name": "office_365", - "value": "office_365" - }, + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{id}' -Method GET -Headers $headers" + } + ] + }, + "parameters": [ + { + "description": "ObjectID of this Active Directory instance.", + "in": "path", + "name": "id", + "required": true, + "type": "string" + } + ], + "x-functionalities-tags": [ + "active-directory" + ] + }, + "/activedirectories/{provider_name}/translation-rules/recommendation": { + "parameters": [ + { + "description": "Provider name.", + "in": "path", + "name": "provider_name", + "required": true, + "type": "string" + } + ] + }, + "/administrators/{administrator_id}/organizationlinks/{id}": { + "delete": { + "description": "This endpoint removes the association link between an Administrator and an Organization.", + "operationId": "AdministratorOrganization_Delete", + "responses": { + "204": { + "description": "No Content" + } + }, + "security": [ { - "name": "password_manager_item", - "value": "password_manager_item" - }, + "x-api-key": [] + } + ], + "summary": "Remove association between an Administrator and an Organization.", + "x-codeSamples": [ { - "name": "radius_server", - "value": "radius_server" + "lang": "Shell", + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/administrators/{administrator_id}/organizationlinks/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { - "name": "systems", - "value": "system" + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/administrators/{administrator_id}/organizationlinks/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { - "name": "systems_group", - "value": "system_group" + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/administrators/{administrator_id}/organizationlinks/{id}' -Method DELETE -Headers $headers" } ] - } - }, - "trait:gsuite:allowEmptyFields": { - "default": false, - "description": "[EXPERIMENTAL] Allow empty fields of the user object to be sent in the response", - "in": "query", - "name": "allowEmptyFields", - "type": "boolean" - }, - "trait:gsuite:maxResults": { - "description": "Google Directory API maximum number of results per page. See https://developers.google.com/admin-sdk/directory/reference/rest/v1/users/list.", - "in": "query", - "name": "maxResults", - "type": "integer" - }, - "trait:gsuite:orderBy": { - "description": "Google Directory API sort field parameter. See https://developers.google.com/admin-sdk/directory/reference/rest/v1/users/list.", - "in": "query", - "name": "orderBy", - "type": "string" - }, - "trait:gsuite:pageToken": { - "description": "Google Directory API token used to access the next page of results. See https://developers.google.com/admin-sdk/directory/reference/rest/v1/users/list.", - "in": "query", - "name": "pageToken", - "type": "string" - }, - "trait:gsuite:query": { - "description": "Google Directory API search parameter. See https://developers.google.com/admin-sdk/directory/v1/guides/search-users.", - "in": "query", - "name": "query", - "type": "string" - }, - "trait:gsuite:sortOrder": { - "description": "Google Directory API sort direction parameter. See https://developers.google.com/admin-sdk/directory/reference/rest/v1/users/list.", - "in": "query", - "name": "sortOrder", - "type": "string" - }, - "trait:limit:limit": { - "default": 10, - "description": "The number of records to return at once. Limited to 100.", - "in": "query", - "name": "limit", - "type": "integer" - }, - "trait:limitDefault1:limit": { - "default": 1, - "in": "query", - "maximum": 100, - "minimum": 0, - "name": "limit", - "type": "integer" - }, - "trait:listCount:x-total-count": { - "in": "header", - "name": "x-total-count", - "type": "integer" - }, - "trait:listCount:x-unfiltered-total-count": { - "description": "If provided in the request with any non-empty value, this header will be returned on the response populated with the total count of objects without filters taken into account", - "in": "header", - "name": "x-unfiltered-total-count", - "type": "integer" - }, - "trait:o365:ConsistencyLevel": { - "description": "Defines the consistency header for O365 requests. See https://docs.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0&tabs=http#request-headers", - "in": "header", - "name": "ConsistencyLevel", - "type": "string" - }, - "trait:skip:skip": { - "default": 0, - "description": "The offset into the records to return.", - "in": "query", - "minimum": 0, - "name": "skip", - "required": false, - "type": "integer" - }, - "trait:sort:sort": { - "default": [], - "description": "The comma separated fields used to sort the collection.\nDefault sort is ascending, prefix with `-` to sort descending.\n", - "in": "query", - "items": { - "type": "string" - }, - "name": "sort", - "type": "array" - }, - "trait:sortIgnoreCase:sortIgnoreCase": { - "default": [], - "description": "The comma separated fields used to sort the collection, ignoring case.\nDefault sort is ascending, prefix with `-` to sort descending.\n", - "in": "query", - "items": { - "type": "string" - }, - "name": "sortIgnoreCase", - "type": "array" - }, - "trait:systemContextAuth:Authorization": { - "description": "Authorization header for the System Context API", - "in": "header", - "name": "Authorization", - "type": "string" - }, - "trait:systemContextAuth:Date": { - "description": "Current date header for the System Context API", - "in": "header", - "name": "Date", - "type": "string" - }, - "trait:systemInsightsCertificatesFilter:filter": { - "default": [], - "description": "Supported operators are: eq, in. e.g:\nFilter for single value:\n`filter=field:eq:value`\nFilter value in a list: (note \"pipe\" character: `|` separating values)\n`filter=field:in:value1|value2|value3`\nNote: You can only filter by `system_id` and `common_name`\n", - "in": "query", - "items": { - "type": "string" - }, - "name": "filter", - "type": "array" - }, - "trait:systemInsightsControlsFilter:filter": { - "default": [], - "description": "Supported operators are: eq, in. e.g:\nFilter for single value:\n`filter=field:eq:value`\nFilter value in a list: (note \"pipe\" character: `|` separating values)\n`filter=field:in:value1|value2|value3`\nNote: You can only filter by `system_id` and `name`\n", - "in": "query", - "items": { - "type": "string" - }, - "name": "filter", - "type": "array" - }, - "trait:systemInsightsFilter:filter": { - "default": [], - "description": "Supported operators are: eq, in. e.g:\nFilter for single value:\n`filter=field:eq:value`\nFilter for any value in a list: (note \"pipe\" character: `|` separating values)\n`filter=field:in:value1|value2|value3`\n", - "in": "query", - "items": { - "type": "string" - }, - "name": "filter", - "type": "array" - }, - "trait:systemInsightsFilterUptime:filter": { - "default": [], - "description": "Supported operators are: eq, gte, in. e.g:\nFilter for single value:\n`filter=field:gte:value`\nFilter for any value in a list: (note \"pipe\" character: `|` separating values)\n`filter=field:in:value1|value2|value3`\n", - "in": "query", - "items": { - "type": "string" - }, - "name": "filter", - "type": "array" - }, - "trait:systemInsightsLimit:limit": { - "default": 10, - "in": "query", - "maximum": 10000, - "minimum": 0, - "name": "limit", - "type": "integer" - }, - "trait:systemInsightsSort:sort": { - "default": [], - "description": "The comma separated fields used to sort the collection.\nDefault sort is ascending, prefix with `-` to sort descending. e.g:\nSort by single field:\n`sort=field`\nSort descending by single field:\n`sort=-field`\nSort by multiple fields:\n`sort=field1,-field2,field3`\n", - "in": "query", - "items": { - "type": "string" }, - "name": "sort", - "type": "array" - } - }, - "paths": { - "/accessrequests": {}, - "/accountManagerCalendar/{id}": { "parameters": [ + { + "in": "path", + "name": "administrator_id", + "required": true, + "type": "string" + }, { "in": "path", "name": "id", @@ -8743,36 +10186,27 @@ } ], "x-functionalities-tags": [ - "accounts-page-upgrade" + "admin" ] }, - "/activedirectories": { + "/administrators/{id}/organizationlinks": { "get": { - "description": "This endpoint allows you to list all your Active Directory Instances.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/activedirectories/ \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n ```", - "operationId": "ActiveDirectory_List", + "description": "This endpoint returns the association links between an Administrator and Organizations.", + "operationId": "AdministratorOrganizations_List", "parameters": [ - { - "$ref": "#/parameters/trait:fields:fields" - }, - { - "$ref": "#/parameters/trait:filter:filter" - }, { "$ref": "#/parameters/trait:limit:limit" }, { "$ref": "#/parameters/trait:skip:skip" - }, - { - "$ref": "#/parameters/trait:sort:sort" } ], "responses": { "200": { - "description": "", + "description": "OK", "schema": { "items": { - "$ref": "#/definitions/active-directory" + "$ref": "#/definitions/AdministratorOrganizationLink" }, "type": "array" } @@ -8783,40 +10217,47 @@ "x-api-key": [] } ], - "summary": "List Active Directories", + "summary": "List the association links between an Administrator and Organizations.", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/activedirectories?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/administrators/{id}/organizationlinks?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/administrators/{id}/organizationlinks\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/administrators/{id}/organizationlinks?limit=10&skip=0' -Method GET -Headers $headers" } ] }, - "parameters": [], + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "type": "string" + } + ], "post": { - "description": "This endpoint allows you to create a new Active Directory.\n\n\n#### Sample Request\n```\ncurl -X POST https://console.jumpcloud.com/api/v2/activedirectories/ \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{\n \"domain\": \"{DC=AD_domain_name;DC=com}\"\n }'\n```", - "operationId": "ActiveDirectory_Create", + "description": "This endpoint allows you to grant Administrator access to an Organization.", + "operationId": "AdministratorOrganization_Create", "parameters": [ { "in": "body", "name": "body", "schema": { - "$ref": "#/definitions/active-directory" + "$ref": "#/definitions/AdministratorOrganizationLinkReq" } } ], "responses": { "201": { - "description": "", + "description": "OK", "schema": { - "$ref": "#/definitions/active-directory" + "$ref": "#/definitions/AdministratorOrganizationLink" } } }, @@ -8825,40 +10266,46 @@ "x-api-key": [] } ], - "summary": "Create a new Active Directory", + "summary": "Allow Adminstrator access to an Organization.", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/activedirectories \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"delegationState\":\"ENABLED\",\"domain\":\"string\",\"groupsEnabled\":true,\"updatedAt\":\"2019-08-24T14:15:22Z\",\"useCase\":\"UNSET\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/administrators/{id}/organizationlinks \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"organization\":\"6230a0d26a4e4bc86c6b36f1\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories\"\n\npayload = {\n \"delegationState\": \"ENABLED\",\n \"domain\": \"string\",\n \"groupsEnabled\": True,\n \"updatedAt\": \"2019-08-24T14:15:22Z\",\n \"useCase\": \"UNSET\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/administrators/{id}/organizationlinks\"\n\npayload = {\"organization\": \"6230a0d26a4e4bc86c6b36f1\"}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"delegationState\":\"ENABLED\",\"domain\":\"string\",\"groupsEnabled\":true,\"updatedAt\":\"2019-08-24T14:15:22Z\",\"useCase\":\"UNSET\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/administrators/{id}/organizationlinks' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"organization\":\"6230a0d26a4e4bc86c6b36f1\"}'" } ] }, "x-functionalities-tags": [ - "active-directory" + "admin" ] }, - "/activedirectories/translation-rules/preview": {}, - "/activedirectories/{activedirectory_id}/agents": { + "/alerts": {}, + "/alerts-stats": {}, + "/alerts/bulk-delete": {}, + "/alerts/bulk-update": {}, + "/alerts/{id}": {}, + "/alerts/{id}/occurrences": {}, + "/alerts/{id}/status": {}, + "/applemdms": { "get": { - "description": "This endpoint allows you to list all your Active Directory Agents for a given Instance.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n ```", - "operationId": "ActiveDirectoryAgent_List", + "description": "Get a list of all Apple MDM configurations. An empty topic indicates that a signed certificate from Apple has not been provided to the PUT endpoint yet.\n\nNote: currently only one MDM configuration per organization is supported.\n\n#### Sample Request\n```\ncurl https://console.jumpcloud.com/api/v2/applemdms \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "AppleMDM_List", "parameters": [ { - "$ref": "#/parameters/trait:limit:limit" + "$ref": "#/parameters/trait:limitDefault1:limit" }, { "$ref": "#/parameters/trait:skip:skip" }, { - "$ref": "#/parameters/trait:sort:sort" + "$ref": "#/parameters/trait:filter:filter" } ], "responses": { @@ -8866,7 +10313,7 @@ "description": "", "schema": { "items": { - "$ref": "#/definitions/active-directory-agent-list" + "$ref": "#/definitions/AppleMDM" }, "type": "array" } @@ -8877,47 +10324,81 @@ "x-api-key": [] } ], - "summary": "List Active Directory Agents", + "summary": "List Apple MDMs", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents?limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/applemdms?limit=1&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms\"\n\nquerystring = {\"limit\":\"1\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents?limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms?limit=1&skip=0' -Method GET -Headers $headers" } ] }, + "x-functionalities-tags": [ + "mdm" + ] + }, + "/applemdms/{apple_mdm_id}/csr": { "parameters": [ { "in": "path", - "name": "activedirectory_id", + "name": "apple_mdm_id", "required": true, "type": "string" } ], - "post": { - "description": "This endpoint allows you to create a new Active Directory Agent.\n\n\n#### Sample Request\n```\ncurl -X POST https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{ \"agent_type\":\"{SYNC}\" }'\n```", - "operationId": "ActiveDirectoryAgent_Create", + "x-functionalities-tags": [ + "mdm" + ] + }, + "/applemdms/{apple_mdm_id}/depkey": { + "parameters": [ + { + "in": "path", + "name": "apple_mdm_id", + "required": true, + "type": "string" + } + ], + "x-functionalities-tags": [ + "mdm" + ] + }, + "/applemdms/{apple_mdm_id}/devices": { + "get": { + "description": "Lists all Apple MDM devices.\n\nThe filter and sort queries will allow the following fields:\n`createdAt`\n`depRegistered`\n`enrolled`\n`id`\n`osVersion`\n`serialNumber`\n`udid`\n\n#### Sample Request\n```\n curl -X GET https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices \\\n -H 'accept: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", + "operationId": "AppleMDMDevice_List", "parameters": [ { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/active-directory-agent" - } + "$ref": "#/parameters/trait:limit:limit" + }, + { + "$ref": "#/parameters/trait:skip:skip" + }, + { + "$ref": "#/parameters/trait:filter:filter" + }, + { + "$ref": "#/parameters/trait:sort:sort" + }, + { + "$ref": "#/parameters/trait:listCount:x-total-count" } ], "responses": { - "201": { - "description": "", + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/active-directory-agent-get" + "items": { + "$ref": "#/definitions/apple-mdm-device" + }, + "type": "array" } } }, @@ -8926,34 +10407,44 @@ "x-api-key": [] } ], - "summary": "Create a new Active Directory Agent", + "summary": "List AppleMDM Devices", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"agentType\":\"SYNC\"}'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --header 'x-total-count: SOME_INTEGER_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents\"\n\npayload = {\"agentType\": \"SYNC\"}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-total-count\": \"SOME_INTEGER_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"agentType\":\"SYNC\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-total-count\", \"SOME_INTEGER_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices?limit=10&skip=0' -Method GET -Headers $headers" } ] }, + "parameters": [ + { + "in": "path", + "name": "apple_mdm_id", + "required": true, + "type": "string" + } + ], "x-functionalities-tags": [ - "active-directory" + "mdm" ] }, - "/activedirectories/{activedirectory_id}/agents/{agent_id}": { + "/applemdms/{apple_mdm_id}/devices/{device_id}": { "delete": { - "description": "This endpoint deletes an Active Directory agent.\n\n#### Sample Request\n```\ncurl -X DELETE https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id} \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "ActiveDirectoryAgent_Delete", - "parameters": [], + "description": "Remove a single Apple MDM device from MDM enrollment.\n\n#### Sample Request\n```\n curl -X DELETE https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id} \\\n -H 'accept: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "AppleMDMDevice_Delete", "responses": { - "204": { - "description": "" + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/apple-mdm-device" + } } }, "security": [ @@ -8961,31 +10452,30 @@ "x-api-key": [] } ], - "summary": "Delete Active Directory Agent", + "summary": "Remove an Apple MDM Device's Enrollment", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}' -Method DELETE -Headers $headers" } ] }, "get": { - "description": "This endpoint returns an Active Directory agent.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id} \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "ActiveDirectoryAgent_Get", - "parameters": [], + "description": "Gets a single Apple MDM device.\n\n#### Sample Request\n```\n curl -X GET https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id} \\\n -H 'accept: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "AppleMDMDevice_Get", "responses": { "200": { - "description": "", + "description": "OK", "schema": { - "$ref": "#/definitions/active-directory-agent-list" + "$ref": "#/definitions/apple-mdm-device" } } }, @@ -8994,107 +10484,97 @@ "x-api-key": [] } ], - "summary": "Get Active Directory Agent", + "summary": "Details of an AppleMDM Device", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/agents/{agent_id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}' -Method GET -Headers $headers" } ] }, "parameters": [ { "in": "path", - "name": "activedirectory_id", + "name": "apple_mdm_id", "required": true, "type": "string" }, { "in": "path", - "name": "agent_id", + "name": "device_id", "required": true, "type": "string" } ], "x-functionalities-tags": [ - "active-directory" + "mdm" ] }, - "/activedirectories/{activedirectory_id}/associations": { - "get": { - "description": "This endpoint returns the direct associations of this Active Directory instance.\n\nA direct association can be a non-homogeneous relationship between 2 different objects, for example Active Directory and Users.\n\n\n#### Sample Request\n```\ncurl -X GET 'https://console.jumpcloud.com/api/v2/activedirectories/{ActiveDirectory_ID}/associations?targets=user \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "ActiveDirectoryAssociation_Get", - "parameters": [ - { - "$ref": "#/parameters/trait:graphTargetsActiveDirectory:targets" - }, - { - "$ref": "#/parameters/trait:limit:limit" - }, - { - "$ref": "#/parameters/trait:skip:skip" - } - ], - "responses": { - "200": { - "description": "", - "schema": { - "items": { - "$ref": "#/definitions/GraphConnection" - }, - "type": "array" - } - } + "/applemdms/{apple_mdm_id}/devices/{device_id}/availableOsUpdates": { + "parameters": [ + { + "in": "path", + "name": "apple_mdm_id", + "required": true, + "type": "string" }, - "security": [ - { - "x-api-key": [] - } - ], - "summary": "List the associations of an Active Directory instance", - "x-codeSamples": [ - { - "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" - }, - { - "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" - }, - { - "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" - } - ] - }, + { + "in": "path", + "name": "device_id", + "required": true, + "type": "string" + } + ], + "x-functionalities-tags": [ + "mdm" + ] + }, + "/applemdms/{apple_mdm_id}/devices/{device_id}/bypasscodes": { + "parameters": [ + { + "in": "path", + "name": "apple_mdm_id", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "device_id", + "required": true, + "type": "string" + } + ], + "x-functionalities-tags": [ + "mdm" + ] + }, + "/applemdms/{apple_mdm_id}/devices/{device_id}/clearActivationLock": { "parameters": [ { "in": "path", - "name": "activedirectory_id", + "name": "apple_mdm_id", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "device_id", "required": true, "type": "string" } ], "post": { - "description": "This endpoint allows you to manage the _direct_ associations of an Active Directory instance.\n\nA direct association can be a non-homogeneous relationship between 2 different objects, for example Active Directory and Users.\n\n#### Sample Request\n```\ncurl -X POST https://console.jumpcloud.com/api/v2/activedirectories/{AD_Instance_ID}/associations \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{\n \"op\": \"add\",\n \"type\": \"user\",\n \"id\": \"{User_ID}\"\n }'\n```", - "operationId": "ActiveDirectoryAssociation_Set", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/GraphOperation-ActiveDirectory" - } - } - ], + "description": "Clears the activation lock on the specified device.\n\n#### Sample Request\n```\n curl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/clearActivationLock \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", + "operationId": "AppleMDMDeviceActivationLock_Clear", + "parameters": [], "responses": { "204": { "description": "" @@ -9105,227 +10585,171 @@ "x-api-key": [] } ], - "summary": "Manage the associations of an Active Directory instance", + "summary": "Clears the Activation Lock for a Device", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/clearActivationLock \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/clearActivationLock\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"POST\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/clearActivationLock' -Method POST -Headers $headers" } ] }, "x-functionalities-tags": [ - "active-directory" + "mdm", + "devices-darwin-security-command" ] }, - "/activedirectories/{activedirectory_id}/translation-rules": { + "/applemdms/{apple_mdm_id}/devices/{device_id}/clearPasscode": { "parameters": [ { - "description": "ObjectID of the Active Directory instance.", "in": "path", - "name": "activedirectory_id", + "name": "apple_mdm_id", "required": true, "type": "string" - } - ] - }, - "/activedirectories/{activedirectory_id}/translation-rules/bulk": { - "parameters": [ + }, { "in": "path", - "name": "activedirectory_id", + "name": "device_id", "required": true, "type": "string" } + ], + "x-functionalities-tags": [ + "mdm", + "devices-darwin-security-command" ] }, - "/activedirectories/{activedirectory_id}/translation-rules/{translation_rule_object_id}": { + "/applemdms/{apple_mdm_id}/devices/{device_id}/clearRestrictionsPassword": { "parameters": [ { "in": "path", - "name": "activedirectory_id", + "name": "apple_mdm_id", "required": true, "type": "string" }, { "in": "path", - "name": "translation_rule_object_id", + "name": "device_id", "required": true, "type": "string" } + ], + "x-functionalities-tags": [ + "mdm", + "devices-darwin-security-command" ] }, - "/activedirectories/{activedirectory_id}/usergroups": { - "get": { - "description": "This endpoint will return all Users Groups bound to an Active Directory instance, either directly or indirectly, essentially traversing the JumpCloud Graph for your Organization.\n\nEach element will contain the group's type, id, attributes and paths.\n\nThe `attributes` object is a key/value hash of compiled graph attributes for all paths followed.\n\nThe `paths` array enumerates each path from this Active Directory instance to the corresponding User Group; this array represents all grouping and/or associations that would have to be removed to deprovision the User Group from this Active Directory instance.\n\nSee `/members` and `/associations` endpoints to manage those collections.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/activedirectories/{ActiveDirectory_ID}/usergroups \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "ActiveDirectoryTraverseUserGroup_Get", - "parameters": [ - { - "$ref": "#/parameters/trait:limit:limit" - }, - { - "$ref": "#/parameters/trait:skip:skip" - }, - { - "$ref": "#/parameters/trait:filter:filter" - } - ], - "responses": { - "200": { - "description": "", - "schema": { - "items": { - "$ref": "#/definitions/GraphObjectWithPaths" - }, - "type": "array" - } - } - }, - "security": [ - { - "x-api-key": [] - } - ], - "summary": "List the User Groups bound to an Active Directory instance", - "x-codeSamples": [ - { - "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/usergroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" - }, - { - "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" - }, - { - "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/usergroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" - } - ] - }, + "/applemdms/{apple_mdm_id}/devices/{device_id}/erase": { "parameters": [ { - "description": "ObjectID of the Active Directory instance.", "in": "path", - "name": "activedirectory_id", + "name": "apple_mdm_id", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "device_id", "required": true, "type": "string" } ], - "x-functionalities-tags": [ - "active-directory" - ] - }, - "/activedirectories/{activedirectory_id}/users": { - "get": { - "description": "This endpoint will return all Users bound to an Active Directory instance, either directly or indirectly, essentially traversing the JumpCloud Graph for your Organization.\n\nEach element will contain the type, id, attributes and paths.\n\nThe `attributes` object is a key/value hash of compiled graph attributes for all paths followed.\n\nThe `paths` array enumerates each path from this Active Directory instance to the corresponding User; this array represents all grouping and/or associations that would have to be removed to deprovision the User from this Active Directory instance.\n\nSee `/members` and `/associations` endpoints to manage those collections.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/activedirectories/{ActiveDirectory_ID}/users \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "ActiveDirectoryTraverseUser_Get", + "post": { + "description": "Erases a DEP-enrolled device.\n\n#### Sample Request\n```\n curl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/erase \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", + "operationId": "AppleMDMDevice_Clear", "parameters": [ { - "$ref": "#/parameters/trait:filter:filter" - }, - { - "$ref": "#/parameters/trait:limit:limit" - }, - { - "$ref": "#/parameters/trait:skip:skip" - } - ], - "responses": { - "200": { - "description": "", + "in": "body", + "name": "body", "schema": { - "items": { - "$ref": "#/definitions/GraphObjectWithPaths" + "properties": { + "pin": { + "description": "6-digit PIN, required for MacOS, to erase the device", + "example": "123456", + "pattern": "^[0-9]{6}$", + "type": "string" + } }, - "type": "array" + "type": "object" } } + ], + "responses": { + "204": { + "description": "" + } }, "security": [ { "x-api-key": [] } ], - "summary": "List the Users bound to an Active Directory instance", + "summary": "Erase Device", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/users?filter=&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/erase \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"pin\":\"123456\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/users\"\n\nquerystring = {\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/erase\"\n\npayload = {\"pin\": \"123456\"}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{activedirectory_id}/users?filter=&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/erase' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"pin\":\"123456\"}'" } ] }, + "x-functionalities-tags": [ + "mdm", + "devices-darwin-security-command" + ] + }, + "/applemdms/{apple_mdm_id}/devices/{device_id}/lock": { "parameters": [ { - "description": "ObjectID of the Active Directory instance.", "in": "path", - "name": "activedirectory_id", + "name": "apple_mdm_id", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "device_id", "required": true, "type": "string" } ], - "x-functionalities-tags": [ - "active-directory" - ] - }, - "/activedirectories/{id}": { - "delete": { - "description": "This endpoint allows you to delete an Active Directory Instance.\n\n#### Sample Request\n```\ncurl -X DELETE https://console.jumpcloud.com/api/v2/activedirectories/{ActiveDirectory_ID} \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n ```", - "operationId": "ActiveDirectory_Delete", - "parameters": [], - "responses": { - "200": { - "description": "OK", + "post": { + "description": "Locks a DEP-enrolled device.\n\n#### Sample Request\n```\n curl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/lock \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", + "operationId": "AppleMDMDevice_Lock", + "parameters": [ + { + "in": "body", + "name": "body", "schema": { - "$ref": "#/definitions/active-directory" + "properties": { + "pin": { + "description": "6-digit PIN, required for MacOS, to lock the device", + "example": "123456", + "pattern": "^[0-9]{6}$", + "type": "string" + } + }, + "type": "object" } } - }, - "security": [ - { - "x-api-key": [] - } ], - "summary": "Delete an Active Directory", - "x-codeSamples": [ - { - "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/activedirectories/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" - }, - { - "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" - }, - { - "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{id}' -Method DELETE -Headers $headers" - } - ] - }, - "get": { - "description": "This endpoint returns a specific Active Directory.\n\n#### Sample Request\n\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/activedirectories/{ActiveDirectory_ID} \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n ```", - "operationId": "ActiveDirectory_Get", - "parameters": [], "responses": { - "200": { - "description": "", - "schema": { - "$ref": "#/definitions/active-directory" - } + "204": { + "description": "" } }, "security": [ @@ -9333,53 +10757,49 @@ "x-api-key": [] } ], - "summary": "Get an Active Directory", + "summary": "Lock Device", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/activedirectories/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/lock \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"pin\":\"123456\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/activedirectories/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/lock\"\n\npayload = {\"pin\": \"123456\"}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/activedirectories/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/lock' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"pin\":\"123456\"}'" } ] }, + "x-functionalities-tags": [ + "mdm", + "devices-darwin-security-command" + ] + }, + "/applemdms/{apple_mdm_id}/devices/{device_id}/refreshActivationLockInformation": { "parameters": [ { - "description": "ObjectID of this Active Directory instance.", "in": "path", - "name": "id", + "name": "apple_mdm_id", "required": true, "type": "string" - } - ], - "x-functionalities-tags": [ - "active-directory" - ] - }, - "/activedirectories/{provider_name}/translation-rules/recommendation": { - "parameters": [ + }, { - "description": "Provider name.", "in": "path", - "name": "provider_name", + "name": "device_id", "required": true, "type": "string" } - ] - }, - "/administrators/{administrator_id}/organizationlinks/{id}": { - "delete": { - "description": "This endpoint removes the association link between an Administrator and an Organization.", - "operationId": "AdministratorOrganization_Delete", + ], + "post": { + "description": "Refreshes the activation lock information for a device\n\n#### Sample Request\n\n```\ncurl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/refreshActivationLockInformation \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", + "operationId": "AppleMDMDeviceLockInformation_Refresh", + "parameters": [], "responses": { "204": { - "description": "No Content" + "description": "" } }, "security": [ @@ -9387,110 +10807,123 @@ "x-api-key": [] } ], - "summary": "Remove association between an Administrator and an Organization.", + "summary": "Refresh activation lock information for a device", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/administrators/{administrator_id}/organizationlinks/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/refreshActivationLockInformation \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/administrators/{administrator_id}/organizationlinks/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/refreshActivationLockInformation\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"POST\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/administrators/{administrator_id}/organizationlinks/{id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/refreshActivationLockInformation' -Method POST -Headers $headers" } ] }, + "x-functionalities-tags": [ + "mdm" + ] + }, + "/applemdms/{apple_mdm_id}/devices/{device_id}/restart": { "parameters": [ { "in": "path", - "name": "administrator_id", + "name": "apple_mdm_id", "required": true, "type": "string" }, { "in": "path", - "name": "id", + "name": "device_id", "required": true, "type": "string" } ], - "x-functionalities-tags": [ - "admin" - ] - }, - "/administrators/{id}/organizationlinks": { - "get": { - "description": "This endpoint returns the association links between an Administrator and Organizations.", - "operationId": "AdministratorOrganizations_List", + "post": { + "description": "Restarts a DEP-enrolled device.\n\n#### Sample Request\n```\n curl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/restart \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{\"kextPaths\": [\"Path1\", \"Path2\"]}'\n```", + "operationId": "AppleMDMDevice_Restart", "parameters": [ { - "$ref": "#/parameters/trait:limit:limit" - }, - { - "$ref": "#/parameters/trait:skip:skip" - } - ], - "responses": { - "200": { - "description": "OK", + "in": "body", + "name": "body", "schema": { - "items": { - "$ref": "#/definitions/AdministratorOrganizationLink" + "properties": { + "kextPaths": { + "description": "The string to pass when doing a restart and performing a RebuildKernelCache.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" + }, + "x-examples": { + "example-1": { + "kextPaths": [ + "/path/to/kext1", + "/path/to/kext2" + ] + } } } + ], + "responses": { + "204": { + "description": "" + } }, "security": [ { "x-api-key": [] } ], - "summary": "List the association links between an Administrator and Organizations.", + "summary": "Restart Device", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/administrators/{id}/organizationlinks?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/restart \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"kextPaths\":[\"string\"]}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/administrators/{id}/organizationlinks\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/restart\"\n\npayload = {\"kextPaths\": [\"string\"]}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/administrators/{id}/organizationlinks?limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/restart' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"kextPaths\":[\"string\"]}'" } ] }, + "x-functionalities-tags": [ + "mdm", + "devices-darwin-security-command" + ] + }, + "/applemdms/{apple_mdm_id}/devices/{device_id}/shutdown": { "parameters": [ { "in": "path", - "name": "id", + "name": "apple_mdm_id", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "device_id", "required": true, "type": "string" } ], "post": { - "description": "This endpoint allows you to grant Administrator access to an Organization.", - "operationId": "AdministratorOrganization_Create", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/AdministratorOrganizationLinkReq" - } - } - ], + "description": "Shuts down a DEP-enrolled device.\n\n#### Sample Request\n```\n curl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/shutdown \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", + "operationId": "AppleMDMDevice_Stop", + "parameters": [], "responses": { - "201": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AdministratorOrganizationLink" - } + "204": { + "description": "" } }, "security": [ @@ -9498,48 +10931,32 @@ "x-api-key": [] } ], - "summary": "Allow Adminstrator access to an Organization.", + "summary": "Shut Down Device", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/administrators/{id}/organizationlinks \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"organization\":\"6230a0d26a4e4bc86c6b36f1\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/shutdown \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/administrators/{id}/organizationlinks\"\n\npayload = {\"organization\": \"6230a0d26a4e4bc86c6b36f1\"}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/shutdown\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"POST\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/administrators/{id}/organizationlinks' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"organization\":\"6230a0d26a4e4bc86c6b36f1\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/shutdown' -Method POST -Headers $headers" } ] }, "x-functionalities-tags": [ - "admin" + "mdm", + "devices-darwin-security-command" ] }, - "/alerts": {}, - "/alerts-stats": {}, - "/alerts/bulk-delete": {}, - "/alerts/bulk-update": {}, - "/alerts/{id}": {}, - "/alerts/{id}/occurrences": {}, - "/alerts/{id}/status": {}, - "/applemdms": { + "/applemdms/{apple_mdm_id}/enrollmentprofiles": { "get": { - "description": "Get a list of all Apple MDM configurations. An empty topic indicates that a signed certificate from Apple has not been provided to the PUT endpoint yet.\n\nNote: currently only one MDM configuration per organization is supported.\n\n#### Sample Request\n```\ncurl https://console.jumpcloud.com/api/v2/applemdms \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "AppleMDM_List", - "parameters": [ - { - "$ref": "#/parameters/trait:limitDefault1:limit" - }, - { - "$ref": "#/parameters/trait:skip:skip" - }, - { - "$ref": "#/parameters/trait:filter:filter" - } - ], + "description": "Get a list of enrollment profiles for an apple mdm.\n\nNote: currently only one enrollment profile is supported.\n\n#### Sample Request\n```\n curl https://console.jumpcloud.com/api/v2/applemdms/{APPLE_MDM_ID}/enrollmentprofiles \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "AppleMDMEnrollmentProfile_List", + "parameters": [], "responses": { "200": { "description": "", @@ -9556,82 +10973,88 @@ "x-api-key": [] } ], - "summary": "List Apple MDMs", + "summary": "List Apple MDM Enrollment Profiles", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/applemdms?limit=1&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/enrollmentprofiles \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms\"\n\nquerystring = {\"limit\":\"1\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/enrollmentprofiles\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms?limit=1&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/enrollmentprofiles' -Method GET -Headers $headers" } ] }, + "parameters": [ + { + "in": "path", + "name": "apple_mdm_id", + "required": true, + "type": "string" + } + ], "x-functionalities-tags": [ "mdm" ] }, - "/applemdms/{apple_mdm_id}/csr": { + "/applemdms/{apple_mdm_id}/enrollmentprofiles/{id}": { "parameters": [ { "in": "path", "name": "apple_mdm_id", "required": true, "type": "string" + }, + { + "in": "path", + "name": "id", + "required": true, + "type": "string" } ], "x-functionalities-tags": [ "mdm" ] }, - "/applemdms/{apple_mdm_id}/depkey": { + "/applemdms/{apple_mdm_id}/enrollmentprofiles/{id}/downloadurl": { "parameters": [ { "in": "path", "name": "apple_mdm_id", "required": true, "type": "string" + }, + { + "in": "path", + "name": "id", + "required": true, + "type": "string" } ], "x-functionalities-tags": [ "mdm" ] }, - "/applemdms/{apple_mdm_id}/devices": { - "get": { - "description": "Lists all Apple MDM devices.\n\nThe filter and sort queries will allow the following fields:\n`createdAt`\n`depRegistered`\n`enrolled`\n`id`\n`osVersion`\n`serialNumber`\n`udid`\n\n#### Sample Request\n```\n curl -X GET https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices \\\n -H 'accept: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", - "operationId": "AppleMDMDevice_List", - "parameters": [ - { - "$ref": "#/parameters/trait:limit:limit" - }, - { - "$ref": "#/parameters/trait:skip:skip" - }, - { - "$ref": "#/parameters/trait:filter:filter" - }, - { - "$ref": "#/parameters/trait:sort:sort" - }, - { - "$ref": "#/parameters/trait:listCount:x-total-count" - } - ], + "/applemdms/{apple_mdm_id}/refreshdepdevices": { + "parameters": [ + { + "in": "path", + "name": "apple_mdm_id", + "required": true, + "type": "string" + } + ], + "post": { + "description": "Refreshes the list of devices that a JumpCloud admin has added to their virtual MDM in Apple Business Manager - ABM so that they can be DEP enrolled with JumpCloud.\n\n#### Sample Request\n```\n curl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/refreshdepdevices \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", + "operationId": "AppleMDMDevice_Sync", + "parameters": [], "responses": { - "200": { - "description": "OK", - "schema": { - "items": { - "$ref": "#/definitions/apple-mdm-device" - }, - "type": "array" - } + "204": { + "description": "" } }, "security": [ @@ -9639,43 +11062,45 @@ "x-api-key": [] } ], - "summary": "List AppleMDM Devices", + "summary": "Refresh DEP Devices", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices?limit=10&skip=0&filter=&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/refreshdepdevices \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/refreshdepdevices\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"POST\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices?limit=10&skip=0&filter=&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/refreshdepdevices' -Method POST -Headers $headers" } ] }, - "parameters": [ - { - "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - } - ], "x-functionalities-tags": [ "mdm" ] }, - "/applemdms/{apple_mdm_id}/devices/{device_id}": { + "/applemdms/{deviceManagerObjectId}/abm_devices": {}, + "/applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/clearrecoverylock": {}, + "/applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/getrecoverylockconfig": {}, + "/applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/getrecoverylockpassword": {}, + "/applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/lostmode": {}, + "/applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/setrecoverylock": {}, + "/applemdms/{deviceManagerObjectId}/service-discovery-url": {}, + "/applemdms/{deviceManagerObjectId}/validate-service-discovery-url": {}, + "/applemdms/{deviceObjectId}/background_tasks": {}, + "/applemdms/{id}": { "delete": { - "description": "Remove a single Apple MDM device from MDM enrollment.\n\n#### Sample Request\n```\n curl -X DELETE https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id} \\\n -H 'accept: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "AppleMDMDevice_Delete", + "description": "Removes an Apple MDM configuration.\n\nWarning: This is a destructive operation and will remove your Apple Push Certificates. We will no longer be able to manage your devices and the only recovery option is to re-register all devices into MDM.\n\n#### Sample Request\n```\ncurl -X DELETE https://console.jumpcloud.com/api/v2/applemdms/{id} \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "AppleMDM_Delete", + "parameters": [], "responses": { "200": { - "description": "OK", + "description": "", "schema": { - "$ref": "#/definitions/apple-mdm-device" + "$ref": "#/definitions/AppleMDM" } } }, @@ -9684,30 +11109,47 @@ "x-api-key": [] } ], - "summary": "Remove an Apple MDM Device's Enrollment", + "summary": "Delete an Apple MDM", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { - "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}' -Method DELETE -Headers $headers" + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{id}' -Method DELETE -Headers $headers" + } + ] + }, + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "type": "string" + } + ], + "put": { + "description": "Updates an Apple MDM configuration. This endpoint is used to supply JumpCloud with a signed certificate from Apple in order to finalize the setup and allow JumpCloud to manage your devices. It may also be used to update the DEP Settings.\n\n#### Sample Request\n```\n curl -X PUT https://console.jumpcloud.com/api/v2/applemdms/{ID} \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{\n \"name\": \"MDM name\",\n \"appleSignedCert\": \"{CERTIFICATE}\",\n \"encryptedDepServerToken\": \"{SERVER_TOKEN}\",\n \"dep\": {\n \"welcomeScreen\": {\n \"title\": \"Welcome\",\n \"paragraph\": \"In just a few steps, you will be working securely from your Mac.\",\n \"button\": \"continue\",\n },\n },\n }'\n```", + "operationId": "AppleMDM_Set", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/apple-mdm-patch" + } } - ] - }, - "get": { - "description": "Gets a single Apple MDM device.\n\n#### Sample Request\n```\n curl -X GET https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id} \\\n -H 'accept: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "AppleMDMDevice_Get", + ], "responses": { "200": { - "description": "OK", + "description": "", "schema": { - "$ref": "#/definitions/apple-mdm-device" + "$ref": "#/definitions/AppleMDM" } } }, @@ -9716,100 +11158,155 @@ "x-api-key": [] } ], - "summary": "Details of an AppleMDM Device", + "summary": "Update an Apple MDM", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"ades\":{\"ios\":{\"defaultDeviceGroupObjectIds\":[\"string\"],\"enableZeroTouchEnrollment\":true,\"setupAssistantOptions\":[{\"option\":\"accessibility\"}],\"setupOptions\":[\"accessibility\"],\"welcomeScreen\":{\"button\":\"string\",\"paragraph\":\"string\",\"title\":\"string\"}},\"macos\":{\"defaultDeviceGroupObjectIds\":[\"string\"],\"enableZeroTouchEnrollment\":true,\"setupAssistantOptions\":[{\"option\":\"accessibility\"}],\"setupOptions\":[\"accessibility\"],\"welcomeScreen\":{\"button\":\"string\",\"paragraph\":\"string\",\"title\":\"string\"}}},\"allowMobileUserEnrollment\":true,\"appleCertCreatorAppleID\":\"string\",\"appleSignedCert\":\"string\",\"defaultIosUserEnrollmentDeviceGroupID\":\"string\",\"defaultSystemGroupID\":\"string\",\"dep\":{\"enableZeroTouchEnrollment\":true,\"setupAssistantOptions\":[{\"option\":\"accessibility\"}],\"welcomeScreen\":{\"button\":\"string\",\"paragraph\":\"string\",\"title\":\"string\"}},\"encryptedDepServerToken\":\"string\",\"name\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{id}\"\n\npayload = {\n \"ades\": {\n \"ios\": {\n \"defaultDeviceGroupObjectIds\": [\"string\"],\n \"enableZeroTouchEnrollment\": True,\n \"setupAssistantOptions\": [{\"option\": \"accessibility\"}],\n \"setupOptions\": [\"accessibility\"],\n \"welcomeScreen\": {\n \"button\": \"string\",\n \"paragraph\": \"string\",\n \"title\": \"string\"\n }\n },\n \"macos\": {\n \"defaultDeviceGroupObjectIds\": [\"string\"],\n \"enableZeroTouchEnrollment\": True,\n \"setupAssistantOptions\": [{\"option\": \"accessibility\"}],\n \"setupOptions\": [\"accessibility\"],\n \"welcomeScreen\": {\n \"button\": \"string\",\n \"paragraph\": \"string\",\n \"title\": \"string\"\n }\n }\n },\n \"allowMobileUserEnrollment\": True,\n \"appleCertCreatorAppleID\": \"string\",\n \"appleSignedCert\": \"string\",\n \"defaultIosUserEnrollmentDeviceGroupID\": \"string\",\n \"defaultSystemGroupID\": \"string\",\n \"dep\": {\n \"enableZeroTouchEnrollment\": True,\n \"setupAssistantOptions\": [{\"option\": \"accessibility\"}],\n \"welcomeScreen\": {\n \"button\": \"string\",\n \"paragraph\": \"string\",\n \"title\": \"string\"\n }\n },\n \"encryptedDepServerToken\": \"string\",\n \"name\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"ades\":{\"ios\":{\"defaultDeviceGroupObjectIds\":[\"string\"],\"enableZeroTouchEnrollment\":true,\"setupAssistantOptions\":[{\"option\":\"accessibility\"}],\"setupOptions\":[\"accessibility\"],\"welcomeScreen\":{\"button\":\"string\",\"paragraph\":\"string\",\"title\":\"string\"}},\"macos\":{\"defaultDeviceGroupObjectIds\":[\"string\"],\"enableZeroTouchEnrollment\":true,\"setupAssistantOptions\":[{\"option\":\"accessibility\"}],\"setupOptions\":[\"accessibility\"],\"welcomeScreen\":{\"button\":\"string\",\"paragraph\":\"string\",\"title\":\"string\"}}},\"allowMobileUserEnrollment\":true,\"appleCertCreatorAppleID\":\"string\",\"appleSignedCert\":\"string\",\"defaultIosUserEnrollmentDeviceGroupID\":\"string\",\"defaultSystemGroupID\":\"string\",\"dep\":{\"enableZeroTouchEnrollment\":true,\"setupAssistantOptions\":[{\"option\":\"accessibility\"}],\"welcomeScreen\":{\"button\":\"string\",\"paragraph\":\"string\",\"title\":\"string\"}},\"encryptedDepServerToken\":\"string\",\"name\":\"string\"}'" } ] }, + "x-functionalities-tags": [ + "mdm" + ] + }, + "/applemdms/{organizationObjectId}/account-driven-service-discovery": {}, + "/applemdms/{organizationObjectId}/account-driven-service-discovery/config": {}, + "/applevpp/locations": { + "x-functionalities-tags": [ + "vpp" + ] + }, + "/applevpp/locations/{id}": { "parameters": [ { + "description": "The Location's Object ID", "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "device_id", + "name": "id", "required": true, "type": "string" } ], "x-functionalities-tags": [ - "mdm" + "vpp" ] }, - "/applemdms/{apple_mdm_id}/devices/{device_id}/availableOsUpdates": { + "/application/catalog": { + "x-functionalities-tags": [ + "user-portal-applications" + ] + }, + "/application/catalog/{item_id}": { "parameters": [ { "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "device_id", + "name": "item_id", "required": true, "type": "string" } ], "x-functionalities-tags": [ - "mdm" + "user-portal-applications" ] }, - "/applemdms/{apple_mdm_id}/devices/{device_id}/bypasscodes": { + "/applications": { + "x-functionalities-tags": [ + "user-portal-applications" + ] + }, + "/applications/import/{job_id}/detailedresults": { "parameters": [ { + "description": "ObjectID of the Import Job.", "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "device_id", + "name": "job_id", "required": true, "type": "string" } ], "x-functionalities-tags": [ - "mdm" + "user-portal-applications" ] }, - "/applemdms/{apple_mdm_id}/devices/{device_id}/clearActivationLock": { - "parameters": [ - { - "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" + "/applications/{application_id}/associations": { + "get": { + "description": "This endpoint will return the _direct_ associations of an Application. A direct association can be a non-homogeneous relationship between 2 different objects, for example Applications and User Groups.\n\n\n#### Sample Request\n```\ncurl -X GET 'https://console.jumpcloud.com/api/v2/applications/{Application_ID}/associations?targets=user_group \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "ApplicationAssociation_Get", + "parameters": [ + { + "$ref": "#/parameters/trait:graphTargetsApplication:targets" + }, + { + "$ref": "#/parameters/trait:limit:limit" + }, + { + "$ref": "#/parameters/trait:skip:skip" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "items": { + "$ref": "#/definitions/GraphConnection" + }, + "type": "array" + } + } }, + "security": [ + { + "x-api-key": [] + } + ], + "summary": "List the associations of an Application", + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/applications/{application_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" + }, + { + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applications/{application_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + }, + { + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applications/{application_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + } + ] + }, + "parameters": [ { + "description": "ObjectID of the Application.", "in": "path", - "name": "device_id", + "name": "application_id", "required": true, "type": "string" } ], "post": { - "description": "Clears the activation lock on the specified device.\n\n#### Sample Request\n```\n curl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/clearActivationLock \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", - "operationId": "AppleMDMDeviceActivationLock_Clear", - "parameters": [], + "description": "This endpoint allows you to manage the _direct_ associations of an Application. A direct association can be a non-homogeneous relationship between 2 different objects, for example Application and User Groups.\n\n#### Sample Request\n```\ncurl -X POST 'https://console.jumpcloud.com/api/v2/applications/{Application_ID}/associations' \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{\n \"op\": \"add\",\n \"type\": \"user_group\",\n \"id\": \"{Group_ID}\"\n }'\n```", + "operationId": "ApplicationAssociation_Set", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/GraphOperation-Application" + } + } + ], "responses": { "204": { - "description": "" + "description": "OK" } }, "security": [ @@ -9817,105 +11314,128 @@ "x-api-key": [] } ], - "summary": "Clears the Activation Lock for a Device", + "summary": "Manage the associations of an Application", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/clearActivationLock \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applications/{application_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/clearActivationLock\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"POST\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applications/{application_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/clearActivationLock' -Method POST -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applications/{application_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" } ] }, "x-functionalities-tags": [ - "mdm", - "devices-darwin-security-command" - ] - }, - "/applemdms/{apple_mdm_id}/devices/{device_id}/clearPasscode": { - "parameters": [ - { - "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "device_id", - "required": true, - "type": "string" - } - ], - "x-functionalities-tags": [ - "mdm", - "devices-darwin-security-command" + "user-portal-applications" ] }, - "/applemdms/{apple_mdm_id}/devices/{device_id}/clearRestrictionsPassword": { + "/applications/{application_id}/import/jobs": { "parameters": [ { + "description": "ObjectID of the Application.", "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "device_id", + "name": "application_id", "required": true, "type": "string" } ], "x-functionalities-tags": [ - "mdm", - "devices-darwin-security-command" + "user-portal-applications" ] }, - "/applemdms/{apple_mdm_id}/devices/{device_id}/erase": { - "parameters": [ - { - "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "device_id", - "required": true, - "type": "string" - } - ], - "post": { - "description": "Erases a DEP-enrolled device.\n\n#### Sample Request\n```\n curl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/erase \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", - "operationId": "AppleMDMDevice_Clear", + "/applications/{application_id}/import/users": { + "get": { + "description": "Get a list of users to import from an Application IdM service provider.", + "operationId": "SCIM_Import", "parameters": [ { - "in": "body", - "name": "body", - "schema": { - "properties": { - "pin": { - "description": "6-digit PIN, required for MacOS, to erase the device", - "example": "123456", - "pattern": "^[0-9]{6}$", - "type": "string" - } - }, - "type": "object" + "default": "", + "description": "Filter users by a search term", + "in": "query", + "name": "filter", + "type": "string" + }, + { + "default": "", + "description": "URL query to merge with the service provider request", + "in": "query", + "name": "query", + "type": "string" + }, + { + "default": "", + "description": "Sort users by supported fields", + "enum": [ + "firstname", + "lastname", + "email" + ], + "in": "query", + "name": "sort", + "type": "string", + "x-ms-enum": { + "name": "sort" + } + }, + { + "default": "asc", + "enum": [ + "asc", + "desc" + ], + "in": "query", + "name": "sortOrder", + "type": "string", + "x-ms-enum": { + "name": "sortOrder1" } + }, + { + "default": "", + "description": "Import sessionId for manual select and view user", + "in": "query", + "name": "sessionId", + "type": "string" + }, + { + "default": false, + "description": "IsCount indicates if the request is only for getting the total count of users.", + "in": "query", + "name": "isCount", + "type": "boolean" + }, + { + "default": false, + "description": "Enable cursor-based pagination", + "in": "query", + "name": "isCursor", + "type": "boolean" + }, + { + "default": "", + "description": "Cursor token for pagination", + "in": "query", + "name": "cursor", + "type": "string" + }, + { + "$ref": "#/parameters/trait:limit:limit" + }, + { + "$ref": "#/parameters/trait:skip:skip" } ], "responses": { - "204": { - "description": "" + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/importUsersResponse" + } } }, "security": [ @@ -9923,65 +11443,50 @@ "x-api-key": [] } ], - "summary": "Erase Device", + "summary": "Get a list of users to import from an Application IdM service provider", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/erase \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"pin\":\"123456\"}'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/applications/{application_id}/import/users?filter=&query=&sort=&sortOrder=asc&sessionId=&isCount=false&isCursor=false&cursor=&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/erase\"\n\npayload = {\"pin\": \"123456\"}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applications/{application_id}/import/users\"\n\nquerystring = {\"filter\":\"\",\"query\":\"\",\"sort\":\"\",\"sortOrder\":\"asc\",\"sessionId\":\"\",\"isCount\":\"false\",\"isCursor\":\"false\",\"cursor\":\"\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/erase' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"pin\":\"123456\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applications/{application_id}/import/users?filter=&query=&sort=&sortOrder=asc&sessionId=&isCount=false&isCursor=false&cursor=&limit=10&skip=0' -Method GET -Headers $headers" } ] }, - "x-functionalities-tags": [ - "mdm", - "devices-darwin-security-command" - ] - }, - "/applemdms/{apple_mdm_id}/devices/{device_id}/lock": { "parameters": [ { + "description": "ObjectID of the Application.", "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "device_id", + "name": "application_id", "required": true, "type": "string" } ], - "post": { - "description": "Locks a DEP-enrolled device.\n\n#### Sample Request\n```\n curl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/lock \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", - "operationId": "AppleMDMDevice_Lock", + "x-functionalities-tags": [ + "user-portal-applications" + ] + }, + "/applications/{application_id}/logo": { + "delete": { + "description": "Deletes the specified image from an application", + "operationId": "ApplicationLogo_Delete", "parameters": [ { - "in": "body", - "name": "body", - "schema": { - "properties": { - "pin": { - "description": "6-digit PIN, required for MacOS, to lock the device", - "example": "123456", - "pattern": "^[0-9]{6}$", - "type": "string" - } - }, - "type": "object" - } + "in": "path", + "name": "application_id", + "required": true, + "type": "string" } ], "responses": { "204": { - "description": "" + "description": "NO_CONTENT" } }, "security": [ @@ -9989,123 +11494,114 @@ "x-api-key": [] } ], - "summary": "Lock Device", + "summary": "Delete application image", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/lock \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"pin\":\"123456\"}'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/applications/{application_id}/logo \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/lock\"\n\npayload = {\"pin\": \"123456\"}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applications/{application_id}/logo\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/lock' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"pin\":\"123456\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applications/{application_id}/logo' -Method DELETE -Headers $headers" } ] }, "x-functionalities-tags": [ - "mdm", - "devices-darwin-security-command" + "user-portal-applications" ] }, - "/applemdms/{apple_mdm_id}/devices/{device_id}/refreshActivationLockInformation": { + "/applications/{application_id}/provision": { "parameters": [ { "in": "path", - "name": "apple_mdm_id", + "name": "application_id", "required": true, "type": "string" - }, + } + ], + "x-functionalities-tags": [ + "user-portal-applications" + ] + }, + "/applications/{application_id}/provision/activate": { + "parameters": [ { "in": "path", - "name": "device_id", + "name": "application_id", "required": true, "type": "string" + }, + { + "in": "header", + "name": "X-Requested-With", + "required": false, + "type": "string" } ], - "post": { - "description": "Refreshes the activation lock information for a device\n\n#### Sample Request\n\n```\ncurl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/refreshActivationLockInformation \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", - "operationId": "AppleMDMDeviceLockInformation_Refresh", - "parameters": [], - "responses": { - "204": { - "description": "" - } - }, - "security": [ - { - "x-api-key": [] - } - ], - "summary": "Refresh activation lock information for a device", - "x-codeSamples": [ - { - "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/refreshActivationLockInformation \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" - }, - { - "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/refreshActivationLockInformation\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"POST\", url, headers=headers)\n\nprint(response.text)" - }, - { - "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/refreshActivationLockInformation' -Method POST -Headers $headers" - } - ] - }, "x-functionalities-tags": [ - "mdm" + "user-portal-applications" ] }, - "/applemdms/{apple_mdm_id}/devices/{device_id}/restart": { + "/applications/{application_id}/provision/reactivate": { "parameters": [ { "in": "path", - "name": "apple_mdm_id", + "name": "application_id", "required": true, "type": "string" }, + { + "in": "header", + "name": "X-Requested-With", + "required": false, + "type": "string" + } + ], + "x-functionalities-tags": [ + "user-portal-applications" + ] + }, + "/applications/{application_id}/sso": { + "parameters": [ { "in": "path", - "name": "device_id", + "name": "application_id", "required": true, "type": "string" } ], - "post": { - "description": "Restarts a DEP-enrolled device.\n\n#### Sample Request\n```\n curl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/restart \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{\"kextPaths\": [\"Path1\", \"Path2\"]}'\n```", - "operationId": "AppleMDMDevice_Restart", + "x-functionalities-tags": [ + "user-portal-applications" + ] + }, + "/applications/{application_id}/usergroups": { + "get": { + "description": "This endpoint will return all Users Groups bound to an Application, either directly or indirectly, essentially traversing the JumpCloud Graph for your Organization.\n\nEach element will contain the group's type, id, attributes and paths.\n\nThe `attributes` object is a key/value hash of compiled graph attributes for all paths followed.\n\nThe `paths` array enumerates each path from this Application to the corresponding User Group; this array represents all grouping and/or associations that would have to be removed to deprovision the User Group from this Application.\n\nSee `/members` and `/associations` endpoints to manage those collections.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/applications/{Application_ID}/usergroups \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "ApplicationTraverseUserGroup_Get", "parameters": [ { - "in": "body", - "name": "body", - "schema": { - "properties": { - "kextPaths": { - "description": "The string to pass when doing a restart and performing a RebuildKernelCache.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "x-examples": { - "example-1": { - "kextPaths": [ - "/path/to/kext1", - "/path/to/kext2" - ] - } - } + "$ref": "#/parameters/trait:limit:limit" + }, + { + "$ref": "#/parameters/trait:skip:skip" + }, + { + "$ref": "#/parameters/trait:filter:filter" } ], "responses": { - "204": { - "description": "" + "200": { + "description": "OK", + "schema": { + "items": { + "$ref": "#/definitions/GraphObjectWithPaths" + }, + "type": "array" + } } }, "security": [ @@ -10113,88 +11609,56 @@ "x-api-key": [] } ], - "summary": "Restart Device", + "summary": "List the User Groups bound to an Application", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/restart \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"kextPaths\":[\"string\"]}'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/applications/{application_id}/usergroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/restart\"\n\npayload = {\"kextPaths\": [\"string\"]}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applications/{application_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/restart' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"kextPaths\":[\"string\"]}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applications/{application_id}/usergroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, - "x-functionalities-tags": [ - "mdm", - "devices-darwin-security-command" - ] - }, - "/applemdms/{apple_mdm_id}/devices/{device_id}/shutdown": { "parameters": [ { + "description": "ObjectID of the Application.", "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "device_id", + "name": "application_id", "required": true, "type": "string" } ], - "post": { - "description": "Shuts down a DEP-enrolled device.\n\n#### Sample Request\n```\n curl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/shutdown \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", - "operationId": "AppleMDMDevice_Stop", - "parameters": [], - "responses": { - "204": { - "description": "" - } - }, - "security": [ - { - "x-api-key": [] - } - ], - "summary": "Shut Down Device", - "x-codeSamples": [ + "x-functionalities-tags": [ + "user-portal-applications" + ] + }, + "/applications/{application_id}/users": { + "get": { + "description": "This endpoint will return all Users bound to an Application, either directly or indirectly, essentially traversing the JumpCloud Graph for your Organization.\n\nEach element will contain the type, id, attributes and paths.\n\nThe `attributes` object is a key/value hash of compiled graph attributes for all paths followed.\n\nThe `paths` array enumerates each path from this Application to the corresponding User; this array represents all grouping and/or associations that would have to be removed to deprovision the User from this Application.\n\nSee `/members` and `/associations` endpoints to manage those collections.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/applications/{Application_ID}/users \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "operationId": "ApplicationTraverseUser_Get", + "parameters": [ { - "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/shutdown \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "$ref": "#/parameters/trait:limit:limit" }, { - "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/shutdown\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"POST\", url, headers=headers)\n\nprint(response.text)" + "$ref": "#/parameters/trait:skip:skip" }, { - "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/devices/{device_id}/shutdown' -Method POST -Headers $headers" + "$ref": "#/parameters/trait:filter:filter" } - ] - }, - "x-functionalities-tags": [ - "mdm", - "devices-darwin-security-command" - ] - }, - "/applemdms/{apple_mdm_id}/enrollmentprofiles": { - "get": { - "description": "Get a list of enrollment profiles for an apple mdm.\n\nNote: currently only one enrollment profile is supported.\n\n#### Sample Request\n```\n curl https://console.jumpcloud.com/api/v2/applemdms/{APPLE_MDM_ID}/enrollmentprofiles \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "AppleMDMEnrollmentProfile_List", - "parameters": [], + ], "responses": { "200": { - "description": "", + "description": "OK", "schema": { "items": { - "$ref": "#/definitions/AppleMDM" + "$ref": "#/definitions/GraphObjectWithPaths" }, "type": "array" } @@ -10205,88 +11669,94 @@ "x-api-key": [] } ], - "summary": "List Apple MDM Enrollment Profiles", + "summary": "List the Users bound to an Application", "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/enrollmentprofiles \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/applications/{application_id}/users?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/enrollmentprofiles\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applications/{application_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/enrollmentprofiles' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applications/{application_id}/users?limit=10&skip=0' -Method GET -Headers $headers" } ] }, "parameters": [ { + "description": "ObjectID of the Application.", "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - } - ], - "x-functionalities-tags": [ - "mdm" - ] - }, - "/applemdms/{apple_mdm_id}/enrollmentprofiles/{id}": { - "parameters": [ - { - "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "id", - "required": true, - "type": "string" - } - ], - "x-functionalities-tags": [ - "mdm" - ] - }, - "/applemdms/{apple_mdm_id}/enrollmentprofiles/{id}/downloadurl": { - "parameters": [ - { - "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "id", + "name": "application_id", "required": true, "type": "string" } ], "x-functionalities-tags": [ - "mdm" + "user-portal-applications" ] }, - "/applemdms/{apple_mdm_id}/refreshdepdevices": { - "parameters": [ - { - "in": "path", - "name": "apple_mdm_id", - "required": true, - "type": "string" - } - ], - "post": { - "description": "Refreshes the list of devices that a JumpCloud admin has added to their virtual MDM in Apple Business Manager - ABM so that they can be DEP enrolled with JumpCloud.\n\n#### Sample Request\n```\n curl -X POST https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/refreshdepdevices \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{}'\n```", - "operationId": "AppleMDMDevice_Sync", - "parameters": [], + "/approvalflowrequest": { + "get": { + "description": "Endpoint for getting the list of workflows access requests", + "operationId": "AccessRequest_List", + "parameters": [ + { + "format": "byte", + "in": "query", + "name": "organizationObjectId", + "required": false, + "type": "string" + }, + { + "format": "int64", + "in": "query", + "name": "limit", + "required": false, + "type": "string" + }, + { + "format": "int64", + "in": "query", + "name": "skip", + "required": false, + "type": "string" + }, + { + "in": "query", + "name": "sort", + "required": false, + "type": "string" + }, + { + "collectionFormat": "multi", + "in": "query", + "items": { + "type": "string" + }, + "name": "fields", + "required": false, + "type": "array" + }, + { + "collectionFormat": "multi", + "in": "query", + "items": { + "type": "string" + }, + "name": "filter", + "required": false, + "type": "array" + } + ], "responses": { - "204": { - "description": "" + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/jumpcloud.ingresso.GetAllWorkflowAccessRequestResponse" + } } }, "security": [ @@ -10294,45 +11764,48 @@ "x-api-key": [] } ], - "summary": "Refresh DEP Devices", + "summary": "Get all Workflow Access Requests", + "x-dynamic-gateway": true, "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/refreshdepdevices \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/approvalflowrequest?organizationObjectId=SOME_STRING_VALUE&limit=SOME_STRING_VALUE&skip=SOME_STRING_VALUE&sort=SOME_STRING_VALUE&fields=SOME_ARRAY_VALUE&filter=SOME_ARRAY_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/refreshdepdevices\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"POST\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/approvalflowrequest\"\n\nquerystring = {\"organizationObjectId\":\"SOME_STRING_VALUE\",\"limit\":\"SOME_STRING_VALUE\",\"skip\":\"SOME_STRING_VALUE\",\"sort\":\"SOME_STRING_VALUE\",\"fields\":\"SOME_ARRAY_VALUE\",\"filter\":\"SOME_ARRAY_VALUE\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{apple_mdm_id}/refreshdepdevices' -Method POST -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/approvalflowrequest?organizationObjectId=SOME_STRING_VALUE&limit=SOME_STRING_VALUE&skip=SOME_STRING_VALUE&sort=SOME_STRING_VALUE&fields=SOME_ARRAY_VALUE&filter=SOME_ARRAY_VALUE' -Method GET -Headers $headers" } ] - }, - "x-functionalities-tags": [ - "mdm" - ] + } }, - "/applemdms/{deviceManagerObjectId}/abm_devices": {}, - "/applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/clearrecoverylock": {}, - "/applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/getrecoverylockconfig": {}, - "/applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/getrecoverylockpassword": {}, - "/applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/lostmode": {}, - "/applemdms/{deviceManagerObjectId}/devices/{deviceObjectId}/setrecoverylock": {}, - "/applemdms/{deviceManagerObjectId}/service-discovery-url": {}, - "/applemdms/{deviceManagerObjectId}/validate-service-discovery-url": {}, - "/applemdms/{deviceObjectId}/background_tasks": {}, - "/applemdms/{id}": { - "delete": { - "description": "Removes an Apple MDM configuration.\n\nWarning: This is a destructive operation and will remove your Apple Push Certificates. We will no longer be able to manage your devices and the only recovery option is to re-register all devices into MDM.\n\n#### Sample Request\n```\ncurl -X DELETE https://console.jumpcloud.com/api/v2/applemdms/{id} \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "AppleMDM_Delete", - "parameters": [], + "/approvalflowrequest/{id}": { + "get": { + "description": "Endpoint that returns the workflow access request by id", + "operationId": "AccessRequest_Get", + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "type": "string" + }, + { + "format": "byte", + "in": "query", + "name": "organizationObjectId", + "required": false, + "type": "string" + } + ], "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { - "$ref": "#/definitions/AppleMDM" + "$ref": "#/definitions/jumpcloud.ingresso.GetWorkflowAccessRequestResponse" } } }, @@ -10341,47 +11814,68 @@ "x-api-key": [] } ], - "summary": "Delete an Apple MDM", + "summary": "Get Workflow Access Requests", + "x-dynamic-gateway": true, "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/approvalflowrequest/{id}?organizationObjectId=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/approvalflowrequest/{id}\"\n\nquerystring = {\"organizationObjectId\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/approvalflowrequest/{id}?organizationObjectId=SOME_STRING_VALUE' -Method GET -Headers $headers" } ] }, - "parameters": [ - { - "in": "path", - "name": "id", - "required": true, - "type": "string" - } - ], "put": { - "description": "Updates an Apple MDM configuration. This endpoint is used to supply JumpCloud with a signed certificate from Apple in order to finalize the setup and allow JumpCloud to manage your devices. It may also be used to update the DEP Settings.\n\n#### Sample Request\n```\n curl -X PUT https://console.jumpcloud.com/api/v2/applemdms/{ID} \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{\n \"name\": \"MDM name\",\n \"appleSignedCert\": \"{CERTIFICATE}\",\n \"encryptedDepServerToken\": \"{SERVER_TOKEN}\",\n \"dep\": {\n \"welcomeScreen\": {\n \"title\": \"Welcome\",\n \"paragraph\": \"In just a few steps, you will be working securely from your Mac.\",\n \"button\": \"continue\",\n },\n },\n }'\n```", - "operationId": "AppleMDM_Set", + "description": "Endpoint that updates the workflow access request by id", + "operationId": "AccessRequest_Set", "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "type": "string" + }, { "in": "body", "name": "body", + "required": true, "schema": { - "$ref": "#/definitions/apple-mdm-patch" + "properties": { + "admin": { + "type": "string" + }, + "approvedDuration": { + "type": "string" + }, + "internalNote": { + "type": "string" + }, + "organizationObjectId": { + "format": "byte", + "type": "string" + }, + "remarks": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "type": "object" } } ], "responses": { "200": { - "description": "", + "description": "A successful response.", "schema": { - "$ref": "#/definitions/AppleMDM" + "$ref": "#/definitions/jumpcloud.ingresso.UpdateWorkflowAccessRequestResponse" } } }, @@ -10390,107 +11884,82 @@ "x-api-key": [] } ], - "summary": "Update an Apple MDM", + "summary": "Update Workflow Access Requests", + "x-dynamic-gateway": true, "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/applemdms/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"ades\":{\"ios\":{\"defaultDeviceGroupObjectIds\":[\"string\"],\"enableZeroTouchEnrollment\":true,\"setupAssistantOptions\":[{\"option\":\"accessibility\"}],\"setupOptions\":[\"accessibility\"],\"welcomeScreen\":{\"button\":\"string\",\"paragraph\":\"string\",\"title\":\"string\"}},\"macos\":{\"defaultDeviceGroupObjectIds\":[\"string\"],\"enableZeroTouchEnrollment\":true,\"setupAssistantOptions\":[{\"option\":\"accessibility\"}],\"setupOptions\":[\"accessibility\"],\"welcomeScreen\":{\"button\":\"string\",\"paragraph\":\"string\",\"title\":\"string\"}}},\"allowMobileUserEnrollment\":true,\"appleCertCreatorAppleID\":\"string\",\"appleSignedCert\":\"string\",\"defaultIosUserEnrollmentDeviceGroupID\":\"string\",\"defaultSystemGroupID\":\"string\",\"dep\":{\"enableZeroTouchEnrollment\":true,\"setupAssistantOptions\":[{\"option\":\"accessibility\"}],\"welcomeScreen\":{\"button\":\"string\",\"paragraph\":\"string\",\"title\":\"string\"}},\"encryptedDepServerToken\":\"string\",\"name\":\"string\"}'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/approvalflowrequest/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"admin\":\"string\",\"approvedDuration\":\"string\",\"internalNote\":\"string\",\"organizationObjectId\":\"string\",\"remarks\":\"string\",\"status\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applemdms/{id}\"\n\npayload = {\n \"ades\": {\n \"ios\": {\n \"defaultDeviceGroupObjectIds\": [\"string\"],\n \"enableZeroTouchEnrollment\": True,\n \"setupAssistantOptions\": [{\"option\": \"accessibility\"}],\n \"setupOptions\": [\"accessibility\"],\n \"welcomeScreen\": {\n \"button\": \"string\",\n \"paragraph\": \"string\",\n \"title\": \"string\"\n }\n },\n \"macos\": {\n \"defaultDeviceGroupObjectIds\": [\"string\"],\n \"enableZeroTouchEnrollment\": True,\n \"setupAssistantOptions\": [{\"option\": \"accessibility\"}],\n \"setupOptions\": [\"accessibility\"],\n \"welcomeScreen\": {\n \"button\": \"string\",\n \"paragraph\": \"string\",\n \"title\": \"string\"\n }\n }\n },\n \"allowMobileUserEnrollment\": True,\n \"appleCertCreatorAppleID\": \"string\",\n \"appleSignedCert\": \"string\",\n \"defaultIosUserEnrollmentDeviceGroupID\": \"string\",\n \"defaultSystemGroupID\": \"string\",\n \"dep\": {\n \"enableZeroTouchEnrollment\": True,\n \"setupAssistantOptions\": [{\"option\": \"accessibility\"}],\n \"welcomeScreen\": {\n \"button\": \"string\",\n \"paragraph\": \"string\",\n \"title\": \"string\"\n }\n },\n \"encryptedDepServerToken\": \"string\",\n \"name\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/approvalflowrequest/{id}\"\n\npayload = {\n \"admin\": \"string\",\n \"approvedDuration\": \"string\",\n \"internalNote\": \"string\",\n \"organizationObjectId\": \"string\",\n \"remarks\": \"string\",\n \"status\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applemdms/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"ades\":{\"ios\":{\"defaultDeviceGroupObjectIds\":[\"string\"],\"enableZeroTouchEnrollment\":true,\"setupAssistantOptions\":[{\"option\":\"accessibility\"}],\"setupOptions\":[\"accessibility\"],\"welcomeScreen\":{\"button\":\"string\",\"paragraph\":\"string\",\"title\":\"string\"}},\"macos\":{\"defaultDeviceGroupObjectIds\":[\"string\"],\"enableZeroTouchEnrollment\":true,\"setupAssistantOptions\":[{\"option\":\"accessibility\"}],\"setupOptions\":[\"accessibility\"],\"welcomeScreen\":{\"button\":\"string\",\"paragraph\":\"string\",\"title\":\"string\"}}},\"allowMobileUserEnrollment\":true,\"appleCertCreatorAppleID\":\"string\",\"appleSignedCert\":\"string\",\"defaultIosUserEnrollmentDeviceGroupID\":\"string\",\"defaultSystemGroupID\":\"string\",\"dep\":{\"enableZeroTouchEnrollment\":true,\"setupAssistantOptions\":[{\"option\":\"accessibility\"}],\"welcomeScreen\":{\"button\":\"string\",\"paragraph\":\"string\",\"title\":\"string\"}},\"encryptedDepServerToken\":\"string\",\"name\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/approvalflowrequest/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"admin\":\"string\",\"approvedDuration\":\"string\",\"internalNote\":\"string\",\"organizationObjectId\":\"string\",\"remarks\":\"string\",\"status\":\"string\"}'" } ] - }, - "x-functionalities-tags": [ - "mdm" - ] - }, - "/applemdms/{organizationObjectId}/account-driven-service-discovery": {}, - "/applemdms/{organizationObjectId}/account-driven-service-discovery/config": {}, - "/applevpp/locations": { - "x-functionalities-tags": [ - "vpp" - ] - }, - "/applevpp/locations/{id}": { - "parameters": [ - { - "description": "The Location's Object ID", - "in": "path", - "name": "id", - "required": true, - "type": "string" - } - ], - "x-functionalities-tags": [ - "vpp" - ] - }, - "/application/catalog": { - "x-functionalities-tags": [ - "user-portal-applications" - ] - }, - "/application/catalog/{item_id}": { - "parameters": [ - { - "in": "path", - "name": "item_id", - "required": true, - "type": "string" - } - ], - "x-functionalities-tags": [ - "user-portal-applications" - ] - }, - "/applications": { - "x-functionalities-tags": [ - "user-portal-applications" - ] - }, - "/applications/import/{job_id}/detailedresults": { - "parameters": [ - { - "description": "ObjectID of the Import Job.", - "in": "path", - "name": "job_id", - "required": true, - "type": "string" - } - ], - "x-functionalities-tags": [ - "user-portal-applications" - ] + } }, - "/applications/{application_id}/associations": { + "/approvalflows": { "get": { - "description": "This endpoint will return the _direct_ associations of an Application. A direct association can be a non-homogeneous relationship between 2 different objects, for example Applications and User Groups.\n\n\n#### Sample Request\n```\ncurl -X GET 'https://console.jumpcloud.com/api/v2/applications/{Application_ID}/associations?targets=user_group \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "ApplicationAssociation_Get", + "description": "Endpoint for getting all access workflows ", + "operationId": "ApprovalFlow_List", "parameters": [ { - "$ref": "#/parameters/trait:graphTargetsApplication:targets" + "format": "byte", + "in": "query", + "name": "organizationObjectId", + "required": false, + "type": "string" }, { - "$ref": "#/parameters/trait:limit:limit" + "format": "int64", + "in": "query", + "name": "limit", + "required": false, + "type": "string" }, { - "$ref": "#/parameters/trait:skip:skip" + "format": "int64", + "in": "query", + "name": "skip", + "required": false, + "type": "string" + }, + { + "in": "query", + "name": "sort", + "required": false, + "type": "string" + }, + { + "collectionFormat": "multi", + "in": "query", + "items": { + "type": "string" + }, + "name": "fields", + "required": false, + "type": "array" + }, + { + "collectionFormat": "multi", + "in": "query", + "items": { + "type": "string" + }, + "name": "filter", + "required": false, + "type": "array" } ], "responses": { "200": { - "description": "OK", + "description": "A successful response.", "schema": { - "items": { - "$ref": "#/definitions/GraphConnection" - }, - "type": "array" + "$ref": "#/definitions/jumpcloud.ingresso.GetAllAccessWorkFlowsResponse" } } }, @@ -10499,46 +11968,42 @@ "x-api-key": [] } ], - "summary": "List the associations of an Application", + "summary": "Get all Access workflows", + "x-dynamic-gateway": true, "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/applications/{application_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/approvalflows?organizationObjectId=SOME_STRING_VALUE&limit=SOME_STRING_VALUE&skip=SOME_STRING_VALUE&sort=SOME_STRING_VALUE&fields=SOME_ARRAY_VALUE&filter=SOME_ARRAY_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applications/{application_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/approvalflows\"\n\nquerystring = {\"organizationObjectId\":\"SOME_STRING_VALUE\",\"limit\":\"SOME_STRING_VALUE\",\"skip\":\"SOME_STRING_VALUE\",\"sort\":\"SOME_STRING_VALUE\",\"fields\":\"SOME_ARRAY_VALUE\",\"filter\":\"SOME_ARRAY_VALUE\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applications/{application_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/approvalflows?organizationObjectId=SOME_STRING_VALUE&limit=SOME_STRING_VALUE&skip=SOME_STRING_VALUE&sort=SOME_STRING_VALUE&fields=SOME_ARRAY_VALUE&filter=SOME_ARRAY_VALUE' -Method GET -Headers $headers" } ] }, - "parameters": [ - { - "description": "ObjectID of the Application.", - "in": "path", - "name": "application_id", - "required": true, - "type": "string" - } - ], "post": { - "description": "This endpoint allows you to manage the _direct_ associations of an Application. A direct association can be a non-homogeneous relationship between 2 different objects, for example Application and User Groups.\n\n#### Sample Request\n```\ncurl -X POST 'https://console.jumpcloud.com/api/v2/applications/{Application_ID}/associations' \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}' \\\n -d '{\n \"op\": \"add\",\n \"type\": \"user_group\",\n \"id\": \"{Group_ID}\"\n }'\n```", - "operationId": "ApplicationAssociation_Set", + "description": "Endpoint for adding a new access workflow", + "operationId": "ApprovalFlow_Create", "parameters": [ { "in": "body", "name": "body", + "required": true, "schema": { - "$ref": "#/definitions/GraphOperation-Application" + "$ref": "#/definitions/jumpcloud.ingresso.CreateAccessWorkflowRequest" } } ], "responses": { - "204": { - "description": "OK" + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/jumpcloud.ingresso.CreateAccessWorkflowResponse" + } } }, "security": [ @@ -10546,127 +12011,214 @@ "x-api-key": [] } ], - "summary": "Manage the associations of an Application", + "summary": "Create Access Workflow", + "x-dynamic-gateway": true, "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/applications/{application_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/approvalflows \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"approvalType\":\"string\",\"approverRequirement\":\"string\",\"approverResources\":[{\"requireAll\":true,\"resourceId\":\"string\",\"resourceName\":\"string\",\"resourceOrder\":0,\"resourceType\":\"string\"}],\"category\":\"string\",\"description\":\"string\",\"fixedDuration\":\"string\",\"iconColor\":\"string\",\"iconUrl\":\"string\",\"multiSelectDuration\":[\"string\"],\"name\":\"string\",\"nonAdminApproval\":true,\"organizationObjectId\":\"string\",\"resourceId\":\"string\",\"resourceType\":\"string\",\"slackConfig\":[{\"slackResourceId\":\"string\"}],\"slackEnabled\":true,\"status\":\"string\",\"timeBasedAccess\":true,\"ttlConfig\":\"TTL_CONFIG_UNSPECIFIED\",\"visibleTo\":[\"string\"]}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applications/{application_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/approvalflows\"\n\npayload = {\n \"approvalType\": \"string\",\n \"approverRequirement\": \"string\",\n \"approverResources\": [\n {\n \"requireAll\": True,\n \"resourceId\": \"string\",\n \"resourceName\": \"string\",\n \"resourceOrder\": 0,\n \"resourceType\": \"string\"\n }\n ],\n \"category\": \"string\",\n \"description\": \"string\",\n \"fixedDuration\": \"string\",\n \"iconColor\": \"string\",\n \"iconUrl\": \"string\",\n \"multiSelectDuration\": [\"string\"],\n \"name\": \"string\",\n \"nonAdminApproval\": True,\n \"organizationObjectId\": \"string\",\n \"resourceId\": \"string\",\n \"resourceType\": \"string\",\n \"slackConfig\": [{\"slackResourceId\": \"string\"}],\n \"slackEnabled\": True,\n \"status\": \"string\",\n \"timeBasedAccess\": True,\n \"ttlConfig\": \"TTL_CONFIG_UNSPECIFIED\",\n \"visibleTo\": [\"string\"]\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applications/{application_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/approvalflows' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"approvalType\":\"string\",\"approverRequirement\":\"string\",\"approverResources\":[{\"requireAll\":true,\"resourceId\":\"string\",\"resourceName\":\"string\",\"resourceOrder\":0,\"resourceType\":\"string\"}],\"category\":\"string\",\"description\":\"string\",\"fixedDuration\":\"string\",\"iconColor\":\"string\",\"iconUrl\":\"string\",\"multiSelectDuration\":[\"string\"],\"name\":\"string\",\"nonAdminApproval\":true,\"organizationObjectId\":\"string\",\"resourceId\":\"string\",\"resourceType\":\"string\",\"slackConfig\":[{\"slackResourceId\":\"string\"}],\"slackEnabled\":true,\"status\":\"string\",\"timeBasedAccess\":true,\"ttlConfig\":\"TTL_CONFIG_UNSPECIFIED\",\"visibleTo\":[\"string\"]}'" } ] - }, - "x-functionalities-tags": [ - "user-portal-applications" - ] - }, - "/applications/{application_id}/import/jobs": { - "parameters": [ - { - "description": "ObjectID of the Application.", - "in": "path", - "name": "application_id", - "required": true, - "type": "string" - } - ], - "x-functionalities-tags": [ - "user-portal-applications" - ] + } }, - "/applications/{application_id}/import/users": { - "get": { - "description": "Get a list of users to import from an Application IdM service provider.", - "operationId": "SCIM_Import", + "/approvalflows/{approvalFlowId}": { + "delete": { + "description": "Endpoint for deleting accessworkflow by id", + "operationId": "ApprovalFlow_Delete", "parameters": [ { - "default": "", - "description": "Filter users by a search term", - "in": "query", - "name": "filter", + "in": "path", + "name": "approvalFlowId", + "required": true, "type": "string" }, { - "default": "", - "description": "URL query to merge with the service provider request", + "format": "byte", "in": "query", - "name": "query", + "name": "organizationObjectId", + "required": false, "type": "string" - }, - { - "default": "", - "description": "Sort users by supported fields", - "enum": [ - "firstname", - "lastname", - "email" - ], - "in": "query", - "name": "sort", - "type": "string", - "x-ms-enum": { - "name": "sort" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/jumpcloud.ingresso.DeleteAccessWorkflowResponse" } + } + }, + "security": [ + { + "x-api-key": [] + } + ], + "summary": "Delete access workflow", + "x-dynamic-gateway": true, + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request DELETE \\\n --url 'https://console.jumpcloud.com/api/v2/approvalflows/{approvalFlowId}?organizationObjectId=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { - "default": "asc", - "enum": [ - "asc", - "desc" - ], - "in": "query", - "name": "sortOrder", - "type": "string", - "x-ms-enum": { - "name": "sortOrder1" - } + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/approvalflows/{approvalFlowId}\"\n\nquerystring = {\"organizationObjectId\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { - "default": "", - "description": "Import sessionId for manual select and view user", - "in": "query", - "name": "sessionId", + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/approvalflows/{approvalFlowId}?organizationObjectId=SOME_STRING_VALUE' -Method DELETE -Headers $headers" + } + ] + }, + "get": { + "description": "Endpoint for getting workflow by id", + "operationId": "ApprovalFlow_Get", + "parameters": [ + { + "in": "path", + "name": "approvalFlowId", + "required": true, "type": "string" }, { - "default": false, - "description": "IsCount indicates if the request is only for getting the total count of users.", + "format": "byte", "in": "query", - "name": "isCount", - "type": "boolean" - }, + "name": "organizationObjectId", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/jumpcloud.ingresso.AccessWorkflow" + } + } + }, + "security": [ { - "default": false, - "description": "Enable cursor-based pagination", - "in": "query", - "name": "isCursor", - "type": "boolean" + "x-api-key": [] + } + ], + "summary": "Get AccessWorkflow by id", + "x-dynamic-gateway": true, + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/approvalflows/{approvalFlowId}?organizationObjectId=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { - "default": "", - "description": "Cursor token for pagination", - "in": "query", - "name": "cursor", - "type": "string" + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/approvalflows/{approvalFlowId}\"\n\nquerystring = {\"organizationObjectId\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { - "$ref": "#/parameters/trait:limit:limit" + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/approvalflows/{approvalFlowId}?organizationObjectId=SOME_STRING_VALUE' -Method GET -Headers $headers" + } + ] + }, + "put": { + "description": "Endpoint for updating a new access workflow", + "operationId": "ApprovalFlow_Set", + "parameters": [ + { + "in": "path", + "name": "approvalFlowId", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/trait:skip:skip" + "in": "body", + "name": "body", + "required": true, + "schema": { + "properties": { + "approvalType": { + "type": "string" + }, + "approverRequirement": { + "type": "string" + }, + "approverResources": { + "items": { + "$ref": "#/definitions/jumpcloud.ingresso.ApproverResource" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "fixedDuration": { + "type": "string" + }, + "iconColor": { + "type": "string" + }, + "iconUrl": { + "type": "string" + }, + "multiSelectDuration": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "nonAdminApproval": { + "type": "boolean" + }, + "organizationObjectId": { + "format": "byte", + "type": "string" + }, + "resourceId": { + "type": "string" + }, + "slackConfig": { + "items": { + "$ref": "#/definitions/jumpcloud.ingresso.SlackConfig" + }, + "type": "array" + }, + "slackEnabled": { + "type": "boolean" + }, + "status": { + "type": "string" + }, + "timeBasedAccess": { + "type": "boolean" + }, + "ttlConfig": { + "$ref": "#/definitions/jumpcloud.ingresso.TtlConfig" + }, + "visibleTo": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } } ], "responses": { "200": { - "description": "OK", + "description": "A successful response.", "schema": { - "$ref": "#/definitions/importUsersResponse" + "$ref": "#/definitions/jumpcloud.ingresso.UpdateAccessWorkflowResponse" } } }, @@ -10675,50 +12227,43 @@ "x-api-key": [] } ], - "summary": "Get a list of users to import from an Application IdM service provider", + "summary": "Update Access Workflow", + "x-dynamic-gateway": true, "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/applications/{application_id}/import/users?filter=&query=&sort=&sortOrder=asc&sessionId=&isCount=false&isCursor=false&cursor=&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/approvalflows/{approvalFlowId} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"approvalType\":\"string\",\"approverRequirement\":\"string\",\"approverResources\":[{\"requireAll\":true,\"resourceId\":\"string\",\"resourceName\":\"string\",\"resourceOrder\":0,\"resourceType\":\"string\"}],\"description\":\"string\",\"fixedDuration\":\"string\",\"iconColor\":\"string\",\"iconUrl\":\"string\",\"multiSelectDuration\":[\"string\"],\"name\":\"string\",\"nonAdminApproval\":true,\"organizationObjectId\":\"string\",\"resourceId\":\"string\",\"slackConfig\":[{\"slackResourceId\":\"string\"}],\"slackEnabled\":true,\"status\":\"string\",\"timeBasedAccess\":true,\"ttlConfig\":\"TTL_CONFIG_UNSPECIFIED\",\"visibleTo\":[\"string\"]}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applications/{application_id}/import/users\"\n\nquerystring = {\"filter\":\"\",\"query\":\"\",\"sort\":\"\",\"sortOrder\":\"asc\",\"sessionId\":\"\",\"isCount\":\"false\",\"isCursor\":\"false\",\"cursor\":\"\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/approvalflows/{approvalFlowId}\"\n\npayload = {\n \"approvalType\": \"string\",\n \"approverRequirement\": \"string\",\n \"approverResources\": [\n {\n \"requireAll\": True,\n \"resourceId\": \"string\",\n \"resourceName\": \"string\",\n \"resourceOrder\": 0,\n \"resourceType\": \"string\"\n }\n ],\n \"description\": \"string\",\n \"fixedDuration\": \"string\",\n \"iconColor\": \"string\",\n \"iconUrl\": \"string\",\n \"multiSelectDuration\": [\"string\"],\n \"name\": \"string\",\n \"nonAdminApproval\": True,\n \"organizationObjectId\": \"string\",\n \"resourceId\": \"string\",\n \"slackConfig\": [{\"slackResourceId\": \"string\"}],\n \"slackEnabled\": True,\n \"status\": \"string\",\n \"timeBasedAccess\": True,\n \"ttlConfig\": \"TTL_CONFIG_UNSPECIFIED\",\n \"visibleTo\": [\"string\"]\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applications/{application_id}/import/users?filter=&query=&sort=&sortOrder=asc&sessionId=&isCount=false&isCursor=false&cursor=&limit=10&skip=0' -Method GET -Headers $headers" - } - ] - }, - "parameters": [ - { - "description": "ObjectID of the Application.", - "in": "path", - "name": "application_id", - "required": true, - "type": "string" - } - ], - "x-functionalities-tags": [ - "user-portal-applications" - ] + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/approvalflows/{approvalFlowId}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"approvalType\":\"string\",\"approverRequirement\":\"string\",\"approverResources\":[{\"requireAll\":true,\"resourceId\":\"string\",\"resourceName\":\"string\",\"resourceOrder\":0,\"resourceType\":\"string\"}],\"description\":\"string\",\"fixedDuration\":\"string\",\"iconColor\":\"string\",\"iconUrl\":\"string\",\"multiSelectDuration\":[\"string\"],\"name\":\"string\",\"nonAdminApproval\":true,\"organizationObjectId\":\"string\",\"resourceId\":\"string\",\"slackConfig\":[{\"slackResourceId\":\"string\"}],\"slackEnabled\":true,\"status\":\"string\",\"timeBasedAccess\":true,\"ttlConfig\":\"TTL_CONFIG_UNSPECIFIED\",\"visibleTo\":[\"string\"]}'" + } + ] + } }, - "/applications/{application_id}/logo": { - "delete": { - "description": "Deletes the specified image from an application", - "operationId": "ApplicationLogo_Delete", + "/approvalflowsettings": { + "get": { + "description": "Endpoint for getting workflow settings for an organisation", + "operationId": "ApprovalFlowSettings_Get", "parameters": [ { - "in": "path", - "name": "application_id", - "required": true, + "format": "byte", + "in": "query", + "name": "organizationObjectId", + "required": false, "type": "string" } ], "responses": { - "204": { - "description": "NO_CONTENT" + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/jumpcloud.ingresso.AccessWorkflowSettings" + } } }, "security": [ @@ -10726,113 +12271,41 @@ "x-api-key": [] } ], - "summary": "Delete application image", + "summary": "Get AccessWorkflow settings for an organisation", + "x-dynamic-gateway": true, "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/applications/{application_id}/logo \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/approvalflowsettings?organizationObjectId=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applications/{application_id}/logo\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/approvalflowsettings\"\n\nquerystring = {\"organizationObjectId\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applications/{application_id}/logo' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/approvalflowsettings?organizationObjectId=SOME_STRING_VALUE' -Method GET -Headers $headers" } ] }, - "x-functionalities-tags": [ - "user-portal-applications" - ] - }, - "/applications/{application_id}/provision": { - "parameters": [ - { - "in": "path", - "name": "application_id", - "required": true, - "type": "string" - } - ], - "x-functionalities-tags": [ - "user-portal-applications" - ] - }, - "/applications/{application_id}/provision/activate": { - "parameters": [ - { - "in": "path", - "name": "application_id", - "required": true, - "type": "string" - }, - { - "in": "header", - "name": "X-Requested-With", - "required": false, - "type": "string" - } - ], - "x-functionalities-tags": [ - "user-portal-applications" - ] - }, - "/applications/{application_id}/provision/reactivate": { - "parameters": [ - { - "in": "path", - "name": "application_id", - "required": true, - "type": "string" - }, - { - "in": "header", - "name": "X-Requested-With", - "required": false, - "type": "string" - } - ], - "x-functionalities-tags": [ - "user-portal-applications" - ] - }, - "/applications/{application_id}/sso": { - "parameters": [ - { - "in": "path", - "name": "application_id", - "required": true, - "type": "string" - } - ], - "x-functionalities-tags": [ - "user-portal-applications" - ] - }, - "/applications/{application_id}/usergroups": { - "get": { - "description": "This endpoint will return all Users Groups bound to an Application, either directly or indirectly, essentially traversing the JumpCloud Graph for your Organization.\n\nEach element will contain the group's type, id, attributes and paths.\n\nThe `attributes` object is a key/value hash of compiled graph attributes for all paths followed.\n\nThe `paths` array enumerates each path from this Application to the corresponding User Group; this array represents all grouping and/or associations that would have to be removed to deprovision the User Group from this Application.\n\nSee `/members` and `/associations` endpoints to manage those collections.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/applications/{Application_ID}/usergroups \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "ApplicationTraverseUserGroup_Get", + "put": { + "description": "Endpoint for updating a access workflow settings for an organization", + "operationId": "ApprovalFlowSettings_Set", "parameters": [ { - "$ref": "#/parameters/trait:limit:limit" - }, - { - "$ref": "#/parameters/trait:skip:skip" - }, - { - "$ref": "#/parameters/trait:filter:filter" + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/jumpcloud.ingresso.UpdateAccessWorkflowSettingsRequest" + } } ], "responses": { "200": { - "description": "OK", + "description": "A successful response.", "schema": { - "items": { - "$ref": "#/definitions/GraphObjectWithPaths" - }, - "type": "array" + "$ref": "#/definitions/jumpcloud.ingresso.UpdateAccessWorkflowSettingsResponse" } } }, @@ -10841,58 +12314,48 @@ "x-api-key": [] } ], - "summary": "List the User Groups bound to an Application", + "summary": "Update Access Workflow Settings", + "x-dynamic-gateway": true, "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/applications/{application_id}/usergroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/approvalflowsettings \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"adminApprovalEmail\":true,\"channelEvents\":[{\"channelObjectId\":\"string\",\"eventTypes\":[\"ACCESS_MANAGEMENT_EVENT_TYPE_UNSPECIFIED\"]}],\"exposeApprovalProgress\":true,\"organizationObjectId\":\"string\",\"resourceRequest\":true,\"userApprovalEmail\":true,\"userRequestEmail\":true}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applications/{application_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/approvalflowsettings\"\n\npayload = {\n \"adminApprovalEmail\": True,\n \"channelEvents\": [\n {\n \"channelObjectId\": \"string\",\n \"eventTypes\": [\"ACCESS_MANAGEMENT_EVENT_TYPE_UNSPECIFIED\"]\n }\n ],\n \"exposeApprovalProgress\": True,\n \"organizationObjectId\": \"string\",\n \"resourceRequest\": True,\n \"userApprovalEmail\": True,\n \"userRequestEmail\": True\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applications/{application_id}/usergroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/approvalflowsettings' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"adminApprovalEmail\":true,\"channelEvents\":[{\"channelObjectId\":\"string\",\"eventTypes\":[\"ACCESS_MANAGEMENT_EVENT_TYPE_UNSPECIFIED\"]}],\"exposeApprovalProgress\":true,\"organizationObjectId\":\"string\",\"resourceRequest\":true,\"userApprovalEmail\":true,\"userRequestEmail\":true}'" } ] - }, - "parameters": [ - { - "description": "ObjectID of the Application.", - "in": "path", - "name": "application_id", - "required": true, - "type": "string" - } - ], - "x-functionalities-tags": [ - "user-portal-applications" - ] + } }, - "/applications/{application_id}/users": { + "/approversprogress/{id}": { "get": { - "description": "This endpoint will return all Users bound to an Application, either directly or indirectly, essentially traversing the JumpCloud Graph for your Organization.\n\nEach element will contain the type, id, attributes and paths.\n\nThe `attributes` object is a key/value hash of compiled graph attributes for all paths followed.\n\nThe `paths` array enumerates each path from this Application to the corresponding User; this array represents all grouping and/or associations that would have to be removed to deprovision the User from this Application.\n\nSee `/members` and `/associations` endpoints to manage those collections.\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/applications/{Application_ID}/users \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", - "operationId": "ApplicationTraverseUser_Get", + "description": "Endpoint for getting the approval progress of a access request", + "operationId": "AccessRequestProgress_Get", "parameters": [ { - "$ref": "#/parameters/trait:limit:limit" - }, - { - "$ref": "#/parameters/trait:skip:skip" + "in": "path", + "name": "id", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/trait:filter:filter" + "format": "byte", + "in": "query", + "name": "organizationObjectId", + "required": false, + "type": "string" } ], "responses": { "200": { - "description": "OK", + "description": "A successful response.", "schema": { - "items": { - "$ref": "#/definitions/GraphObjectWithPaths" - }, - "type": "array" + "$ref": "#/definitions/jumpcloud.ingresso.GetAccessRequestApprovalProgressResponse" } } }, @@ -10901,41 +12364,24 @@ "x-api-key": [] } ], - "summary": "List the Users bound to an Application", + "summary": "Get Approval flow progress by id for admin portal", + "x-dynamic-gateway": true, "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/applications/{application_id}/users?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/approversprogress/{id}?organizationObjectId=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/applications/{application_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/approversprogress/{id}\"\n\nquerystring = {\"organizationObjectId\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/applications/{application_id}/users?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/approversprogress/{id}?organizationObjectId=SOME_STRING_VALUE' -Method GET -Headers $headers" } ] - }, - "parameters": [ - { - "description": "ObjectID of the Application.", - "in": "path", - "name": "application_id", - "required": true, - "type": "string" - } - ], - "x-functionalities-tags": [ - "user-portal-applications" - ] + } }, - "/approvalflowrequest": {}, - "/approvalflowrequest/{id}": {}, - "/approvalflows": {}, - "/approvalflows/{approvalFlowId}": {}, - "/approvalflowsettings": {}, - "/approversprogress/{id}": {}, "/assets/accessories": {}, "/assets/accessories/batch": {}, "/assets/accessories/{id}": {}, @@ -10990,15 +12436,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/authn/policies?limit=10&skip=0&filter=&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/authn/policies?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --header 'x-total-count: SOME_INTEGER_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/authn/policies\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/authn/policies\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-total-count\": \"SOME_INTEGER_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/authn/policies?limit=10&skip=0&filter=&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-total-count\", \"SOME_INTEGER_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/authn/policies?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -11031,15 +12477,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/authn/policies \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"conditions\":{},\"description\":\"string\",\"disabled\":true,\"effect\":{\"action\":\"allow\",\"custom_error_message\":{\"enabled\":true,\"message\":\"string\",\"primary_help\":{\"text\":\"string\",\"url\":\"string\"},\"secondary_help\":{\"text\":\"string\",\"url\":\"string\"}},\"obligations\":{\"mfa\":{\"required\":true},\"mfaFactors\":[{\"type\":\"DURT\"}],\"userVerification\":{\"requirement\":\"none\"}}},\"name\":\"string\",\"targets\":{\"resources\":[{\"id\":\"string\",\"type\":\"admin_portal\"}],\"userAttributes\":{\"exclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}],\"inclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}]},\"userGroups\":{\"exclusions\":[\"string\"],\"inclusions\":[\"string\"]},\"users\":{\"inclusions\":[\"string\"]}},\"type\":\"user_portal\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/authn/policies \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"conditions\":{},\"description\":\"string\",\"disabled\":true,\"effect\":{\"action\":\"allow\",\"custom_error_message\":{\"enabled\":true,\"message\":\"string\",\"primary_help\":{\"text\":\"string\",\"url\":\"string\"},\"secondary_help\":{\"text\":\"string\",\"url\":\"string\"}},\"obligations\":{\"mfa\":{\"required\":true},\"mfaFactors\":[{\"type\":\"DURT\"}],\"userVerification\":{\"requirement\":\"none\"}}},\"name\":\"string\",\"targets\":{\"resources\":[{\"id\":\"string\",\"type\":\"admin_portal\"}],\"userAttributes\":{\"exclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}],\"inclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}]},\"userGroups\":{\"exclusions\":[\"string\"],\"inclusions\":[\"string\"]},\"users\":{\"inclusions\":[\"string\"]}},\"type\":\"user_portal\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/authn/policies\"\n\npayload = {\n \"conditions\": {},\n \"description\": \"string\",\n \"disabled\": True,\n \"effect\": {\n \"action\": \"allow\",\n \"custom_error_message\": {\n \"enabled\": True,\n \"message\": \"string\",\n \"primary_help\": {\n \"text\": \"string\",\n \"url\": \"string\"\n },\n \"secondary_help\": {\n \"text\": \"string\",\n \"url\": \"string\"\n }\n },\n \"obligations\": {\n \"mfa\": {\"required\": True},\n \"mfaFactors\": [{\"type\": \"DURT\"}],\n \"userVerification\": {\"requirement\": \"none\"}\n }\n },\n \"name\": \"string\",\n \"targets\": {\n \"resources\": [\n {\n \"id\": \"string\",\n \"type\": \"admin_portal\"\n }\n ],\n \"userAttributes\": {\n \"exclusions\": [\n {\n \"field\": \"string\",\n \"operator\": \"EQ\",\n \"value\": None\n }\n ],\n \"inclusions\": [\n {\n \"field\": \"string\",\n \"operator\": \"EQ\",\n \"value\": None\n }\n ]\n },\n \"userGroups\": {\n \"exclusions\": [\"string\"],\n \"inclusions\": [\"string\"]\n },\n \"users\": {\"inclusions\": [\"string\"]}\n },\n \"type\": \"user_portal\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/authn/policies\"\n\npayload = {\n \"conditions\": {},\n \"description\": \"string\",\n \"disabled\": True,\n \"effect\": {\n \"action\": \"allow\",\n \"custom_error_message\": {\n \"enabled\": True,\n \"message\": \"string\",\n \"primary_help\": {\n \"text\": \"string\",\n \"url\": \"string\"\n },\n \"secondary_help\": {\n \"text\": \"string\",\n \"url\": \"string\"\n }\n },\n \"obligations\": {\n \"mfa\": {\"required\": True},\n \"mfaFactors\": [{\"type\": \"DURT\"}],\n \"userVerification\": {\"requirement\": \"none\"}\n }\n },\n \"name\": \"string\",\n \"targets\": {\n \"resources\": [\n {\n \"id\": \"string\",\n \"type\": \"admin_portal\"\n }\n ],\n \"userAttributes\": {\n \"exclusions\": [\n {\n \"field\": \"string\",\n \"operator\": \"EQ\",\n \"value\": None\n }\n ],\n \"inclusions\": [\n {\n \"field\": \"string\",\n \"operator\": \"EQ\",\n \"value\": None\n }\n ]\n },\n \"userGroups\": {\n \"exclusions\": [\"string\"],\n \"inclusions\": [\"string\"]\n },\n \"users\": {\"inclusions\": [\"string\"]}\n },\n \"type\": \"user_portal\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/authn/policies' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"conditions\":{},\"description\":\"string\",\"disabled\":true,\"effect\":{\"action\":\"allow\",\"custom_error_message\":{\"enabled\":true,\"message\":\"string\",\"primary_help\":{\"text\":\"string\",\"url\":\"string\"},\"secondary_help\":{\"text\":\"string\",\"url\":\"string\"}},\"obligations\":{\"mfa\":{\"required\":true},\"mfaFactors\":[{\"type\":\"DURT\"}],\"userVerification\":{\"requirement\":\"none\"}}},\"name\":\"string\",\"targets\":{\"resources\":[{\"id\":\"string\",\"type\":\"admin_portal\"}],\"userAttributes\":{\"exclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}],\"inclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}]},\"userGroups\":{\"exclusions\":[\"string\"],\"inclusions\":[\"string\"]},\"users\":{\"inclusions\":[\"string\"]}},\"type\":\"user_portal\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/authn/policies' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"conditions\":{},\"description\":\"string\",\"disabled\":true,\"effect\":{\"action\":\"allow\",\"custom_error_message\":{\"enabled\":true,\"message\":\"string\",\"primary_help\":{\"text\":\"string\",\"url\":\"string\"},\"secondary_help\":{\"text\":\"string\",\"url\":\"string\"}},\"obligations\":{\"mfa\":{\"required\":true},\"mfaFactors\":[{\"type\":\"DURT\"}],\"userVerification\":{\"requirement\":\"none\"}}},\"name\":\"string\",\"targets\":{\"resources\":[{\"id\":\"string\",\"type\":\"admin_portal\"}],\"userAttributes\":{\"exclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}],\"inclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}]},\"userGroups\":{\"exclusions\":[\"string\"],\"inclusions\":[\"string\"]},\"users\":{\"inclusions\":[\"string\"]}},\"type\":\"user_portal\"}'" } ] }, @@ -11069,15 +12515,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/authn/policies/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/authn/policies/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/authn/policies/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/authn/policies/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/authn/policies/{id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/authn/policies/{id}' -Method DELETE -Headers $headers" } ] }, @@ -11102,15 +12548,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/authn/policies/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/authn/policies/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/authn/policies/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/authn/policies/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/authn/policies/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/authn/policies/{id}' -Method GET -Headers $headers" } ] }, @@ -11152,15 +12598,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PATCH \\\n --url https://console.jumpcloud.com/api/v2/authn/policies/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"conditions\":{},\"description\":\"string\",\"disabled\":true,\"effect\":{\"action\":\"allow\",\"custom_error_message\":{\"enabled\":true,\"message\":\"string\",\"primary_help\":{\"text\":\"string\",\"url\":\"string\"},\"secondary_help\":{\"text\":\"string\",\"url\":\"string\"}},\"obligations\":{\"mfa\":{\"required\":true},\"mfaFactors\":[{\"type\":\"DURT\"}],\"userVerification\":{\"requirement\":\"none\"}}},\"name\":\"string\",\"targets\":{\"resources\":[{\"id\":\"string\",\"type\":\"admin_portal\"}],\"userAttributes\":{\"exclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}],\"inclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}]},\"userGroups\":{\"exclusions\":[\"string\"],\"inclusions\":[\"string\"]},\"users\":{\"inclusions\":[\"string\"]}},\"type\":\"user_portal\"}'" + "source": "curl --request PATCH \\\n --url https://console.jumpcloud.com/api/v2/authn/policies/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"conditions\":{},\"description\":\"string\",\"disabled\":true,\"effect\":{\"action\":\"allow\",\"custom_error_message\":{\"enabled\":true,\"message\":\"string\",\"primary_help\":{\"text\":\"string\",\"url\":\"string\"},\"secondary_help\":{\"text\":\"string\",\"url\":\"string\"}},\"obligations\":{\"mfa\":{\"required\":true},\"mfaFactors\":[{\"type\":\"DURT\"}],\"userVerification\":{\"requirement\":\"none\"}}},\"name\":\"string\",\"targets\":{\"resources\":[{\"id\":\"string\",\"type\":\"admin_portal\"}],\"userAttributes\":{\"exclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}],\"inclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}]},\"userGroups\":{\"exclusions\":[\"string\"],\"inclusions\":[\"string\"]},\"users\":{\"inclusions\":[\"string\"]}},\"type\":\"user_portal\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/authn/policies/{id}\"\n\npayload = {\n \"conditions\": {},\n \"description\": \"string\",\n \"disabled\": True,\n \"effect\": {\n \"action\": \"allow\",\n \"custom_error_message\": {\n \"enabled\": True,\n \"message\": \"string\",\n \"primary_help\": {\n \"text\": \"string\",\n \"url\": \"string\"\n },\n \"secondary_help\": {\n \"text\": \"string\",\n \"url\": \"string\"\n }\n },\n \"obligations\": {\n \"mfa\": {\"required\": True},\n \"mfaFactors\": [{\"type\": \"DURT\"}],\n \"userVerification\": {\"requirement\": \"none\"}\n }\n },\n \"name\": \"string\",\n \"targets\": {\n \"resources\": [\n {\n \"id\": \"string\",\n \"type\": \"admin_portal\"\n }\n ],\n \"userAttributes\": {\n \"exclusions\": [\n {\n \"field\": \"string\",\n \"operator\": \"EQ\",\n \"value\": None\n }\n ],\n \"inclusions\": [\n {\n \"field\": \"string\",\n \"operator\": \"EQ\",\n \"value\": None\n }\n ]\n },\n \"userGroups\": {\n \"exclusions\": [\"string\"],\n \"inclusions\": [\"string\"]\n },\n \"users\": {\"inclusions\": [\"string\"]}\n },\n \"type\": \"user_portal\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/authn/policies/{id}\"\n\npayload = {\n \"conditions\": {},\n \"description\": \"string\",\n \"disabled\": True,\n \"effect\": {\n \"action\": \"allow\",\n \"custom_error_message\": {\n \"enabled\": True,\n \"message\": \"string\",\n \"primary_help\": {\n \"text\": \"string\",\n \"url\": \"string\"\n },\n \"secondary_help\": {\n \"text\": \"string\",\n \"url\": \"string\"\n }\n },\n \"obligations\": {\n \"mfa\": {\"required\": True},\n \"mfaFactors\": [{\"type\": \"DURT\"}],\n \"userVerification\": {\"requirement\": \"none\"}\n }\n },\n \"name\": \"string\",\n \"targets\": {\n \"resources\": [\n {\n \"id\": \"string\",\n \"type\": \"admin_portal\"\n }\n ],\n \"userAttributes\": {\n \"exclusions\": [\n {\n \"field\": \"string\",\n \"operator\": \"EQ\",\n \"value\": None\n }\n ],\n \"inclusions\": [\n {\n \"field\": \"string\",\n \"operator\": \"EQ\",\n \"value\": None\n }\n ]\n },\n \"userGroups\": {\n \"exclusions\": [\"string\"],\n \"inclusions\": [\"string\"]\n },\n \"users\": {\"inclusions\": [\"string\"]}\n },\n \"type\": \"user_portal\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/authn/policies/{id}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{\"conditions\":{},\"description\":\"string\",\"disabled\":true,\"effect\":{\"action\":\"allow\",\"custom_error_message\":{\"enabled\":true,\"message\":\"string\",\"primary_help\":{\"text\":\"string\",\"url\":\"string\"},\"secondary_help\":{\"text\":\"string\",\"url\":\"string\"}},\"obligations\":{\"mfa\":{\"required\":true},\"mfaFactors\":[{\"type\":\"DURT\"}],\"userVerification\":{\"requirement\":\"none\"}}},\"name\":\"string\",\"targets\":{\"resources\":[{\"id\":\"string\",\"type\":\"admin_portal\"}],\"userAttributes\":{\"exclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}],\"inclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}]},\"userGroups\":{\"exclusions\":[\"string\"],\"inclusions\":[\"string\"]},\"users\":{\"inclusions\":[\"string\"]}},\"type\":\"user_portal\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/authn/policies/{id}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{\"conditions\":{},\"description\":\"string\",\"disabled\":true,\"effect\":{\"action\":\"allow\",\"custom_error_message\":{\"enabled\":true,\"message\":\"string\",\"primary_help\":{\"text\":\"string\",\"url\":\"string\"},\"secondary_help\":{\"text\":\"string\",\"url\":\"string\"}},\"obligations\":{\"mfa\":{\"required\":true},\"mfaFactors\":[{\"type\":\"DURT\"}],\"userVerification\":{\"requirement\":\"none\"}}},\"name\":\"string\",\"targets\":{\"resources\":[{\"id\":\"string\",\"type\":\"admin_portal\"}],\"userAttributes\":{\"exclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}],\"inclusions\":[{\"field\":\"string\",\"operator\":\"EQ\",\"value\":null}]},\"userGroups\":{\"exclusions\":[\"string\"],\"inclusions\":[\"string\"]},\"users\":{\"inclusions\":[\"string\"]}},\"type\":\"user_portal\"}'" } ] }, @@ -11216,15 +12662,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PATCH \\\n --url 'https://console.jumpcloud.com/api/v2/bulk/users?suppressEmail=SOME_BOOLEAN_VALUE' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '[{\"attributes\":[{}],\"email\":\"string\",\"firstname\":\"string\",\"id\":\"string\",\"lastname\":\"string\",\"organization\":\"string\",\"username\":\"string\"}]'" + "source": "curl --request PATCH \\\n --url 'https://console.jumpcloud.com/api/v2/bulk/users?suppressEmail=SOME_BOOLEAN_VALUE' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '[{\"attributes\":[{}],\"email\":\"string\",\"firstname\":\"string\",\"id\":\"string\",\"lastname\":\"string\",\"organization\":\"string\",\"username\":\"string\"}]'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/bulk/users\"\n\nquerystring = {\"suppressEmail\":\"SOME_BOOLEAN_VALUE\"}\n\npayload = [\n {\n \"attributes\": [{}],\n \"email\": \"string\",\n \"firstname\": \"string\",\n \"id\": \"string\",\n \"lastname\": \"string\",\n \"organization\": \"string\",\n \"username\": \"string\"\n }\n]\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/bulk/users\"\n\nquerystring = {\"suppressEmail\":\"SOME_BOOLEAN_VALUE\"}\n\npayload = [\n {\n \"attributes\": [{}],\n \"email\": \"string\",\n \"firstname\": \"string\",\n \"id\": \"string\",\n \"lastname\": \"string\",\n \"organization\": \"string\",\n \"username\": \"string\"\n }\n]\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/bulk/users?suppressEmail=SOME_BOOLEAN_VALUE' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '[{\"attributes\":[{}],\"email\":\"string\",\"firstname\":\"string\",\"id\":\"string\",\"lastname\":\"string\",\"organization\":\"string\",\"username\":\"string\"}]'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/bulk/users?suppressEmail=SOME_BOOLEAN_VALUE' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '[{\"attributes\":[{}],\"email\":\"string\",\"firstname\":\"string\",\"id\":\"string\",\"lastname\":\"string\",\"organization\":\"string\",\"username\":\"string\"}]'" } ] }, @@ -11281,15 +12727,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url 'https://console.jumpcloud.com/api/v2/bulk/users?suppressEmail=SOME_BOOLEAN_VALUE' \\\n --header 'content-type: application/json' \\\n --header 'creation-source: jumpcloud:bulk' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '[{\"attributes\":[{}],\"email\":\"string\",\"firstname\":\"string\",\"lastname\":\"string\",\"username\":\"string\"}]'" + "source": "curl --request POST \\\n --url 'https://console.jumpcloud.com/api/v2/bulk/users?suppressEmail=SOME_BOOLEAN_VALUE' \\\n --header 'content-type: application/json' \\\n --header 'creation-source: jumpcloud:bulk' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '[{\"attributes\":[{}],\"email\":\"string\",\"firstname\":\"string\",\"lastname\":\"string\",\"username\":\"string\"}]'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/bulk/users\"\n\nquerystring = {\"suppressEmail\":\"SOME_BOOLEAN_VALUE\"}\n\npayload = [\n {\n \"attributes\": [{}],\n \"email\": \"string\",\n \"firstname\": \"string\",\n \"lastname\": \"string\",\n \"username\": \"string\"\n }\n]\nheaders = {\n \"creation-source\": \"jumpcloud:bulk\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/bulk/users\"\n\nquerystring = {\"suppressEmail\":\"SOME_BOOLEAN_VALUE\"}\n\npayload = [\n {\n \"attributes\": [{}],\n \"email\": \"string\",\n \"firstname\": \"string\",\n \"lastname\": \"string\",\n \"username\": \"string\"\n }\n]\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"creation-source\": \"jumpcloud:bulk\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"creation-source\", \"jumpcloud:bulk\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/bulk/users?suppressEmail=SOME_BOOLEAN_VALUE' -Method POST -Headers $headers -ContentType 'application/json' -Body '[{\"attributes\":[{}],\"email\":\"string\",\"firstname\":\"string\",\"lastname\":\"string\",\"username\":\"string\"}]'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"creation-source\", \"jumpcloud:bulk\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/bulk/users?suppressEmail=SOME_BOOLEAN_VALUE' -Method POST -Headers $headers -ContentType 'application/json' -Body '[{\"attributes\":[{}],\"email\":\"string\",\"firstname\":\"string\",\"lastname\":\"string\",\"username\":\"string\"}]'" } ] }, @@ -11330,15 +12776,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/bulk/users/{job_id}/results?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/bulk/users/{job_id}/results?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/bulk/users/{job_id}/results\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/bulk/users/{job_id}/results\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/bulk/users/{job_id}/results?limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/bulk/users/{job_id}/results?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -11396,15 +12842,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/bulk/userstates?limit=10&filter=&skip=0&userid=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/bulk/userstates?limit=10&skip=0&userid=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/bulk/userstates\"\n\nquerystring = {\"limit\":\"10\",\"filter\":\"\",\"skip\":\"0\",\"userid\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/bulk/userstates\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"userid\":\"SOME_STRING_VALUE\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/bulk/userstates?limit=10&filter=&skip=0&userid=SOME_STRING_VALUE' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/bulk/userstates?limit=10&skip=0&userid=SOME_STRING_VALUE' -Method GET -Headers $headers" } ] }, @@ -11441,15 +12887,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/bulk/userstates \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"activation_email_override\":\"string\",\"send_activation_emails\":true,\"start_date\":\"2019-08-24T14:15:22Z\",\"state\":\"ACTIVATED\",\"user_ids\":[\"string\"]}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/bulk/userstates \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"activation_email_override\":\"string\",\"send_activation_emails\":true,\"start_date\":\"2019-08-24T14:15:22Z\",\"state\":\"ACTIVATED\",\"user_ids\":[\"string\"]}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/bulk/userstates\"\n\npayload = {\n \"activation_email_override\": \"string\",\n \"send_activation_emails\": True,\n \"start_date\": \"2019-08-24T14:15:22Z\",\n \"state\": \"ACTIVATED\",\n \"user_ids\": [\"string\"]\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/bulk/userstates\"\n\npayload = {\n \"activation_email_override\": \"string\",\n \"send_activation_emails\": True,\n \"start_date\": \"2019-08-24T14:15:22Z\",\n \"state\": \"ACTIVATED\",\n \"user_ids\": [\"string\"]\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/bulk/userstates' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"activation_email_override\":\"string\",\"send_activation_emails\":true,\"start_date\":\"2019-08-24T14:15:22Z\",\"state\":\"ACTIVATED\",\"user_ids\":[\"string\"]}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/bulk/userstates' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"activation_email_override\":\"string\",\"send_activation_emails\":true,\"start_date\":\"2019-08-24T14:15:22Z\",\"state\":\"ACTIVATED\",\"user_ids\":[\"string\"]}'" } ] }, @@ -11549,15 +12995,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/bulk/userstates/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/bulk/userstates/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/bulk/userstates/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/bulk/userstates/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/bulk/userstates/{id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/bulk/userstates/{id}' -Method DELETE -Headers $headers" } ] }, @@ -11620,15 +13066,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/commands/{command_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/commands/{command_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/commands/{command_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/commands/{command_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/commands/{command_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/commands/{command_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -11667,15 +13113,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/commands/{command_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/commands/{command_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/commands/{command_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"system\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/commands/{command_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"system\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/commands/{command_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/commands/{command_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" } ] }, @@ -11718,15 +13164,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/commands/{command_id}/systemgroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/commands/{command_id}/systemgroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/commands/{command_id}/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/commands/{command_id}/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/commands/{command_id}/systemgroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/commands/{command_id}/systemgroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -11779,15 +13225,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/commands/{command_id}/systems?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/commands/{command_id}/systems?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/commands/{command_id}/systems\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/commands/{command_id}/systems\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/commands/{command_id}/systems?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/commands/{command_id}/systems?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -11876,15 +13322,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/customemails \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"body\":\"string\",\"button\":\"string\",\"header\":\"string\",\"nextStepContactInfo\":\"string\",\"subject\":\"string\",\"title\":\"string\",\"type\":\"activate_gapps_user\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/customemails \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"body\":\"string\",\"button\":\"string\",\"header\":\"string\",\"nextStepContactInfo\":\"string\",\"subject\":\"string\",\"title\":\"string\",\"type\":\"activate_gapps_user\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/customemails\"\n\npayload = {\n \"body\": \"string\",\n \"button\": \"string\",\n \"header\": \"string\",\n \"nextStepContactInfo\": \"string\",\n \"subject\": \"string\",\n \"title\": \"string\",\n \"type\": \"activate_gapps_user\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/customemails\"\n\npayload = {\n \"body\": \"string\",\n \"button\": \"string\",\n \"header\": \"string\",\n \"nextStepContactInfo\": \"string\",\n \"subject\": \"string\",\n \"title\": \"string\",\n \"type\": \"activate_gapps_user\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/customemails' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"body\":\"string\",\"button\":\"string\",\"header\":\"string\",\"nextStepContactInfo\":\"string\",\"subject\":\"string\",\"title\":\"string\",\"type\":\"activate_gapps_user\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/customemails' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"body\":\"string\",\"button\":\"string\",\"header\":\"string\",\"nextStepContactInfo\":\"string\",\"subject\":\"string\",\"title\":\"string\",\"type\":\"activate_gapps_user\"}'" } ] } @@ -11908,15 +13354,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/customemails/{custom_email_type} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/customemails/{custom_email_type} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}' -Method DELETE -Headers $headers" } ] }, @@ -11941,15 +13387,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/customemails/{custom_email_type} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/customemails/{custom_email_type} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}' -Method GET -Headers $headers" } ] }, @@ -11990,15 +13436,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/customemails/{custom_email_type} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"body\":\"string\",\"button\":\"string\",\"header\":\"string\",\"nextStepContactInfo\":\"string\",\"subject\":\"string\",\"title\":\"string\",\"type\":\"activate_gapps_user\"}'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/customemails/{custom_email_type} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"body\":\"string\",\"button\":\"string\",\"header\":\"string\",\"nextStepContactInfo\":\"string\",\"subject\":\"string\",\"title\":\"string\",\"type\":\"activate_gapps_user\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}\"\n\npayload = {\n \"body\": \"string\",\n \"button\": \"string\",\n \"header\": \"string\",\n \"nextStepContactInfo\": \"string\",\n \"subject\": \"string\",\n \"title\": \"string\",\n \"type\": \"activate_gapps_user\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}\"\n\npayload = {\n \"body\": \"string\",\n \"button\": \"string\",\n \"header\": \"string\",\n \"nextStepContactInfo\": \"string\",\n \"subject\": \"string\",\n \"title\": \"string\",\n \"type\": \"activate_gapps_user\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"body\":\"string\",\"button\":\"string\",\"header\":\"string\",\"nextStepContactInfo\":\"string\",\"subject\":\"string\",\"title\":\"string\",\"type\":\"activate_gapps_user\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"body\":\"string\",\"button\":\"string\",\"header\":\"string\",\"nextStepContactInfo\":\"string\",\"subject\":\"string\",\"title\":\"string\",\"type\":\"activate_gapps_user\"}'" } ] }, @@ -12084,15 +13530,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/directories?fields=&limit=10&sort=&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/directories?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/directories\"\n\nquerystring = {\"fields\":\"\",\"limit\":\"10\",\"sort\":\"\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/directories\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/directories?fields=&limit=10&sort=&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/directories?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -12188,15 +13634,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts' -Method GET -Headers $headers" } ] }, @@ -12221,15 +13667,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"POST\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"POST\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts' -Method POST -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts' -Method POST -Headers $headers" } ] }, @@ -12262,15 +13708,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications' -Method GET -Headers $headers" } ] }, @@ -12311,15 +13757,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"apiHost\":\"string\",\"integrationKey\":\"string\",\"name\":\"string\",\"secretKey\":\"string\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"apiHost\":\"string\",\"integrationKey\":\"string\",\"name\":\"string\",\"secretKey\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications\"\n\npayload = {\n \"apiHost\": \"string\",\n \"integrationKey\": \"string\",\n \"name\": \"string\",\n \"secretKey\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications\"\n\npayload = {\n \"apiHost\": \"string\",\n \"integrationKey\": \"string\",\n \"name\": \"string\",\n \"secretKey\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"apiHost\":\"string\",\"integrationKey\":\"string\",\"name\":\"string\",\"secretKey\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"apiHost\":\"string\",\"integrationKey\":\"string\",\"name\":\"string\",\"secretKey\":\"string\"}'" } ] }, @@ -12350,15 +13796,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id}' -Method DELETE -Headers $headers" } ] }, @@ -12383,15 +13829,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id}' -Method GET -Headers $headers" } ] }, @@ -12438,15 +13884,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"apiHost\":\"string\",\"integrationKey\":\"string\",\"name\":\"string\",\"secretKey\":\"string\"}'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"apiHost\":\"string\",\"integrationKey\":\"string\",\"name\":\"string\",\"secretKey\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id}\"\n\npayload = {\n \"apiHost\": \"string\",\n \"integrationKey\": \"string\",\n \"name\": \"string\",\n \"secretKey\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id}\"\n\npayload = {\n \"apiHost\": \"string\",\n \"integrationKey\": \"string\",\n \"name\": \"string\",\n \"secretKey\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"apiHost\":\"string\",\"integrationKey\":\"string\",\"name\":\"string\",\"secretKey\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{account_id}/applications/{application_id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"apiHost\":\"string\",\"integrationKey\":\"string\",\"name\":\"string\",\"secretKey\":\"string\"}'" } ] }, @@ -12477,15 +13923,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{id}' -Method DELETE -Headers $headers" } ] }, @@ -12510,15 +13956,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/duo/accounts/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/duo/accounts/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/duo/accounts/{id}' -Method GET -Headers $headers" } ] }, @@ -12535,6 +13981,8 @@ "duo" ] }, + "/feature-settings": {}, + "/feature-settings/{feature_name}/{setting_name}": {}, "/featureTrials/{feature_code}": {}, "/geolocation/countries": { "x-functionalities-tags": [ @@ -12553,13 +14001,14 @@ "/google-emm/enterprises/{enterpriseId}": {}, "/google-emm/enterprises/{enterpriseId}/connection-status": {}, "/google-emm/enterprises/{enterpriseId}/enrollment-tokens/{tokenId}": {}, + "/google-emm/enterprises/{enterpriseId}/generate-upgrade-url": {}, "/google-emm/enterprises/{enterpriseObjectId}/devices": {}, "/google-emm/enterprises/{enterpriseObjectId}/enrollment-tokens": {}, "/google-emm/signup-urls": {}, "/google-emm/web-tokens": {}, "/groups": { "get": { - "description": "This endpoint returns all Groups that exist in your organization.\n\n#### Available filter fields:\n - `name`\n - `disabled`\n - `type`\n\n#### Sample Request\n\n```\n curl -X GET \\\n https://console.jumpcloud.com/api/v2/groups \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "description": "This endpoint returns all Groups that exist in your organization.\n\n#### Available filter fields:\n - `name`\n - `disabled`\n - `type`\n - `memberQueryErrorFlags`\n\n#### Sample Request\n\n```\n curl -X GET \\\n https://console.jumpcloud.com/api/v2/groups \\\n -H 'accept: application/json' \\\n -H 'content-type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", "operationId": "Group_List", "parameters": [ { @@ -12601,15 +14050,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/groups?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/groups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --header 'x-unfiltered-total-count: SOME_INTEGER_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/groups\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/groups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-unfiltered-total-count\": \"SOME_INTEGER_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/groups?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-unfiltered-total-count\", \"SOME_INTEGER_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/groups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -12658,15 +14107,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -12705,15 +14154,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" } ] }, @@ -12938,15 +14387,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/translationrules?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/translationrules?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/translationrules\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/translationrules\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/translationrules?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/translationrules?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -13118,15 +14567,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/usergroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/usergroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/usergroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/usergroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -13178,15 +14627,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/users?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/users?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/users?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/users?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -13225,15 +14674,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/gsuites/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/gsuites/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{id}' -Method GET -Headers $headers" } ] }, @@ -13270,15 +14719,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PATCH \\\n --url https://console.jumpcloud.com/api/v2/gsuites/{id} \\\n --header 'content-type: application/json' \\\n --data '{\"defaultDomain\":{\"id\":\"string\"},\"groupsEnabled\":true,\"importFilter\":\"string\",\"name\":\"string\",\"organizationObjectId\":\"string\",\"userLockoutAction\":\"suspend\",\"userPasswordExpirationAction\":\"suspend\"}'" + "source": "curl --request PATCH \\\n --url https://console.jumpcloud.com/api/v2/gsuites/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"defaultDomain\":{\"id\":\"string\"},\"groupsEnabled\":true,\"importFilter\":\"string\",\"name\":\"string\",\"organizationObjectId\":\"string\",\"userLockoutAction\":\"suspend\",\"userPasswordExpirationAction\":\"suspend\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{id}\"\n\npayload = {\n \"defaultDomain\": {\"id\": \"string\"},\n \"groupsEnabled\": True,\n \"importFilter\": \"string\",\n \"name\": \"string\",\n \"organizationObjectId\": \"string\",\n \"userLockoutAction\": \"suspend\",\n \"userPasswordExpirationAction\": \"suspend\"\n}\nheaders = {\"content-type\": \"application/json\"}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/gsuites/{id}\"\n\npayload = {\n \"defaultDomain\": {\"id\": \"string\"},\n \"groupsEnabled\": True,\n \"importFilter\": \"string\",\n \"name\": \"string\",\n \"organizationObjectId\": \"string\",\n \"userLockoutAction\": \"suspend\",\n \"userPasswordExpirationAction\": \"suspend\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{id}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{\"defaultDomain\":{\"id\":\"string\"},\"groupsEnabled\":true,\"importFilter\":\"string\",\"name\":\"string\",\"organizationObjectId\":\"string\",\"userLockoutAction\":\"suspend\",\"userPasswordExpirationAction\":\"suspend\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/gsuites/{id}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{\"defaultDomain\":{\"id\":\"string\"},\"groupsEnabled\":true,\"importFilter\":\"string\",\"name\":\"string\",\"organizationObjectId\":\"string\",\"userLockoutAction\":\"suspend\",\"userPasswordExpirationAction\":\"suspend\"}'" } ] }, @@ -13429,15 +14878,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/iplists?limit=10&skip=0&filter=&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/iplists?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --header 'x-total-count: SOME_INTEGER_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/iplists\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/iplists\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-total-count\": \"SOME_INTEGER_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/iplists?limit=10&skip=0&filter=&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-total-count\", \"SOME_INTEGER_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/iplists?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -13470,15 +14919,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/iplists \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"description\":\"string\",\"ips\":[\"string\"],\"name\":\"string\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/iplists \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"description\":\"string\",\"ips\":[\"string\"],\"name\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/iplists\"\n\npayload = {\n \"description\": \"string\",\n \"ips\": [\"string\"],\n \"name\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/iplists\"\n\npayload = {\n \"description\": \"string\",\n \"ips\": [\"string\"],\n \"name\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/iplists' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"description\":\"string\",\"ips\":[\"string\"],\"name\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/iplists' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"description\":\"string\",\"ips\":[\"string\"],\"name\":\"string\"}'" } ] }, @@ -13508,15 +14957,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/iplists/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/iplists/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/iplists/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/iplists/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/iplists/{id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/iplists/{id}' -Method DELETE -Headers $headers" } ] }, @@ -13541,15 +14990,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/iplists/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/iplists/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/iplists/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/iplists/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/iplists/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/iplists/{id}' -Method GET -Headers $headers" } ] }, @@ -13590,15 +15039,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PATCH \\\n --url https://console.jumpcloud.com/api/v2/iplists/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"description\":\"string\",\"ips\":[\"string\"],\"name\":\"string\"}'" + "source": "curl --request PATCH \\\n --url https://console.jumpcloud.com/api/v2/iplists/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"description\":\"string\",\"ips\":[\"string\"],\"name\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/iplists/{id}\"\n\npayload = {\n \"description\": \"string\",\n \"ips\": [\"string\"],\n \"name\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/iplists/{id}\"\n\npayload = {\n \"description\": \"string\",\n \"ips\": [\"string\"],\n \"name\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/iplists/{id}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{\"description\":\"string\",\"ips\":[\"string\"],\"name\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/iplists/{id}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{\"description\":\"string\",\"ips\":[\"string\"],\"name\":\"string\"}'" } ] }, @@ -13631,15 +15080,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/iplists/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"description\":\"string\",\"ips\":[\"string\"],\"name\":\"string\"}'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/iplists/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"description\":\"string\",\"ips\":[\"string\"],\"name\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/iplists/{id}\"\n\npayload = {\n \"description\": \"string\",\n \"ips\": [\"string\"],\n \"name\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/iplists/{id}\"\n\npayload = {\n \"description\": \"string\",\n \"ips\": [\"string\"],\n \"name\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/iplists/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"description\":\"string\",\"ips\":[\"string\"],\"name\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/iplists/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"description\":\"string\",\"ips\":[\"string\"],\"name\":\"string\"}'" } ] }, @@ -13719,15 +15168,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/ldapservers?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/ldapservers?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -13760,15 +15209,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/ldapservers/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/ldapservers/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{id}' -Method GET -Headers $headers" } ] }, @@ -13838,15 +15287,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PATCH \\\n --url https://console.jumpcloud.com/api/v2/ldapservers/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"userLockoutAction\":\"disable\",\"userPasswordExpirationAction\":\"disable\"}'" + "source": "curl --request PATCH \\\n --url https://console.jumpcloud.com/api/v2/ldapservers/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"userLockoutAction\":\"disable\",\"userPasswordExpirationAction\":\"disable\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{id}\"\n\npayload = {\n \"id\": \"string\",\n \"userLockoutAction\": \"disable\",\n \"userPasswordExpirationAction\": \"disable\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{id}\"\n\npayload = {\n \"id\": \"string\",\n \"userLockoutAction\": \"disable\",\n \"userPasswordExpirationAction\": \"disable\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{id}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"userLockoutAction\":\"disable\",\"userPasswordExpirationAction\":\"disable\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{id}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"userLockoutAction\":\"disable\",\"userPasswordExpirationAction\":\"disable\"}'" } ] } @@ -13889,15 +15338,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -13939,15 +15388,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" } ] }, @@ -13999,15 +15448,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -14049,15 +15498,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"name\":\"string\",\"sid\":\"string\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"name\":\"string\",\"sid\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains\"\n\npayload = {\n \"name\": \"string\",\n \"sid\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains\"\n\npayload = {\n \"name\": \"string\",\n \"sid\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\",\"sid\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\",\"sid\":\"string\"}'" } ] }, @@ -14093,15 +15542,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains/{id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains/{id}' -Method DELETE -Headers $headers" } ] }, @@ -14129,15 +15578,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/sambadomains/{id}' -Method GET -Headers $headers" } ] }, @@ -14272,15 +15721,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/usergroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/usergroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/usergroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/usergroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -14335,15 +15784,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/users?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/users?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/users?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/ldapservers/{ldapserver_id}/users?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -14424,15 +15873,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/office365s/{office365_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/office365s/{office365_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}' -Method GET -Headers $headers" } ] }, @@ -14477,15 +15926,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PATCH \\\n --url https://console.jumpcloud.com/api/v2/office365s/{office365_id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"defaultDomain\":{\"id\":\"string\"},\"groupsEnabled\":true,\"name\":\"string\"}'" + "source": "curl --request PATCH \\\n --url https://console.jumpcloud.com/api/v2/office365s/{office365_id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"defaultDomain\":{\"id\":\"string\"},\"groupsEnabled\":true,\"name\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}\"\n\npayload = {\n \"defaultDomain\": {\"id\": \"string\"},\n \"groupsEnabled\": True,\n \"name\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}\"\n\npayload = {\n \"defaultDomain\": {\"id\": \"string\"},\n \"groupsEnabled\": True,\n \"name\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{\"defaultDomain\":{\"id\":\"string\"},\"groupsEnabled\":true,\"name\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{\"defaultDomain\":{\"id\":\"string\"},\"groupsEnabled\":true,\"name\":\"string\"}'" } ] } @@ -14525,15 +15974,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -14572,15 +16021,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/office365s/{office365_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/office365s/{office365_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" } ] }, @@ -14680,15 +16129,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/import/users?top=SOME_INTEGER_VALUE&skipToken=SOME_STRING_VALUE&filter=SOME_STRING_VALUE&search=SOME_STRING_VALUE&orderby=SOME_STRING_VALUE&count=SOME_BOOLEAN_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/import/users?top=SOME_INTEGER_VALUE&skipToken=SOME_STRING_VALUE&filter=SOME_STRING_VALUE&search=SOME_STRING_VALUE&orderby=SOME_STRING_VALUE&count=SOME_BOOLEAN_VALUE' \\\n --header 'ConsistencyLevel: SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}/import/users\"\n\nquerystring = {\"top\":\"SOME_INTEGER_VALUE\",\"skipToken\":\"SOME_STRING_VALUE\",\"filter\":\"SOME_STRING_VALUE\",\"search\":\"SOME_STRING_VALUE\",\"orderby\":\"SOME_STRING_VALUE\",\"count\":\"SOME_BOOLEAN_VALUE\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}/import/users\"\n\nquerystring = {\"top\":\"SOME_INTEGER_VALUE\",\"skipToken\":\"SOME_STRING_VALUE\",\"filter\":\"SOME_STRING_VALUE\",\"search\":\"SOME_STRING_VALUE\",\"orderby\":\"SOME_STRING_VALUE\",\"count\":\"SOME_BOOLEAN_VALUE\"}\n\nheaders = {\n \"ConsistencyLevel\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/import/users?top=SOME_INTEGER_VALUE&skipToken=SOME_STRING_VALUE&filter=SOME_STRING_VALUE&search=SOME_STRING_VALUE&orderby=SOME_STRING_VALUE&count=SOME_BOOLEAN_VALUE' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"ConsistencyLevel\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/import/users?top=SOME_INTEGER_VALUE&skipToken=SOME_STRING_VALUE&filter=SOME_STRING_VALUE&search=SOME_STRING_VALUE&orderby=SOME_STRING_VALUE&count=SOME_BOOLEAN_VALUE' -Method GET -Headers $headers" } ] }, @@ -14754,15 +16203,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/translationrules?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/translationrules?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}/translationrules\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}/translationrules\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/translationrules?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/translationrules?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -14934,15 +16383,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/usergroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/usergroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/usergroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/usergroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -14972,6 +16421,12 @@ }, { "$ref": "#/parameters/trait:filter:filter" + }, + { + "description": "Include sync status for users", + "in": "query", + "name": "syncStatus", + "type": "boolean" } ], "responses": { @@ -14994,15 +16449,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/users?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/users?limit=10&skip=0&syncStatus=SOME_BOOLEAN_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/office365s/{office365_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"syncStatus\":\"SOME_BOOLEAN_VALUE\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/users?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/office365s/{office365_id}/users?limit=10&skip=0&syncStatus=SOME_BOOLEAN_VALUE' -Method GET -Headers $headers" } ] }, @@ -15321,15 +16776,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -15362,15 +16817,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/policies \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"name\":\"string\",\"notes\":\"string\",\"template\":{\"id\":\"string\"},\"values\":[{\"configFieldID\":\"string\",\"sensitive\":true,\"value\":\"string\"}]}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/policies \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"name\":\"string\",\"notes\":\"string\",\"template\":{\"id\":\"string\"},\"values\":[{\"configFieldID\":\"string\",\"sensitive\":true,\"value\":\"string\"}]}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies\"\n\npayload = {\n \"name\": \"string\",\n \"notes\": \"string\",\n \"template\": {\"id\": \"string\"},\n \"values\": [\n {\n \"configFieldID\": \"string\",\n \"sensitive\": True,\n \"value\": \"string\"\n }\n ]\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies\"\n\npayload = {\n \"name\": \"string\",\n \"notes\": \"string\",\n \"template\": {\"id\": \"string\"},\n \"values\": [\n {\n \"configFieldID\": \"string\",\n \"sensitive\": True,\n \"value\": \"string\"\n }\n ]\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\",\"notes\":\"string\",\"template\":{\"id\":\"string\"},\"values\":[{\"configFieldID\":\"string\",\"sensitive\":true,\"value\":\"string\"}]}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\",\"notes\":\"string\",\"template\":{\"id\":\"string\"},\"values\":[{\"configFieldID\":\"string\",\"sensitive\":true,\"value\":\"string\"}]}'" } ] }, @@ -15400,15 +16855,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/policies/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/policies/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{id}' -Method DELETE -Headers $headers" } ] }, @@ -15433,15 +16888,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/policies/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/policies/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{id}' -Method GET -Headers $headers" } ] }, @@ -15483,15 +16938,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/policies/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"name\":\"string\",\"notes\":\"string\",\"values\":[{\"configFieldID\":\"string\",\"sensitive\":true,\"value\":\"string\"}]}'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/policies/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"name\":\"string\",\"notes\":\"string\",\"values\":[{\"configFieldID\":\"string\",\"sensitive\":true,\"value\":\"string\"}]}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{id}\"\n\npayload = {\n \"name\": \"string\",\n \"notes\": \"string\",\n \"values\": [\n {\n \"configFieldID\": \"string\",\n \"sensitive\": True,\n \"value\": \"string\"\n }\n ]\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{id}\"\n\npayload = {\n \"name\": \"string\",\n \"notes\": \"string\",\n \"values\": [\n {\n \"configFieldID\": \"string\",\n \"sensitive\": True,\n \"value\": \"string\"\n }\n ]\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\",\"notes\":\"string\",\"values\":[{\"configFieldID\":\"string\",\"sensitive\":true,\"value\":\"string\"}]}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\",\"notes\":\"string\",\"values\":[{\"configFieldID\":\"string\",\"sensitive\":true,\"value\":\"string\"}]}'" } ] }, @@ -15537,15 +16992,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -15584,15 +17039,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/policies/{policy_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/policies/{policy_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"system\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"system\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" } ] }, @@ -15644,15 +17099,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/memberof?filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/memberof?limit=10&skip=0' \\\n --header 'Authorization: SOME_STRING_VALUE' \\\n --header 'Date: SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/memberof\"\n\nquerystring = {\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/memberof\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"Date\": \"SOME_STRING_VALUE\",\n \"Authorization\": \"SOME_STRING_VALUE\",\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/memberof?filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"Date\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Authorization\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/memberof?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -15710,15 +17165,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/policyresults?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/policyresults?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/policyresults\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/policyresults\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/policyresults?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/policyresults?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -15775,15 +17230,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/policystatuses?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/policystatuses?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/policystatuses\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/policystatuses\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/policystatuses?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/policystatuses?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -15834,15 +17289,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/systemgroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/systemgroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/systemgroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/systemgroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -15897,15 +17352,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/systems?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/systems?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/systems\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policies/{policy_id}/systems\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/systems?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policies/{policy_id}/systems?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -15966,15 +17421,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policygroups?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policygroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -16007,15 +17462,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/policygroups \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"name\":\"string\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/policygroups \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"name\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups\"\n\npayload = {\"name\": \"string\"}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups\"\n\npayload = {\"name\": \"string\"}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\"}'" } ] }, @@ -16058,15 +17513,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -16105,15 +17560,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/policygroups/{group_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/policygroups/{group_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"system\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"system\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" } ] }, @@ -16169,15 +17624,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/members?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/members?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/members\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/members\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/members?limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/members?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -16216,15 +17671,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/policygroups/{group_id}/members \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"policy\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/policygroups/{group_id}/members \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"policy\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/members\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"policy\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/members\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"policy\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/members' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"policy\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/members' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"policy\"}'" } ] }, @@ -16271,15 +17726,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/membership?filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/membership?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/membership\"\n\nquerystring = {\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/membership\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/membership?filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/membership?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -16332,15 +17787,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/systemgroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/systemgroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/systemgroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/systemgroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -16392,15 +17847,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/systems?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/systems?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/systems\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{group_id}/systems\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/systems?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{group_id}/systems?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -16442,15 +17897,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/policygroups/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/policygroups/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{id}' -Method DELETE -Headers $headers" } ] }, @@ -16475,15 +17930,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/policygroups/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/policygroups/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{id}' -Method GET -Headers $headers" } ] }, @@ -16525,15 +17980,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/policygroups/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"name\":\"string\"}'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/policygroups/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"name\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{id}\"\n\npayload = {\"name\": \"string\"}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policygroups/{id}\"\n\npayload = {\"name\": \"string\"}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policygroups/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\"}'" } ] }, @@ -16582,15 +18037,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policyresults?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policyresults?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policyresults\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policyresults\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policyresults?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policyresults?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -16620,15 +18075,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/policyresults/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/policyresults/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policyresults/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policyresults/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policyresults/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policyresults/{id}' -Method GET -Headers $headers" } ] }, @@ -16686,15 +18141,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policytemplates?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/policytemplates?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policytemplates\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policytemplates\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policytemplates?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policytemplates?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -16724,15 +18179,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/policytemplates/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/policytemplates/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policytemplates/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/policytemplates/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policytemplates/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/policytemplates/{id}' -Method GET -Headers $headers" } ] }, @@ -16864,15 +18319,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/providers/{provider_id}/administrators?fields=&filter=&limit=10&skip=0&sort=&sortIgnoreCase=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/providers/{provider_id}/administrators?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/providers/{provider_id}/administrators\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\",\"sortIgnoreCase\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/providers/{provider_id}/administrators\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/providers/{provider_id}/administrators?fields=&filter=&limit=10&skip=0&sort=&sortIgnoreCase=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/providers/{provider_id}/administrators?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -17156,15 +18611,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/providers/{provider_id}/invoices?skip=0&sort=&limit=10&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/providers/{provider_id}/invoices?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/providers/{provider_id}/invoices\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"limit\":\"10\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/providers/{provider_id}/invoices\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/providers/{provider_id}/invoices?skip=0&sort=&limit=10&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/providers/{provider_id}/invoices?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -17254,15 +18709,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/providers/{provider_id}/organizations?fields=&filter=&limit=10&skip=0&sort=&sortIgnoreCase=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/providers/{provider_id}/organizations?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/providers/{provider_id}/organizations\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\",\"sortIgnoreCase\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/providers/{provider_id}/organizations\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/providers/{provider_id}/organizations?fields=&filter=&limit=10&skip=0&sort=&sortIgnoreCase=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/providers/{provider_id}/organizations?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -17301,6 +18756,28 @@ "mtp-billing-information" ] }, + "/providers/{provider_id}/policygroups/{group_id}/associations": { + "parameters": [ + { + "description": "The ID of the provider", + "in": "path", + "name": "provider_id", + "required": true, + "type": "string" + }, + { + "description": "The ID of the policy group", + "in": "path", + "name": "group_id", + "required": true, + "type": "string" + } + ], + "x-functionalities-tags": [ + "groups", + "mtp-account-overview" + ] + }, "/providers/{provider_id}/policygrouptemplates": { "parameters": [ { @@ -17352,6 +18829,50 @@ "policy-group-templates" ] }, + "/providers/{provider_id}/systemgroups/{group_id}/associations": { + "parameters": [ + { + "description": "The ID of the provider", + "in": "path", + "name": "provider_id", + "required": true, + "type": "string" + }, + { + "description": "The ID of the system group", + "in": "path", + "name": "group_id", + "required": true, + "type": "string" + } + ], + "x-functionalities-tags": [ + "groups", + "mtp-account-overview" + ] + }, + "/providers/{provider_id}/usergroups/{group_id}/associations": { + "parameters": [ + { + "description": "The ID of the provider", + "in": "path", + "name": "provider_id", + "required": true, + "type": "string" + }, + { + "description": "The ID of the user group", + "in": "path", + "name": "group_id", + "required": true, + "type": "string" + } + ], + "x-functionalities-tags": [ + "groups", + "mtp-account-overview" + ] + }, "/provision/client/verify": { "x-functionalities-tags": [ "mtp-validate-config" @@ -17437,15 +18958,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -17484,15 +19005,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" } ] }, @@ -17535,15 +19056,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/usergroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/usergroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/usergroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/usergroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -17595,15 +19116,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/users?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/users?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/users?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/radiusservers/{radiusserver_id}/users?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -17643,6 +19164,8 @@ ] }, "/saas-management/application-catalog/{catalog_application_id}": {}, + "/saas-management/application-licenses": {}, + "/saas-management/application-licenses/{application_id}": {}, "/saas-management/applications": {}, "/saas-management/applications/{application_id}": {}, "/saas-management/applications/{application_id}/accounts": {}, @@ -17653,6 +19176,8 @@ "sample-data" ] }, + "/saved-views": {}, + "/saved-views/{id}": {}, "/scope-groups": {}, "/service-accounts": {}, "/service-accounts/{service_account_id}": {}, @@ -17704,15 +19229,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/softwareapps?filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/softwareapps?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps\"\n\nquerystring = {\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps?filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -17745,15 +19270,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/softwareapps \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"createdAt\":\"2019-08-24T14:15:22Z\",\"displayName\":\"string\",\"id\":\"string\",\"settings\":[{\"allowUpdateDelay\":false,\"appCatalogInstallableObjectId\":\"string\",\"appFileName\":\"string\",\"appleVpp\":{\"appConfiguration\":\"string\",\"assignedLicenses\":0,\"availableLicenses\":0,\"details\":{},\"isConfigEnabled\":true,\"supportedDeviceFamilies\":[\"IPAD\"],\"totalLicenses\":0},\"architectures\":[\"string\"],\"assetKind\":\"string\",\"assetSha256Size\":0,\"assetSha256Strings\":[\"string\"],\"autoUpdate\":false,\"bundleId\":\"string\",\"commandLineArguments\":\"string\",\"createdAt\":\"2019-08-24T14:15:22Z\",\"description\":\"string\",\"desiredState\":\"string\",\"downloadUrl\":\"string\",\"enterpriseObjectId\":\"string\",\"format\":\"string\",\"googleAndroid\":{\"androidFeatures\":[\"string\"],\"appPricing\":\"string\",\"appVersion\":\"string\",\"author\":\"string\",\"autoUpdateMode\":\"AUTO_UPDATE_DEFAULT\",\"category\":\"string\",\"contentRating\":\"string\",\"displayMode\":\"string\",\"distributionChannel\":\"string\",\"fullDescription\":\"string\",\"iconUrl\":\"string\",\"installType\":\"AVAILABLE\",\"managedConfigurationTemplateId\":\"string\",\"managedProperties\":true,\"minSdkVersion\":0,\"name\":\"string\",\"permissionGrants\":[{\"id\":\"string\",\"policy\":\"PROMPT\"}],\"runtimePermission\":\"PROMPT\",\"startUrl\":\"string\",\"type\":\"APP_TYPE_UNSPECIFIED\",\"updateTime\":\"string\",\"versionCode\":0},\"iconUrl\":\"string\",\"location\":\"string\",\"locationObjectId\":\"string\",\"microsoftStore\":{\"doNotUpdate\":true,\"nonRemovable\":true,\"packageFamilyName\":\"string\"},\"packageId\":\"string\",\"packageKind\":\"string\",\"packageManager\":\"string\",\"packageSubtitle\":\"string\",\"packageVersion\":\"string\",\"packageVersionUpdatedAt\":\"2019-08-24T14:15:22Z\",\"scope\":\"string\",\"shortVersion\":\"string\",\"storedPackage\":{\"objectId\":\"string\",\"versions\":[{\"metadata\":{},\"name\":\"string\",\"rejectedReason\":\"string\",\"sha256sum\":\"string\",\"size\":0,\"status\":\"string\",\"version\":0}]},\"storedPackageObjectId\":\"string\",\"teamId\":\"string\",\"updateTool\":\"string\",\"updateToolArguments\":\"string\",\"updatedAt\":\"2019-08-24T14:15:22Z\",\"versionlessDownloadUrl\":true}],\"updatedAt\":\"2019-08-24T14:15:22Z\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/softwareapps \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"createdAt\":\"2019-08-24T14:15:22Z\",\"displayName\":\"string\",\"id\":\"string\",\"settings\":[{\"allowUpdateDelay\":false,\"appCatalogInstallableObjectId\":\"string\",\"appFileName\":\"string\",\"appleVpp\":{\"appConfiguration\":\"string\",\"assignedLicenses\":0,\"availableLicenses\":0,\"details\":{},\"isConfigEnabled\":true,\"supportedDeviceFamilies\":[\"IPAD\"],\"totalLicenses\":0},\"architectures\":[\"string\"],\"assetKind\":\"string\",\"assetSha256Size\":0,\"assetSha256Strings\":[\"string\"],\"autoUpdate\":false,\"bundleId\":\"string\",\"commandLineArguments\":\"string\",\"createdAt\":\"2019-08-24T14:15:22Z\",\"description\":\"string\",\"desiredState\":\"string\",\"downloadUrl\":\"string\",\"enterpriseObjectId\":\"string\",\"format\":\"string\",\"googleAndroid\":{\"androidFeatures\":[\"string\"],\"appPricing\":\"string\",\"appVersion\":\"string\",\"author\":\"string\",\"autoUpdateMode\":\"AUTO_UPDATE_DEFAULT\",\"category\":\"string\",\"contentRating\":\"string\",\"displayMode\":\"string\",\"distributionChannel\":\"string\",\"fullDescription\":\"string\",\"iconUrl\":\"string\",\"installType\":\"AVAILABLE\",\"managedConfigurationTemplateId\":\"string\",\"managedProperties\":true,\"minSdkVersion\":0,\"name\":\"string\",\"permissionGrants\":[{\"id\":\"string\",\"policy\":\"PROMPT\"}],\"runtimePermission\":\"PROMPT\",\"startUrl\":\"string\",\"type\":\"APP_TYPE_UNSPECIFIED\",\"updateTime\":\"string\",\"versionCode\":0},\"iconUrl\":\"string\",\"location\":\"string\",\"locationObjectId\":\"string\",\"microsoftStore\":{\"doNotUpdate\":true,\"nonRemovable\":true,\"packageFamilyName\":\"string\"},\"packageId\":\"string\",\"packageKind\":\"string\",\"packageManager\":\"string\",\"packageSubtitle\":\"string\",\"packageVersion\":\"string\",\"packageVersionUpdatedAt\":\"2019-08-24T14:15:22Z\",\"scope\":\"string\",\"shortVersion\":\"string\",\"storedPackage\":{\"objectId\":\"string\",\"versions\":[{\"metadata\":{},\"name\":\"string\",\"rejectedReason\":\"string\",\"sha256sum\":\"string\",\"size\":0,\"status\":\"string\",\"version\":0}]},\"storedPackageObjectId\":\"string\",\"teamId\":\"string\",\"updateTool\":\"string\",\"updateToolArguments\":\"string\",\"updatedAt\":\"2019-08-24T14:15:22Z\",\"versionlessDownloadUrl\":true}],\"updatedAt\":\"2019-08-24T14:15:22Z\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps\"\n\npayload = {\n \"createdAt\": \"2019-08-24T14:15:22Z\",\n \"displayName\": \"string\",\n \"id\": \"string\",\n \"settings\": [\n {\n \"allowUpdateDelay\": False,\n \"appCatalogInstallableObjectId\": \"string\",\n \"appFileName\": \"string\",\n \"appleVpp\": {\n \"appConfiguration\": \"string\",\n \"assignedLicenses\": 0,\n \"availableLicenses\": 0,\n \"details\": {},\n \"isConfigEnabled\": True,\n \"supportedDeviceFamilies\": [\"IPAD\"],\n \"totalLicenses\": 0\n },\n \"architectures\": [\"string\"],\n \"assetKind\": \"string\",\n \"assetSha256Size\": 0,\n \"assetSha256Strings\": [\"string\"],\n \"autoUpdate\": False,\n \"bundleId\": \"string\",\n \"commandLineArguments\": \"string\",\n \"createdAt\": \"2019-08-24T14:15:22Z\",\n \"description\": \"string\",\n \"desiredState\": \"string\",\n \"downloadUrl\": \"string\",\n \"enterpriseObjectId\": \"string\",\n \"format\": \"string\",\n \"googleAndroid\": {\n \"androidFeatures\": [\"string\"],\n \"appPricing\": \"string\",\n \"appVersion\": \"string\",\n \"author\": \"string\",\n \"autoUpdateMode\": \"AUTO_UPDATE_DEFAULT\",\n \"category\": \"string\",\n \"contentRating\": \"string\",\n \"displayMode\": \"string\",\n \"distributionChannel\": \"string\",\n \"fullDescription\": \"string\",\n \"iconUrl\": \"string\",\n \"installType\": \"AVAILABLE\",\n \"managedConfigurationTemplateId\": \"string\",\n \"managedProperties\": True,\n \"minSdkVersion\": 0,\n \"name\": \"string\",\n \"permissionGrants\": [\n {\n \"id\": \"string\",\n \"policy\": \"PROMPT\"\n }\n ],\n \"runtimePermission\": \"PROMPT\",\n \"startUrl\": \"string\",\n \"type\": \"APP_TYPE_UNSPECIFIED\",\n \"updateTime\": \"string\",\n \"versionCode\": 0\n },\n \"iconUrl\": \"string\",\n \"location\": \"string\",\n \"locationObjectId\": \"string\",\n \"microsoftStore\": {\n \"doNotUpdate\": True,\n \"nonRemovable\": True,\n \"packageFamilyName\": \"string\"\n },\n \"packageId\": \"string\",\n \"packageKind\": \"string\",\n \"packageManager\": \"string\",\n \"packageSubtitle\": \"string\",\n \"packageVersion\": \"string\",\n \"packageVersionUpdatedAt\": \"2019-08-24T14:15:22Z\",\n \"scope\": \"string\",\n \"shortVersion\": \"string\",\n \"storedPackage\": {\n \"objectId\": \"string\",\n \"versions\": [\n {\n \"metadata\": {},\n \"name\": \"string\",\n \"rejectedReason\": \"string\",\n \"sha256sum\": \"string\",\n \"size\": 0,\n \"status\": \"string\",\n \"version\": 0\n }\n ]\n },\n \"storedPackageObjectId\": \"string\",\n \"teamId\": \"string\",\n \"updateTool\": \"string\",\n \"updateToolArguments\": \"string\",\n \"updatedAt\": \"2019-08-24T14:15:22Z\",\n \"versionlessDownloadUrl\": True\n }\n ],\n \"updatedAt\": \"2019-08-24T14:15:22Z\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps\"\n\npayload = {\n \"createdAt\": \"2019-08-24T14:15:22Z\",\n \"displayName\": \"string\",\n \"id\": \"string\",\n \"settings\": [\n {\n \"allowUpdateDelay\": False,\n \"appCatalogInstallableObjectId\": \"string\",\n \"appFileName\": \"string\",\n \"appleVpp\": {\n \"appConfiguration\": \"string\",\n \"assignedLicenses\": 0,\n \"availableLicenses\": 0,\n \"details\": {},\n \"isConfigEnabled\": True,\n \"supportedDeviceFamilies\": [\"IPAD\"],\n \"totalLicenses\": 0\n },\n \"architectures\": [\"string\"],\n \"assetKind\": \"string\",\n \"assetSha256Size\": 0,\n \"assetSha256Strings\": [\"string\"],\n \"autoUpdate\": False,\n \"bundleId\": \"string\",\n \"commandLineArguments\": \"string\",\n \"createdAt\": \"2019-08-24T14:15:22Z\",\n \"description\": \"string\",\n \"desiredState\": \"string\",\n \"downloadUrl\": \"string\",\n \"enterpriseObjectId\": \"string\",\n \"format\": \"string\",\n \"googleAndroid\": {\n \"androidFeatures\": [\"string\"],\n \"appPricing\": \"string\",\n \"appVersion\": \"string\",\n \"author\": \"string\",\n \"autoUpdateMode\": \"AUTO_UPDATE_DEFAULT\",\n \"category\": \"string\",\n \"contentRating\": \"string\",\n \"displayMode\": \"string\",\n \"distributionChannel\": \"string\",\n \"fullDescription\": \"string\",\n \"iconUrl\": \"string\",\n \"installType\": \"AVAILABLE\",\n \"managedConfigurationTemplateId\": \"string\",\n \"managedProperties\": True,\n \"minSdkVersion\": 0,\n \"name\": \"string\",\n \"permissionGrants\": [\n {\n \"id\": \"string\",\n \"policy\": \"PROMPT\"\n }\n ],\n \"runtimePermission\": \"PROMPT\",\n \"startUrl\": \"string\",\n \"type\": \"APP_TYPE_UNSPECIFIED\",\n \"updateTime\": \"string\",\n \"versionCode\": 0\n },\n \"iconUrl\": \"string\",\n \"location\": \"string\",\n \"locationObjectId\": \"string\",\n \"microsoftStore\": {\n \"doNotUpdate\": True,\n \"nonRemovable\": True,\n \"packageFamilyName\": \"string\"\n },\n \"packageId\": \"string\",\n \"packageKind\": \"string\",\n \"packageManager\": \"string\",\n \"packageSubtitle\": \"string\",\n \"packageVersion\": \"string\",\n \"packageVersionUpdatedAt\": \"2019-08-24T14:15:22Z\",\n \"scope\": \"string\",\n \"shortVersion\": \"string\",\n \"storedPackage\": {\n \"objectId\": \"string\",\n \"versions\": [\n {\n \"metadata\": {},\n \"name\": \"string\",\n \"rejectedReason\": \"string\",\n \"sha256sum\": \"string\",\n \"size\": 0,\n \"status\": \"string\",\n \"version\": 0\n }\n ]\n },\n \"storedPackageObjectId\": \"string\",\n \"teamId\": \"string\",\n \"updateTool\": \"string\",\n \"updateToolArguments\": \"string\",\n \"updatedAt\": \"2019-08-24T14:15:22Z\",\n \"versionlessDownloadUrl\": True\n }\n ],\n \"updatedAt\": \"2019-08-24T14:15:22Z\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"createdAt\":\"2019-08-24T14:15:22Z\",\"displayName\":\"string\",\"id\":\"string\",\"settings\":[{\"allowUpdateDelay\":false,\"appCatalogInstallableObjectId\":\"string\",\"appFileName\":\"string\",\"appleVpp\":{\"appConfiguration\":\"string\",\"assignedLicenses\":0,\"availableLicenses\":0,\"details\":{},\"isConfigEnabled\":true,\"supportedDeviceFamilies\":[\"IPAD\"],\"totalLicenses\":0},\"architectures\":[\"string\"],\"assetKind\":\"string\",\"assetSha256Size\":0,\"assetSha256Strings\":[\"string\"],\"autoUpdate\":false,\"bundleId\":\"string\",\"commandLineArguments\":\"string\",\"createdAt\":\"2019-08-24T14:15:22Z\",\"description\":\"string\",\"desiredState\":\"string\",\"downloadUrl\":\"string\",\"enterpriseObjectId\":\"string\",\"format\":\"string\",\"googleAndroid\":{\"androidFeatures\":[\"string\"],\"appPricing\":\"string\",\"appVersion\":\"string\",\"author\":\"string\",\"autoUpdateMode\":\"AUTO_UPDATE_DEFAULT\",\"category\":\"string\",\"contentRating\":\"string\",\"displayMode\":\"string\",\"distributionChannel\":\"string\",\"fullDescription\":\"string\",\"iconUrl\":\"string\",\"installType\":\"AVAILABLE\",\"managedConfigurationTemplateId\":\"string\",\"managedProperties\":true,\"minSdkVersion\":0,\"name\":\"string\",\"permissionGrants\":[{\"id\":\"string\",\"policy\":\"PROMPT\"}],\"runtimePermission\":\"PROMPT\",\"startUrl\":\"string\",\"type\":\"APP_TYPE_UNSPECIFIED\",\"updateTime\":\"string\",\"versionCode\":0},\"iconUrl\":\"string\",\"location\":\"string\",\"locationObjectId\":\"string\",\"microsoftStore\":{\"doNotUpdate\":true,\"nonRemovable\":true,\"packageFamilyName\":\"string\"},\"packageId\":\"string\",\"packageKind\":\"string\",\"packageManager\":\"string\",\"packageSubtitle\":\"string\",\"packageVersion\":\"string\",\"packageVersionUpdatedAt\":\"2019-08-24T14:15:22Z\",\"scope\":\"string\",\"shortVersion\":\"string\",\"storedPackage\":{\"objectId\":\"string\",\"versions\":[{\"metadata\":{},\"name\":\"string\",\"rejectedReason\":\"string\",\"sha256sum\":\"string\",\"size\":0,\"status\":\"string\",\"version\":0}]},\"storedPackageObjectId\":\"string\",\"teamId\":\"string\",\"updateTool\":\"string\",\"updateToolArguments\":\"string\",\"updatedAt\":\"2019-08-24T14:15:22Z\",\"versionlessDownloadUrl\":true}],\"updatedAt\":\"2019-08-24T14:15:22Z\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"createdAt\":\"2019-08-24T14:15:22Z\",\"displayName\":\"string\",\"id\":\"string\",\"settings\":[{\"allowUpdateDelay\":false,\"appCatalogInstallableObjectId\":\"string\",\"appFileName\":\"string\",\"appleVpp\":{\"appConfiguration\":\"string\",\"assignedLicenses\":0,\"availableLicenses\":0,\"details\":{},\"isConfigEnabled\":true,\"supportedDeviceFamilies\":[\"IPAD\"],\"totalLicenses\":0},\"architectures\":[\"string\"],\"assetKind\":\"string\",\"assetSha256Size\":0,\"assetSha256Strings\":[\"string\"],\"autoUpdate\":false,\"bundleId\":\"string\",\"commandLineArguments\":\"string\",\"createdAt\":\"2019-08-24T14:15:22Z\",\"description\":\"string\",\"desiredState\":\"string\",\"downloadUrl\":\"string\",\"enterpriseObjectId\":\"string\",\"format\":\"string\",\"googleAndroid\":{\"androidFeatures\":[\"string\"],\"appPricing\":\"string\",\"appVersion\":\"string\",\"author\":\"string\",\"autoUpdateMode\":\"AUTO_UPDATE_DEFAULT\",\"category\":\"string\",\"contentRating\":\"string\",\"displayMode\":\"string\",\"distributionChannel\":\"string\",\"fullDescription\":\"string\",\"iconUrl\":\"string\",\"installType\":\"AVAILABLE\",\"managedConfigurationTemplateId\":\"string\",\"managedProperties\":true,\"minSdkVersion\":0,\"name\":\"string\",\"permissionGrants\":[{\"id\":\"string\",\"policy\":\"PROMPT\"}],\"runtimePermission\":\"PROMPT\",\"startUrl\":\"string\",\"type\":\"APP_TYPE_UNSPECIFIED\",\"updateTime\":\"string\",\"versionCode\":0},\"iconUrl\":\"string\",\"location\":\"string\",\"locationObjectId\":\"string\",\"microsoftStore\":{\"doNotUpdate\":true,\"nonRemovable\":true,\"packageFamilyName\":\"string\"},\"packageId\":\"string\",\"packageKind\":\"string\",\"packageManager\":\"string\",\"packageSubtitle\":\"string\",\"packageVersion\":\"string\",\"packageVersionUpdatedAt\":\"2019-08-24T14:15:22Z\",\"scope\":\"string\",\"shortVersion\":\"string\",\"storedPackage\":{\"objectId\":\"string\",\"versions\":[{\"metadata\":{},\"name\":\"string\",\"rejectedReason\":\"string\",\"sha256sum\":\"string\",\"size\":0,\"status\":\"string\",\"version\":0}]},\"storedPackageObjectId\":\"string\",\"teamId\":\"string\",\"updateTool\":\"string\",\"updateToolArguments\":\"string\",\"updatedAt\":\"2019-08-24T14:15:22Z\",\"versionlessDownloadUrl\":true}],\"updatedAt\":\"2019-08-24T14:15:22Z\"}'" } ] }, @@ -17787,15 +19312,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/softwareapps/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/softwareapps/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{id}' -Method DELETE -Headers $headers" } ] }, @@ -17820,15 +19345,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/softwareapps/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/softwareapps/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{id}' -Method GET -Headers $headers" } ] }, @@ -17910,15 +19435,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/softwareapps/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"createdAt\":\"2019-08-24T14:15:22Z\",\"displayName\":\"string\",\"id\":\"string\",\"settings\":[{\"allowUpdateDelay\":false,\"appCatalogInstallableObjectId\":\"string\",\"appFileName\":\"string\",\"appleVpp\":{\"appConfiguration\":\"string\",\"assignedLicenses\":0,\"availableLicenses\":0,\"details\":{},\"isConfigEnabled\":true,\"supportedDeviceFamilies\":[\"IPAD\"],\"totalLicenses\":0},\"architectures\":[\"string\"],\"assetKind\":\"string\",\"assetSha256Size\":0,\"assetSha256Strings\":[\"string\"],\"autoUpdate\":false,\"bundleId\":\"string\",\"commandLineArguments\":\"string\",\"createdAt\":\"2019-08-24T14:15:22Z\",\"description\":\"string\",\"desiredState\":\"string\",\"downloadUrl\":\"string\",\"enterpriseObjectId\":\"string\",\"format\":\"string\",\"googleAndroid\":{\"androidFeatures\":[\"string\"],\"appPricing\":\"string\",\"appVersion\":\"string\",\"author\":\"string\",\"autoUpdateMode\":\"AUTO_UPDATE_DEFAULT\",\"category\":\"string\",\"contentRating\":\"string\",\"displayMode\":\"string\",\"distributionChannel\":\"string\",\"fullDescription\":\"string\",\"iconUrl\":\"string\",\"installType\":\"AVAILABLE\",\"managedConfigurationTemplateId\":\"string\",\"managedProperties\":true,\"minSdkVersion\":0,\"name\":\"string\",\"permissionGrants\":[{\"id\":\"string\",\"policy\":\"PROMPT\"}],\"runtimePermission\":\"PROMPT\",\"startUrl\":\"string\",\"type\":\"APP_TYPE_UNSPECIFIED\",\"updateTime\":\"string\",\"versionCode\":0},\"iconUrl\":\"string\",\"location\":\"string\",\"locationObjectId\":\"string\",\"microsoftStore\":{\"doNotUpdate\":true,\"nonRemovable\":true,\"packageFamilyName\":\"string\"},\"packageId\":\"string\",\"packageKind\":\"string\",\"packageManager\":\"string\",\"packageSubtitle\":\"string\",\"packageVersion\":\"string\",\"packageVersionUpdatedAt\":\"2019-08-24T14:15:22Z\",\"scope\":\"string\",\"shortVersion\":\"string\",\"storedPackage\":{\"objectId\":\"string\",\"versions\":[{\"metadata\":{},\"name\":\"string\",\"rejectedReason\":\"string\",\"sha256sum\":\"string\",\"size\":0,\"status\":\"string\",\"version\":0}]},\"storedPackageObjectId\":\"string\",\"teamId\":\"string\",\"updateTool\":\"string\",\"updateToolArguments\":\"string\",\"updatedAt\":\"2019-08-24T14:15:22Z\",\"versionlessDownloadUrl\":true}],\"updatedAt\":\"2019-08-24T14:15:22Z\"}'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/softwareapps/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"createdAt\":\"2019-08-24T14:15:22Z\",\"displayName\":\"string\",\"id\":\"string\",\"settings\":[{\"allowUpdateDelay\":false,\"appCatalogInstallableObjectId\":\"string\",\"appFileName\":\"string\",\"appleVpp\":{\"appConfiguration\":\"string\",\"assignedLicenses\":0,\"availableLicenses\":0,\"details\":{},\"isConfigEnabled\":true,\"supportedDeviceFamilies\":[\"IPAD\"],\"totalLicenses\":0},\"architectures\":[\"string\"],\"assetKind\":\"string\",\"assetSha256Size\":0,\"assetSha256Strings\":[\"string\"],\"autoUpdate\":false,\"bundleId\":\"string\",\"commandLineArguments\":\"string\",\"createdAt\":\"2019-08-24T14:15:22Z\",\"description\":\"string\",\"desiredState\":\"string\",\"downloadUrl\":\"string\",\"enterpriseObjectId\":\"string\",\"format\":\"string\",\"googleAndroid\":{\"androidFeatures\":[\"string\"],\"appPricing\":\"string\",\"appVersion\":\"string\",\"author\":\"string\",\"autoUpdateMode\":\"AUTO_UPDATE_DEFAULT\",\"category\":\"string\",\"contentRating\":\"string\",\"displayMode\":\"string\",\"distributionChannel\":\"string\",\"fullDescription\":\"string\",\"iconUrl\":\"string\",\"installType\":\"AVAILABLE\",\"managedConfigurationTemplateId\":\"string\",\"managedProperties\":true,\"minSdkVersion\":0,\"name\":\"string\",\"permissionGrants\":[{\"id\":\"string\",\"policy\":\"PROMPT\"}],\"runtimePermission\":\"PROMPT\",\"startUrl\":\"string\",\"type\":\"APP_TYPE_UNSPECIFIED\",\"updateTime\":\"string\",\"versionCode\":0},\"iconUrl\":\"string\",\"location\":\"string\",\"locationObjectId\":\"string\",\"microsoftStore\":{\"doNotUpdate\":true,\"nonRemovable\":true,\"packageFamilyName\":\"string\"},\"packageId\":\"string\",\"packageKind\":\"string\",\"packageManager\":\"string\",\"packageSubtitle\":\"string\",\"packageVersion\":\"string\",\"packageVersionUpdatedAt\":\"2019-08-24T14:15:22Z\",\"scope\":\"string\",\"shortVersion\":\"string\",\"storedPackage\":{\"objectId\":\"string\",\"versions\":[{\"metadata\":{},\"name\":\"string\",\"rejectedReason\":\"string\",\"sha256sum\":\"string\",\"size\":0,\"status\":\"string\",\"version\":0}]},\"storedPackageObjectId\":\"string\",\"teamId\":\"string\",\"updateTool\":\"string\",\"updateToolArguments\":\"string\",\"updatedAt\":\"2019-08-24T14:15:22Z\",\"versionlessDownloadUrl\":true}],\"updatedAt\":\"2019-08-24T14:15:22Z\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{id}\"\n\npayload = {\n \"createdAt\": \"2019-08-24T14:15:22Z\",\n \"displayName\": \"string\",\n \"id\": \"string\",\n \"settings\": [\n {\n \"allowUpdateDelay\": False,\n \"appCatalogInstallableObjectId\": \"string\",\n \"appFileName\": \"string\",\n \"appleVpp\": {\n \"appConfiguration\": \"string\",\n \"assignedLicenses\": 0,\n \"availableLicenses\": 0,\n \"details\": {},\n \"isConfigEnabled\": True,\n \"supportedDeviceFamilies\": [\"IPAD\"],\n \"totalLicenses\": 0\n },\n \"architectures\": [\"string\"],\n \"assetKind\": \"string\",\n \"assetSha256Size\": 0,\n \"assetSha256Strings\": [\"string\"],\n \"autoUpdate\": False,\n \"bundleId\": \"string\",\n \"commandLineArguments\": \"string\",\n \"createdAt\": \"2019-08-24T14:15:22Z\",\n \"description\": \"string\",\n \"desiredState\": \"string\",\n \"downloadUrl\": \"string\",\n \"enterpriseObjectId\": \"string\",\n \"format\": \"string\",\n \"googleAndroid\": {\n \"androidFeatures\": [\"string\"],\n \"appPricing\": \"string\",\n \"appVersion\": \"string\",\n \"author\": \"string\",\n \"autoUpdateMode\": \"AUTO_UPDATE_DEFAULT\",\n \"category\": \"string\",\n \"contentRating\": \"string\",\n \"displayMode\": \"string\",\n \"distributionChannel\": \"string\",\n \"fullDescription\": \"string\",\n \"iconUrl\": \"string\",\n \"installType\": \"AVAILABLE\",\n \"managedConfigurationTemplateId\": \"string\",\n \"managedProperties\": True,\n \"minSdkVersion\": 0,\n \"name\": \"string\",\n \"permissionGrants\": [\n {\n \"id\": \"string\",\n \"policy\": \"PROMPT\"\n }\n ],\n \"runtimePermission\": \"PROMPT\",\n \"startUrl\": \"string\",\n \"type\": \"APP_TYPE_UNSPECIFIED\",\n \"updateTime\": \"string\",\n \"versionCode\": 0\n },\n \"iconUrl\": \"string\",\n \"location\": \"string\",\n \"locationObjectId\": \"string\",\n \"microsoftStore\": {\n \"doNotUpdate\": True,\n \"nonRemovable\": True,\n \"packageFamilyName\": \"string\"\n },\n \"packageId\": \"string\",\n \"packageKind\": \"string\",\n \"packageManager\": \"string\",\n \"packageSubtitle\": \"string\",\n \"packageVersion\": \"string\",\n \"packageVersionUpdatedAt\": \"2019-08-24T14:15:22Z\",\n \"scope\": \"string\",\n \"shortVersion\": \"string\",\n \"storedPackage\": {\n \"objectId\": \"string\",\n \"versions\": [\n {\n \"metadata\": {},\n \"name\": \"string\",\n \"rejectedReason\": \"string\",\n \"sha256sum\": \"string\",\n \"size\": 0,\n \"status\": \"string\",\n \"version\": 0\n }\n ]\n },\n \"storedPackageObjectId\": \"string\",\n \"teamId\": \"string\",\n \"updateTool\": \"string\",\n \"updateToolArguments\": \"string\",\n \"updatedAt\": \"2019-08-24T14:15:22Z\",\n \"versionlessDownloadUrl\": True\n }\n ],\n \"updatedAt\": \"2019-08-24T14:15:22Z\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{id}\"\n\npayload = {\n \"createdAt\": \"2019-08-24T14:15:22Z\",\n \"displayName\": \"string\",\n \"id\": \"string\",\n \"settings\": [\n {\n \"allowUpdateDelay\": False,\n \"appCatalogInstallableObjectId\": \"string\",\n \"appFileName\": \"string\",\n \"appleVpp\": {\n \"appConfiguration\": \"string\",\n \"assignedLicenses\": 0,\n \"availableLicenses\": 0,\n \"details\": {},\n \"isConfigEnabled\": True,\n \"supportedDeviceFamilies\": [\"IPAD\"],\n \"totalLicenses\": 0\n },\n \"architectures\": [\"string\"],\n \"assetKind\": \"string\",\n \"assetSha256Size\": 0,\n \"assetSha256Strings\": [\"string\"],\n \"autoUpdate\": False,\n \"bundleId\": \"string\",\n \"commandLineArguments\": \"string\",\n \"createdAt\": \"2019-08-24T14:15:22Z\",\n \"description\": \"string\",\n \"desiredState\": \"string\",\n \"downloadUrl\": \"string\",\n \"enterpriseObjectId\": \"string\",\n \"format\": \"string\",\n \"googleAndroid\": {\n \"androidFeatures\": [\"string\"],\n \"appPricing\": \"string\",\n \"appVersion\": \"string\",\n \"author\": \"string\",\n \"autoUpdateMode\": \"AUTO_UPDATE_DEFAULT\",\n \"category\": \"string\",\n \"contentRating\": \"string\",\n \"displayMode\": \"string\",\n \"distributionChannel\": \"string\",\n \"fullDescription\": \"string\",\n \"iconUrl\": \"string\",\n \"installType\": \"AVAILABLE\",\n \"managedConfigurationTemplateId\": \"string\",\n \"managedProperties\": True,\n \"minSdkVersion\": 0,\n \"name\": \"string\",\n \"permissionGrants\": [\n {\n \"id\": \"string\",\n \"policy\": \"PROMPT\"\n }\n ],\n \"runtimePermission\": \"PROMPT\",\n \"startUrl\": \"string\",\n \"type\": \"APP_TYPE_UNSPECIFIED\",\n \"updateTime\": \"string\",\n \"versionCode\": 0\n },\n \"iconUrl\": \"string\",\n \"location\": \"string\",\n \"locationObjectId\": \"string\",\n \"microsoftStore\": {\n \"doNotUpdate\": True,\n \"nonRemovable\": True,\n \"packageFamilyName\": \"string\"\n },\n \"packageId\": \"string\",\n \"packageKind\": \"string\",\n \"packageManager\": \"string\",\n \"packageSubtitle\": \"string\",\n \"packageVersion\": \"string\",\n \"packageVersionUpdatedAt\": \"2019-08-24T14:15:22Z\",\n \"scope\": \"string\",\n \"shortVersion\": \"string\",\n \"storedPackage\": {\n \"objectId\": \"string\",\n \"versions\": [\n {\n \"metadata\": {},\n \"name\": \"string\",\n \"rejectedReason\": \"string\",\n \"sha256sum\": \"string\",\n \"size\": 0,\n \"status\": \"string\",\n \"version\": 0\n }\n ]\n },\n \"storedPackageObjectId\": \"string\",\n \"teamId\": \"string\",\n \"updateTool\": \"string\",\n \"updateToolArguments\": \"string\",\n \"updatedAt\": \"2019-08-24T14:15:22Z\",\n \"versionlessDownloadUrl\": True\n }\n ],\n \"updatedAt\": \"2019-08-24T14:15:22Z\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"createdAt\":\"2019-08-24T14:15:22Z\",\"displayName\":\"string\",\"id\":\"string\",\"settings\":[{\"allowUpdateDelay\":false,\"appCatalogInstallableObjectId\":\"string\",\"appFileName\":\"string\",\"appleVpp\":{\"appConfiguration\":\"string\",\"assignedLicenses\":0,\"availableLicenses\":0,\"details\":{},\"isConfigEnabled\":true,\"supportedDeviceFamilies\":[\"IPAD\"],\"totalLicenses\":0},\"architectures\":[\"string\"],\"assetKind\":\"string\",\"assetSha256Size\":0,\"assetSha256Strings\":[\"string\"],\"autoUpdate\":false,\"bundleId\":\"string\",\"commandLineArguments\":\"string\",\"createdAt\":\"2019-08-24T14:15:22Z\",\"description\":\"string\",\"desiredState\":\"string\",\"downloadUrl\":\"string\",\"enterpriseObjectId\":\"string\",\"format\":\"string\",\"googleAndroid\":{\"androidFeatures\":[\"string\"],\"appPricing\":\"string\",\"appVersion\":\"string\",\"author\":\"string\",\"autoUpdateMode\":\"AUTO_UPDATE_DEFAULT\",\"category\":\"string\",\"contentRating\":\"string\",\"displayMode\":\"string\",\"distributionChannel\":\"string\",\"fullDescription\":\"string\",\"iconUrl\":\"string\",\"installType\":\"AVAILABLE\",\"managedConfigurationTemplateId\":\"string\",\"managedProperties\":true,\"minSdkVersion\":0,\"name\":\"string\",\"permissionGrants\":[{\"id\":\"string\",\"policy\":\"PROMPT\"}],\"runtimePermission\":\"PROMPT\",\"startUrl\":\"string\",\"type\":\"APP_TYPE_UNSPECIFIED\",\"updateTime\":\"string\",\"versionCode\":0},\"iconUrl\":\"string\",\"location\":\"string\",\"locationObjectId\":\"string\",\"microsoftStore\":{\"doNotUpdate\":true,\"nonRemovable\":true,\"packageFamilyName\":\"string\"},\"packageId\":\"string\",\"packageKind\":\"string\",\"packageManager\":\"string\",\"packageSubtitle\":\"string\",\"packageVersion\":\"string\",\"packageVersionUpdatedAt\":\"2019-08-24T14:15:22Z\",\"scope\":\"string\",\"shortVersion\":\"string\",\"storedPackage\":{\"objectId\":\"string\",\"versions\":[{\"metadata\":{},\"name\":\"string\",\"rejectedReason\":\"string\",\"sha256sum\":\"string\",\"size\":0,\"status\":\"string\",\"version\":0}]},\"storedPackageObjectId\":\"string\",\"teamId\":\"string\",\"updateTool\":\"string\",\"updateToolArguments\":\"string\",\"updatedAt\":\"2019-08-24T14:15:22Z\",\"versionlessDownloadUrl\":true}],\"updatedAt\":\"2019-08-24T14:15:22Z\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"createdAt\":\"2019-08-24T14:15:22Z\",\"displayName\":\"string\",\"id\":\"string\",\"settings\":[{\"allowUpdateDelay\":false,\"appCatalogInstallableObjectId\":\"string\",\"appFileName\":\"string\",\"appleVpp\":{\"appConfiguration\":\"string\",\"assignedLicenses\":0,\"availableLicenses\":0,\"details\":{},\"isConfigEnabled\":true,\"supportedDeviceFamilies\":[\"IPAD\"],\"totalLicenses\":0},\"architectures\":[\"string\"],\"assetKind\":\"string\",\"assetSha256Size\":0,\"assetSha256Strings\":[\"string\"],\"autoUpdate\":false,\"bundleId\":\"string\",\"commandLineArguments\":\"string\",\"createdAt\":\"2019-08-24T14:15:22Z\",\"description\":\"string\",\"desiredState\":\"string\",\"downloadUrl\":\"string\",\"enterpriseObjectId\":\"string\",\"format\":\"string\",\"googleAndroid\":{\"androidFeatures\":[\"string\"],\"appPricing\":\"string\",\"appVersion\":\"string\",\"author\":\"string\",\"autoUpdateMode\":\"AUTO_UPDATE_DEFAULT\",\"category\":\"string\",\"contentRating\":\"string\",\"displayMode\":\"string\",\"distributionChannel\":\"string\",\"fullDescription\":\"string\",\"iconUrl\":\"string\",\"installType\":\"AVAILABLE\",\"managedConfigurationTemplateId\":\"string\",\"managedProperties\":true,\"minSdkVersion\":0,\"name\":\"string\",\"permissionGrants\":[{\"id\":\"string\",\"policy\":\"PROMPT\"}],\"runtimePermission\":\"PROMPT\",\"startUrl\":\"string\",\"type\":\"APP_TYPE_UNSPECIFIED\",\"updateTime\":\"string\",\"versionCode\":0},\"iconUrl\":\"string\",\"location\":\"string\",\"locationObjectId\":\"string\",\"microsoftStore\":{\"doNotUpdate\":true,\"nonRemovable\":true,\"packageFamilyName\":\"string\"},\"packageId\":\"string\",\"packageKind\":\"string\",\"packageManager\":\"string\",\"packageSubtitle\":\"string\",\"packageVersion\":\"string\",\"packageVersionUpdatedAt\":\"2019-08-24T14:15:22Z\",\"scope\":\"string\",\"shortVersion\":\"string\",\"storedPackage\":{\"objectId\":\"string\",\"versions\":[{\"metadata\":{},\"name\":\"string\",\"rejectedReason\":\"string\",\"sha256sum\":\"string\",\"size\":0,\"status\":\"string\",\"version\":0}]},\"storedPackageObjectId\":\"string\",\"teamId\":\"string\",\"updateTool\":\"string\",\"updateToolArguments\":\"string\",\"updatedAt\":\"2019-08-24T14:15:22Z\",\"versionlessDownloadUrl\":true}],\"updatedAt\":\"2019-08-24T14:15:22Z\"}'" } ] }, @@ -17962,15 +19487,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -18009,15 +19534,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"system\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"system\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" } ] } @@ -18105,15 +19630,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/statuses?filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/statuses?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/statuses\"\n\nquerystring = {\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/statuses\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/statuses?filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/statuses?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -18166,15 +19691,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/systemgroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/systemgroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/systemgroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/systemgroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -18227,15 +19752,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/systems?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/systems?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/systems\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/systems\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/systems?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/systems?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -18316,7 +19841,7 @@ }, "/systemgroups": { "get": { - "description": "This endpoint returns all System Groups.\n\nAvailable filter fields:\n - `name`\n - `disabled`\n - `type`\n - `membershipMethod`\n\n#### Sample Request\n\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/systemgroups \\\n -H 'Accept: application/json' \\\n -H 'Content-Type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "description": "This endpoint returns all System Groups.\n\nAvailable filter fields:\n - `name`\n - `disabled`\n - `type`\n - `membershipMethod`\n - `memberQueryErrorFlags`\n\n#### Sample Request\n\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/systemgroups \\\n -H 'Accept: application/json' \\\n -H 'Content-Type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", "operationId": "SystemGroup_List", "parameters": [ { @@ -18369,15 +19894,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -18410,15 +19935,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/systemgroups \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"attributes\":{},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/systemgroups \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"attributes\":{},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups\"\n\npayload = {\n \"attributes\": {},\n \"description\": \"string\",\n \"email\": \"string\",\n \"memberQuery\": {\n \"queryType\": \"Filter\",\n \"filters\": [None]\n },\n \"memberQueryExemptions\": [\n {\n \"attributes\": {},\n \"id\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"memberSuggestionsNotify\": True,\n \"membershipMethod\": \"NOTSET\",\n \"name\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups\"\n\npayload = {\n \"attributes\": {},\n \"description\": \"string\",\n \"email\": \"string\",\n \"memberQuery\": {\n \"queryType\": \"Filter\",\n \"filters\": [None]\n },\n \"memberQueryExemptions\": [\n {\n \"attributes\": {},\n \"id\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"memberSuggestionsNotify\": True,\n \"membershipMethod\": \"NOTSET\",\n \"name\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"attributes\":{},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"attributes\":{},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" } ] }, @@ -18461,15 +19986,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -18508,15 +20033,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"command\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"command\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"command\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"command\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"command\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"command\"}'" } ] }, @@ -18562,15 +20087,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/commands?limit=10&skip=0&filter=&details=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/commands?limit=10&skip=0&details=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/commands\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\",\"details\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/commands\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"details\":\"SOME_STRING_VALUE\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/commands?limit=10&skip=0&filter=&details=SOME_STRING_VALUE' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/commands?limit=10&skip=0&details=SOME_STRING_VALUE' -Method GET -Headers $headers" } ] }, @@ -18634,15 +20159,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/members?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/members?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/members\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/members\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/members?limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/members?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -18687,15 +20212,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/members \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/members \\\n --header 'Authorization: SOME_STRING_VALUE' \\\n --header 'Date: SOME_STRING_VALUE' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/members\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"system\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/members\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"system\"\n}\nheaders = {\n \"Date\": \"SOME_STRING_VALUE\",\n \"Authorization\": \"SOME_STRING_VALUE\",\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/members' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" + "source": "$headers=@{}\n$headers.Add(\"Date\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Authorization\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/members' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"system\"}'" } ] }, @@ -18741,15 +20266,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/membership?limit=10&skip=0&sort=&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/membership?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/membership\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/membership\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/membership?limit=10&skip=0&sort=&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/membership?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -18801,15 +20326,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/policies?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/policies?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/policies\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/policies\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/policies?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/policies?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -18861,15 +20386,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/policygroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/policygroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/policygroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/policygroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/policygroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/policygroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -18926,15 +20451,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/usergroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/usergroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/usergroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/usergroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -18986,15 +20511,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/users?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/users?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/users?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{group_id}/users?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -19036,15 +20561,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/systemgroups/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/systemgroups/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{id}' -Method DELETE -Headers $headers" } ] }, @@ -19076,15 +20601,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/systemgroups/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/systemgroups/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{id}' -Method GET -Headers $headers" } ] }, @@ -19133,15 +20658,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/systemgroups/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"attributes\":{},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/systemgroups/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"attributes\":{},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{id}\"\n\npayload = {\n \"attributes\": {},\n \"description\": \"string\",\n \"email\": \"string\",\n \"memberQuery\": {\n \"queryType\": \"Filter\",\n \"filters\": [None]\n },\n \"memberQueryExemptions\": [\n {\n \"attributes\": {},\n \"id\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"memberSuggestionsNotify\": True,\n \"membershipMethod\": \"NOTSET\",\n \"name\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systemgroups/{id}\"\n\npayload = {\n \"attributes\": {},\n \"description\": \"string\",\n \"email\": \"string\",\n \"memberQuery\": {\n \"queryType\": \"Filter\",\n \"filters\": [None]\n },\n \"memberQueryExemptions\": [\n {\n \"attributes\": {},\n \"id\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"memberSuggestionsNotify\": True,\n \"membershipMethod\": \"NOTSET\",\n \"name\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"attributes\":{},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systemgroups/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"attributes\":{},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" } ] }, @@ -19187,15 +20712,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/alf?filter=&skip=0&sort=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/alf?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/alf\"\n\nquerystring = {\"filter\":\"\",\"skip\":\"0\",\"sort\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/alf\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/alf?filter=&skip=0&sort=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/alf?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19241,15 +20766,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/alf_exceptions?filter=&skip=0&sort=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/alf_exceptions?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/alf_exceptions\"\n\nquerystring = {\"filter\":\"\",\"skip\":\"0\",\"sort\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/alf_exceptions\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/alf_exceptions?filter=&skip=0&sort=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/alf_exceptions?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19295,15 +20820,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/alf_explicit_auths?filter=&skip=0&sort=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/alf_explicit_auths?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/alf_explicit_auths\"\n\nquerystring = {\"filter\":\"\",\"skip\":\"0\",\"sort\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/alf_explicit_auths\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/alf_explicit_auths?filter=&skip=0&sort=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/alf_explicit_auths?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19349,15 +20874,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/appcompat_shims?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/appcompat_shims?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/appcompat_shims\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/appcompat_shims\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/appcompat_shims?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/appcompat_shims?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19403,15 +20928,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/apps?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/apps?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/apps\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/apps\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/apps?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/apps?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19457,15 +20982,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/authorized_keys?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/authorized_keys?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/authorized_keys\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/authorized_keys\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/authorized_keys?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/authorized_keys?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19507,15 +21032,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/azure_instance_metadata?skip=0&sort=&filter=&limit=10'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/azure_instance_metadata?skip=0&limit=10' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/azure_instance_metadata\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nresponse = requests.request(\"GET\", url, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/azure_instance_metadata\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\"x-org-id\": \"SOME_STRING_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/azure_instance_metadata?skip=0&sort=&filter=&limit=10' -Method GET " + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/azure_instance_metadata?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19557,15 +21082,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/azure_instance_tags?skip=0&sort=&filter=&limit=10'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/azure_instance_tags?skip=0&limit=10' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/azure_instance_tags\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nresponse = requests.request(\"GET\", url, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/azure_instance_tags\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\"x-org-id\": \"SOME_STRING_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/azure_instance_tags?skip=0&sort=&filter=&limit=10' -Method GET " + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/azure_instance_tags?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19611,15 +21136,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/battery?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/battery?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/battery\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/battery\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/battery?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/battery?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19665,15 +21190,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/bitlocker_info?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/bitlocker_info?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/bitlocker_info\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/bitlocker_info\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/bitlocker_info?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/bitlocker_info?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19719,15 +21244,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/browser_plugins?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/browser_plugins?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/browser_plugins\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/browser_plugins\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/browser_plugins?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/browser_plugins?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19773,15 +21298,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/certificates?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/certificates?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/certificates\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/certificates\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/certificates?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/certificates?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19823,15 +21348,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/chassis_info?skip=0&sort=&filter=&limit=10'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/chassis_info?skip=0&limit=10' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/chassis_info\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nresponse = requests.request(\"GET\", url, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/chassis_info\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\"x-org-id\": \"SOME_STRING_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/chassis_info?skip=0&sort=&filter=&limit=10' -Method GET " + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/chassis_info?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19877,15 +21402,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/chrome_extensions?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/chrome_extensions?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/chrome_extensions\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/chrome_extensions\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/chrome_extensions?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/chrome_extensions?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19931,15 +21456,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/connectivity?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/connectivity?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/connectivity\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/connectivity\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/connectivity?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/connectivity?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -19985,15 +21510,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/crashes?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/crashes?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/crashes\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/crashes\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/crashes?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/crashes?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20039,15 +21564,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/cups_destinations?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/cups_destinations?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/cups_destinations\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/cups_destinations\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/cups_destinations?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/cups_destinations?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20093,15 +21618,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/disk_encryption?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/disk_encryption?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/disk_encryption\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/disk_encryption\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/disk_encryption?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/disk_encryption?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20147,15 +21672,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/disk_info?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/disk_info?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/disk_info\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/disk_info\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/disk_info?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/disk_info?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20201,15 +21726,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/dns_resolvers?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/dns_resolvers?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/dns_resolvers\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/dns_resolvers\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/dns_resolvers?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/dns_resolvers?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20255,15 +21780,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/etc_hosts?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/etc_hosts?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/etc_hosts\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/etc_hosts\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/etc_hosts?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/etc_hosts?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20309,15 +21834,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/firefox_addons?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/firefox_addons?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/firefox_addons\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/firefox_addons\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/firefox_addons?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/firefox_addons?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20363,15 +21888,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/groups?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/groups?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/groups\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/groups\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/groups?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/groups?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20417,15 +21942,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/ie_extensions?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/ie_extensions?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/ie_extensions\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/ie_extensions\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/ie_extensions?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/ie_extensions?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20471,15 +21996,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/interface_addresses?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/interface_addresses?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/interface_addresses\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/interface_addresses\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/interface_addresses?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/interface_addresses?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20525,15 +22050,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/interface_details?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/interface_details?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/interface_details\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/interface_details\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/interface_details?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/interface_details?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20579,15 +22104,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/kernel_info?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/kernel_info?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/kernel_info\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/kernel_info\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/kernel_info?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/kernel_info?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20633,15 +22158,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/launchd?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/launchd?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/launchd\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/launchd\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/launchd?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/launchd?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20687,15 +22212,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/linux_packages?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/linux_packages?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/linux_packages\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/linux_packages\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/linux_packages?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/linux_packages?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20742,15 +22267,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/logged_in_users?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/logged_in_users?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/logged_in_users\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/logged_in_users\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/logged_in_users?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/logged_in_users?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20796,15 +22321,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/logical_drives?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/logical_drives?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/logical_drives\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/logical_drives\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/logical_drives?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/logical_drives?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20850,15 +22375,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/managed_policies?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/managed_policies?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/managed_policies\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/managed_policies\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/managed_policies?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/managed_policies?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20904,15 +22429,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/mounts?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/mounts?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/mounts\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/mounts\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/mounts?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/mounts?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -20958,15 +22483,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/os_version?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/os_version?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/os_version\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/os_version\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/os_version?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/os_version?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21012,15 +22537,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/patches?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/patches?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/patches\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/patches\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/patches?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/patches?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21066,15 +22591,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/programs?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/programs?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/programs\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/programs\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/programs?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/programs?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21120,15 +22645,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/python_packages?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/python_packages?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/python_packages\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/python_packages\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/python_packages?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/python_packages?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21174,15 +22699,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/safari_extensions?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/safari_extensions?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/safari_extensions\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/safari_extensions\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/safari_extensions?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/safari_extensions?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21228,15 +22753,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/scheduled_tasks?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/scheduled_tasks?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/scheduled_tasks\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/scheduled_tasks\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/scheduled_tasks?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/scheduled_tasks?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21278,15 +22803,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/secureboot?skip=0&sort=&filter=&limit=10'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/secureboot?skip=0&limit=10' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/secureboot\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nresponse = requests.request(\"GET\", url, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/secureboot\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\"x-org-id\": \"SOME_STRING_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/secureboot?skip=0&sort=&filter=&limit=10' -Method GET " + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/secureboot?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21332,15 +22857,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/services?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/services?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/services\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/services\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/services?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/services?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21386,15 +22911,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/shadow?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/shadow?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/shadow\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/shadow\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/shadow?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/shadow?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21440,15 +22965,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/shared_folders?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/shared_folders?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/shared_folders\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/shared_folders\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/shared_folders?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/shared_folders?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21489,15 +23014,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/shared_resources?skip=0&sort=&filter=&limit=10'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/shared_resources?skip=0&limit=10' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/shared_resources\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nresponse = requests.request(\"GET\", url, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/shared_resources\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\"x-org-id\": \"SOME_STRING_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/shared_resources?skip=0&sort=&filter=&limit=10' -Method GET " + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/shared_resources?skip=0&limit=10' -Method GET -Headers $headers" } ] } @@ -21540,15 +23065,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/sharing_preferences?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/sharing_preferences?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/sharing_preferences\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/sharing_preferences\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/sharing_preferences?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/sharing_preferences?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21594,15 +23119,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/sip_config?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/sip_config?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/sip_config\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/sip_config\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/sip_config?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/sip_config?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21648,15 +23173,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/startup_items?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/startup_items?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/startup_items\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/startup_items\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/startup_items?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/startup_items?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21702,15 +23227,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/system_controls?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/system_controls?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/system_controls\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/system_controls\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/system_controls?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/system_controls?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21756,15 +23281,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/system_info?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/system_info?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/system_info\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/system_info\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/system_info?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/system_info?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21806,15 +23331,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/tpm_info?skip=0&sort=&filter=&limit=10'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/tpm_info?skip=0&limit=10' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/tpm_info\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nresponse = requests.request(\"GET\", url, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/tpm_info\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\"x-org-id\": \"SOME_STRING_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/tpm_info?skip=0&sort=&filter=&limit=10' -Method GET " + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/tpm_info?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21860,15 +23385,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/uptime?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/uptime?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/uptime\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/uptime\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/uptime?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/uptime?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21914,15 +23439,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/usb_devices?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/usb_devices?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/usb_devices\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/usb_devices\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/usb_devices?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/usb_devices?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -21968,15 +23493,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/user_groups?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/user_groups?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/user_groups\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/user_groups\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/user_groups?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/user_groups?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -22022,15 +23547,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/user_ssh_keys?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/user_ssh_keys?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/user_ssh_keys\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/user_ssh_keys\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/user_ssh_keys?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/user_ssh_keys?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -22072,15 +23597,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/userassist?skip=0&sort=&filter=&limit=10'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/userassist?skip=0&limit=10' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/userassist\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nresponse = requests.request(\"GET\", url, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/userassist\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\"x-org-id\": \"SOME_STRING_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/userassist?skip=0&sort=&filter=&limit=10' -Method GET " + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/userassist?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -22126,15 +23651,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/users?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/users?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/users\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/users\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/users?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/users?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -22180,15 +23705,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/wifi_networks?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/wifi_networks?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/wifi_networks\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/wifi_networks\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/wifi_networks?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/wifi_networks?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -22234,15 +23759,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/wifi_status?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/wifi_status?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/wifi_status\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/wifi_status\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/wifi_status?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/wifi_status?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -22289,15 +23814,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/windows_security_center?skip=0&sort=&filter=&limit=10'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/windows_security_center?skip=0&limit=10' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/windows_security_center\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nresponse = requests.request(\"GET\", url, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/windows_security_center\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\"x-org-id\": \"SOME_STRING_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/windows_security_center?skip=0&sort=&filter=&limit=10' -Method GET " + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/windows_security_center?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -22343,15 +23868,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/windows_security_products?skip=0&sort=&filter=&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systeminsights/windows_security_products?skip=0&limit=10' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/windows_security_products\"\n\nquerystring = {\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\",\"limit\":\"10\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systeminsights/windows_security_products\"\n\nquerystring = {\"skip\":\"0\",\"limit\":\"10\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/windows_security_products?skip=0&sort=&filter=&limit=10' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/windows_security_products?skip=0&limit=10' -Method GET -Headers $headers" } ] }, @@ -22647,6 +24172,7 @@ }, "/systems/views": {}, "/systems/{systemObjectId}/aggregated-policy-stats": {}, + "/systems/{systemObjectId}/transfer": {}, "/systems/{system_id}/associations": { "get": { "description": "This endpoint returns the _direct_ associations of a System.\n\nA direct association can be a non-homogeneous relationship between 2 different objects, for example Systems and Users.\n\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/systems/{System_ID}/associations?targets=user \\\n -H 'Accept: application/json' \\\n -H 'Content-Type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n\n```", @@ -22688,15 +24214,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'Authorization: SOME_STRING_VALUE' \\\n --header 'Date: SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"Date\": \"SOME_STRING_VALUE\",\n \"Authorization\": \"SOME_STRING_VALUE\",\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"Date\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Authorization\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -22741,15 +24267,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/systems/{system_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true}},\"type\":\"command\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/systems/{system_id}/associations \\\n --header 'Authorization: SOME_STRING_VALUE' \\\n --header 'Date: SOME_STRING_VALUE' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true}},\"type\":\"command\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {\"sudo\": {\n \"enabled\": True,\n \"withoutPassword\": True\n }},\n \"type\": \"command\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {\"sudo\": {\n \"enabled\": True,\n \"withoutPassword\": True\n }},\n \"type\": \"command\"\n}\nheaders = {\n \"Date\": \"SOME_STRING_VALUE\",\n \"Authorization\": \"SOME_STRING_VALUE\",\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true}},\"type\":\"command\"}'" + "source": "$headers=@{}\n$headers.Add(\"Date\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Authorization\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true}},\"type\":\"command\"}'" } ] }, @@ -22795,15 +24321,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/commands?limit=10&skip=0&filter=&details=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/commands?limit=10&skip=0&details=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/commands\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\",\"details\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/commands\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"details\":\"SOME_STRING_VALUE\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/commands?limit=10&skip=0&filter=&details=SOME_STRING_VALUE' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/commands?limit=10&skip=0&details=SOME_STRING_VALUE' -Method GET -Headers $headers" } ] }, @@ -22848,15 +24374,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/systems/{system_id}/fdekey \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/systems/{system_id}/fdekey \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/fdekey\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/fdekey\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/fdekey' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/fdekey' -Method GET -Headers $headers" } ] }, @@ -22916,15 +24442,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/memberof?filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/memberof?limit=10&skip=0' \\\n --header 'Authorization: SOME_STRING_VALUE' \\\n --header 'Date: SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/memberof\"\n\nquerystring = {\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/memberof\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"Date\": \"SOME_STRING_VALUE\",\n \"Authorization\": \"SOME_STRING_VALUE\",\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/memberof?filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"Date\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Authorization\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/memberof?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -22973,15 +24499,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/policies?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/policies?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/policies\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/policies\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/policies?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/policies?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23040,15 +24566,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/policygroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/policygroups?limit=10&skip=0' \\\n --header 'Authorization: SOME_STRING_VALUE' \\\n --header 'Date: SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/policygroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/policygroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"Date\": \"SOME_STRING_VALUE\",\n \"Authorization\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/policygroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Date\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Authorization\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/policygroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23107,15 +24633,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/policystatuses?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/policystatuses?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/policystatuses\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/policystatuses\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/policystatuses?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/policystatuses?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23174,15 +24700,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/usergroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/usergroups?limit=10&skip=0' \\\n --header 'Authorization: SOME_STRING_VALUE' \\\n --header 'Date: SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"Date\": \"SOME_STRING_VALUE\",\n \"Authorization\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/usergroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Date\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Authorization\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/usergroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23241,15 +24767,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/users?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/systems/{system_id}/users?limit=10&skip=0' \\\n --header 'Authorization: SOME_STRING_VALUE' \\\n --header 'Date: SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/systems/{system_id}/users\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"Date\": \"SOME_STRING_VALUE\",\n \"Authorization\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/users?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Date\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Authorization\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systems/{system_id}/users?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23273,10 +24799,54 @@ "settings-feature-trial" ] }, - "/userapprovalrequest": {}, + "/userapprovalrequest": { + "post": { + "description": "Endpoint for user approval", + "operationId": "AccessRequestApproval_Set", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/jumpcloud.ingresso.UserApprovalRequestRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/jumpcloud.ingresso.UserApprovalRequestResponse" + } + } + }, + "security": [ + { + "x-api-key": [] + } + ], + "summary": "User Approval Access Request", + "x-dynamic-gateway": true, + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/userapprovalrequest \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"approvedDuration\":\"string\",\"id\":\"string\",\"organizationObjectId\":\"string\",\"remarks\":\"string\",\"status\":\"string\"}'" + }, + { + "lang": "Python", + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/userapprovalrequest\"\n\npayload = {\n \"approvedDuration\": \"string\",\n \"id\": \"string\",\n \"organizationObjectId\": \"string\",\n \"remarks\": \"string\",\n \"status\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + }, + { + "lang": "Powershell", + "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/userapprovalrequest' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"approvedDuration\":\"string\",\"id\":\"string\",\"organizationObjectId\":\"string\",\"remarks\":\"string\",\"status\":\"string\"}'" + } + ] + } + }, "/usergroups": { "get": { - "description": "This endpoint returns all User Groups.\n\nAvailable filter fields:\n - `name`\n - `disabled`\n - `type`\n - `membershipMethod`\n - `suggestionCounts.add`\n - `suggestionCounts.remove`\n - `suggestionCounts.total`\n - `attributes.sudo.enabled`\n - `attributes.sudo.withoutPassword`\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/usergroups \\\n -H 'Accept: application/json' \\\n -H 'Content-Type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", + "description": "This endpoint returns all User Groups.\n\nAvailable filter fields:\n - `name`\n - `disabled`\n - `type`\n - `membershipMethod`\n - `memberQueryErrorFlags`\n - `suggestionCounts.add`\n - `suggestionCounts.remove`\n - `suggestionCounts.total`\n - `attributes.sudo.enabled`\n - `attributes.sudo.withoutPassword`\n\n#### Sample Request\n```\ncurl -X GET https://console.jumpcloud.com/api/v2/usergroups \\\n -H 'Accept: application/json' \\\n -H 'Content-Type: application/json' \\\n -H 'x-api-key: {API_KEY}'\n```", "operationId": "UserGroup_List", "parameters": [ { @@ -23315,15 +24885,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups?fields=&filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups?fields=&filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23356,15 +24926,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/usergroups \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true},\"ldapGroups\":[{\"name\":\"string\"}],\"posixGroups\":[{\"id\":0,\"name\":\"string\"}],\"radius\":{\"reply\":[{\"name\":\"string\",\"value\":\"string\"}]},\"sambaEnabled\":true},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/usergroups \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true},\"ldapGroups\":[{\"name\":\"string\"}],\"posixGroups\":[{\"id\":0,\"name\":\"string\"}],\"radius\":{\"reply\":[{\"name\":\"string\",\"value\":\"string\"}]},\"sambaEnabled\":true},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups\"\n\npayload = {\n \"attributes\": {\n \"sudo\": {\n \"enabled\": True,\n \"withoutPassword\": True\n },\n \"ldapGroups\": [{\"name\": \"string\"}],\n \"posixGroups\": [\n {\n \"id\": 0,\n \"name\": \"string\"\n }\n ],\n \"radius\": {\"reply\": [\n {\n \"name\": \"string\",\n \"value\": \"string\"\n }\n ]},\n \"sambaEnabled\": True\n },\n \"description\": \"string\",\n \"email\": \"string\",\n \"memberQuery\": {\n \"queryType\": \"Filter\",\n \"filters\": [None]\n },\n \"memberQueryExemptions\": [\n {\n \"attributes\": {},\n \"id\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"memberSuggestionsNotify\": True,\n \"membershipMethod\": \"NOTSET\",\n \"name\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups\"\n\npayload = {\n \"attributes\": {\n \"sudo\": {\n \"enabled\": True,\n \"withoutPassword\": True\n },\n \"ldapGroups\": [{\"name\": \"string\"}],\n \"posixGroups\": [\n {\n \"id\": 0,\n \"name\": \"string\"\n }\n ],\n \"radius\": {\"reply\": [\n {\n \"name\": \"string\",\n \"value\": \"string\"\n }\n ]},\n \"sambaEnabled\": True\n },\n \"description\": \"string\",\n \"email\": \"string\",\n \"memberQuery\": {\n \"queryType\": \"Filter\",\n \"filters\": [None]\n },\n \"memberQueryExemptions\": [\n {\n \"attributes\": {},\n \"id\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"memberSuggestionsNotify\": True,\n \"membershipMethod\": \"NOTSET\",\n \"name\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true},\"ldapGroups\":[{\"name\":\"string\"}],\"posixGroups\":[{\"id\":0,\"name\":\"string\"}],\"radius\":{\"reply\":[{\"name\":\"string\",\"value\":\"string\"}]},\"sambaEnabled\":true},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true},\"ldapGroups\":[{\"name\":\"string\"}],\"posixGroups\":[{\"id\":0,\"name\":\"string\"}],\"radius\":{\"reply\":[{\"name\":\"string\",\"value\":\"string\"}]},\"sambaEnabled\":true},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" } ] }, @@ -23407,15 +24977,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/activedirectories?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/activedirectories?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/activedirectories\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/activedirectories\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/activedirectories?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/activedirectories?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23468,15 +25038,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/applications?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/applications?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/applications\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/applications\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/applications?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/applications?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23525,15 +25095,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23572,15 +25142,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/usergroups/{group_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"active_directory\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/usergroups/{group_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"active_directory\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"active_directory\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"active_directory\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"active_directory\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"active_directory\"}'" } ] }, @@ -23624,15 +25194,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/directories?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/directories?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/directories\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/directories\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/directories?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/directories?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23685,15 +25255,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/gsuites?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/gsuites?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/gsuites\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/gsuites\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/gsuites?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/gsuites?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23746,15 +25316,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/ldapservers?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/ldapservers?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/ldapservers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/ldapservers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/ldapservers?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/ldapservers?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23818,15 +25388,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/members?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/members?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/members\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/members\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/members?limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/members?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23865,15 +25435,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/usergroups/{group_id}/members \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/usergroups/{group_id}/members \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/members\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/members\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {},\n \"type\": \"user\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/members' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/members' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{},\"type\":\"user\"}'" } ] }, @@ -23887,7 +25457,7 @@ "operationId": "UserGroupMembership_Get", "parameters": [ { - "$ref": "#/parameters/trait:filter:filter" + "$ref": "#/parameters/trait:filter:filterUserGroupMembership" }, { "$ref": "#/parameters/trait:limit:limit" @@ -23919,15 +25489,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/membership?filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/membership?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/membership\"\n\nquerystring = {\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/membership\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/membership?filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/membership?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -23979,15 +25549,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/office365s?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/office365s?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/office365s\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/office365s\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/office365s?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/office365s?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -24040,15 +25610,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/radiusservers?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/radiusservers?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/radiusservers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/radiusservers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/radiusservers?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/radiusservers?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -24106,15 +25676,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/systemgroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/systemgroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/systemgroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/systemgroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -24167,15 +25737,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/systems?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/systems?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/systems\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{group_id}/systems\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/systems?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{group_id}/systems?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -24218,15 +25788,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/usergroups/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/usergroups/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{id}' -Method DELETE -Headers $headers" } ] }, @@ -24251,15 +25821,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/usergroups/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/usergroups/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{id}' -Method GET -Headers $headers" } ] }, @@ -24301,15 +25871,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/usergroups/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true},\"ldapGroups\":[{\"name\":\"string\"}],\"posixGroups\":[{\"id\":0,\"name\":\"string\"}],\"radius\":{\"reply\":[{\"name\":\"string\",\"value\":\"string\"}]},\"sambaEnabled\":true},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/usergroups/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true},\"ldapGroups\":[{\"name\":\"string\"}],\"posixGroups\":[{\"id\":0,\"name\":\"string\"}],\"radius\":{\"reply\":[{\"name\":\"string\",\"value\":\"string\"}]},\"sambaEnabled\":true},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{id}\"\n\npayload = {\n \"attributes\": {\n \"sudo\": {\n \"enabled\": True,\n \"withoutPassword\": True\n },\n \"ldapGroups\": [{\"name\": \"string\"}],\n \"posixGroups\": [\n {\n \"id\": 0,\n \"name\": \"string\"\n }\n ],\n \"radius\": {\"reply\": [\n {\n \"name\": \"string\",\n \"value\": \"string\"\n }\n ]},\n \"sambaEnabled\": True\n },\n \"description\": \"string\",\n \"email\": \"string\",\n \"memberQuery\": {\n \"queryType\": \"Filter\",\n \"filters\": [None]\n },\n \"memberQueryExemptions\": [\n {\n \"attributes\": {},\n \"id\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"memberSuggestionsNotify\": True,\n \"membershipMethod\": \"NOTSET\",\n \"name\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/usergroups/{id}\"\n\npayload = {\n \"attributes\": {\n \"sudo\": {\n \"enabled\": True,\n \"withoutPassword\": True\n },\n \"ldapGroups\": [{\"name\": \"string\"}],\n \"posixGroups\": [\n {\n \"id\": 0,\n \"name\": \"string\"\n }\n ],\n \"radius\": {\"reply\": [\n {\n \"name\": \"string\",\n \"value\": \"string\"\n }\n ]},\n \"sambaEnabled\": True\n },\n \"description\": \"string\",\n \"email\": \"string\",\n \"memberQuery\": {\n \"queryType\": \"Filter\",\n \"filters\": [None]\n },\n \"memberQueryExemptions\": [\n {\n \"attributes\": {},\n \"id\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"memberSuggestionsNotify\": True,\n \"membershipMethod\": \"NOTSET\",\n \"name\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true},\"ldapGroups\":[{\"name\":\"string\"}],\"posixGroups\":[{\"id\":0,\"name\":\"string\"}],\"radius\":{\"reply\":[{\"name\":\"string\",\"value\":\"string\"}]},\"sambaEnabled\":true},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/usergroups/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true},\"ldapGroups\":[{\"name\":\"string\"}],\"posixGroups\":[{\"id\":0,\"name\":\"string\"}],\"radius\":{\"reply\":[{\"name\":\"string\",\"value\":\"string\"}]},\"sambaEnabled\":true},\"description\":\"string\",\"email\":\"string\",\"memberQuery\":{\"queryType\":\"Filter\",\"filters\":[null]},\"memberQueryExemptions\":[{\"attributes\":{},\"id\":\"string\",\"type\":\"string\"}],\"memberSuggestionsNotify\":true,\"membershipMethod\":\"NOTSET\",\"name\":\"string\"}'" } ] }, @@ -24353,15 +25923,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/activedirectories?filter=&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/activedirectories?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/activedirectories\"\n\nquerystring = {\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/activedirectories\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/activedirectories?filter=&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/activedirectories?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -24413,15 +25983,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/applications?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/applications?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/applications\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/applications\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/applications?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/applications?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -24473,15 +26043,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/associations\"\n\nquerystring = {\"targets\":\"SOME_ARRAY_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/associations?targets=SOME_ARRAY_VALUE&limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -24520,15 +26090,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/users/{user_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true}},\"type\":\"active_directory\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/users/{user_id}/associations \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true}},\"type\":\"active_directory\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {\"sudo\": {\n \"enabled\": True,\n \"withoutPassword\": True\n }},\n \"type\": \"active_directory\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/associations\"\n\npayload = {\n \"id\": \"string\",\n \"op\": \"add\",\n \"attributes\": {\"sudo\": {\n \"enabled\": True,\n \"withoutPassword\": True\n }},\n \"type\": \"active_directory\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true}},\"type\":\"active_directory\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/associations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"id\":\"string\",\"op\":\"add\",\"attributes\":{\"sudo\":{\"enabled\":true,\"withoutPassword\":true}},\"type\":\"active_directory\"}'" } ] }, @@ -24571,15 +26141,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/directories?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/directories?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/directories\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/directories\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/directories?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/directories?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -24642,15 +26212,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/gsuites?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/gsuites?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/gsuites\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/gsuites\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/gsuites?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/gsuites?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -24702,15 +26272,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/ldapservers?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/ldapservers?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/ldapservers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/ldapservers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/ldapservers?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/ldapservers?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -24733,7 +26303,7 @@ "operationId": "UserMember_Get", "parameters": [ { - "$ref": "#/parameters/trait:filter:filter" + "$ref": "#/parameters/trait:filter:filterUserMemberOf" }, { "$ref": "#/parameters/trait:limit:limit" @@ -24765,15 +26335,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/memberof?filter=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/memberof?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/memberof\"\n\nquerystring = {\"filter\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/memberof\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/memberof?filter=&limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/memberof?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -24825,15 +26395,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/office365s?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/office365s?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/office365s\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/office365s\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/office365s?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/office365s?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -24872,15 +26442,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints' -Method GET -Headers $headers" } ] }, @@ -24925,15 +26495,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id}' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id}' -Method DELETE -Headers $headers" } ] }, @@ -24958,15 +26528,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id}' -Method GET -Headers $headers" } ] }, @@ -25033,15 +26603,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PATCH \\\n --url https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"name\":\"string\",\"state\":\"active\"}'" + "source": "curl --request PATCH \\\n --url https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"name\":\"string\",\"state\":\"active\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id}\"\n\npayload = {\n \"name\": \"string\",\n \"state\": \"active\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id}\"\n\npayload = {\n \"name\": \"string\",\n \"state\": \"active\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PATCH\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\",\"state\":\"active\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/pushendpoints/{push_endpoint_id}' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\",\"state\":\"active\"}'" } ] } @@ -25081,15 +26651,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/radiusservers?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/radiusservers?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/radiusservers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/radiusservers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/radiusservers?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/radiusservers?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -25141,15 +26711,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/systemgroups?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/systemgroups?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/systemgroups\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/systemgroups?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/systemgroups?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -25198,15 +26768,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/systems?limit=10&skip=0&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/users/{user_id}/systems?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/systems\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/users/{user_id}/systems\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/systems?limit=10&skip=0&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/users/{user_id}/systems?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -25343,15 +26913,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/workdays?fields=&limit=10&skip=0&sort=&filter=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/workdays?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays\"\n\nquerystring = {\"fields\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\",\"filter\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays?fields=&limit=10&skip=0&sort=&filter=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -25384,15 +26954,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/workdays \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"auth\":{\"basic\":{\"password\":\"in tempor ipsum quis\",\"username\":\"mollit ex\"},\"oauth\":{\"code\":\"non laborum dolore\"}},\"name\":\"dolore tempor\",\"reportUrl\":\"est sit laboris\"}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/workdays \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"auth\":{\"basic\":{\"password\":\"in tempor ipsum quis\",\"username\":\"mollit ex\"},\"oauth\":{\"code\":\"non laborum dolore\"}},\"name\":\"dolore tempor\",\"reportUrl\":\"est sit laboris\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays\"\n\npayload = {\n \"auth\": {\n \"basic\": {\n \"password\": \"in tempor ipsum quis\",\n \"username\": \"mollit ex\"\n },\n \"oauth\": {\"code\": \"non laborum dolore\"}\n },\n \"name\": \"dolore tempor\",\n \"reportUrl\": \"est sit laboris\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays\"\n\npayload = {\n \"auth\": {\n \"basic\": {\n \"password\": \"in tempor ipsum quis\",\n \"username\": \"mollit ex\"\n },\n \"oauth\": {\"code\": \"non laborum dolore\"}\n },\n \"name\": \"dolore tempor\",\n \"reportUrl\": \"est sit laboris\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"auth\":{\"basic\":{\"password\":\"in tempor ipsum quis\",\"username\":\"mollit ex\"},\"oauth\":{\"code\":\"non laborum dolore\"}},\"name\":\"dolore tempor\",\"reportUrl\":\"est sit laboris\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"auth\":{\"basic\":{\"password\":\"in tempor ipsum quis\",\"username\":\"mollit ex\"},\"oauth\":{\"code\":\"non laborum dolore\"}},\"name\":\"dolore tempor\",\"reportUrl\":\"est sit laboris\"}'" } ] }, @@ -25422,15 +26992,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/workdays/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/workdays/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{id}\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{id}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{id}' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{id}' -Method GET -Headers $headers" } ] }, @@ -25471,15 +27041,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/workdays/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"name\":\"string\",\"reportUrl\":\"string\"}'" + "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/workdays/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"name\":\"string\",\"reportUrl\":\"string\"}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{id}\"\n\npayload = {\n \"name\": \"string\",\n \"reportUrl\": \"string\"\n}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{id}\"\n\npayload = {\n \"name\": \"string\",\n \"reportUrl\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\",\"reportUrl\":\"string\"}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\",\"reportUrl\":\"string\"}'" } ] }, @@ -25519,15 +27089,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/workdays/{id}/import/{job_id}/results?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/workdays/{id}/import/{job_id}/results?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{id}/import/{job_id}/results\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{id}/import/{job_id}/results\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{id}/import/{job_id}/results?limit=10&skip=0' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{id}/import/{job_id}/results?limit=10&skip=0' -Method GET -Headers $headers" } ] }, @@ -25568,15 +27138,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/workdays/{workday_id}/auth \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/workdays/{workday_id}/auth \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{workday_id}/auth\"\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{workday_id}/auth\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{workday_id}/auth' -Method DELETE -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{workday_id}/auth' -Method DELETE -Headers $headers" } ] }, @@ -25614,15 +27184,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/workdays/{workday_id}/auth \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"auth\":{\"basic\":{\"password\":\"mollit cillum\",\"username\":\"veniam dolore\"},\"oauth\":{\"code\":\"minim ad ea dolor\"}}}'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/workdays/{workday_id}/auth \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"auth\":{\"basic\":{\"password\":\"mollit cillum\",\"username\":\"veniam dolore\"},\"oauth\":{\"code\":\"minim ad ea dolor\"}}}'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{workday_id}/auth\"\n\npayload = {\"auth\": {\n \"basic\": {\n \"password\": \"mollit cillum\",\n \"username\": \"veniam dolore\"\n },\n \"oauth\": {\"code\": \"minim ad ea dolor\"}\n }}\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{workday_id}/auth\"\n\npayload = {\"auth\": {\n \"basic\": {\n \"password\": \"mollit cillum\",\n \"username\": \"veniam dolore\"\n },\n \"oauth\": {\"code\": \"minim ad ea dolor\"}\n }}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{workday_id}/auth' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"auth\":{\"basic\":{\"password\":\"mollit cillum\",\"username\":\"veniam dolore\"},\"oauth\":{\"code\":\"minim ad ea dolor\"}}}'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{workday_id}/auth' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"auth\":{\"basic\":{\"password\":\"mollit cillum\",\"username\":\"veniam dolore\"},\"oauth\":{\"code\":\"minim ad ea dolor\"}}}'" } ] }, @@ -25671,15 +27241,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/workdays/{workday_id}/import \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '[{\"attributes\":[{}],\"email\":\"string\",\"firstname\":\"string\",\"lastname\":\"string\",\"username\":\"string\"}]'" + "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/workdays/{workday_id}/import \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '[{\"attributes\":[{}],\"email\":\"string\",\"firstname\":\"string\",\"lastname\":\"string\",\"username\":\"string\"}]'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{workday_id}/import\"\n\npayload = [\n {\n \"attributes\": [{}],\n \"email\": \"string\",\n \"firstname\": \"string\",\n \"lastname\": \"string\",\n \"username\": \"string\"\n }\n]\nheaders = {\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{workday_id}/import\"\n\npayload = [\n {\n \"attributes\": [{}],\n \"email\": \"string\",\n \"firstname\": \"string\",\n \"lastname\": \"string\",\n \"username\": \"string\"\n }\n]\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{workday_id}/import' -Method POST -Headers $headers -ContentType 'application/json' -Body '[{\"attributes\":[{}],\"email\":\"string\",\"firstname\":\"string\",\"lastname\":\"string\",\"username\":\"string\"}]'" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{workday_id}/import' -Method POST -Headers $headers -ContentType 'application/json' -Body '[{\"attributes\":[{}],\"email\":\"string\",\"firstname\":\"string\",\"lastname\":\"string\",\"username\":\"string\"}]'" } ] }, @@ -25743,15 +27313,15 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/workdays/{workday_id}/workers?limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'" + "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/v2/workdays/{workday_id}/workers?limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'" }, { "lang": "Python", - "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{workday_id}/workers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" + "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/workdays/{workday_id}/workers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)" }, { "lang": "Powershell", - "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{workday_id}/workers?limit=10&skip=0&sort=' -Method GET -Headers $headers" + "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/workdays/{workday_id}/workers?limit=10&skip=0' -Method GET -Headers $headers" } ] }, diff --git a/Tools/ModuleValidation.Tests.ps1 b/Tools/ModuleValidation.Tests.ps1 index d84cbdb1c..d50e3d949 100644 --- a/Tools/ModuleValidation.Tests.ps1 +++ b/Tools/ModuleValidation.Tests.ps1 @@ -79,7 +79,7 @@ Describe -Tag:('ModuleValidation') 'Module Validation' -ForEach $modulesToValida $latestChangelogVersion | Should -BeGreaterThan $galleryVersion # Validate the release date is today. - $latestReleaseDate = (Select-String -InputObject $changelogContent -Pattern "Release Date: (.*) ####").Matches.Groups[1].Value + $latestReleaseDate = (Select-String -InputObject $changelogContent -Pattern "Release Date: (.*) ####").Matches.Groups[1].Value.Trim() $todayDate = Get-Date -UFormat "%B %d, %Y" $latestReleaseDate | Should -Be $todayDate }