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|  |\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|  |\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