diff --git a/BuildAutoRest.ps1 b/BuildAutoRest.ps1
index 1817f1a2e..29cb8478a 100644
--- a/BuildAutoRest.ps1
+++ b/BuildAutoRest.ps1
@@ -158,15 +158,15 @@ ForEach ($SDK In $SDKName)
if (($SDKName -eq "JumpCloud.SDK.V1") -or ($SDKName -eq "JumpCloud.SDK.V2")) {
# Modify .cs file "https://github.com/Azure/autorest/issues/3604" #autorest does not support even the "collectionFormat": "multi" in my testing
$inputFile = Get-Content -Path "$OutputFullPath/generated/api/JumpCloudApi.cs" -Raw
- # Replace the filter logic to use indexed array parameters: filter[0]=..., filter[1]=..., etc.
+ # Replace AutoRest's comma-joined filter= with repeated query keys: filter=...&filter=... (API expects multi-value filter this way).
# Pattern matches both filter.Length and filter.Count variations, with flexible whitespace
# Also handles both patterns: with and without EscapeDataString wrapper
# Pattern 1: Without EscapeDataString (V1 SDK)
- $newFile = $inputFile -replace '\(null != filter\s+&&\s+filter\.(Length|Count)\s+>\s+0\s+\?\s+"filter="\s+\+\s+\(global::System\.Linq\.Enumerable\.Aggregate\(filter,\s+\(current,\s+each\)\s+=>\s+current\s+\+\s+","\s+\+\s+\(\s+null\s+==\s+each\s+\?\s+global::System\.String\.Empty\s+:\s+each\.ToString\(\)\s*\)\s*\)\s*\)\s+:\s+global::System\.String\.Empty\)', '(null != filter && filter.Count > 0 ? global::System.Linq.Enumerable.Aggregate(global::System.Linq.Enumerable.Select(filter, (value, index) => new { value, index }), "", (current, item) => current + (item.index > 0 ? "&" : "") + "filter[" + item.index + "]=" + (item.value?.ToString() ?? global::System.String.Empty)) : global::System.String.Empty)'
+ $newFile = $inputFile -replace '\(null != filter\s+&&\s+filter\.(Length|Count)\s+>\s+0\s+\?\s+"filter="\s+\+\s+\(global::System\.Linq\.Enumerable\.Aggregate\(filter,\s+\(current,\s+each\)\s+=>\s+current\s+\+\s+","\s+\+\s+\(\s+null\s+==\s+each\s+\?\s+global::System\.String\.Empty\s+:\s+each\.ToString\(\)\s*\)\s*\)\s*\)\s+:\s+global::System\.String\.Empty\)', '(null != filter && filter.Count > 0 ? global::System.Linq.Enumerable.Aggregate(global::System.Linq.Enumerable.Select(filter, (value, index) => new { value, index }), "", (current, item) => current + (item.index > 0 ? "&" : "") + "filter=" + (item.value?.ToString() ?? global::System.String.Empty)) : global::System.String.Empty)'
# Pattern 2: With EscapeDataString (V2 SDK)
- $newFile = $newFile -replace '\(null != filter\s+&&\s+filter\.(Length|Count)\s+>\s+0\s+\?\s+"filter="\s+\+\s+global::System\.Uri\.EscapeDataString\(global::System\.Linq\.Enumerable\.Aggregate\(filter,\s+\(current,\s+each\)\s+=>\s+current\s+\+\s+","\s+\+\s+\(\s+null\s+==\s+each\s+\?\s+global::System\.String\.Empty\s+:\s+each\.ToString\(\)\s*\)\s*\)\s*\)\s+:\s+global::System\.String\.Empty\)', '(null != filter && filter.Count > 0 ? global::System.Linq.Enumerable.Aggregate(global::System.Linq.Enumerable.Select(filter, (value, index) => new { value, index }), "", (current, item) => current + (item.index > 0 ? "&" : "") + "filter[" + item.index + "]=" + global::System.Uri.EscapeDataString(item.value?.ToString() ?? global::System.String.Empty)) : global::System.String.Empty)'
+ $newFile = $newFile -replace '\(null != filter\s+&&\s+filter\.(Length|Count)\s+>\s+0\s+\?\s+"filter="\s+\+\s+global::System\.Uri\.EscapeDataString\(global::System\.Linq\.Enumerable\.Aggregate\(filter,\s+\(current,\s+each\)\s+=>\s+current\s+\+\s+","\s+\+\s+\(\s+null\s+==\s+each\s+\?\s+global::System\.String\.Empty\s+:\s+each\.ToString\(\)\s*\)\s*\)\s*\)\s+:\s+global::System\.String\.Empty\)', '(null != filter && filter.Count > 0 ? global::System.Linq.Enumerable.Aggregate(global::System.Linq.Enumerable.Select(filter, (value, index) => new { value, index }), "", (current, item) => current + (item.index > 0 ? "&" : "") + "filter=" + global::System.Uri.EscapeDataString(item.value?.ToString() ?? global::System.String.Empty)) : global::System.String.Empty)'
Set-Content -Path "$OutputFullPath/generated/api/JumpCloudApi.cs" -Value $newFile
}
diff --git a/BuildCustomFunctions.ps1 b/BuildCustomFunctions.ps1
index 980d2eb08..a8acd5386 100644
--- a/BuildCustomFunctions.ps1
+++ b/BuildCustomFunctions.ps1
@@ -14,7 +14,20 @@ Try {
# Get AutoRest Versions
$coreRegex = [regex]'autorest_core@([0-9]+\.[0-9]+\.[0-9]+)'
$PSRegex = [regex]'autorest_powershell@([0-9]+\.[0-9]+\.[0-9]+)'
- $autorestRaw = npx autorest --version
+ # AutoRest --version exits non-zero when printing the TypeSpec deprecation notice; PS7+ would otherwise treat that as terminating.
+ $prevNativeErr = $null
+ if (Get-Variable -Name PSNativeCommandUseErrorActionPreference -ErrorAction SilentlyContinue) {
+ $prevNativeErr = $PSNativeCommandUseErrorActionPreference
+ $PSNativeCommandUseErrorActionPreference = $false
+ }
+ try {
+ $autorestRaw = (& npx @('autorest', '--version') 2>&1 | Out-String)
+ }
+ finally {
+ if ($null -ne $prevNativeErr) {
+ $PSNativeCommandUseErrorActionPreference = $prevNativeErr
+ }
+ }
$autorestCore = (Select-String -InputObject $autorestRaw -Pattern $coreRegex).Matches.Groups[1].value
$autorestPS = (Select-String -InputObject $autorestRaw -Pattern $PSRegex).Matches.Groups[1].value
$MSCopyrightHeader = "`n# ----------------------------------------------------------------------------------`n# Code generated by Microsoft (R) AutoRest Code Generator (autorest: $autorestCore, generator: @autorest/powershell@$autorestPS)`n# Changes may cause incorrect behavior and will be lost if the code is regenerated.`n# ----------------------------------------------------------------------------------`n"
diff --git a/Configs/JumpCloud.SDK.V1.yaml b/Configs/JumpCloud.SDK.V1.yaml
index 9540c2577..26f09cac6 100644
--- a/Configs/JumpCloud.SDK.V1.yaml
+++ b/Configs/JumpCloud.SDK.V1.yaml
@@ -33,7 +33,7 @@ input-file:
module-name: JumpCloud.SDK.V1
namespace: JumpCloud.SDK.V1
sample-generation: true
-module-version: 0.1.2
+module-version: 0.1.3
dll-name: JumpCloud.SDK.V1.private
directive:
diff --git a/Configs/JumpCloud.SDK.V2.yaml b/Configs/JumpCloud.SDK.V2.yaml
index bb359b8c2..50d54619c 100644
--- a/Configs/JumpCloud.SDK.V2.yaml
+++ b/Configs/JumpCloud.SDK.V2.yaml
@@ -28,6 +28,6 @@ verbose: true
module-name: JumpCloud.SDK.V2
output-folder: SDKs/PowerShell/JumpCloud.SDK.V2
dll-name: JumpCloud.SDK.V2.private
-module-version: 0.2.0
+module-version: 0.2.1
powershell: true
base-folder: ..
diff --git a/JumpCloud.SDK.V1.md b/JumpCloud.SDK.V1.md
index 60c61329d..4b5722530 100644
--- a/JumpCloud.SDK.V1.md
+++ b/JumpCloud.SDK.V1.md
@@ -1,3 +1,43 @@
+## JumpCloud.SDK.V1-0.1.3
+Release Date: March 26, 2026
+#### RELEASE NOTES
+```
+This release is a rollup release for existing SDK functions.
+```
+#### FEATURES:
+NA
+
+#### IMPROVEMENTS:
+URL filtering in the V1 module has been updated to match filtering in the V2 module.
+
+#### BUG FIXES:
+NA
+
+#### Generated Changes:
+
+
+Functions Added
+
+No changes
+
+
+
+Functions Modified
+
+* New-JcSdkCommand.ps1
+* Search-JcSdkUser.ps1
+* Set-JcSdkAdministratorUser.ps1
+* Set-JcSdkCommand.ps1
+* Set-JcSdkOrganization.ps1
+
+
+
+
+Functions Removed
+
+No changes
+
+
## JumpCloud.SDK.V1-0.1.2
Release Date: December 16, 2025
#### RELEASE NOTES
diff --git a/JumpCloud.SDK.V2.md b/JumpCloud.SDK.V2.md
index 3792a7583..afd361a5a 100644
--- a/JumpCloud.SDK.V2.md
+++ b/JumpCloud.SDK.V2.md
@@ -1,3 +1,38 @@
+## JumpCloud.SDK.V2-0.2.1
+Release Date: March 26, 2026
+#### RELEASE NOTES
+```
+This is a rollup release of the V2 functions generated from docs.
+```
+#### FEATURES:
+NA
+
+#### IMPROVEMENTS:
+This release changes the way in which GET functions and Filter parameters are used in the module. URL queryFilters should now be formatted the same as the V1 API. The '?Filter[0]=something&Filter[1]=somethingElse' url query filtering is no longer supported, this release addresses that issue in the V2 SDK.
+
+#### BUG FIXES:
+NA
+
+#### Generated Changes:
+
+
+Functions Added
+
+No changes
+
+
+
+Functions Modified
+
+No changes
+
+
+
+Functions Removed
+
+No changes
+
+
## JumpCloud.SDK.V2-0.2.0
Release Date: February 26, 2026
diff --git a/SDKs/PowerShell/JumpCloud.SDK.V1/JumpCloud.SDK.V1.csproj b/SDKs/PowerShell/JumpCloud.SDK.V1/JumpCloud.SDK.V1.csproj
index 55eac7ec2..7e7a9cb40 100644
--- a/SDKs/PowerShell/JumpCloud.SDK.V1/JumpCloud.SDK.V1.csproj
+++ b/SDKs/PowerShell/JumpCloud.SDK.V1/JumpCloud.SDK.V1.csproj
@@ -1,7 +1,7 @@
- 0.1.2
+ 0.1.3
7.1
netstandard2.0
Library
diff --git a/SDKs/PowerShell/JumpCloud.SDK.V1/JumpCloud.SDK.V1.format.ps1xml b/SDKs/PowerShell/JumpCloud.SDK.V1/JumpCloud.SDK.V1.format.ps1xml
index e812a6194..1fdcb48d1 100644
--- a/SDKs/PowerShell/JumpCloud.SDK.V1/JumpCloud.SDK.V1.format.ps1xml
+++ b/SDKs/PowerShell/JumpCloud.SDK.V1/JumpCloud.SDK.V1.format.ps1xml
@@ -2487,6 +2487,146 @@
+
+ JumpCloud.SDK.V1.Models.ApplicationtemplateConfigAuthClaimConfiguration
+
+ JumpCloud.SDK.V1.Models.ApplicationtemplateConfigAuthClaimConfiguration#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Type
+
+
+ Visible
+
+
+
+
+
+
+
+ JumpCloud.SDK.V1.Models.ApplicationtemplateConfigAuthClaimConfigurationAuthnContextMappings
+
+ JumpCloud.SDK.V1.Models.ApplicationtemplateConfigAuthClaimConfigurationAuthnContextMappings#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Type
+
+
+
+
+
+
+
+ JumpCloud.SDK.V1.Models.ApplicationtemplateConfigAuthClaimConfigurationAuthnContextMode
+
+ JumpCloud.SDK.V1.Models.ApplicationtemplateConfigAuthClaimConfigurationAuthnContextMode#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Type
+
+
+ Value
+
+
+
+
+
+
+
+ JumpCloud.SDK.V1.Models.ApplicationtemplateConfigAuthClaimConfigurationSendAmrClaim
+
+ JumpCloud.SDK.V1.Models.ApplicationtemplateConfigAuthClaimConfigurationSendAmrClaim#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ReadOnly
+
+
+ Type
+
+
+ Value
+
+
+
+
+
+
+
+ JumpCloud.SDK.V1.Models.ApplicationtemplateConfigAuthClaimConfigurationSingleAuthnContextValue
+
+ JumpCloud.SDK.V1.Models.ApplicationtemplateConfigAuthClaimConfigurationSingleAuthnContextValue#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Type
+
+
+ Value
+
+
+
+
+
+
JumpCloud.SDK.V1.Models.ApplicationtemplateConfigConstantAttributes
@@ -3684,6 +3824,9 @@
+
+
+
@@ -3742,6 +3885,9 @@
Template
+
+ TemplatingRequired
+
TimeToLiveSeconds
@@ -4467,6 +4613,9 @@
+
+
+
@@ -4507,6 +4656,9 @@
ScheduleRepeatType
+
+ TemplatingRequired
+
Trigger
@@ -5458,6 +5610,9 @@
+
+
+
@@ -5474,6 +5629,9 @@
+
+ JcGoStatus
+
OverallStatus
@@ -6016,6 +6174,9 @@
+
+
+
@@ -6107,6 +6268,9 @@
DisallowSequentialOrRepetitiveChars
+
+ DisplayComplexityOnResetScreen
+
EffectiveDate
@@ -6460,6 +6624,9 @@
+
+
+
@@ -6542,6 +6709,9 @@
DisallowSequentialOrRepetitiveChars
+
+ DisplayComplexityOnResetScreen
+
EffectiveDate
@@ -9756,9 +9926,523 @@
- JumpCloud.SDK.V1.Models.Systemuserslist
+ JumpCloud.SDK.V1.Models.SystemuserSearchReturn
- JumpCloud.SDK.V1.Models.Systemuserslist#Multiple
+ JumpCloud.SDK.V1.Models.SystemuserSearchReturn#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AccountLocked
+
+
+ AccountLockedDate
+
+
+ Activated
+
+
+ AllowPublicKey
+
+
+ AlternateEmail
+
+
+ BadLoginAttempts
+
+
+ Company
+
+
+ CostCenter
+
+
+ Created
+
+
+ CreationSource
+
+
+ Department
+
+
+ Description
+
+
+ DisableDeviceMaxLoginAttempts
+
+
+ Displayname
+
+
+ Email
+
+
+ EmployeeIdentifier
+
+
+ EmployeeType
+
+
+ EnableManagedUid
+
+
+ EnableUserPortalMultifactor
+
+
+ ExternalDn
+
+
+ ExternalPasswordExpirationDate
+
+
+ ExternalSourceType
+
+
+ ExternallyManaged
+
+
+ Firstname
+
+
+ Id
+
+
+ JobTitle
+
+
+ Lastname
+
+
+ LdapBindingUser
+
+
+ Location
+
+
+ ManagedAppleId
+
+
+ Manager
+
+
+ Middlename
+
+
+ Organization
+
+
+ PasswordDate
+
+
+ PasswordExpirationDate
+
+
+ PasswordExpired
+
+
+ PasswordNeverExpires
+
+
+ PasswordlessSudo
+
+
+ PublicKey
+
+
+ SambaServiceUser
+
+
+ State
+
+
+ Sudo
+
+
+ Suspended
+
+
+ TotpEnabled
+
+
+ UnixGuid
+
+
+ UnixUid
+
+
+ Username
+
+
+
+
+
+
+
+ JumpCloud.SDK.V1.Models.SystemuserSearchReturnAddressesItem
+
+ JumpCloud.SDK.V1.Models.SystemuserSearchReturnAddressesItem#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Country
+
+
+ ExtendedAddress
+
+
+ Id
+
+
+ Locality
+
+
+ PoBox
+
+
+ PostalCode
+
+
+ Region
+
+
+ StreetAddress
+
+
+ Type
+
+
+
+
+
+
+
+ JumpCloud.SDK.V1.Models.SystemuserSearchReturnAdmin
+
+ JumpCloud.SDK.V1.Models.SystemuserSearchReturnAdmin#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ RoleName
+
+
+
+
+
+
+
+ JumpCloud.SDK.V1.Models.SystemuserSearchReturnPhoneNumbersItem
+
+ JumpCloud.SDK.V1.Models.SystemuserSearchReturnPhoneNumbersItem#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Number
+
+
+ Type
+
+
+
+
+
+
+
+ JumpCloud.SDK.V1.Models.SystemuserSearchReturnRecoveryEmail
+
+ JumpCloud.SDK.V1.Models.SystemuserSearchReturnRecoveryEmail#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Address
+
+
+ Verified
+
+
+ VerifiedAt
+
+
+
+
+
+
+
+ JumpCloud.SDK.V1.Models.SystemuserSearchReturnRelationshipsItem
+
+ JumpCloud.SDK.V1.Models.SystemuserSearchReturnRelationshipsItem#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Type
+
+
+ Value
+
+
+
+
+
+
+
+ JumpCloud.SDK.V1.Models.Systemuserslist
+
+ JumpCloud.SDK.V1.Models.Systemuserslist#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ TotalCount
+
+
+
+
+
+
+
+ JumpCloud.SDK.V1.Models.SystemUsersSearchlist
+
+ JumpCloud.SDK.V1.Models.SystemUsersSearchlist#Multiple
diff --git a/SDKs/PowerShell/JumpCloud.SDK.V1/JumpCloud.SDK.V1.nuspec b/SDKs/PowerShell/JumpCloud.SDK.V1/JumpCloud.SDK.V1.nuspec
index 828cf663d..49f2d287a 100644
--- a/SDKs/PowerShell/JumpCloud.SDK.V1/JumpCloud.SDK.V1.nuspec
+++ b/SDKs/PowerShell/JumpCloud.SDK.V1/JumpCloud.SDK.V1.nuspec
@@ -2,7 +2,7 @@
JumpCloud.SDK.V1
- 0.1.2
+ 0.1.3
JumpCloud
JumpCloud
false
diff --git a/SDKs/PowerShell/JumpCloud.SDK.V1/JumpCloud.SDK.V1.psd1 b/SDKs/PowerShell/JumpCloud.SDK.V1/JumpCloud.SDK.V1.psd1
index a6a04d997..348123baa 100644
--- a/SDKs/PowerShell/JumpCloud.SDK.V1/JumpCloud.SDK.V1.psd1
+++ b/SDKs/PowerShell/JumpCloud.SDK.V1/JumpCloud.SDK.V1.psd1
@@ -3,7 +3,7 @@
#
# Generated by: JumpCloud
#
-# Generated on: 12/16/2025
+# Generated on: 3/26/2026
#
@{
@@ -12,7 +12,7 @@
RootModule = './JumpCloud.SDK.V1.psm1'
# Version number of this module.
-ModuleVersion = '0.1.2'
+ModuleVersion = '0.1.3'
# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'
diff --git a/SDKs/PowerShell/JumpCloud.SDK.V1/custom/JumpCloud.SDK.V1.json b/SDKs/PowerShell/JumpCloud.SDK.V1/custom/JumpCloud.SDK.V1.json
index 74679e8c1..fb766479f 100644
--- a/SDKs/PowerShell/JumpCloud.SDK.V1/custom/JumpCloud.SDK.V1.json
+++ b/SDKs/PowerShell/JumpCloud.SDK.V1/custom/JumpCloud.SDK.V1.json
@@ -1155,6 +1155,68 @@
},
"type": "object"
},
+ "authClaimConfiguration": {
+ "properties": {
+ "authnContextMappings": {
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "value": {
+ "items": {
+ "type": "object",
+ "additionalProperties": true
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "authnContextMode": {
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "sendAmrClaim": {
+ "properties": {
+ "readOnly": {
+ "type": "boolean"
+ },
+ "type": {
+ "type": "string"
+ },
+ "value": {
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "singleAuthnContextValue": {
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": {
+ "type": "string"
+ },
+ "visible": {
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
"constantAttributes": {
"properties": {
"label": {
@@ -1799,6 +1861,10 @@
"description": "The template this command was created from",
"type": "string"
},
+ "templatingRequired": {
+ "description": "Whether this command requires templating before execution.",
+ "type": "boolean"
+ },
"timeToLiveSeconds": {
"description": "Time in seconds a command can wait in the queue to be run before timing out",
"type": "integer"
@@ -2034,7 +2100,7 @@
"type": "string"
},
"command": {
- "description": "The command that was executed on the system.",
+ "description": "The command that was executed on the system, truncated to 10k characters.",
"type": "string"
},
"exitCode": {
@@ -2217,7 +2283,7 @@
"type": "boolean"
},
"command": {
- "description": "The Command to execute.",
+ "description": "The Command to execute, truncated to 10k characters.",
"type": "string"
},
"commandType": {
@@ -2251,6 +2317,10 @@
"description": "When the command will repeat.",
"type": "string"
},
+ "templatingRequired": {
+ "description": "Whether this command requires templating before execution.",
+ "type": "boolean"
+ },
"trigger": {
"description": "Trigger to execute command.",
"type": "string"
@@ -2345,6 +2415,9 @@
},
"mfaEnrollment": {
"properties": {
+ "jcGoStatus": {
+ "$ref": "#/definitions/mfaEnrollmentStatus"
+ },
"overallStatus": {
"$ref": "#/definitions/mfaEnrollmentStatus"
},
@@ -2659,6 +2732,9 @@
"disallowSequentialOrRepetitiveChars": {
"type": "boolean"
},
+ "displayComplexityOnResetScreen": {
+ "type": "boolean"
+ },
"effectiveDate": {
"type": "string"
},
@@ -2953,6 +3029,9 @@
"disallowSequentialOrRepetitiveChars": {
"type": "boolean"
},
+ "displayComplexityOnResetScreen": {
+ "type": "boolean"
+ },
"effectiveDate": {
"type": "string"
},
@@ -3993,6 +4072,12 @@
},
"type": "object"
},
+ "memberof": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"modifySSHDConfig": {
"type": "boolean"
},
@@ -4144,6 +4229,12 @@
"description": "Relation with another systemuser to identify the last as a manager.",
"type": "string"
},
+ "primarySystemUser.memberof": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"primarySystemUser.state": {
"enum": [
"STAGED",
@@ -4274,6 +4365,23 @@
"title": "JcSystem",
"type": "object"
},
+ "systemUsersSearchlist": {
+ "properties": {
+ "results": {
+ "description": "The list of system users.",
+ "items": {
+ "$ref": "#/definitions/systemuserSearchReturn"
+ },
+ "type": "array"
+ },
+ "totalCount": {
+ "description": "The total number of system users.",
+ "type": "integer"
+ }
+ },
+ "title": "SystemUsersSearchList",
+ "type": "object"
+ },
"systemput": {
"properties": {
"agentBoundMessages": {
@@ -4346,6 +4454,320 @@
"title": "SystemsList",
"type": "object"
},
+ "systemuserSearchReturn": {
+ "properties": {
+ "_id": {
+ "type": "string"
+ },
+ "account_locked": {
+ "type": "boolean"
+ },
+ "account_locked_date": {
+ "type": "string",
+ "x-nullable": true
+ },
+ "activated": {
+ "type": "boolean"
+ },
+ "addresses": {
+ "items": {
+ "properties": {
+ "country": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "extendedAddress": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "locality": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "poBox": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "postalCode": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "region": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "streetAddress": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "type": {
+ "maxLength": 1024,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "admin": {
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "roleName": {
+ "type": "string"
+ },
+ "roleNames": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object",
+ "x-nullable": true
+ },
+ "allow_public_key": {
+ "type": "boolean"
+ },
+ "alternateEmail": {
+ "type": "string"
+ },
+ "attributes": {
+ "items": {
+ "$ref": "#/definitions/attribute"
+ },
+ "type": "array"
+ },
+ "badLoginAttempts": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "company": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "costCenter": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "created": {
+ "type": "string"
+ },
+ "creationSource": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "department": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "description": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "disableDeviceMaxLoginAttempts": {
+ "type": "boolean"
+ },
+ "displayname": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "email": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "employeeIdentifier": {
+ "description": "Must be unique per user. ",
+ "maxLength": 256,
+ "type": "string"
+ },
+ "employeeType": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "enable_managed_uid": {
+ "type": "boolean"
+ },
+ "enable_user_portal_multifactor": {
+ "type": "boolean"
+ },
+ "external_dn": {
+ "type": "string"
+ },
+ "external_password_expiration_date": {
+ "type": "string"
+ },
+ "external_source_type": {
+ "type": "string"
+ },
+ "externally_managed": {
+ "$ref": "#/definitions/externallymanagedpropertyinfo"
+ },
+ "firstname": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "jobTitle": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "lastname": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "ldap_binding_user": {
+ "type": "boolean"
+ },
+ "location": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "managedAppleId": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "manager": {
+ "description": "Relation with another systemuser to identify the last as a manager.",
+ "type": "string"
+ },
+ "memberof": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "mfa": {
+ "$ref": "#/definitions/mfa"
+ },
+ "mfaEnrollment": {
+ "$ref": "#/definitions/mfaEnrollment"
+ },
+ "middlename": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "organization": {
+ "type": "string"
+ },
+ "password_date": {
+ "type": "string",
+ "x-nullable": true
+ },
+ "password_expiration_date": {
+ "type": "string",
+ "x-nullable": true
+ },
+ "password_expired": {
+ "type": "boolean"
+ },
+ "password_never_expires": {
+ "type": "boolean"
+ },
+ "passwordless_sudo": {
+ "type": "boolean"
+ },
+ "phoneNumbers": {
+ "items": {
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "number": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "type": {
+ "maxLength": 1024,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "public_key": {
+ "type": "string"
+ },
+ "recoveryEmail": {
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean"
+ },
+ "verifiedAt": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "relationships": {
+ "items": {
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "restrictedFields": {
+ "items": {
+ "$ref": "#/definitions/restrictedField"
+ },
+ "type": "array"
+ },
+ "samba_service_user": {
+ "type": "boolean"
+ },
+ "ssh_keys": {
+ "items": {
+ "$ref": "#/definitions/sshkeylist"
+ },
+ "type": "array"
+ },
+ "state": {
+ "enum": [
+ "STAGED",
+ "ACTIVATED",
+ "SUSPENDED"
+ ],
+ "type": "string"
+ },
+ "sudo": {
+ "type": "boolean"
+ },
+ "suspended": {
+ "type": "boolean"
+ },
+ "totp_enabled": {
+ "type": "boolean"
+ },
+ "unix_guid": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "unix_uid": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "username": {
+ "maxLength": 1024,
+ "type": "string"
+ }
+ },
+ "title": "SystemUserSearchReturn",
+ "type": "object"
+ },
"systemuserput": {
"properties": {
"account_locked": {
@@ -4915,6 +5337,12 @@
},
"roleName": {
"type": "string"
+ },
+ "roleNames": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
}
},
"type": "object",
@@ -5321,6 +5749,12 @@
},
"roleName": {
"type": "string"
+ },
+ "roleNames": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
}
},
"title": "UserPut",
@@ -5409,6 +5843,18 @@
"roleName": {
"type": "string"
},
+ "roleNames": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "roles": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"sessionCount": {
"type": "integer"
},
@@ -5546,15 +5992,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/application-templates?fields=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&skip=SOME_INTEGER_VALUE&sort=SOME_STRING_VALUE&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/application-templates?fields=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&skip=SOME_INTEGER_VALUE&sort=SOME_STRING_VALUE&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/application-templates\"\n\nquerystring = {\"fields\":\"SOME_STRING_VALUE\",\"limit\":\"SOME_INTEGER_VALUE\",\"skip\":\"SOME_INTEGER_VALUE\",\"sort\":\"SOME_STRING_VALUE\",\"filter\":\"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/application-templates\"\n\nquerystring = {\"fields\":\"SOME_STRING_VALUE\",\"limit\":\"SOME_INTEGER_VALUE\",\"skip\":\"SOME_INTEGER_VALUE\",\"sort\":\"SOME_STRING_VALUE\",\"filter\":\"SOME_STRING_VALUE\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/application-templates?fields=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&skip=SOME_INTEGER_VALUE&sort=SOME_STRING_VALUE&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/application-templates?fields=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&skip=SOME_INTEGER_VALUE&sort=SOME_STRING_VALUE&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
}
]
},
@@ -5613,15 +6059,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/application-templates/{id}?fields=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&skip=SOME_INTEGER_VALUE&sort=SOME_STRING_VALUE&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/application-templates/{id}?fields=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&skip=SOME_INTEGER_VALUE&sort=SOME_STRING_VALUE&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/application-templates/{id}\"\n\nquerystring = {\"fields\":\"SOME_STRING_VALUE\",\"limit\":\"SOME_INTEGER_VALUE\",\"skip\":\"SOME_INTEGER_VALUE\",\"sort\":\"SOME_STRING_VALUE\",\"filter\":\"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/application-templates/{id}\"\n\nquerystring = {\"fields\":\"SOME_STRING_VALUE\",\"limit\":\"SOME_INTEGER_VALUE\",\"skip\":\"SOME_INTEGER_VALUE\",\"sort\":\"SOME_STRING_VALUE\",\"filter\":\"SOME_STRING_VALUE\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/application-templates/{id}?fields=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&skip=SOME_INTEGER_VALUE&sort=SOME_STRING_VALUE&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/application-templates/{id}?fields=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&skip=SOME_INTEGER_VALUE&sort=SOME_STRING_VALUE&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
}
]
},
@@ -5688,15 +6134,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/applications?fields=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&skip=SOME_INTEGER_VALUE&sort=name&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/applications?fields=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&skip=SOME_INTEGER_VALUE&sort=name&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/applications\"\n\nquerystring = {\"fields\":\"SOME_STRING_VALUE\",\"limit\":\"SOME_INTEGER_VALUE\",\"skip\":\"SOME_INTEGER_VALUE\",\"sort\":\"name\",\"filter\":\"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/applications\"\n\nquerystring = {\"fields\":\"SOME_STRING_VALUE\",\"limit\":\"SOME_INTEGER_VALUE\",\"skip\":\"SOME_INTEGER_VALUE\",\"sort\":\"name\",\"filter\":\"SOME_STRING_VALUE\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/applications?fields=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&skip=SOME_INTEGER_VALUE&sort=name&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/applications?fields=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&skip=SOME_INTEGER_VALUE&sort=name&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
}
]
},
@@ -5729,15 +6175,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/applications \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"_id\":\"string\",\"active\":true,\"beta\":true,\"color\":\"\",\"config\":{\"acsUrl\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"constantAttributes\":{\"label\":\"string\",\"mutable\":true,\"options\":null,\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":null,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":[{\"name\":\"string\",\"readOnly\":true,\"required\":true,\"value\":\"string\",\"visible\":true}],\"visible\":true},\"databaseAttributes\":{\"position\":0},\"idpCertificate\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpPrivateKey\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"signAssertion\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"signResponse\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"spEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"spErrorFlow\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true}},\"created\":\"string\",\"databaseAttributes\":[{}],\"description\":\"string\",\"displayLabel\":\"string\",\"displayName\":\"string\",\"learnMore\":\"string\",\"logo\":{\"color\":\"\",\"url\":\"string\"},\"name\":\"string\",\"organization\":\"string\",\"parentApp\":\"string\",\"sso\":{\"beta\":true,\"hidden\":true,\"idpCertExpirationAt\":\"2019-08-24T14:15:22Z\",\"jit\":true,\"type\":\"string\"},\"ssoUrl\":\"string\"}'"
+ "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/applications \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"_id\":\"string\",\"active\":true,\"beta\":true,\"color\":\"\",\"config\":{\"acsUrl\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"authClaimConfiguration\":{\"authnContextMappings\":{\"type\":\"string\",\"value\":[{}]},\"authnContextMode\":{\"type\":\"string\",\"value\":\"string\"},\"sendAmrClaim\":{\"readOnly\":true,\"type\":\"string\",\"value\":true},\"singleAuthnContextValue\":{\"type\":\"string\",\"value\":\"string\"},\"type\":\"string\",\"visible\":true},\"constantAttributes\":{\"label\":\"string\",\"mutable\":true,\"options\":null,\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":null,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":[{\"name\":\"string\",\"readOnly\":true,\"required\":true,\"value\":\"string\",\"visible\":true}],\"visible\":true},\"databaseAttributes\":{\"position\":0},\"idpCertificate\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpPrivateKey\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"signAssertion\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"signResponse\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"spEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"spErrorFlow\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true}},\"created\":\"string\",\"databaseAttributes\":[{}],\"description\":\"string\",\"displayLabel\":\"string\",\"displayName\":\"string\",\"learnMore\":\"string\",\"logo\":{\"color\":\"\",\"url\":\"string\"},\"name\":\"string\",\"organization\":\"string\",\"parentApp\":\"string\",\"sso\":{\"beta\":true,\"hidden\":true,\"idpCertExpirationAt\":\"2019-08-24T14:15:22Z\",\"jit\":true,\"type\":\"string\"},\"ssoUrl\":\"string\"}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/applications\"\n\npayload = {\n \"_id\": \"string\",\n \"active\": True,\n \"beta\": True,\n \"color\": \"\",\n \"config\": {\n \"acsUrl\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"constantAttributes\": {\n \"label\": \"string\",\n \"mutable\": True,\n \"options\": None,\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": None,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": [\n {\n \"name\": \"string\",\n \"readOnly\": True,\n \"required\": True,\n \"value\": \"string\",\n \"visible\": True\n }\n ],\n \"visible\": True\n },\n \"databaseAttributes\": {\"position\": 0},\n \"idpCertificate\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"idpEntityId\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"idpPrivateKey\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"signAssertion\": {\n \"label\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": True,\n \"visible\": True\n },\n \"signResponse\": {\n \"label\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": True,\n \"visible\": True\n },\n \"spEntityId\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"spErrorFlow\": {\n \"label\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": True,\n \"visible\": True\n }\n },\n \"created\": \"string\",\n \"databaseAttributes\": [{}],\n \"description\": \"string\",\n \"displayLabel\": \"string\",\n \"displayName\": \"string\",\n \"learnMore\": \"string\",\n \"logo\": {\n \"color\": \"\",\n \"url\": \"string\"\n },\n \"name\": \"string\",\n \"organization\": \"string\",\n \"parentApp\": \"string\",\n \"sso\": {\n \"beta\": True,\n \"hidden\": True,\n \"idpCertExpirationAt\": \"2019-08-24T14:15:22Z\",\n \"jit\": True,\n \"type\": \"string\"\n },\n \"ssoUrl\": \"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/applications\"\n\npayload = {\n \"_id\": \"string\",\n \"active\": True,\n \"beta\": True,\n \"color\": \"\",\n \"config\": {\n \"acsUrl\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"authClaimConfiguration\": {\n \"authnContextMappings\": {\n \"type\": \"string\",\n \"value\": [{}]\n },\n \"authnContextMode\": {\n \"type\": \"string\",\n \"value\": \"string\"\n },\n \"sendAmrClaim\": {\n \"readOnly\": True,\n \"type\": \"string\",\n \"value\": True\n },\n \"singleAuthnContextValue\": {\n \"type\": \"string\",\n \"value\": \"string\"\n },\n \"type\": \"string\",\n \"visible\": True\n },\n \"constantAttributes\": {\n \"label\": \"string\",\n \"mutable\": True,\n \"options\": None,\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": None,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": [\n {\n \"name\": \"string\",\n \"readOnly\": True,\n \"required\": True,\n \"value\": \"string\",\n \"visible\": True\n }\n ],\n \"visible\": True\n },\n \"databaseAttributes\": {\"position\": 0},\n \"idpCertificate\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"idpEntityId\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"idpPrivateKey\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"signAssertion\": {\n \"label\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": True,\n \"visible\": True\n },\n \"signResponse\": {\n \"label\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": True,\n \"visible\": True\n },\n \"spEntityId\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"spErrorFlow\": {\n \"label\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": True,\n \"visible\": True\n }\n },\n \"created\": \"string\",\n \"databaseAttributes\": [{}],\n \"description\": \"string\",\n \"displayLabel\": \"string\",\n \"displayName\": \"string\",\n \"learnMore\": \"string\",\n \"logo\": {\n \"color\": \"\",\n \"url\": \"string\"\n },\n \"name\": \"string\",\n \"organization\": \"string\",\n \"parentApp\": \"string\",\n \"sso\": {\n \"beta\": True,\n \"hidden\": True,\n \"idpCertExpirationAt\": \"2019-08-24T14:15:22Z\",\n \"jit\": True,\n \"type\": \"string\"\n },\n \"ssoUrl\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"\",\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/applications' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"_id\":\"string\",\"active\":true,\"beta\":true,\"color\":\"\",\"config\":{\"acsUrl\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"constantAttributes\":{\"label\":\"string\",\"mutable\":true,\"options\":null,\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":null,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":[{\"name\":\"string\",\"readOnly\":true,\"required\":true,\"value\":\"string\",\"visible\":true}],\"visible\":true},\"databaseAttributes\":{\"position\":0},\"idpCertificate\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpPrivateKey\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"signAssertion\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"signResponse\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"spEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"spErrorFlow\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true}},\"created\":\"string\",\"databaseAttributes\":[{}],\"description\":\"string\",\"displayLabel\":\"string\",\"displayName\":\"string\",\"learnMore\":\"string\",\"logo\":{\"color\":\"\",\"url\":\"string\"},\"name\":\"string\",\"organization\":\"string\",\"parentApp\":\"string\",\"sso\":{\"beta\":true,\"hidden\":true,\"idpCertExpirationAt\":\"2019-08-24T14:15:22Z\",\"jit\":true,\"type\":\"string\"},\"ssoUrl\":\"string\"}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/applications' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"_id\":\"string\",\"active\":true,\"beta\":true,\"color\":\"\",\"config\":{\"acsUrl\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"authClaimConfiguration\":{\"authnContextMappings\":{\"type\":\"string\",\"value\":[{}]},\"authnContextMode\":{\"type\":\"string\",\"value\":\"string\"},\"sendAmrClaim\":{\"readOnly\":true,\"type\":\"string\",\"value\":true},\"singleAuthnContextValue\":{\"type\":\"string\",\"value\":\"string\"},\"type\":\"string\",\"visible\":true},\"constantAttributes\":{\"label\":\"string\",\"mutable\":true,\"options\":null,\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":null,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":[{\"name\":\"string\",\"readOnly\":true,\"required\":true,\"value\":\"string\",\"visible\":true}],\"visible\":true},\"databaseAttributes\":{\"position\":0},\"idpCertificate\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpPrivateKey\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"signAssertion\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"signResponse\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"spEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"spErrorFlow\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true}},\"created\":\"string\",\"databaseAttributes\":[{}],\"description\":\"string\",\"displayLabel\":\"string\",\"displayName\":\"string\",\"learnMore\":\"string\",\"logo\":{\"color\":\"\",\"url\":\"string\"},\"name\":\"string\",\"organization\":\"string\",\"parentApp\":\"string\",\"sso\":{\"beta\":true,\"hidden\":true,\"idpCertExpirationAt\":\"2019-08-24T14:15:22Z\",\"jit\":true,\"type\":\"string\"},\"ssoUrl\":\"string\"}'"
}
]
},
@@ -5772,15 +6218,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/applications/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/applications/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/applications/{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/applications/{id}\"\n\nheaders = {\n \"x-org-id\": \"\",\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/applications/{id}' -Method DELETE -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/applications/{id}' -Method DELETE -Headers $headers"
}
]
},
@@ -5805,15 +6251,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/applications/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/applications/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/applications/{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/applications/{id}\"\n\nheaders = {\n \"x-org-id\": \"\",\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/applications/{id}' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/applications/{id}' -Method GET -Headers $headers"
}
]
},
@@ -5854,15 +6300,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/applications/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"_id\":\"string\",\"active\":true,\"beta\":true,\"color\":\"\",\"config\":{\"acsUrl\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"constantAttributes\":{\"label\":\"string\",\"mutable\":true,\"options\":null,\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":null,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":[{\"name\":\"string\",\"readOnly\":true,\"required\":true,\"value\":\"string\",\"visible\":true}],\"visible\":true},\"databaseAttributes\":{\"position\":0},\"idpCertificate\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpPrivateKey\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"signAssertion\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"signResponse\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"spEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"spErrorFlow\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true}},\"created\":\"string\",\"databaseAttributes\":[{}],\"description\":\"string\",\"displayLabel\":\"string\",\"displayName\":\"string\",\"learnMore\":\"string\",\"logo\":{\"color\":\"\",\"url\":\"string\"},\"name\":\"string\",\"organization\":\"string\",\"parentApp\":\"string\",\"sso\":{\"beta\":true,\"hidden\":true,\"idpCertExpirationAt\":\"2019-08-24T14:15:22Z\",\"jit\":true,\"type\":\"string\"},\"ssoUrl\":\"string\"}'"
+ "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/applications/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"_id\":\"string\",\"active\":true,\"beta\":true,\"color\":\"\",\"config\":{\"acsUrl\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"authClaimConfiguration\":{\"authnContextMappings\":{\"type\":\"string\",\"value\":[{}]},\"authnContextMode\":{\"type\":\"string\",\"value\":\"string\"},\"sendAmrClaim\":{\"readOnly\":true,\"type\":\"string\",\"value\":true},\"singleAuthnContextValue\":{\"type\":\"string\",\"value\":\"string\"},\"type\":\"string\",\"visible\":true},\"constantAttributes\":{\"label\":\"string\",\"mutable\":true,\"options\":null,\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":null,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":[{\"name\":\"string\",\"readOnly\":true,\"required\":true,\"value\":\"string\",\"visible\":true}],\"visible\":true},\"databaseAttributes\":{\"position\":0},\"idpCertificate\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpPrivateKey\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"signAssertion\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"signResponse\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"spEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"spErrorFlow\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true}},\"created\":\"string\",\"databaseAttributes\":[{}],\"description\":\"string\",\"displayLabel\":\"string\",\"displayName\":\"string\",\"learnMore\":\"string\",\"logo\":{\"color\":\"\",\"url\":\"string\"},\"name\":\"string\",\"organization\":\"string\",\"parentApp\":\"string\",\"sso\":{\"beta\":true,\"hidden\":true,\"idpCertExpirationAt\":\"2019-08-24T14:15:22Z\",\"jit\":true,\"type\":\"string\"},\"ssoUrl\":\"string\"}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/applications/{id}\"\n\npayload = {\n \"_id\": \"string\",\n \"active\": True,\n \"beta\": True,\n \"color\": \"\",\n \"config\": {\n \"acsUrl\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"constantAttributes\": {\n \"label\": \"string\",\n \"mutable\": True,\n \"options\": None,\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": None,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": [\n {\n \"name\": \"string\",\n \"readOnly\": True,\n \"required\": True,\n \"value\": \"string\",\n \"visible\": True\n }\n ],\n \"visible\": True\n },\n \"databaseAttributes\": {\"position\": 0},\n \"idpCertificate\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"idpEntityId\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"idpPrivateKey\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"signAssertion\": {\n \"label\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": True,\n \"visible\": True\n },\n \"signResponse\": {\n \"label\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": True,\n \"visible\": True\n },\n \"spEntityId\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"spErrorFlow\": {\n \"label\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": True,\n \"visible\": True\n }\n },\n \"created\": \"string\",\n \"databaseAttributes\": [{}],\n \"description\": \"string\",\n \"displayLabel\": \"string\",\n \"displayName\": \"string\",\n \"learnMore\": \"string\",\n \"logo\": {\n \"color\": \"\",\n \"url\": \"string\"\n },\n \"name\": \"string\",\n \"organization\": \"string\",\n \"parentApp\": \"string\",\n \"sso\": {\n \"beta\": True,\n \"hidden\": True,\n \"idpCertExpirationAt\": \"2019-08-24T14:15:22Z\",\n \"jit\": True,\n \"type\": \"string\"\n },\n \"ssoUrl\": \"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/applications/{id}\"\n\npayload = {\n \"_id\": \"string\",\n \"active\": True,\n \"beta\": True,\n \"color\": \"\",\n \"config\": {\n \"acsUrl\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"authClaimConfiguration\": {\n \"authnContextMappings\": {\n \"type\": \"string\",\n \"value\": [{}]\n },\n \"authnContextMode\": {\n \"type\": \"string\",\n \"value\": \"string\"\n },\n \"sendAmrClaim\": {\n \"readOnly\": True,\n \"type\": \"string\",\n \"value\": True\n },\n \"singleAuthnContextValue\": {\n \"type\": \"string\",\n \"value\": \"string\"\n },\n \"type\": \"string\",\n \"visible\": True\n },\n \"constantAttributes\": {\n \"label\": \"string\",\n \"mutable\": True,\n \"options\": None,\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": None,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": [\n {\n \"name\": \"string\",\n \"readOnly\": True,\n \"required\": True,\n \"value\": \"string\",\n \"visible\": True\n }\n ],\n \"visible\": True\n },\n \"databaseAttributes\": {\"position\": 0},\n \"idpCertificate\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"idpEntityId\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"idpPrivateKey\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"signAssertion\": {\n \"label\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": True,\n \"visible\": True\n },\n \"signResponse\": {\n \"label\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": True,\n \"visible\": True\n },\n \"spEntityId\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"spErrorFlow\": {\n \"label\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": True,\n \"visible\": True\n }\n },\n \"created\": \"string\",\n \"databaseAttributes\": [{}],\n \"description\": \"string\",\n \"displayLabel\": \"string\",\n \"displayName\": \"string\",\n \"learnMore\": \"string\",\n \"logo\": {\n \"color\": \"\",\n \"url\": \"string\"\n },\n \"name\": \"string\",\n \"organization\": \"string\",\n \"parentApp\": \"string\",\n \"sso\": {\n \"beta\": True,\n \"hidden\": True,\n \"idpCertExpirationAt\": \"2019-08-24T14:15:22Z\",\n \"jit\": True,\n \"type\": \"string\"\n },\n \"ssoUrl\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"\",\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/applications/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"_id\":\"string\",\"active\":true,\"beta\":true,\"color\":\"\",\"config\":{\"acsUrl\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"constantAttributes\":{\"label\":\"string\",\"mutable\":true,\"options\":null,\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":null,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":[{\"name\":\"string\",\"readOnly\":true,\"required\":true,\"value\":\"string\",\"visible\":true}],\"visible\":true},\"databaseAttributes\":{\"position\":0},\"idpCertificate\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpPrivateKey\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"signAssertion\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"signResponse\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"spEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"spErrorFlow\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true}},\"created\":\"string\",\"databaseAttributes\":[{}],\"description\":\"string\",\"displayLabel\":\"string\",\"displayName\":\"string\",\"learnMore\":\"string\",\"logo\":{\"color\":\"\",\"url\":\"string\"},\"name\":\"string\",\"organization\":\"string\",\"parentApp\":\"string\",\"sso\":{\"beta\":true,\"hidden\":true,\"idpCertExpirationAt\":\"2019-08-24T14:15:22Z\",\"jit\":true,\"type\":\"string\"},\"ssoUrl\":\"string\"}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/applications/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"_id\":\"string\",\"active\":true,\"beta\":true,\"color\":\"\",\"config\":{\"acsUrl\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"authClaimConfiguration\":{\"authnContextMappings\":{\"type\":\"string\",\"value\":[{}]},\"authnContextMode\":{\"type\":\"string\",\"value\":\"string\"},\"sendAmrClaim\":{\"readOnly\":true,\"type\":\"string\",\"value\":true},\"singleAuthnContextValue\":{\"type\":\"string\",\"value\":\"string\"},\"type\":\"string\",\"visible\":true},\"constantAttributes\":{\"label\":\"string\",\"mutable\":true,\"options\":null,\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":null,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":[{\"name\":\"string\",\"readOnly\":true,\"required\":true,\"value\":\"string\",\"visible\":true}],\"visible\":true},\"databaseAttributes\":{\"position\":0},\"idpCertificate\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpPrivateKey\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"signAssertion\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"signResponse\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"spEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"spErrorFlow\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true}},\"created\":\"string\",\"databaseAttributes\":[{}],\"description\":\"string\",\"displayLabel\":\"string\",\"displayName\":\"string\",\"learnMore\":\"string\",\"logo\":{\"color\":\"\",\"url\":\"string\"},\"name\":\"string\",\"organization\":\"string\",\"parentApp\":\"string\",\"sso\":{\"beta\":true,\"hidden\":true,\"idpCertExpirationAt\":\"2019-08-24T14:15:22Z\",\"jit\":true,\"type\":\"string\"},\"ssoUrl\":\"string\"}'"
}
]
},
@@ -5936,15 +6382,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/command/trigger/{triggername} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{}'"
+ "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/command/trigger/{triggername} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/command/trigger/{triggername}\"\n\npayload = {}\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/command/trigger/{triggername}\"\n\npayload = {}\nheaders = {\n \"x-org-id\": \"\",\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/command/trigger/{triggername}' -Method POST -Headers $headers -ContentType 'application/json' -Body '{}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/command/trigger/{triggername}' -Method POST -Headers $headers -ContentType 'application/json' -Body '{}'"
}
]
},
@@ -5989,15 +6435,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/commandresults?fields=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/commandresults?fields=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/commandresults\"\n\nquerystring = {\"fields\":\"\",\"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/commandresults\"\n\nquerystring = {\"fields\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/commandresults?fields=&limit=10&skip=0&sort=' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/commandresults?fields=&limit=10&skip=0&sort=' -Method GET -Headers $headers"
}
]
}
@@ -6024,15 +6470,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/commandresults/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/commandresults/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/commandresults/{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/commandresults/{id}\"\n\nheaders = {\n \"x-org-id\": \"\",\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/commandresults/{id}' -Method DELETE -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/commandresults/{id}' -Method DELETE -Headers $headers"
}
]
},
@@ -6064,15 +6510,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/commandresults/{id}?fields=&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/commandresults/{id}?fields=&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/commandresults/{id}\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"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/commandresults/{id}\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/commandresults/{id}?fields=&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/commandresults/{id}?fields=&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
}
]
},
@@ -6126,15 +6572,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/commands?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/commands?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/commands\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\",\"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/commands\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/commands?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0&sort=' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/commands?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0&sort=' -Method GET -Headers $headers"
}
]
},
@@ -6167,15 +6613,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/commands \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"aiGenerated\":true,\"command\":\"string\",\"commandRunners\":[\"string\"],\"commandType\":\"linux\",\"description\":\"string\",\"files\":[\"string\"],\"filesS3\":[{\"destination\":\"string\",\"name\":\"string\",\"objectStorageId\":\"string\",\"sha256\":\"string\"}],\"launchType\":\"string\",\"listensTo\":\"string\",\"name\":\"string\",\"organization\":\"string\",\"schedule\":\"string\",\"scheduleRepeatType\":\"string\",\"scheduleYear\":0,\"shell\":\"string\",\"sudo\":true,\"systems\":[\"string\"],\"template\":\"string\",\"timeToLiveSeconds\":0,\"timeout\":\"string\",\"trigger\":\"string\",\"user\":\"string\"}'"
+ "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/commands \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"aiGenerated\":true,\"command\":\"string\",\"commandRunners\":[\"string\"],\"commandType\":\"linux\",\"description\":\"string\",\"files\":[\"string\"],\"filesS3\":[{\"destination\":\"string\",\"name\":\"string\",\"objectStorageId\":\"string\",\"sha256\":\"string\"}],\"launchType\":\"string\",\"listensTo\":\"string\",\"name\":\"string\",\"organization\":\"string\",\"schedule\":\"string\",\"scheduleRepeatType\":\"string\",\"scheduleYear\":0,\"shell\":\"string\",\"sudo\":true,\"systems\":[\"string\"],\"template\":\"string\",\"templatingRequired\":true,\"timeToLiveSeconds\":0,\"timeout\":\"string\",\"trigger\":\"string\",\"user\":\"string\"}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/commands\"\n\npayload = {\n \"aiGenerated\": True,\n \"command\": \"string\",\n \"commandRunners\": [\"string\"],\n \"commandType\": \"linux\",\n \"description\": \"string\",\n \"files\": [\"string\"],\n \"filesS3\": [\n {\n \"destination\": \"string\",\n \"name\": \"string\",\n \"objectStorageId\": \"string\",\n \"sha256\": \"string\"\n }\n ],\n \"launchType\": \"string\",\n \"listensTo\": \"string\",\n \"name\": \"string\",\n \"organization\": \"string\",\n \"schedule\": \"string\",\n \"scheduleRepeatType\": \"string\",\n \"scheduleYear\": 0,\n \"shell\": \"string\",\n \"sudo\": True,\n \"systems\": [\"string\"],\n \"template\": \"string\",\n \"timeToLiveSeconds\": 0,\n \"timeout\": \"string\",\n \"trigger\": \"string\",\n \"user\": \"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/commands\"\n\npayload = {\n \"aiGenerated\": True,\n \"command\": \"string\",\n \"commandRunners\": [\"string\"],\n \"commandType\": \"linux\",\n \"description\": \"string\",\n \"files\": [\"string\"],\n \"filesS3\": [\n {\n \"destination\": \"string\",\n \"name\": \"string\",\n \"objectStorageId\": \"string\",\n \"sha256\": \"string\"\n }\n ],\n \"launchType\": \"string\",\n \"listensTo\": \"string\",\n \"name\": \"string\",\n \"organization\": \"string\",\n \"schedule\": \"string\",\n \"scheduleRepeatType\": \"string\",\n \"scheduleYear\": 0,\n \"shell\": \"string\",\n \"sudo\": True,\n \"systems\": [\"string\"],\n \"template\": \"string\",\n \"templatingRequired\": True,\n \"timeToLiveSeconds\": 0,\n \"timeout\": \"string\",\n \"trigger\": \"string\",\n \"user\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"\",\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/commands' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"aiGenerated\":true,\"command\":\"string\",\"commandRunners\":[\"string\"],\"commandType\":\"linux\",\"description\":\"string\",\"files\":[\"string\"],\"filesS3\":[{\"destination\":\"string\",\"name\":\"string\",\"objectStorageId\":\"string\",\"sha256\":\"string\"}],\"launchType\":\"string\",\"listensTo\":\"string\",\"name\":\"string\",\"organization\":\"string\",\"schedule\":\"string\",\"scheduleRepeatType\":\"string\",\"scheduleYear\":0,\"shell\":\"string\",\"sudo\":true,\"systems\":[\"string\"],\"template\":\"string\",\"timeToLiveSeconds\":0,\"timeout\":\"string\",\"trigger\":\"string\",\"user\":\"string\"}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/commands' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"aiGenerated\":true,\"command\":\"string\",\"commandRunners\":[\"string\"],\"commandType\":\"linux\",\"description\":\"string\",\"files\":[\"string\"],\"filesS3\":[{\"destination\":\"string\",\"name\":\"string\",\"objectStorageId\":\"string\",\"sha256\":\"string\"}],\"launchType\":\"string\",\"listensTo\":\"string\",\"name\":\"string\",\"organization\":\"string\",\"schedule\":\"string\",\"scheduleRepeatType\":\"string\",\"scheduleYear\":0,\"shell\":\"string\",\"sudo\":true,\"systems\":[\"string\"],\"template\":\"string\",\"templatingRequired\":true,\"timeToLiveSeconds\":0,\"timeout\":\"string\",\"trigger\":\"string\",\"user\":\"string\"}'"
}
]
}
@@ -6202,15 +6648,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/commands/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/commands/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/commands/{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/commands/{id}\"\n\nheaders = {\n \"x-org-id\": \"\",\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/commands/{id}' -Method DELETE -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/commands/{id}' -Method DELETE -Headers $headers"
}
]
},
@@ -6239,15 +6685,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/commands/{id}?fields=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/commands/{id}?fields=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/commands/{id}\"\n\nquerystring = {\"fields\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
+ "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/commands/{id}\"\n\nquerystring = {\"fields\":\"\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/commands/{id}?fields=' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/commands/{id}?fields=' -Method GET -Headers $headers"
}
]
},
@@ -6294,15 +6740,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/commands/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"aiGenerated\":true,\"command\":\"string\",\"commandRunners\":[\"string\"],\"commandType\":\"linux\",\"description\":\"string\",\"files\":[\"string\"],\"filesS3\":[{\"destination\":\"string\",\"name\":\"string\",\"objectStorageId\":\"string\",\"sha256\":\"string\"}],\"launchType\":\"string\",\"listensTo\":\"string\",\"name\":\"string\",\"organization\":\"string\",\"schedule\":\"string\",\"scheduleRepeatType\":\"string\",\"scheduleYear\":0,\"shell\":\"string\",\"sudo\":true,\"systems\":[\"string\"],\"template\":\"string\",\"timeToLiveSeconds\":0,\"timeout\":\"string\",\"trigger\":\"string\",\"user\":\"string\"}'"
+ "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/commands/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"aiGenerated\":true,\"command\":\"string\",\"commandRunners\":[\"string\"],\"commandType\":\"linux\",\"description\":\"string\",\"files\":[\"string\"],\"filesS3\":[{\"destination\":\"string\",\"name\":\"string\",\"objectStorageId\":\"string\",\"sha256\":\"string\"}],\"launchType\":\"string\",\"listensTo\":\"string\",\"name\":\"string\",\"organization\":\"string\",\"schedule\":\"string\",\"scheduleRepeatType\":\"string\",\"scheduleYear\":0,\"shell\":\"string\",\"sudo\":true,\"systems\":[\"string\"],\"template\":\"string\",\"templatingRequired\":true,\"timeToLiveSeconds\":0,\"timeout\":\"string\",\"trigger\":\"string\",\"user\":\"string\"}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/commands/{id}\"\n\npayload = {\n \"aiGenerated\": True,\n \"command\": \"string\",\n \"commandRunners\": [\"string\"],\n \"commandType\": \"linux\",\n \"description\": \"string\",\n \"files\": [\"string\"],\n \"filesS3\": [\n {\n \"destination\": \"string\",\n \"name\": \"string\",\n \"objectStorageId\": \"string\",\n \"sha256\": \"string\"\n }\n ],\n \"launchType\": \"string\",\n \"listensTo\": \"string\",\n \"name\": \"string\",\n \"organization\": \"string\",\n \"schedule\": \"string\",\n \"scheduleRepeatType\": \"string\",\n \"scheduleYear\": 0,\n \"shell\": \"string\",\n \"sudo\": True,\n \"systems\": [\"string\"],\n \"template\": \"string\",\n \"timeToLiveSeconds\": 0,\n \"timeout\": \"string\",\n \"trigger\": \"string\",\n \"user\": \"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/commands/{id}\"\n\npayload = {\n \"aiGenerated\": True,\n \"command\": \"string\",\n \"commandRunners\": [\"string\"],\n \"commandType\": \"linux\",\n \"description\": \"string\",\n \"files\": [\"string\"],\n \"filesS3\": [\n {\n \"destination\": \"string\",\n \"name\": \"string\",\n \"objectStorageId\": \"string\",\n \"sha256\": \"string\"\n }\n ],\n \"launchType\": \"string\",\n \"listensTo\": \"string\",\n \"name\": \"string\",\n \"organization\": \"string\",\n \"schedule\": \"string\",\n \"scheduleRepeatType\": \"string\",\n \"scheduleYear\": 0,\n \"shell\": \"string\",\n \"sudo\": True,\n \"systems\": [\"string\"],\n \"template\": \"string\",\n \"templatingRequired\": True,\n \"timeToLiveSeconds\": 0,\n \"timeout\": \"string\",\n \"trigger\": \"string\",\n \"user\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"\",\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/commands/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"aiGenerated\":true,\"command\":\"string\",\"commandRunners\":[\"string\"],\"commandType\":\"linux\",\"description\":\"string\",\"files\":[\"string\"],\"filesS3\":[{\"destination\":\"string\",\"name\":\"string\",\"objectStorageId\":\"string\",\"sha256\":\"string\"}],\"launchType\":\"string\",\"listensTo\":\"string\",\"name\":\"string\",\"organization\":\"string\",\"schedule\":\"string\",\"scheduleRepeatType\":\"string\",\"scheduleYear\":0,\"shell\":\"string\",\"sudo\":true,\"systems\":[\"string\"],\"template\":\"string\",\"timeToLiveSeconds\":0,\"timeout\":\"string\",\"trigger\":\"string\",\"user\":\"string\"}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/commands/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"aiGenerated\":true,\"command\":\"string\",\"commandRunners\":[\"string\"],\"commandType\":\"linux\",\"description\":\"string\",\"files\":[\"string\"],\"filesS3\":[{\"destination\":\"string\",\"name\":\"string\",\"objectStorageId\":\"string\",\"sha256\":\"string\"}],\"launchType\":\"string\",\"listensTo\":\"string\",\"name\":\"string\",\"organization\":\"string\",\"schedule\":\"string\",\"scheduleRepeatType\":\"string\",\"scheduleYear\":0,\"shell\":\"string\",\"sudo\":true,\"systems\":[\"string\"],\"template\":\"string\",\"templatingRequired\":true,\"timeToLiveSeconds\":0,\"timeout\":\"string\",\"trigger\":\"string\",\"user\":\"string\"}'"
}
]
}
@@ -6398,15 +6844,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/files/command/{id}?fields=&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/files/command/{id}?fields=&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/files/command/{id}\"\n\nquerystring = {\"fields\":\"\",\"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/files/command/{id}\"\n\nquerystring = {\"fields\":\"\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/files/command/{id}?fields=&limit=10&skip=0' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/files/command/{id}?fields=&limit=10&skip=0' -Method GET -Headers $headers"
}
]
},
@@ -6624,15 +7070,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/organizations/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"settings\":{\"contactEmail\":\"string\",\"contactName\":\"string\",\"deviceIdentificationEnabled\":true,\"disableGoogleLogin\":true,\"disableLdap\":true,\"disableUM\":true,\"duplicateLDAPGroups\":true,\"emailDisclaimer\":\"string\",\"enableManagedUID\":true,\"features\":{\"directoryInsights\":{\"enabled\":true},\"directoryInsightsPremium\":{\"createdAt\":\"string\",\"enabled\":true,\"updatedAt\":\"string\"},\"systemInsights\":{\"createdAt\":\"string\",\"enableNewDarwin\":true,\"enableNewLinux\":true,\"enableNewWindows\":true,\"enabled\":true,\"updatedAt\":\"string\"}},\"growthData\":{},\"logo\":\"string\",\"maxSystemUsers\":0,\"name\":\"string\",\"newSystemUserStateDefaults\":{\"applicationImport\":\"ACTIVATED\",\"csvImport\":\"ACTIVATED\",\"manualEntry\":\"ACTIVATED\"},\"passwordCompliance\":\"custom\",\"passwordPolicy\":{\"allowUnenrolledMFAPasswordReset\":true,\"allowUsernameSubstring\":true,\"daysAfterExpirationToSelfRecover\":0,\"daysBeforeExpirationToForceReset\":1,\"disallowCommonlyUsedPasswords\":true,\"disallowSequentialOrRepetitiveChars\":true,\"effectiveDate\":\"string\",\"enableDaysAfterExpirationToSelfRecover\":true,\"enableDaysBeforeExpirationToForceReset\":true,\"enableLockoutTimeInSeconds\":true,\"enableMaxHistory\":true,\"enableMaxLoginAttempts\":true,\"enableMinChangePeriodInDays\":true,\"enableMinLength\":true,\"enablePasswordExpirationInDays\":true,\"gracePeriodDate\":\"string\",\"lockoutTimeInSeconds\":0,\"maxHistory\":1,\"maxLoginAttempts\":1,\"minChangePeriodInDays\":0,\"minLength\":0,\"needsLowercase\":true,\"needsNumeric\":true,\"needsSymbolic\":true,\"needsUppercase\":true,\"passwordExpirationInDays\":1},\"showIntro\":true,\"systemUserDefaults\":{\"restrictedFields\":[{\"field\":\"addresses\",\"id\":\"string\",\"type\":\"active_directory\"}]},\"systemUserPasswordExpirationInDays\":0,\"systemUsersCanEdit\":true,\"trustedAppConfig\":{\"trustedApps\":[{\"name\":\"Application 1\",\"path\":\"/someuser/Applications/application1.app\",\"teamid\":\"FakeTeamID\"}]},\"userPortal\":{\"cookieExpirationType\":\"session\",\"idleSessionDurationMinutes\":1}}}'"
+ "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/organizations/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"settings\":{\"contactEmail\":\"string\",\"contactName\":\"string\",\"deviceIdentificationEnabled\":true,\"disableGoogleLogin\":true,\"disableLdap\":true,\"disableUM\":true,\"duplicateLDAPGroups\":true,\"emailDisclaimer\":\"string\",\"enableManagedUID\":true,\"features\":{\"directoryInsights\":{\"enabled\":true},\"directoryInsightsPremium\":{\"createdAt\":\"string\",\"enabled\":true,\"updatedAt\":\"string\"},\"systemInsights\":{\"createdAt\":\"string\",\"enableNewDarwin\":true,\"enableNewLinux\":true,\"enableNewWindows\":true,\"enabled\":true,\"updatedAt\":\"string\"}},\"growthData\":{},\"logo\":\"string\",\"maxSystemUsers\":0,\"name\":\"string\",\"newSystemUserStateDefaults\":{\"applicationImport\":\"ACTIVATED\",\"csvImport\":\"ACTIVATED\",\"manualEntry\":\"ACTIVATED\"},\"passwordCompliance\":\"custom\",\"passwordPolicy\":{\"allowUnenrolledMFAPasswordReset\":true,\"allowUsernameSubstring\":true,\"daysAfterExpirationToSelfRecover\":0,\"daysBeforeExpirationToForceReset\":1,\"disallowCommonlyUsedPasswords\":true,\"disallowSequentialOrRepetitiveChars\":true,\"displayComplexityOnResetScreen\":true,\"effectiveDate\":\"string\",\"enableDaysAfterExpirationToSelfRecover\":true,\"enableDaysBeforeExpirationToForceReset\":true,\"enableLockoutTimeInSeconds\":true,\"enableMaxHistory\":true,\"enableMaxLoginAttempts\":true,\"enableMinChangePeriodInDays\":true,\"enableMinLength\":true,\"enablePasswordExpirationInDays\":true,\"gracePeriodDate\":\"string\",\"lockoutTimeInSeconds\":0,\"maxHistory\":1,\"maxLoginAttempts\":1,\"minChangePeriodInDays\":0,\"minLength\":0,\"needsLowercase\":true,\"needsNumeric\":true,\"needsSymbolic\":true,\"needsUppercase\":true,\"passwordExpirationInDays\":1},\"showIntro\":true,\"systemUserDefaults\":{\"restrictedFields\":[{\"field\":\"addresses\",\"id\":\"string\",\"type\":\"active_directory\"}]},\"systemUserPasswordExpirationInDays\":0,\"systemUsersCanEdit\":true,\"trustedAppConfig\":{\"trustedApps\":[{\"name\":\"Application 1\",\"path\":\"/someuser/Applications/application1.app\",\"teamid\":\"FakeTeamID\"}]},\"userPortal\":{\"cookieExpirationType\":\"session\",\"idleSessionDurationMinutes\":1}}}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/organizations/{id}\"\n\npayload = {\"settings\": {\n \"contactEmail\": \"string\",\n \"contactName\": \"string\",\n \"deviceIdentificationEnabled\": True,\n \"disableGoogleLogin\": True,\n \"disableLdap\": True,\n \"disableUM\": True,\n \"duplicateLDAPGroups\": True,\n \"emailDisclaimer\": \"string\",\n \"enableManagedUID\": True,\n \"features\": {\n \"directoryInsights\": {\"enabled\": True},\n \"directoryInsightsPremium\": {\n \"createdAt\": \"string\",\n \"enabled\": True,\n \"updatedAt\": \"string\"\n },\n \"systemInsights\": {\n \"createdAt\": \"string\",\n \"enableNewDarwin\": True,\n \"enableNewLinux\": True,\n \"enableNewWindows\": True,\n \"enabled\": True,\n \"updatedAt\": \"string\"\n }\n },\n \"growthData\": {},\n \"logo\": \"string\",\n \"maxSystemUsers\": 0,\n \"name\": \"string\",\n \"newSystemUserStateDefaults\": {\n \"applicationImport\": \"ACTIVATED\",\n \"csvImport\": \"ACTIVATED\",\n \"manualEntry\": \"ACTIVATED\"\n },\n \"passwordCompliance\": \"custom\",\n \"passwordPolicy\": {\n \"allowUnenrolledMFAPasswordReset\": True,\n \"allowUsernameSubstring\": True,\n \"daysAfterExpirationToSelfRecover\": 0,\n \"daysBeforeExpirationToForceReset\": 1,\n \"disallowCommonlyUsedPasswords\": True,\n \"disallowSequentialOrRepetitiveChars\": True,\n \"effectiveDate\": \"string\",\n \"enableDaysAfterExpirationToSelfRecover\": True,\n \"enableDaysBeforeExpirationToForceReset\": True,\n \"enableLockoutTimeInSeconds\": True,\n \"enableMaxHistory\": True,\n \"enableMaxLoginAttempts\": True,\n \"enableMinChangePeriodInDays\": True,\n \"enableMinLength\": True,\n \"enablePasswordExpirationInDays\": True,\n \"gracePeriodDate\": \"string\",\n \"lockoutTimeInSeconds\": 0,\n \"maxHistory\": 1,\n \"maxLoginAttempts\": 1,\n \"minChangePeriodInDays\": 0,\n \"minLength\": 0,\n \"needsLowercase\": True,\n \"needsNumeric\": True,\n \"needsSymbolic\": True,\n \"needsUppercase\": True,\n \"passwordExpirationInDays\": 1\n },\n \"showIntro\": True,\n \"systemUserDefaults\": {\"restrictedFields\": [\n {\n \"field\": \"addresses\",\n \"id\": \"string\",\n \"type\": \"active_directory\"\n }\n ]},\n \"systemUserPasswordExpirationInDays\": 0,\n \"systemUsersCanEdit\": True,\n \"trustedAppConfig\": {\"trustedApps\": [\n {\n \"name\": \"Application 1\",\n \"path\": \"/someuser/Applications/application1.app\",\n \"teamid\": \"FakeTeamID\"\n }\n ]},\n \"userPortal\": {\n \"cookieExpirationType\": \"session\",\n \"idleSessionDurationMinutes\": 1\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/organizations/{id}\"\n\npayload = {\"settings\": {\n \"contactEmail\": \"string\",\n \"contactName\": \"string\",\n \"deviceIdentificationEnabled\": True,\n \"disableGoogleLogin\": True,\n \"disableLdap\": True,\n \"disableUM\": True,\n \"duplicateLDAPGroups\": True,\n \"emailDisclaimer\": \"string\",\n \"enableManagedUID\": True,\n \"features\": {\n \"directoryInsights\": {\"enabled\": True},\n \"directoryInsightsPremium\": {\n \"createdAt\": \"string\",\n \"enabled\": True,\n \"updatedAt\": \"string\"\n },\n \"systemInsights\": {\n \"createdAt\": \"string\",\n \"enableNewDarwin\": True,\n \"enableNewLinux\": True,\n \"enableNewWindows\": True,\n \"enabled\": True,\n \"updatedAt\": \"string\"\n }\n },\n \"growthData\": {},\n \"logo\": \"string\",\n \"maxSystemUsers\": 0,\n \"name\": \"string\",\n \"newSystemUserStateDefaults\": {\n \"applicationImport\": \"ACTIVATED\",\n \"csvImport\": \"ACTIVATED\",\n \"manualEntry\": \"ACTIVATED\"\n },\n \"passwordCompliance\": \"custom\",\n \"passwordPolicy\": {\n \"allowUnenrolledMFAPasswordReset\": True,\n \"allowUsernameSubstring\": True,\n \"daysAfterExpirationToSelfRecover\": 0,\n \"daysBeforeExpirationToForceReset\": 1,\n \"disallowCommonlyUsedPasswords\": True,\n \"disallowSequentialOrRepetitiveChars\": True,\n \"displayComplexityOnResetScreen\": True,\n \"effectiveDate\": \"string\",\n \"enableDaysAfterExpirationToSelfRecover\": True,\n \"enableDaysBeforeExpirationToForceReset\": True,\n \"enableLockoutTimeInSeconds\": True,\n \"enableMaxHistory\": True,\n \"enableMaxLoginAttempts\": True,\n \"enableMinChangePeriodInDays\": True,\n \"enableMinLength\": True,\n \"enablePasswordExpirationInDays\": True,\n \"gracePeriodDate\": \"string\",\n \"lockoutTimeInSeconds\": 0,\n \"maxHistory\": 1,\n \"maxLoginAttempts\": 1,\n \"minChangePeriodInDays\": 0,\n \"minLength\": 0,\n \"needsLowercase\": True,\n \"needsNumeric\": True,\n \"needsSymbolic\": True,\n \"needsUppercase\": True,\n \"passwordExpirationInDays\": 1\n },\n \"showIntro\": True,\n \"systemUserDefaults\": {\"restrictedFields\": [\n {\n \"field\": \"addresses\",\n \"id\": \"string\",\n \"type\": \"active_directory\"\n }\n ]},\n \"systemUserPasswordExpirationInDays\": 0,\n \"systemUsersCanEdit\": True,\n \"trustedAppConfig\": {\"trustedApps\": [\n {\n \"name\": \"Application 1\",\n \"path\": \"/someuser/Applications/application1.app\",\n \"teamid\": \"FakeTeamID\"\n }\n ]},\n \"userPortal\": {\n \"cookieExpirationType\": \"session\",\n \"idleSessionDurationMinutes\": 1\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)"
},
{
"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/organizations/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"settings\":{\"contactEmail\":\"string\",\"contactName\":\"string\",\"deviceIdentificationEnabled\":true,\"disableGoogleLogin\":true,\"disableLdap\":true,\"disableUM\":true,\"duplicateLDAPGroups\":true,\"emailDisclaimer\":\"string\",\"enableManagedUID\":true,\"features\":{\"directoryInsights\":{\"enabled\":true},\"directoryInsightsPremium\":{\"createdAt\":\"string\",\"enabled\":true,\"updatedAt\":\"string\"},\"systemInsights\":{\"createdAt\":\"string\",\"enableNewDarwin\":true,\"enableNewLinux\":true,\"enableNewWindows\":true,\"enabled\":true,\"updatedAt\":\"string\"}},\"growthData\":{},\"logo\":\"string\",\"maxSystemUsers\":0,\"name\":\"string\",\"newSystemUserStateDefaults\":{\"applicationImport\":\"ACTIVATED\",\"csvImport\":\"ACTIVATED\",\"manualEntry\":\"ACTIVATED\"},\"passwordCompliance\":\"custom\",\"passwordPolicy\":{\"allowUnenrolledMFAPasswordReset\":true,\"allowUsernameSubstring\":true,\"daysAfterExpirationToSelfRecover\":0,\"daysBeforeExpirationToForceReset\":1,\"disallowCommonlyUsedPasswords\":true,\"disallowSequentialOrRepetitiveChars\":true,\"effectiveDate\":\"string\",\"enableDaysAfterExpirationToSelfRecover\":true,\"enableDaysBeforeExpirationToForceReset\":true,\"enableLockoutTimeInSeconds\":true,\"enableMaxHistory\":true,\"enableMaxLoginAttempts\":true,\"enableMinChangePeriodInDays\":true,\"enableMinLength\":true,\"enablePasswordExpirationInDays\":true,\"gracePeriodDate\":\"string\",\"lockoutTimeInSeconds\":0,\"maxHistory\":1,\"maxLoginAttempts\":1,\"minChangePeriodInDays\":0,\"minLength\":0,\"needsLowercase\":true,\"needsNumeric\":true,\"needsSymbolic\":true,\"needsUppercase\":true,\"passwordExpirationInDays\":1},\"showIntro\":true,\"systemUserDefaults\":{\"restrictedFields\":[{\"field\":\"addresses\",\"id\":\"string\",\"type\":\"active_directory\"}]},\"systemUserPasswordExpirationInDays\":0,\"systemUsersCanEdit\":true,\"trustedAppConfig\":{\"trustedApps\":[{\"name\":\"Application 1\",\"path\":\"/someuser/Applications/application1.app\",\"teamid\":\"FakeTeamID\"}]},\"userPortal\":{\"cookieExpirationType\":\"session\",\"idleSessionDurationMinutes\":1}}}'"
+ "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/organizations/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"settings\":{\"contactEmail\":\"string\",\"contactName\":\"string\",\"deviceIdentificationEnabled\":true,\"disableGoogleLogin\":true,\"disableLdap\":true,\"disableUM\":true,\"duplicateLDAPGroups\":true,\"emailDisclaimer\":\"string\",\"enableManagedUID\":true,\"features\":{\"directoryInsights\":{\"enabled\":true},\"directoryInsightsPremium\":{\"createdAt\":\"string\",\"enabled\":true,\"updatedAt\":\"string\"},\"systemInsights\":{\"createdAt\":\"string\",\"enableNewDarwin\":true,\"enableNewLinux\":true,\"enableNewWindows\":true,\"enabled\":true,\"updatedAt\":\"string\"}},\"growthData\":{},\"logo\":\"string\",\"maxSystemUsers\":0,\"name\":\"string\",\"newSystemUserStateDefaults\":{\"applicationImport\":\"ACTIVATED\",\"csvImport\":\"ACTIVATED\",\"manualEntry\":\"ACTIVATED\"},\"passwordCompliance\":\"custom\",\"passwordPolicy\":{\"allowUnenrolledMFAPasswordReset\":true,\"allowUsernameSubstring\":true,\"daysAfterExpirationToSelfRecover\":0,\"daysBeforeExpirationToForceReset\":1,\"disallowCommonlyUsedPasswords\":true,\"disallowSequentialOrRepetitiveChars\":true,\"displayComplexityOnResetScreen\":true,\"effectiveDate\":\"string\",\"enableDaysAfterExpirationToSelfRecover\":true,\"enableDaysBeforeExpirationToForceReset\":true,\"enableLockoutTimeInSeconds\":true,\"enableMaxHistory\":true,\"enableMaxLoginAttempts\":true,\"enableMinChangePeriodInDays\":true,\"enableMinLength\":true,\"enablePasswordExpirationInDays\":true,\"gracePeriodDate\":\"string\",\"lockoutTimeInSeconds\":0,\"maxHistory\":1,\"maxLoginAttempts\":1,\"minChangePeriodInDays\":0,\"minLength\":0,\"needsLowercase\":true,\"needsNumeric\":true,\"needsSymbolic\":true,\"needsUppercase\":true,\"passwordExpirationInDays\":1},\"showIntro\":true,\"systemUserDefaults\":{\"restrictedFields\":[{\"field\":\"addresses\",\"id\":\"string\",\"type\":\"active_directory\"}]},\"systemUserPasswordExpirationInDays\":0,\"systemUsersCanEdit\":true,\"trustedAppConfig\":{\"trustedApps\":[{\"name\":\"Application 1\",\"path\":\"/someuser/Applications/application1.app\",\"teamid\":\"FakeTeamID\"}]},\"userPortal\":{\"cookieExpirationType\":\"session\",\"idleSessionDurationMinutes\":1}}}'"
}
]
},
@@ -6740,15 +7186,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/radiusservers?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/radiusservers?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/radiusservers\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\",\"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/radiusservers\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/radiusservers?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0&sort=' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/radiusservers?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0&sort=' -Method GET -Headers $headers"
}
]
},
@@ -6784,15 +7230,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/radiusservers \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"authIdp\":\"JUMPCLOUD\",\"caCert\":\"string\",\"deviceCertEnabled\":true,\"mfa\":\"DISABLED\",\"name\":\"string\",\"networkSourceIp\":\"string\",\"radsecEnabled\":true,\"requireRadsec\":true,\"requireTlsAuth\":true,\"sharedSecret\":\"string\",\"tagNames\":[\"string\"],\"userCertEnabled\":true,\"userLockoutAction\":\"string\",\"userPasswordEnabled\":true,\"userPasswordExpirationAction\":\"string\"}'"
+ "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/radiusservers \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"authIdp\":\"JUMPCLOUD\",\"caCert\":\"string\",\"deviceCertEnabled\":true,\"mfa\":\"DISABLED\",\"name\":\"string\",\"networkSourceIp\":\"string\",\"radsecEnabled\":true,\"requireRadsec\":true,\"requireTlsAuth\":true,\"sharedSecret\":\"string\",\"tagNames\":[\"string\"],\"userCertEnabled\":true,\"userLockoutAction\":\"string\",\"userPasswordEnabled\":true,\"userPasswordExpirationAction\":\"string\"}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/radiusservers\"\n\npayload = {\n \"authIdp\": \"JUMPCLOUD\",\n \"caCert\": \"string\",\n \"deviceCertEnabled\": True,\n \"mfa\": \"DISABLED\",\n \"name\": \"string\",\n \"networkSourceIp\": \"string\",\n \"radsecEnabled\": True,\n \"requireRadsec\": True,\n \"requireTlsAuth\": True,\n \"sharedSecret\": \"string\",\n \"tagNames\": [\"string\"],\n \"userCertEnabled\": True,\n \"userLockoutAction\": \"string\",\n \"userPasswordEnabled\": True,\n \"userPasswordExpirationAction\": \"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/radiusservers\"\n\npayload = {\n \"authIdp\": \"JUMPCLOUD\",\n \"caCert\": \"string\",\n \"deviceCertEnabled\": True,\n \"mfa\": \"DISABLED\",\n \"name\": \"string\",\n \"networkSourceIp\": \"string\",\n \"radsecEnabled\": True,\n \"requireRadsec\": True,\n \"requireTlsAuth\": True,\n \"sharedSecret\": \"string\",\n \"tagNames\": [\"string\"],\n \"userCertEnabled\": True,\n \"userLockoutAction\": \"string\",\n \"userPasswordEnabled\": True,\n \"userPasswordExpirationAction\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"\",\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/radiusservers' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"authIdp\":\"JUMPCLOUD\",\"caCert\":\"string\",\"deviceCertEnabled\":true,\"mfa\":\"DISABLED\",\"name\":\"string\",\"networkSourceIp\":\"string\",\"radsecEnabled\":true,\"requireRadsec\":true,\"requireTlsAuth\":true,\"sharedSecret\":\"string\",\"tagNames\":[\"string\"],\"userCertEnabled\":true,\"userLockoutAction\":\"string\",\"userPasswordEnabled\":true,\"userPasswordExpirationAction\":\"string\"}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/radiusservers' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"authIdp\":\"JUMPCLOUD\",\"caCert\":\"string\",\"deviceCertEnabled\":true,\"mfa\":\"DISABLED\",\"name\":\"string\",\"networkSourceIp\":\"string\",\"radsecEnabled\":true,\"requireRadsec\":true,\"requireTlsAuth\":true,\"sharedSecret\":\"string\",\"tagNames\":[\"string\"],\"userCertEnabled\":true,\"userLockoutAction\":\"string\",\"userPasswordEnabled\":true,\"userPasswordExpirationAction\":\"string\"}'"
}
]
}
@@ -6822,15 +7268,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/radiusservers/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/radiusservers/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/radiusservers/{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/radiusservers/{id}\"\n\nheaders = {\n \"x-org-id\": \"\",\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/radiusservers/{id}' -Method DELETE -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/radiusservers/{id}' -Method DELETE -Headers $headers"
}
]
},
@@ -6855,15 +7301,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/radiusservers/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/radiusservers/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/radiusservers/{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/radiusservers/{id}\"\n\nheaders = {\n \"x-org-id\": \"\",\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/radiusservers/{id}' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/radiusservers/{id}' -Method GET -Headers $headers"
}
]
},
@@ -6967,15 +7413,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/radiusservers/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"name\":\"test radius\",\"networkSourceIp\":\"0.0.0.0\",\"sharedSecret\":\"secretradiuspassword\",\"tagsNames\":[\"tag1\"]}'"
+ "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/radiusservers/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"name\":\"test radius\",\"networkSourceIp\":\"0.0.0.0\",\"sharedSecret\":\"secretradiuspassword\",\"tagsNames\":[\"tag1\"]}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/radiusservers/{id}\"\n\npayload = {\n \"name\": \"test radius\",\n \"networkSourceIp\": \"0.0.0.0\",\n \"sharedSecret\": \"secretradiuspassword\",\n \"tagsNames\": [\"tag1\"]\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/radiusservers/{id}\"\n\npayload = {\n \"name\": \"test radius\",\n \"networkSourceIp\": \"0.0.0.0\",\n \"sharedSecret\": \"secretradiuspassword\",\n \"tagsNames\": [\"tag1\"]\n}\nheaders = {\n \"x-org-id\": \"\",\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/radiusservers/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"test radius\",\"networkSourceIp\":\"0.0.0.0\",\"sharedSecret\":\"secretradiuspassword\",\"tagsNames\":[\"tag1\"]}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/radiusservers/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"test radius\",\"networkSourceIp\":\"0.0.0.0\",\"sharedSecret\":\"secretradiuspassword\",\"tagsNames\":[\"tag1\"]}'"
}
]
},
@@ -7088,15 +7534,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url 'https://console.jumpcloud.com/api/search/commandresults?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
+ "source": "curl --request POST \\\n --url 'https://console.jumpcloud.com/api/search/commandresults?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/search/commandresults\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\npayload = {\n \"fields\": \"string\",\n \"filter\": {},\n \"searchFilter\": {}\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, params=querystring)\n\nprint(response.text)"
+ "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/search/commandresults\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\npayload = {\n \"fields\": \"string\",\n \"filter\": {},\n \"searchFilter\": {}\n}\nheaders = {\n \"x-org-id\": \"\",\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(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/search/commandresults?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/search/commandresults?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
}
]
},
@@ -7134,15 +7580,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url 'https://console.jumpcloud.com/api/search/commands?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
+ "source": "curl --request POST \\\n --url 'https://console.jumpcloud.com/api/search/commands?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/search/commands\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\npayload = {\n \"fields\": \"string\",\n \"filter\": {},\n \"searchFilter\": {}\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, params=querystring)\n\nprint(response.text)"
+ "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/search/commands\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\npayload = {\n \"fields\": \"string\",\n \"filter\": {},\n \"searchFilter\": {}\n}\nheaders = {\n \"x-org-id\": \"\",\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(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/search/commands?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/search/commands?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
}
]
},
@@ -7227,15 +7673,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url 'https://console.jumpcloud.com/api/search/systems?fields=&limit=10&skip=0&filter=SOME_STRING_VALUE' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
+ "source": "curl --request POST \\\n --url 'https://console.jumpcloud.com/api/search/systems?fields=&limit=10&skip=0&filter=SOME_STRING_VALUE' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-eventually-consistent: false' \\\n --header 'x-org-id: ' \\\n --data '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/search/systems\"\n\nquerystring = {\"fields\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"SOME_STRING_VALUE\"}\n\npayload = {\n \"fields\": \"string\",\n \"filter\": {},\n \"searchFilter\": {}\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, params=querystring)\n\nprint(response.text)"
+ "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/search/systems\"\n\nquerystring = {\"fields\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"SOME_STRING_VALUE\"}\n\npayload = {\n \"fields\": \"string\",\n \"filter\": {},\n \"searchFilter\": {}\n}\nheaders = {\n \"x-org-id\": \"\",\n \"x-eventually-consistent\": \"false\",\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(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/search/systems?fields=&limit=10&skip=0&filter=SOME_STRING_VALUE' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-eventually-consistent\", \"false\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/search/systems?fields=&limit=10&skip=0&filter=SOME_STRING_VALUE' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
}
]
},
@@ -7260,7 +7706,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/systemuserslist"
+ "$ref": "#/definitions/systemUsersSearchlist"
}
}
},
@@ -7273,15 +7719,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url 'https://console.jumpcloud.com/api/search/systemusers?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
+ "source": "curl --request POST \\\n --url 'https://console.jumpcloud.com/api/search/systemusers?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-eventually-consistent: false' \\\n --header 'x-org-id: ' \\\n --data '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/search/systemusers\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\npayload = {\n \"fields\": \"string\",\n \"filter\": {},\n \"searchFilter\": {}\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, params=querystring)\n\nprint(response.text)"
+ "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/search/systemusers\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\npayload = {\n \"fields\": \"string\",\n \"filter\": {},\n \"searchFilter\": {}\n}\nheaders = {\n \"x-org-id\": \"\",\n \"x-eventually-consistent\": \"false\",\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(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/search/systemusers?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-eventually-consistent\", \"false\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/search/systemusers?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
}
]
},
@@ -7330,15 +7776,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/systems?fields=&limit=10&search=SOME_STRING_VALUE&skip=0&sort=&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/systems?fields=&limit=10&search=SOME_STRING_VALUE&skip=0&sort=&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systems\"\n\nquerystring = {\"fields\":\"\",\"limit\":\"10\",\"search\":\"SOME_STRING_VALUE\",\"skip\":\"0\",\"sort\":\"\",\"filter\":\"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/systems\"\n\nquerystring = {\"fields\":\"\",\"limit\":\"10\",\"search\":\"SOME_STRING_VALUE\",\"skip\":\"0\",\"sort\":\"\",\"filter\":\"SOME_STRING_VALUE\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systems?fields=&limit=10&search=SOME_STRING_VALUE&skip=0&sort=&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systems?fields=&limit=10&search=SOME_STRING_VALUE&skip=0&sort=&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
}
]
},
@@ -7380,15 +7826,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/systems/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/systems/{id} \\\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: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systems/{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/systems/{id}\"\n\nheaders = {\n \"Date\": \"SOME_STRING_VALUE\",\n \"Authorization\": \"SOME_STRING_VALUE\",\n \"x-org-id\": \"\",\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/systems/{id}' -Method DELETE -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"Date\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Authorization\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systems/{id}' -Method DELETE -Headers $headers"
}
]
},
@@ -7420,15 +7866,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/systems/{id}?fields=&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/systems/{id}?fields=&filter=SOME_STRING_VALUE' \\\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: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systems/{id}\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"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/systems/{id}\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\"}\n\nheaders = {\n \"Date\": \"SOME_STRING_VALUE\",\n \"Authorization\": \"SOME_STRING_VALUE\",\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systems/{id}?fields=&filter=SOME_STRING_VALUE' -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\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systems/{id}?fields=&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
}
]
},
@@ -7469,15 +7915,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/systems/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"agentBoundMessages\":[{\"cmd\":\"string\"}],\"allowMultiFactorAuthentication\":true,\"allowPublicKeyAuthentication\":true,\"allowSshPasswordAuthentication\":true,\"allowSshRootLogin\":true,\"displayName\":\"string\",\"tags\":[\"string\"]}'"
+ "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/systems/{id} \\\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: ' \\\n --data '{\"agentBoundMessages\":[{\"cmd\":\"string\"}],\"allowMultiFactorAuthentication\":true,\"allowPublicKeyAuthentication\":true,\"allowSshPasswordAuthentication\":true,\"allowSshRootLogin\":true,\"displayName\":\"string\",\"tags\":[\"string\"]}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systems/{id}\"\n\npayload = {\n \"agentBoundMessages\": [{\"cmd\": \"string\"}],\n \"allowMultiFactorAuthentication\": True,\n \"allowPublicKeyAuthentication\": True,\n \"allowSshPasswordAuthentication\": True,\n \"allowSshRootLogin\": True,\n \"displayName\": \"string\",\n \"tags\": [\"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/systems/{id}\"\n\npayload = {\n \"agentBoundMessages\": [{\"cmd\": \"string\"}],\n \"allowMultiFactorAuthentication\": True,\n \"allowPublicKeyAuthentication\": True,\n \"allowSshPasswordAuthentication\": True,\n \"allowSshRootLogin\": True,\n \"displayName\": \"string\",\n \"tags\": [\"string\"]\n}\nheaders = {\n \"Date\": \"SOME_STRING_VALUE\",\n \"Authorization\": \"SOME_STRING_VALUE\",\n \"x-org-id\": \"\",\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/systems/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"agentBoundMessages\":[{\"cmd\":\"string\"}],\"allowMultiFactorAuthentication\":true,\"allowPublicKeyAuthentication\":true,\"allowSshPasswordAuthentication\":true,\"allowSshRootLogin\":true,\"displayName\":\"string\",\"tags\":[\"string\"]}'"
+ "source": "$headers=@{}\n$headers.Add(\"Date\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Authorization\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systems/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"agentBoundMessages\":[{\"cmd\":\"string\"}],\"allowMultiFactorAuthentication\":true,\"allowPublicKeyAuthentication\":true,\"allowSshPasswordAuthentication\":true,\"allowSshRootLogin\":true,\"displayName\":\"string\",\"tags\":[\"string\"]}'"
}
]
},
@@ -7512,15 +7958,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/erase \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/erase \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/erase\"\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/systems/{system_id}/command/builtin/erase\"\n\nheaders = {\n \"x-org-id\": \"\",\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/systems/{system_id}/command/builtin/erase' -Method POST -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/erase' -Method POST -Headers $headers"
}
]
},
@@ -7558,15 +8004,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/lock \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/lock \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/lock\"\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/systems/{system_id}/command/builtin/lock\"\n\nheaders = {\n \"x-org-id\": \"\",\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/systems/{system_id}/command/builtin/lock' -Method POST -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/lock' -Method POST -Headers $headers"
}
]
},
@@ -7604,15 +8050,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/restart \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/restart \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/restart\"\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/systems/{system_id}/command/builtin/restart\"\n\nheaders = {\n \"x-org-id\": \"\",\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/systems/{system_id}/command/builtin/restart' -Method POST -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/restart' -Method POST -Headers $headers"
}
]
},
@@ -7649,15 +8095,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/shutdown \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/shutdown \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/shutdown\"\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/systems/{system_id}/command/builtin/shutdown\"\n\nheaders = {\n \"x-org-id\": \"\",\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/systems/{system_id}/command/builtin/shutdown' -Method POST -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/shutdown' -Method POST -Headers $headers"
}
]
},
@@ -7725,15 +8171,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/systemusers?limit=10&skip=0&sort=&fields=&filter=SOME_STRING_VALUE&search=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/systemusers?limit=10&skip=0&sort=&fields=&filter=SOME_STRING_VALUE&search=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\",\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\",\"search\":\"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/systemusers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\",\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\",\"search\":\"SOME_STRING_VALUE\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers?limit=10&skip=0&sort=&fields=&filter=SOME_STRING_VALUE&search=SOME_STRING_VALUE' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers?limit=10&skip=0&sort=&fields=&filter=SOME_STRING_VALUE&search=SOME_STRING_VALUE' -Method GET -Headers $headers"
}
]
},
@@ -7775,15 +8221,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url 'https://console.jumpcloud.com/api/systemusers?fullValidationDetails=SOME_STRING_VALUE' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"account_locked\":true,\"activated\":true,\"addresses\":[{\"country\":\"string\",\"extendedAddress\":\"string\",\"locality\":\"string\",\"poBox\":\"string\",\"postalCode\":\"string\",\"region\":\"string\",\"streetAddress\":\"string\",\"type\":\"string\"}],\"allow_public_key\":true,\"alternateEmail\":\"string\",\"attributes\":[{\"name\":\"string\",\"value\":\"string\"}],\"company\":\"string\",\"costCenter\":\"string\",\"delegatedAuthority\":{\"id\":\"string\",\"name\":\"ActiveDirectory\"},\"department\":\"string\",\"description\":\"string\",\"disableDeviceMaxLoginAttempts\":true,\"displayname\":\"string\",\"email\":\"string\",\"employeeIdentifier\":\"string\",\"employeeType\":\"string\",\"enable_managed_uid\":true,\"enable_user_portal_multifactor\":true,\"external_dn\":\"string\",\"external_password_expiration_date\":\"2019-08-24T14:15:22Z\",\"external_source_type\":\"string\",\"externally_managed\":true,\"firstname\":\"string\",\"jobTitle\":\"string\",\"lastname\":\"string\",\"ldap_binding_user\":true,\"location\":\"string\",\"managedAppleId\":\"string\",\"manager\":\"string\",\"mfa\":{\"configured\":true,\"exclusion\":true,\"exclusionDays\":1,\"exclusionUntil\":\"2019-08-24T14:15:22Z\"},\"middlename\":\"string\",\"password\":\"string\",\"password_never_expires\":true,\"passwordless_sudo\":true,\"phoneNumbers\":[{\"number\":\"string\",\"type\":\"string\"}],\"public_key\":\"string\",\"recoveryEmail\":{\"address\":\"string\"},\"relationships\":[{\"type\":\"string\",\"value\":\"string\"}],\"restrictedFields\":[{\"field\":\"addresses\",\"id\":\"string\",\"type\":\"active_directory\"}],\"samba_service_user\":true,\"state\":\"STAGED\",\"sudo\":true,\"suspended\":true,\"tags\":[\"string\"],\"unix_guid\":1,\"unix_uid\":1,\"username\":\"string\"}'"
+ "source": "curl --request POST \\\n --url 'https://console.jumpcloud.com/api/systemusers?fullValidationDetails=SOME_STRING_VALUE' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"account_locked\":true,\"activated\":true,\"addresses\":[{\"country\":\"string\",\"extendedAddress\":\"string\",\"locality\":\"string\",\"poBox\":\"string\",\"postalCode\":\"string\",\"region\":\"string\",\"streetAddress\":\"string\",\"type\":\"string\"}],\"allow_public_key\":true,\"alternateEmail\":\"string\",\"attributes\":[{\"name\":\"string\",\"value\":\"string\"}],\"company\":\"string\",\"costCenter\":\"string\",\"delegatedAuthority\":{\"id\":\"string\",\"name\":\"ActiveDirectory\"},\"department\":\"string\",\"description\":\"string\",\"disableDeviceMaxLoginAttempts\":true,\"displayname\":\"string\",\"email\":\"string\",\"employeeIdentifier\":\"string\",\"employeeType\":\"string\",\"enable_managed_uid\":true,\"enable_user_portal_multifactor\":true,\"external_dn\":\"string\",\"external_password_expiration_date\":\"2019-08-24T14:15:22Z\",\"external_source_type\":\"string\",\"externally_managed\":true,\"firstname\":\"string\",\"jobTitle\":\"string\",\"lastname\":\"string\",\"ldap_binding_user\":true,\"location\":\"string\",\"managedAppleId\":\"string\",\"manager\":\"string\",\"mfa\":{\"configured\":true,\"exclusion\":true,\"exclusionDays\":1,\"exclusionUntil\":\"2019-08-24T14:15:22Z\"},\"middlename\":\"string\",\"password\":\"string\",\"password_never_expires\":true,\"passwordless_sudo\":true,\"phoneNumbers\":[{\"number\":\"string\",\"type\":\"string\"}],\"public_key\":\"string\",\"recoveryEmail\":{\"address\":\"string\"},\"relationships\":[{\"type\":\"string\",\"value\":\"string\"}],\"restrictedFields\":[{\"field\":\"addresses\",\"id\":\"string\",\"type\":\"active_directory\"}],\"samba_service_user\":true,\"state\":\"STAGED\",\"sudo\":true,\"suspended\":true,\"tags\":[\"string\"],\"unix_guid\":1,\"unix_uid\":1,\"username\":\"string\"}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers\"\n\nquerystring = {\"fullValidationDetails\":\"SOME_STRING_VALUE\"}\n\npayload = {\n \"account_locked\": True,\n \"activated\": True,\n \"addresses\": [\n {\n \"country\": \"string\",\n \"extendedAddress\": \"string\",\n \"locality\": \"string\",\n \"poBox\": \"string\",\n \"postalCode\": \"string\",\n \"region\": \"string\",\n \"streetAddress\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"allow_public_key\": True,\n \"alternateEmail\": \"string\",\n \"attributes\": [\n {\n \"name\": \"string\",\n \"value\": \"string\"\n }\n ],\n \"company\": \"string\",\n \"costCenter\": \"string\",\n \"delegatedAuthority\": {\n \"id\": \"string\",\n \"name\": \"ActiveDirectory\"\n },\n \"department\": \"string\",\n \"description\": \"string\",\n \"disableDeviceMaxLoginAttempts\": True,\n \"displayname\": \"string\",\n \"email\": \"string\",\n \"employeeIdentifier\": \"string\",\n \"employeeType\": \"string\",\n \"enable_managed_uid\": True,\n \"enable_user_portal_multifactor\": True,\n \"external_dn\": \"string\",\n \"external_password_expiration_date\": \"2019-08-24T14:15:22Z\",\n \"external_source_type\": \"string\",\n \"externally_managed\": True,\n \"firstname\": \"string\",\n \"jobTitle\": \"string\",\n \"lastname\": \"string\",\n \"ldap_binding_user\": True,\n \"location\": \"string\",\n \"managedAppleId\": \"string\",\n \"manager\": \"string\",\n \"mfa\": {\n \"configured\": True,\n \"exclusion\": True,\n \"exclusionDays\": 1,\n \"exclusionUntil\": \"2019-08-24T14:15:22Z\"\n },\n \"middlename\": \"string\",\n \"password\": \"string\",\n \"password_never_expires\": True,\n \"passwordless_sudo\": True,\n \"phoneNumbers\": [\n {\n \"number\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"public_key\": \"string\",\n \"recoveryEmail\": {\"address\": \"string\"},\n \"relationships\": [\n {\n \"type\": \"string\",\n \"value\": \"string\"\n }\n ],\n \"restrictedFields\": [\n {\n \"field\": \"addresses\",\n \"id\": \"string\",\n \"type\": \"active_directory\"\n }\n ],\n \"samba_service_user\": True,\n \"state\": \"STAGED\",\n \"sudo\": True,\n \"suspended\": True,\n \"tags\": [\"string\"],\n \"unix_guid\": 1,\n \"unix_uid\": 1,\n \"username\": \"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, params=querystring)\n\nprint(response.text)"
+ "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers\"\n\nquerystring = {\"fullValidationDetails\":\"SOME_STRING_VALUE\"}\n\npayload = {\n \"account_locked\": True,\n \"activated\": True,\n \"addresses\": [\n {\n \"country\": \"string\",\n \"extendedAddress\": \"string\",\n \"locality\": \"string\",\n \"poBox\": \"string\",\n \"postalCode\": \"string\",\n \"region\": \"string\",\n \"streetAddress\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"allow_public_key\": True,\n \"alternateEmail\": \"string\",\n \"attributes\": [\n {\n \"name\": \"string\",\n \"value\": \"string\"\n }\n ],\n \"company\": \"string\",\n \"costCenter\": \"string\",\n \"delegatedAuthority\": {\n \"id\": \"string\",\n \"name\": \"ActiveDirectory\"\n },\n \"department\": \"string\",\n \"description\": \"string\",\n \"disableDeviceMaxLoginAttempts\": True,\n \"displayname\": \"string\",\n \"email\": \"string\",\n \"employeeIdentifier\": \"string\",\n \"employeeType\": \"string\",\n \"enable_managed_uid\": True,\n \"enable_user_portal_multifactor\": True,\n \"external_dn\": \"string\",\n \"external_password_expiration_date\": \"2019-08-24T14:15:22Z\",\n \"external_source_type\": \"string\",\n \"externally_managed\": True,\n \"firstname\": \"string\",\n \"jobTitle\": \"string\",\n \"lastname\": \"string\",\n \"ldap_binding_user\": True,\n \"location\": \"string\",\n \"managedAppleId\": \"string\",\n \"manager\": \"string\",\n \"mfa\": {\n \"configured\": True,\n \"exclusion\": True,\n \"exclusionDays\": 1,\n \"exclusionUntil\": \"2019-08-24T14:15:22Z\"\n },\n \"middlename\": \"string\",\n \"password\": \"string\",\n \"password_never_expires\": True,\n \"passwordless_sudo\": True,\n \"phoneNumbers\": [\n {\n \"number\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"public_key\": \"string\",\n \"recoveryEmail\": {\"address\": \"string\"},\n \"relationships\": [\n {\n \"type\": \"string\",\n \"value\": \"string\"\n }\n ],\n \"restrictedFields\": [\n {\n \"field\": \"addresses\",\n \"id\": \"string\",\n \"type\": \"active_directory\"\n }\n ],\n \"samba_service_user\": True,\n \"state\": \"STAGED\",\n \"sudo\": True,\n \"suspended\": True,\n \"tags\": [\"string\"],\n \"unix_guid\": 1,\n \"unix_uid\": 1,\n \"username\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"\",\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(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers?fullValidationDetails=SOME_STRING_VALUE' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"account_locked\":true,\"activated\":true,\"addresses\":[{\"country\":\"string\",\"extendedAddress\":\"string\",\"locality\":\"string\",\"poBox\":\"string\",\"postalCode\":\"string\",\"region\":\"string\",\"streetAddress\":\"string\",\"type\":\"string\"}],\"allow_public_key\":true,\"alternateEmail\":\"string\",\"attributes\":[{\"name\":\"string\",\"value\":\"string\"}],\"company\":\"string\",\"costCenter\":\"string\",\"delegatedAuthority\":{\"id\":\"string\",\"name\":\"ActiveDirectory\"},\"department\":\"string\",\"description\":\"string\",\"disableDeviceMaxLoginAttempts\":true,\"displayname\":\"string\",\"email\":\"string\",\"employeeIdentifier\":\"string\",\"employeeType\":\"string\",\"enable_managed_uid\":true,\"enable_user_portal_multifactor\":true,\"external_dn\":\"string\",\"external_password_expiration_date\":\"2019-08-24T14:15:22Z\",\"external_source_type\":\"string\",\"externally_managed\":true,\"firstname\":\"string\",\"jobTitle\":\"string\",\"lastname\":\"string\",\"ldap_binding_user\":true,\"location\":\"string\",\"managedAppleId\":\"string\",\"manager\":\"string\",\"mfa\":{\"configured\":true,\"exclusion\":true,\"exclusionDays\":1,\"exclusionUntil\":\"2019-08-24T14:15:22Z\"},\"middlename\":\"string\",\"password\":\"string\",\"password_never_expires\":true,\"passwordless_sudo\":true,\"phoneNumbers\":[{\"number\":\"string\",\"type\":\"string\"}],\"public_key\":\"string\",\"recoveryEmail\":{\"address\":\"string\"},\"relationships\":[{\"type\":\"string\",\"value\":\"string\"}],\"restrictedFields\":[{\"field\":\"addresses\",\"id\":\"string\",\"type\":\"active_directory\"}],\"samba_service_user\":true,\"state\":\"STAGED\",\"sudo\":true,\"suspended\":true,\"tags\":[\"string\"],\"unix_guid\":1,\"unix_uid\":1,\"username\":\"string\"}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers?fullValidationDetails=SOME_STRING_VALUE' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"account_locked\":true,\"activated\":true,\"addresses\":[{\"country\":\"string\",\"extendedAddress\":\"string\",\"locality\":\"string\",\"poBox\":\"string\",\"postalCode\":\"string\",\"region\":\"string\",\"streetAddress\":\"string\",\"type\":\"string\"}],\"allow_public_key\":true,\"alternateEmail\":\"string\",\"attributes\":[{\"name\":\"string\",\"value\":\"string\"}],\"company\":\"string\",\"costCenter\":\"string\",\"delegatedAuthority\":{\"id\":\"string\",\"name\":\"ActiveDirectory\"},\"department\":\"string\",\"description\":\"string\",\"disableDeviceMaxLoginAttempts\":true,\"displayname\":\"string\",\"email\":\"string\",\"employeeIdentifier\":\"string\",\"employeeType\":\"string\",\"enable_managed_uid\":true,\"enable_user_portal_multifactor\":true,\"external_dn\":\"string\",\"external_password_expiration_date\":\"2019-08-24T14:15:22Z\",\"external_source_type\":\"string\",\"externally_managed\":true,\"firstname\":\"string\",\"jobTitle\":\"string\",\"lastname\":\"string\",\"ldap_binding_user\":true,\"location\":\"string\",\"managedAppleId\":\"string\",\"manager\":\"string\",\"mfa\":{\"configured\":true,\"exclusion\":true,\"exclusionDays\":1,\"exclusionUntil\":\"2019-08-24T14:15:22Z\"},\"middlename\":\"string\",\"password\":\"string\",\"password_never_expires\":true,\"passwordless_sudo\":true,\"phoneNumbers\":[{\"number\":\"string\",\"type\":\"string\"}],\"public_key\":\"string\",\"recoveryEmail\":{\"address\":\"string\"},\"relationships\":[{\"type\":\"string\",\"value\":\"string\"}],\"restrictedFields\":[{\"field\":\"addresses\",\"id\":\"string\",\"type\":\"active_directory\"}],\"samba_service_user\":true,\"state\":\"STAGED\",\"sudo\":true,\"suspended\":true,\"tags\":[\"string\"],\"unix_guid\":1,\"unix_uid\":1,\"username\":\"string\"}'"
}
]
},
@@ -7826,15 +8272,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request DELETE \\\n --url 'https://console.jumpcloud.com/api/systemusers/{id}?cascade_manager=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request DELETE \\\n --url 'https://console.jumpcloud.com/api/systemusers/{id}?cascade_manager=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers/{id}\"\n\nquerystring = {\"cascade_manager\":\"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)"
+ "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers/{id}\"\n\nquerystring = {\"cascade_manager\":\"SOME_STRING_VALUE\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers/{id}?cascade_manager=SOME_STRING_VALUE' -Method DELETE -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers/{id}?cascade_manager=SOME_STRING_VALUE' -Method DELETE -Headers $headers"
}
]
},
@@ -7869,15 +8315,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/systemusers/{id}?fields=&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/systemusers/{id}?fields=&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers/{id}\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"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/systemusers/{id}\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers/{id}?fields=&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers/{id}?fields=&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
}
]
},
@@ -7926,15 +8372,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request PUT \\\n --url 'https://console.jumpcloud.com/api/systemusers/{id}?fullValidationDetails=SOME_STRING_VALUE' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"account_locked\":true,\"addresses\":[{\"country\":\"string\",\"extendedAddress\":\"string\",\"locality\":\"string\",\"poBox\":\"string\",\"postalCode\":\"string\",\"region\":\"string\",\"streetAddress\":\"string\",\"type\":\"string\"}],\"allow_public_key\":true,\"alternateEmail\":\"string\",\"attributes\":[{\"name\":\"string\",\"value\":\"string\"}],\"company\":\"string\",\"costCenter\":\"string\",\"delegatedAuthority\":{\"id\":\"string\",\"name\":\"ActiveDirectory\"},\"department\":\"string\",\"description\":\"string\",\"disableDeviceMaxLoginAttempts\":true,\"displayname\":\"string\",\"email\":\"string\",\"employeeIdentifier\":\"string\",\"employeeType\":\"string\",\"enable_managed_uid\":true,\"enable_user_portal_multifactor\":true,\"external_dn\":\"string\",\"external_password_expiration_date\":\"string\",\"external_source_type\":\"string\",\"externally_managed\":true,\"firstname\":\"string\",\"jobTitle\":\"string\",\"lastname\":\"string\",\"ldap_binding_user\":true,\"location\":\"string\",\"managedAppleId\":\"string\",\"manager\":\"string\",\"mfa\":{\"configured\":true,\"exclusion\":true,\"exclusionDays\":1,\"exclusionUntil\":\"2019-08-24T14:15:22Z\"},\"middlename\":\"string\",\"password\":\"string\",\"password_never_expires\":true,\"phoneNumbers\":[{\"number\":\"string\",\"type\":\"string\"}],\"public_key\":\"string\",\"relationships\":[{\"type\":\"string\",\"value\":\"string\"}],\"restrictedFields\":[{\"field\":\"addresses\",\"id\":\"string\",\"type\":\"active_directory\"}],\"samba_service_user\":true,\"ssh_keys\":[{\"name\":\"string\",\"public_key\":\"string\"}],\"state\":\"ACTIVATED\",\"sudo\":true,\"suspended\":true,\"tags\":[\"string\"],\"unix_guid\":1,\"unix_uid\":1,\"username\":\"string\"}'"
+ "source": "curl --request PUT \\\n --url 'https://console.jumpcloud.com/api/systemusers/{id}?fullValidationDetails=SOME_STRING_VALUE' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"account_locked\":true,\"addresses\":[{\"country\":\"string\",\"extendedAddress\":\"string\",\"locality\":\"string\",\"poBox\":\"string\",\"postalCode\":\"string\",\"region\":\"string\",\"streetAddress\":\"string\",\"type\":\"string\"}],\"allow_public_key\":true,\"alternateEmail\":\"string\",\"attributes\":[{\"name\":\"string\",\"value\":\"string\"}],\"company\":\"string\",\"costCenter\":\"string\",\"delegatedAuthority\":{\"id\":\"string\",\"name\":\"ActiveDirectory\"},\"department\":\"string\",\"description\":\"string\",\"disableDeviceMaxLoginAttempts\":true,\"displayname\":\"string\",\"email\":\"string\",\"employeeIdentifier\":\"string\",\"employeeType\":\"string\",\"enable_managed_uid\":true,\"enable_user_portal_multifactor\":true,\"external_dn\":\"string\",\"external_password_expiration_date\":\"string\",\"external_source_type\":\"string\",\"externally_managed\":true,\"firstname\":\"string\",\"jobTitle\":\"string\",\"lastname\":\"string\",\"ldap_binding_user\":true,\"location\":\"string\",\"managedAppleId\":\"string\",\"manager\":\"string\",\"mfa\":{\"configured\":true,\"exclusion\":true,\"exclusionDays\":1,\"exclusionUntil\":\"2019-08-24T14:15:22Z\"},\"middlename\":\"string\",\"password\":\"string\",\"password_never_expires\":true,\"phoneNumbers\":[{\"number\":\"string\",\"type\":\"string\"}],\"public_key\":\"string\",\"relationships\":[{\"type\":\"string\",\"value\":\"string\"}],\"restrictedFields\":[{\"field\":\"addresses\",\"id\":\"string\",\"type\":\"active_directory\"}],\"samba_service_user\":true,\"ssh_keys\":[{\"name\":\"string\",\"public_key\":\"string\"}],\"state\":\"ACTIVATED\",\"sudo\":true,\"suspended\":true,\"tags\":[\"string\"],\"unix_guid\":1,\"unix_uid\":1,\"username\":\"string\"}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers/{id}\"\n\nquerystring = {\"fullValidationDetails\":\"SOME_STRING_VALUE\"}\n\npayload = {\n \"account_locked\": True,\n \"addresses\": [\n {\n \"country\": \"string\",\n \"extendedAddress\": \"string\",\n \"locality\": \"string\",\n \"poBox\": \"string\",\n \"postalCode\": \"string\",\n \"region\": \"string\",\n \"streetAddress\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"allow_public_key\": True,\n \"alternateEmail\": \"string\",\n \"attributes\": [\n {\n \"name\": \"string\",\n \"value\": \"string\"\n }\n ],\n \"company\": \"string\",\n \"costCenter\": \"string\",\n \"delegatedAuthority\": {\n \"id\": \"string\",\n \"name\": \"ActiveDirectory\"\n },\n \"department\": \"string\",\n \"description\": \"string\",\n \"disableDeviceMaxLoginAttempts\": True,\n \"displayname\": \"string\",\n \"email\": \"string\",\n \"employeeIdentifier\": \"string\",\n \"employeeType\": \"string\",\n \"enable_managed_uid\": True,\n \"enable_user_portal_multifactor\": True,\n \"external_dn\": \"string\",\n \"external_password_expiration_date\": \"string\",\n \"external_source_type\": \"string\",\n \"externally_managed\": True,\n \"firstname\": \"string\",\n \"jobTitle\": \"string\",\n \"lastname\": \"string\",\n \"ldap_binding_user\": True,\n \"location\": \"string\",\n \"managedAppleId\": \"string\",\n \"manager\": \"string\",\n \"mfa\": {\n \"configured\": True,\n \"exclusion\": True,\n \"exclusionDays\": 1,\n \"exclusionUntil\": \"2019-08-24T14:15:22Z\"\n },\n \"middlename\": \"string\",\n \"password\": \"string\",\n \"password_never_expires\": True,\n \"phoneNumbers\": [\n {\n \"number\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"public_key\": \"string\",\n \"relationships\": [\n {\n \"type\": \"string\",\n \"value\": \"string\"\n }\n ],\n \"restrictedFields\": [\n {\n \"field\": \"addresses\",\n \"id\": \"string\",\n \"type\": \"active_directory\"\n }\n ],\n \"samba_service_user\": True,\n \"ssh_keys\": [\n {\n \"name\": \"string\",\n \"public_key\": \"string\"\n }\n ],\n \"state\": \"ACTIVATED\",\n \"sudo\": True,\n \"suspended\": True,\n \"tags\": [\"string\"],\n \"unix_guid\": 1,\n \"unix_uid\": 1,\n \"username\": \"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, params=querystring)\n\nprint(response.text)"
+ "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers/{id}\"\n\nquerystring = {\"fullValidationDetails\":\"SOME_STRING_VALUE\"}\n\npayload = {\n \"account_locked\": True,\n \"addresses\": [\n {\n \"country\": \"string\",\n \"extendedAddress\": \"string\",\n \"locality\": \"string\",\n \"poBox\": \"string\",\n \"postalCode\": \"string\",\n \"region\": \"string\",\n \"streetAddress\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"allow_public_key\": True,\n \"alternateEmail\": \"string\",\n \"attributes\": [\n {\n \"name\": \"string\",\n \"value\": \"string\"\n }\n ],\n \"company\": \"string\",\n \"costCenter\": \"string\",\n \"delegatedAuthority\": {\n \"id\": \"string\",\n \"name\": \"ActiveDirectory\"\n },\n \"department\": \"string\",\n \"description\": \"string\",\n \"disableDeviceMaxLoginAttempts\": True,\n \"displayname\": \"string\",\n \"email\": \"string\",\n \"employeeIdentifier\": \"string\",\n \"employeeType\": \"string\",\n \"enable_managed_uid\": True,\n \"enable_user_portal_multifactor\": True,\n \"external_dn\": \"string\",\n \"external_password_expiration_date\": \"string\",\n \"external_source_type\": \"string\",\n \"externally_managed\": True,\n \"firstname\": \"string\",\n \"jobTitle\": \"string\",\n \"lastname\": \"string\",\n \"ldap_binding_user\": True,\n \"location\": \"string\",\n \"managedAppleId\": \"string\",\n \"manager\": \"string\",\n \"mfa\": {\n \"configured\": True,\n \"exclusion\": True,\n \"exclusionDays\": 1,\n \"exclusionUntil\": \"2019-08-24T14:15:22Z\"\n },\n \"middlename\": \"string\",\n \"password\": \"string\",\n \"password_never_expires\": True,\n \"phoneNumbers\": [\n {\n \"number\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"public_key\": \"string\",\n \"relationships\": [\n {\n \"type\": \"string\",\n \"value\": \"string\"\n }\n ],\n \"restrictedFields\": [\n {\n \"field\": \"addresses\",\n \"id\": \"string\",\n \"type\": \"active_directory\"\n }\n ],\n \"samba_service_user\": True,\n \"ssh_keys\": [\n {\n \"name\": \"string\",\n \"public_key\": \"string\"\n }\n ],\n \"state\": \"ACTIVATED\",\n \"sudo\": True,\n \"suspended\": True,\n \"tags\": [\"string\"],\n \"unix_guid\": 1,\n \"unix_uid\": 1,\n \"username\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", 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/systemusers/{id}?fullValidationDetails=SOME_STRING_VALUE' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"account_locked\":true,\"addresses\":[{\"country\":\"string\",\"extendedAddress\":\"string\",\"locality\":\"string\",\"poBox\":\"string\",\"postalCode\":\"string\",\"region\":\"string\",\"streetAddress\":\"string\",\"type\":\"string\"}],\"allow_public_key\":true,\"alternateEmail\":\"string\",\"attributes\":[{\"name\":\"string\",\"value\":\"string\"}],\"company\":\"string\",\"costCenter\":\"string\",\"delegatedAuthority\":{\"id\":\"string\",\"name\":\"ActiveDirectory\"},\"department\":\"string\",\"description\":\"string\",\"disableDeviceMaxLoginAttempts\":true,\"displayname\":\"string\",\"email\":\"string\",\"employeeIdentifier\":\"string\",\"employeeType\":\"string\",\"enable_managed_uid\":true,\"enable_user_portal_multifactor\":true,\"external_dn\":\"string\",\"external_password_expiration_date\":\"string\",\"external_source_type\":\"string\",\"externally_managed\":true,\"firstname\":\"string\",\"jobTitle\":\"string\",\"lastname\":\"string\",\"ldap_binding_user\":true,\"location\":\"string\",\"managedAppleId\":\"string\",\"manager\":\"string\",\"mfa\":{\"configured\":true,\"exclusion\":true,\"exclusionDays\":1,\"exclusionUntil\":\"2019-08-24T14:15:22Z\"},\"middlename\":\"string\",\"password\":\"string\",\"password_never_expires\":true,\"phoneNumbers\":[{\"number\":\"string\",\"type\":\"string\"}],\"public_key\":\"string\",\"relationships\":[{\"type\":\"string\",\"value\":\"string\"}],\"restrictedFields\":[{\"field\":\"addresses\",\"id\":\"string\",\"type\":\"active_directory\"}],\"samba_service_user\":true,\"ssh_keys\":[{\"name\":\"string\",\"public_key\":\"string\"}],\"state\":\"ACTIVATED\",\"sudo\":true,\"suspended\":true,\"tags\":[\"string\"],\"unix_guid\":1,\"unix_uid\":1,\"username\":\"string\"}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers/{id}?fullValidationDetails=SOME_STRING_VALUE' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"account_locked\":true,\"addresses\":[{\"country\":\"string\",\"extendedAddress\":\"string\",\"locality\":\"string\",\"poBox\":\"string\",\"postalCode\":\"string\",\"region\":\"string\",\"streetAddress\":\"string\",\"type\":\"string\"}],\"allow_public_key\":true,\"alternateEmail\":\"string\",\"attributes\":[{\"name\":\"string\",\"value\":\"string\"}],\"company\":\"string\",\"costCenter\":\"string\",\"delegatedAuthority\":{\"id\":\"string\",\"name\":\"ActiveDirectory\"},\"department\":\"string\",\"description\":\"string\",\"disableDeviceMaxLoginAttempts\":true,\"displayname\":\"string\",\"email\":\"string\",\"employeeIdentifier\":\"string\",\"employeeType\":\"string\",\"enable_managed_uid\":true,\"enable_user_portal_multifactor\":true,\"external_dn\":\"string\",\"external_password_expiration_date\":\"string\",\"external_source_type\":\"string\",\"externally_managed\":true,\"firstname\":\"string\",\"jobTitle\":\"string\",\"lastname\":\"string\",\"ldap_binding_user\":true,\"location\":\"string\",\"managedAppleId\":\"string\",\"manager\":\"string\",\"mfa\":{\"configured\":true,\"exclusion\":true,\"exclusionDays\":1,\"exclusionUntil\":\"2019-08-24T14:15:22Z\"},\"middlename\":\"string\",\"password\":\"string\",\"password_never_expires\":true,\"phoneNumbers\":[{\"number\":\"string\",\"type\":\"string\"}],\"public_key\":\"string\",\"relationships\":[{\"type\":\"string\",\"value\":\"string\"}],\"restrictedFields\":[{\"field\":\"addresses\",\"id\":\"string\",\"type\":\"active_directory\"}],\"samba_service_user\":true,\"ssh_keys\":[{\"name\":\"string\",\"public_key\":\"string\"}],\"state\":\"ACTIVATED\",\"sudo\":true,\"suspended\":true,\"tags\":[\"string\"],\"unix_guid\":1,\"unix_uid\":1,\"username\":\"string\"}'"
}
]
},
@@ -7969,15 +8415,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systemusers/{id}/expire \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systemusers/{id}/expire \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers/{id}/expire\"\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/systemusers/{id}/expire\"\n\nheaders = {\n \"x-org-id\": \"\",\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/systemusers/{id}/expire' -Method POST -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers/{id}/expire' -Method POST -Headers $headers"
}
]
},
@@ -8120,15 +8566,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systemusers/{id}/resetmfa \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"exclusion\":true,\"exclusionDays\":1,\"exclusionUntil\":\"2019-08-24T14:15:22Z\"}'"
+ "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systemusers/{id}/resetmfa \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"exclusion\":true,\"exclusionDays\":1,\"exclusionUntil\":\"2019-08-24T14:15:22Z\"}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers/{id}/resetmfa\"\n\npayload = {\n \"exclusion\": True,\n \"exclusionDays\": 1,\n \"exclusionUntil\": \"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/systemusers/{id}/resetmfa\"\n\npayload = {\n \"exclusion\": True,\n \"exclusionDays\": 1,\n \"exclusionUntil\": \"2019-08-24T14:15:22Z\"\n}\nheaders = {\n \"x-org-id\": \"\",\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/systemusers/{id}/resetmfa' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"exclusion\":true,\"exclusionDays\":1,\"exclusionUntil\":\"2019-08-24T14:15:22Z\"}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers/{id}/resetmfa' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"exclusion\":true,\"exclusionDays\":1,\"exclusionUntil\":\"2019-08-24T14:15:22Z\"}'"
}
]
},
@@ -8161,15 +8607,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/systemusers/{id}/sshkeys \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/systemusers/{id}/sshkeys \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers/{id}/sshkeys\"\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/systemusers/{id}/sshkeys\"\n\nheaders = {\n \"x-org-id\": \"\",\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/systemusers/{id}/sshkeys' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers/{id}/sshkeys' -Method GET -Headers $headers"
}
]
},
@@ -8210,15 +8656,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systemusers/{id}/sshkeys \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"name\":\"string\",\"public_key\":\"string\"}'"
+ "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systemusers/{id}/sshkeys \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"name\":\"string\",\"public_key\":\"string\"}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers/{id}/sshkeys\"\n\npayload = {\n \"name\": \"string\",\n \"public_key\": \"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/systemusers/{id}/sshkeys\"\n\npayload = {\n \"name\": \"string\",\n \"public_key\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"\",\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/systemusers/{id}/sshkeys' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\",\"public_key\":\"string\"}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers/{id}/sshkeys' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\",\"public_key\":\"string\"}'"
}
]
},
@@ -8304,15 +8750,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/systemusers/{id}/totpinfo \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/systemusers/{id}/totpinfo \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers/{id}/totpinfo\"\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/systemusers/{id}/totpinfo\"\n\nheaders = {\n \"x-org-id\": \"\",\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/systemusers/{id}/totpinfo' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers/{id}/totpinfo' -Method GET -Headers $headers"
}
]
},
@@ -8355,15 +8801,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systemusers/{id}/unlock \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systemusers/{id}/unlock \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers/{id}/unlock\"\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/systemusers/{id}/unlock\"\n\nheaders = {\n \"x-org-id\": \"\",\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/systemusers/{id}/unlock' -Method POST -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers/{id}/unlock' -Method POST -Headers $headers"
}
]
},
@@ -8390,15 +8836,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/systemusers/{systemuser_id}/sshkeys/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/systemusers/{systemuser_id}/sshkeys/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers/{systemuser_id}/sshkeys/{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/systemusers/{systemuser_id}/sshkeys/{id}\"\n\nheaders = {\n \"x-org-id\": \"\",\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/systemusers/{systemuser_id}/sshkeys/{id}' -Method DELETE -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers/{systemuser_id}/sshkeys/{id}' -Method DELETE -Headers $headers"
}
]
},
@@ -8629,15 +9075,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/users/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"apiKeyAllowed\":true,\"email\":\"user@example.com\",\"enableMultiFactor\":true,\"firstname\":\"string\",\"growthData\":{},\"lastWhatsNewChecked\":\"2019-08-24\",\"lastname\":\"string\",\"roleName\":\"string\"}'"
+ "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/users/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"apiKeyAllowed\":true,\"email\":\"user@example.com\",\"enableMultiFactor\":true,\"firstname\":\"string\",\"growthData\":{},\"lastWhatsNewChecked\":\"2019-08-24\",\"lastname\":\"string\",\"roleName\":\"string\",\"roleNames\":[\"string\"]}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/users/{id}\"\n\npayload = {\n \"apiKeyAllowed\": True,\n \"email\": \"user@example.com\",\n \"enableMultiFactor\": True,\n \"firstname\": \"string\",\n \"growthData\": {},\n \"lastWhatsNewChecked\": \"2019-08-24\",\n \"lastname\": \"string\",\n \"roleName\": \"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/users/{id}\"\n\npayload = {\n \"apiKeyAllowed\": True,\n \"email\": \"user@example.com\",\n \"enableMultiFactor\": True,\n \"firstname\": \"string\",\n \"growthData\": {},\n \"lastWhatsNewChecked\": \"2019-08-24\",\n \"lastname\": \"string\",\n \"roleName\": \"string\",\n \"roleNames\": [\"string\"]\n}\nheaders = {\n \"x-org-id\": \"\",\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/users/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"apiKeyAllowed\":true,\"email\":\"user@example.com\",\"enableMultiFactor\":true,\"firstname\":\"string\",\"growthData\":{},\"lastWhatsNewChecked\":\"2019-08-24\",\"lastname\":\"string\",\"roleName\":\"string\"}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/users/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"apiKeyAllowed\":true,\"email\":\"user@example.com\",\"enableMultiFactor\":true,\"firstname\":\"string\",\"growthData\":{},\"lastWhatsNewChecked\":\"2019-08-24\",\"lastname\":\"string\",\"roleName\":\"string\",\"roleNames\":[\"string\"]}'"
}
]
}
diff --git a/SDKs/PowerShell/JumpCloud.SDK.V1/custom/Module.cs b/SDKs/PowerShell/JumpCloud.SDK.V1/custom/Module.cs
index 71f8afe50..85494893d 100644
--- a/SDKs/PowerShell/JumpCloud.SDK.V1/custom/Module.cs
+++ b/SDKs/PowerShell/JumpCloud.SDK.V1/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.V1/0.1.2")
+ if (request.Headers.UserAgent.ToString() != "JumpCloud_JumpCloud.PowerShell.SDK.V1/0.1.3")
{
request.Headers.UserAgent.Clear();
- request.Headers.UserAgent.ParseAdd("JumpCloud_JumpCloud.PowerShell.SDK.V1/0.1.2");
+ request.Headers.UserAgent.ParseAdd("JumpCloud_JumpCloud.PowerShell.SDK.V1/0.1.3");
}
// // request.Headers.Add("Content-Type", "application/json");
System.Net.Http.HttpResponseMessage response = await next.SendAsync(request, callback);
diff --git a/SDKs/PowerShell/JumpCloud.SDK.V1/custom/generated/New-JcSdkCommand.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V1/custom/generated/New-JcSdkCommand.ps1
index facbd0ae7..943281895 100644
--- a/SDKs/PowerShell/JumpCloud.SDK.V1/custom/generated/New-JcSdkCommand.ps1
+++ b/SDKs/PowerShell/JumpCloud.SDK.V1/custom/generated/New-JcSdkCommand.ps1
@@ -111,6 +111,7 @@ BODY :
[Shell ]: The shell used to run the command.
[Sudo ]:
[Template ]: The template this command was created from
+ [TemplatingRequired ]: Whether this command requires templating before execution.
[TimeToLiveSeconds ]: Time in seconds a command can wait in the queue to be run before timing out
[Timeout ]: The time in seconds to allow the command to run for. The maximum value is 86400 seconds (1 day).
[Trigger ]: The name of the command trigger.
@@ -248,6 +249,12 @@ https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/Jum
# The template this command was created from
${Template},
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [JumpCloud.SDK.V1.Category('Body')]
+ [System.Management.Automation.SwitchParameter]
+ # Whether this command requires templating before execution.
+ ${TemplatingRequired},
+
[Parameter(ParameterSetName='CreateExpanded')]
[JumpCloud.SDK.V1.Category('Body')]
[System.Int32]
diff --git a/SDKs/PowerShell/JumpCloud.SDK.V1/custom/generated/Search-JcSdkUser.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V1/custom/generated/Search-JcSdkUser.ps1
index 92d8becad..d489a8e60 100644
--- a/SDKs/PowerShell/JumpCloud.SDK.V1/custom/generated/Search-JcSdkUser.ps1
+++ b/SDKs/PowerShell/JumpCloud.SDK.V1/custom/generated/Search-JcSdkUser.ps1
@@ -183,7 +183,7 @@ TotalCount Int
.Inputs
JumpCloud.SDK.V1.Models.ISearch
.Outputs
-JumpCloud.SDK.V1.Models.ISystemuserslist
+JumpCloud.SDK.V1.Models.ISystemUsersSearchlist
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -202,7 +202,7 @@ https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/Jum
#>
Function Search-JcSdkUser
{
- [OutputType([JumpCloud.SDK.V1.Models.ISystemuserslist])]
+ [OutputType([JumpCloud.SDK.V1.Models.ISystemUsersSearchlist])]
[CmdletBinding(DefaultParameterSetName='SearchExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
Param(
[Parameter(Mandatory)]
diff --git a/SDKs/PowerShell/JumpCloud.SDK.V1/custom/generated/Set-JcSdkAdministratorUser.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V1/custom/generated/Set-JcSdkAdministratorUser.ps1
index 65b9aea01..c7b7c4c33 100644
--- a/SDKs/PowerShell/JumpCloud.SDK.V1/custom/generated/Set-JcSdkAdministratorUser.ps1
+++ b/SDKs/PowerShell/JumpCloud.SDK.V1/custom/generated/Set-JcSdkAdministratorUser.ps1
@@ -87,6 +87,7 @@ BODY :
[LastWhatsNewChecked ]:
[Lastname ]:
[RoleName ]:
+ [RoleNames >]:
INPUTOBJECT :
[Id ]:
@@ -186,6 +187,14 @@ https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/Jum
# .
${RoleName},
+ [Parameter(ParameterSetName='SetExpanded')]
+ [Parameter(ParameterSetName='SetViaIdentityExpanded')]
+ [AllowEmptyCollection()]
+ [JumpCloud.SDK.V1.Category('Body')]
+ [System.String[]]
+ # .
+ ${RoleNames},
+
[Parameter(DontShow)]
[JumpCloud.SDK.V1.Category('Runtime')]
[System.Management.Automation.SwitchParameter]
diff --git a/SDKs/PowerShell/JumpCloud.SDK.V1/custom/generated/Set-JcSdkCommand.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V1/custom/generated/Set-JcSdkCommand.ps1
index 5e23ebc64..cf84e85b8 100644
--- a/SDKs/PowerShell/JumpCloud.SDK.V1/custom/generated/Set-JcSdkCommand.ps1
+++ b/SDKs/PowerShell/JumpCloud.SDK.V1/custom/generated/Set-JcSdkCommand.ps1
@@ -121,6 +121,7 @@ BODY :
[Shell ]: The shell used to run the command.
[Sudo ]:
[Template ]: The template this command was created from
+ [TemplatingRequired ]: Whether this command requires templating before execution.
[TimeToLiveSeconds ]: Time in seconds a command can wait in the queue to be run before timing out
[Timeout ]: The time in seconds to allow the command to run for. The maximum value is 86400 seconds (1 day).
[Trigger ]: The name of the command trigger.
@@ -296,6 +297,13 @@ https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/Jum
# The template this command was created from
${Template},
+ [Parameter(ParameterSetName='SetExpanded')]
+ [Parameter(ParameterSetName='SetViaIdentityExpanded')]
+ [JumpCloud.SDK.V1.Category('Body')]
+ [System.Management.Automation.SwitchParameter]
+ # Whether this command requires templating before execution.
+ ${TemplatingRequired},
+
[Parameter(ParameterSetName='SetExpanded')]
[Parameter(ParameterSetName='SetViaIdentityExpanded')]
[JumpCloud.SDK.V1.Category('Body')]
diff --git a/SDKs/PowerShell/JumpCloud.SDK.V1/custom/generated/Set-JcSdkOrganization.ps1 b/SDKs/PowerShell/JumpCloud.SDK.V1/custom/generated/Set-JcSdkOrganization.ps1
index 39aaaf244..02c9c59fd 100644
--- a/SDKs/PowerShell/JumpCloud.SDK.V1/custom/generated/Set-JcSdkOrganization.ps1
+++ b/SDKs/PowerShell/JumpCloud.SDK.V1/custom/generated/Set-JcSdkOrganization.ps1
@@ -150,6 +150,7 @@ BODY :
[DaysBeforeExpirationToForceReset ]:
[DisallowCommonlyUsedPasswords ]:
[DisallowSequentialOrRepetitiveChars ]:
+ [DisplayComplexityOnResetScreen ]:
[EffectiveDate ]:
[EnableDaysAfterExpirationToSelfRecover ]:
[EnableDaysBeforeExpirationToForceReset ]:
@@ -226,6 +227,7 @@ SETTINGS :
[DaysBeforeExpirationToForceReset ]:
[DisallowCommonlyUsedPasswords ]:
[DisallowSequentialOrRepetitiveChars ]:
+ [DisplayComplexityOnResetScreen ]:
[EffectiveDate ]:
[EnableDaysAfterExpirationToSelfRecover ]:
[EnableDaysBeforeExpirationToForceReset ]:
diff --git a/SDKs/PowerShell/JumpCloud.SDK.V1/docs/exports/New-JcSdkCommand.md b/SDKs/PowerShell/JumpCloud.SDK.V1/docs/exports/New-JcSdkCommand.md
index 26cabe278..c40f1b133 100644
--- a/SDKs/PowerShell/JumpCloud.SDK.V1/docs/exports/New-JcSdkCommand.md
+++ b/SDKs/PowerShell/JumpCloud.SDK.V1/docs/exports/New-JcSdkCommand.md
@@ -30,8 +30,8 @@ New-JcSdkCommand -ConsoleHost [-AiGenerated] [-Command ] [-Comm
[-CommandType ] [-Description ] [-Files ] [-FilesS3 ]
[-LaunchType ] [-ListensTo ] [-Name ] [-Organization ] [-Schedule ]
[-ScheduleRepeatType ] [-ScheduleYear ] [-Shell ] [-Sudo] [-Template ]
- [-Timeout ] [-TimeToLiveSeconds ] [-Trigger ] [-User ] [-Confirm] [-WhatIf]
- []
+ [-TemplatingRequired] [-Timeout ] [-TimeToLiveSeconds ] [-Trigger ] [-User ]
+ [-Confirm] [-WhatIf] []
```
### Create
@@ -395,6 +395,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -TemplatingRequired
+Whether this command requires templating before execution.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: CreateExpanded
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -Timeout
The time in seconds to allow the command to run for.
The maximum value is 86400 seconds (1 day).
@@ -528,6 +543,7 @@ To create the parameters described below, construct a hash table containing the
- `[Shell ]`: The shell used to run the command.
- `[Sudo ]`:
- `[Template ]`: The template this command was created from
+ - `[TemplatingRequired ]`: Whether this command requires templating before execution.
- `[TimeToLiveSeconds ]`: Time in seconds a command can wait in the queue to be run before timing out
- `[Timeout ]`: The time in seconds to allow the command to run for. The maximum value is 86400 seconds (1 day).
- `[Trigger ]`: The name of the command trigger.
diff --git a/SDKs/PowerShell/JumpCloud.SDK.V1/docs/exports/Search-JcSdkUser.md b/SDKs/PowerShell/JumpCloud.SDK.V1/docs/exports/Search-JcSdkUser.md
index 372b5ecad..c9938f3b9 100644
--- a/SDKs/PowerShell/JumpCloud.SDK.V1/docs/exports/Search-JcSdkUser.md
+++ b/SDKs/PowerShell/JumpCloud.SDK.V1/docs/exports/Search-JcSdkUser.md
@@ -320,7 +320,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### JumpCloud.SDK.V1.Models.ISystemuserslist
+### JumpCloud.SDK.V1.Models.ISystemUsersSearchlist
## NOTES
diff --git a/SDKs/PowerShell/JumpCloud.SDK.V1/docs/exports/Set-JcSdkAdministratorUser.md b/SDKs/PowerShell/JumpCloud.SDK.V1/docs/exports/Set-JcSdkAdministratorUser.md
index e854386ae..7f7edd40d 100644
--- a/SDKs/PowerShell/JumpCloud.SDK.V1/docs/exports/Set-JcSdkAdministratorUser.md
+++ b/SDKs/PowerShell/JumpCloud.SDK.V1/docs/exports/Set-JcSdkAdministratorUser.md
@@ -16,7 +16,8 @@ This endpoint allows you to set a user.
```
Set-JcSdkAdministratorUser -ConsoleHost -Id [-ApiKeyAllowed] [-Email ]
[-EnableMultiFactor] [-Firstname ] [-GrowthData ] [-Lastname ]
- [-LastWhatsNewChecked ] [-RoleName ] [-Confirm] [-WhatIf] []
+ [-LastWhatsNewChecked ] [-RoleName ] [-RoleNames ] [-Confirm] [-WhatIf]
+ []
```
### Set
@@ -35,7 +36,8 @@ Set-JcSdkAdministratorUser -ConsoleHost -InputObject -InputObject [-ApiKeyAllowed]
[-Email ] [-EnableMultiFactor] [-Firstname ] [-GrowthData ] [-Lastname ]
- [-LastWhatsNewChecked ] [-RoleName ] [-Confirm] [-WhatIf] []
+ [-LastWhatsNewChecked ] [-RoleName ] [-RoleNames ] [-Confirm] [-WhatIf]
+ []
```
## DESCRIPTION
@@ -286,6 +288,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -RoleNames
+.
+
+```yaml
+Type: System.String[]
+Parameter Sets: SetExpanded, SetViaIdentityExpanded
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -Confirm
Prompts you for confirmation before running the cmdlet.
@@ -347,6 +364,7 @@ To create the parameters described below, construct a hash table containing the
- `[LastWhatsNewChecked ]`:
- `[Lastname ]`:
- `[RoleName ]`:
+ - `[RoleNames >]`:
`INPUTOBJECT `: Identity Parameter
- `[Id ]`:
diff --git a/SDKs/PowerShell/JumpCloud.SDK.V1/docs/exports/Set-JcSdkCommand.md b/SDKs/PowerShell/JumpCloud.SDK.V1/docs/exports/Set-JcSdkCommand.md
index 64e5f1d53..9e33aeeb7 100644
--- a/SDKs/PowerShell/JumpCloud.SDK.V1/docs/exports/Set-JcSdkCommand.md
+++ b/SDKs/PowerShell/JumpCloud.SDK.V1/docs/exports/Set-JcSdkCommand.md
@@ -34,8 +34,8 @@ Set-JcSdkCommand -ConsoleHost -Id [-AiGenerated] [-Command ] [-CommandType ] [-Description ] [-Files ]
[-FilesS3 ] [-LaunchType ] [-ListensTo ] [-Name ]
[-Organization ] [-Schedule ] [-ScheduleRepeatType ] [-ScheduleYear ]
- [-Shell ] [-Sudo] [-Template ] [-Timeout ] [-TimeToLiveSeconds ]
- [-Trigger ] [-User ] [-Confirm] [-WhatIf] []
+ [-Shell ] [-Sudo] [-Template ] [-TemplatingRequired] [-Timeout ]
+ [-TimeToLiveSeconds ] [-Trigger ] [-User ] [-Confirm] [-WhatIf] []
```
### Set
@@ -55,8 +55,8 @@ Set-JcSdkCommand -ConsoleHost -InputObject [-Ai
[-CommandRunners ] [-CommandType ] [-Description ] [-Files ]
[-FilesS3 ] [-LaunchType ] [-ListensTo ] [-Name ]
[-Organization ] [-Schedule ] [-ScheduleRepeatType ] [-ScheduleYear ]
- [-Shell ] [-Sudo] [-Template ] [-Timeout ] [-TimeToLiveSeconds ]
- [-Trigger ] [-User ] [-Confirm] [-WhatIf] []
+ [-Shell ] [-Sudo] [-Template ] [-TemplatingRequired] [-Timeout ]
+ [-TimeToLiveSeconds ] [-Trigger ] [-User ] [-Confirm] [-WhatIf] []
```
## DESCRIPTION
@@ -449,6 +449,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -TemplatingRequired
+Whether this command requires templating before execution.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: SetExpanded, SetViaIdentityExpanded
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -Timeout
The time in seconds to allow the command to run for.
The maximum value is 86400 seconds (1 day).
@@ -584,6 +599,7 @@ To create the parameters described below, construct a hash table containing the
- `[Shell ]`: The shell used to run the command.
- `[Sudo ]`:
- `[Template ]`: The template this command was created from
+ - `[TemplatingRequired ]`: Whether this command requires templating before execution.
- `[TimeToLiveSeconds ]`: Time in seconds a command can wait in the queue to be run before timing out
- `[Timeout ]`: The time in seconds to allow the command to run for. The maximum value is 86400 seconds (1 day).
- `[Trigger ]`: The name of the command trigger.
diff --git a/SDKs/PowerShell/JumpCloud.SDK.V1/docs/exports/Set-JcSdkOrganization.md b/SDKs/PowerShell/JumpCloud.SDK.V1/docs/exports/Set-JcSdkOrganization.md
index e86a64b10..8ed5bad2e 100644
--- a/SDKs/PowerShell/JumpCloud.SDK.V1/docs/exports/Set-JcSdkOrganization.md
+++ b/SDKs/PowerShell/JumpCloud.SDK.V1/docs/exports/Set-JcSdkOrganization.md
@@ -305,6 +305,7 @@ To create the parameters described below, construct a hash table containing the
- `[DaysBeforeExpirationToForceReset ]`:
- `[DisallowCommonlyUsedPasswords ]`:
- `[DisallowSequentialOrRepetitiveChars ]`:
+ - `[DisplayComplexityOnResetScreen ]`:
- `[EffectiveDate ]`:
- `[EnableDaysAfterExpirationToSelfRecover ]`:
- `[EnableDaysBeforeExpirationToForceReset ]`:
@@ -381,6 +382,7 @@ To create the parameters described below, construct a hash table containing the
- `[DaysBeforeExpirationToForceReset ]`:
- `[DisallowCommonlyUsedPasswords ]`:
- `[DisallowSequentialOrRepetitiveChars ]`:
+ - `[DisplayComplexityOnResetScreen ]`:
- `[EffectiveDate ]`:
- `[EnableDaysAfterExpirationToSelfRecover ]`:
- `[EnableDaysBeforeExpirationToForceReset ]`:
diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/JumpCloud.SDK.V2.csproj b/SDKs/PowerShell/JumpCloud.SDK.V2/JumpCloud.SDK.V2.csproj
index 69d8eacd3..7cbd6c9e0 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.2.0
+ 0.2.1
7.1
netstandard2.0
Library
diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/JumpCloud.SDK.V2.nuspec b/SDKs/PowerShell/JumpCloud.SDK.V2/JumpCloud.SDK.V2.nuspec
index aa8dcc8d0..46d6b0550 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.2.0
+ 0.2.1
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 f104c720f..64fc05cb0 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: 2/26/2026
+# Generated on: 3/26/2026
#
@{
@@ -12,7 +12,7 @@
RootModule = './JumpCloud.SDK.V2.psm1'
# Version number of this module.
-ModuleVersion = '0.2.0'
+ModuleVersion = '0.2.1'
# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'
@@ -69,180 +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-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',
+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 89832eb30..327421ad5 100644
--- a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/JumpCloud.SDK.V2.json
+++ b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/JumpCloud.SDK.V2.json
@@ -152,6 +152,18 @@
"roleName": {
"type": "string"
},
+ "roleNames": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "roles": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"suspended": {
"type": "boolean"
}
@@ -5490,7 +5502,7 @@
},
"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.",
+ "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.\nmember_of - Array column overlaps with the given list. Only for array-typed fields. Value must be list_value.\nnot_member_of - Array column does not overlap with the given list. Only for array-typed fields. Value must be list_value.",
"enum": [
"operation_unknown",
"and",
@@ -5516,7 +5528,9 @@
"contains_case_sensitive",
"not_contains_case_sensitive",
"in_case_sensitive",
- "not_in_case_sensitive"
+ "not_in_case_sensitive",
+ "member_of",
+ "not_member_of"
],
"type": "string"
},
@@ -19151,6 +19165,12 @@
"/reports/export": {},
"/reports/jumpcloud": {},
"/reports/jumpcloud/{objectId}": {},
+ "/reports/scheduled": {},
+ "/reports/scheduled/runs": {},
+ "/reports/scheduled/runs/{objectId}": {},
+ "/reports/scheduled/{objectId}": {},
+ "/reports/scheduled/{objectId}/runs": {},
+ "/reports/scheduled/{objectId}/trigger": {},
"/roles": {},
"/roles/{role_id}": {
"parameters": [
diff --git a/SDKs/PowerShell/JumpCloud.SDK.V2/custom/Module.cs b/SDKs/PowerShell/JumpCloud.SDK.V2/custom/Module.cs
index d09ff8a4a..0cb6abc47 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.2.0")
+ if (request.Headers.UserAgent.ToString() != "JumpCloud_JumpCloud.PowerShell.SDK.V2/0.2.1")
{
request.Headers.UserAgent.Clear();
- request.Headers.UserAgent.ParseAdd("JumpCloud_JumpCloud.PowerShell.SDK.V2/0.2.0");
+ request.Headers.UserAgent.ParseAdd("JumpCloud_JumpCloud.PowerShell.SDK.V2/0.2.1");
}
// // request.Headers.Add("Content-Type", "application/json");
System.Net.Http.HttpResponseMessage response = await next.SendAsync(request, callback);
diff --git a/SwaggerSpecs/JumpCloud.SDK.V1.json b/SwaggerSpecs/JumpCloud.SDK.V1.json
index 74679e8c1..fb766479f 100644
--- a/SwaggerSpecs/JumpCloud.SDK.V1.json
+++ b/SwaggerSpecs/JumpCloud.SDK.V1.json
@@ -1155,6 +1155,68 @@
},
"type": "object"
},
+ "authClaimConfiguration": {
+ "properties": {
+ "authnContextMappings": {
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "value": {
+ "items": {
+ "type": "object",
+ "additionalProperties": true
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "authnContextMode": {
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "sendAmrClaim": {
+ "properties": {
+ "readOnly": {
+ "type": "boolean"
+ },
+ "type": {
+ "type": "string"
+ },
+ "value": {
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "singleAuthnContextValue": {
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": {
+ "type": "string"
+ },
+ "visible": {
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
"constantAttributes": {
"properties": {
"label": {
@@ -1799,6 +1861,10 @@
"description": "The template this command was created from",
"type": "string"
},
+ "templatingRequired": {
+ "description": "Whether this command requires templating before execution.",
+ "type": "boolean"
+ },
"timeToLiveSeconds": {
"description": "Time in seconds a command can wait in the queue to be run before timing out",
"type": "integer"
@@ -2034,7 +2100,7 @@
"type": "string"
},
"command": {
- "description": "The command that was executed on the system.",
+ "description": "The command that was executed on the system, truncated to 10k characters.",
"type": "string"
},
"exitCode": {
@@ -2217,7 +2283,7 @@
"type": "boolean"
},
"command": {
- "description": "The Command to execute.",
+ "description": "The Command to execute, truncated to 10k characters.",
"type": "string"
},
"commandType": {
@@ -2251,6 +2317,10 @@
"description": "When the command will repeat.",
"type": "string"
},
+ "templatingRequired": {
+ "description": "Whether this command requires templating before execution.",
+ "type": "boolean"
+ },
"trigger": {
"description": "Trigger to execute command.",
"type": "string"
@@ -2345,6 +2415,9 @@
},
"mfaEnrollment": {
"properties": {
+ "jcGoStatus": {
+ "$ref": "#/definitions/mfaEnrollmentStatus"
+ },
"overallStatus": {
"$ref": "#/definitions/mfaEnrollmentStatus"
},
@@ -2659,6 +2732,9 @@
"disallowSequentialOrRepetitiveChars": {
"type": "boolean"
},
+ "displayComplexityOnResetScreen": {
+ "type": "boolean"
+ },
"effectiveDate": {
"type": "string"
},
@@ -2953,6 +3029,9 @@
"disallowSequentialOrRepetitiveChars": {
"type": "boolean"
},
+ "displayComplexityOnResetScreen": {
+ "type": "boolean"
+ },
"effectiveDate": {
"type": "string"
},
@@ -3993,6 +4072,12 @@
},
"type": "object"
},
+ "memberof": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"modifySSHDConfig": {
"type": "boolean"
},
@@ -4144,6 +4229,12 @@
"description": "Relation with another systemuser to identify the last as a manager.",
"type": "string"
},
+ "primarySystemUser.memberof": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"primarySystemUser.state": {
"enum": [
"STAGED",
@@ -4274,6 +4365,23 @@
"title": "JcSystem",
"type": "object"
},
+ "systemUsersSearchlist": {
+ "properties": {
+ "results": {
+ "description": "The list of system users.",
+ "items": {
+ "$ref": "#/definitions/systemuserSearchReturn"
+ },
+ "type": "array"
+ },
+ "totalCount": {
+ "description": "The total number of system users.",
+ "type": "integer"
+ }
+ },
+ "title": "SystemUsersSearchList",
+ "type": "object"
+ },
"systemput": {
"properties": {
"agentBoundMessages": {
@@ -4346,6 +4454,320 @@
"title": "SystemsList",
"type": "object"
},
+ "systemuserSearchReturn": {
+ "properties": {
+ "_id": {
+ "type": "string"
+ },
+ "account_locked": {
+ "type": "boolean"
+ },
+ "account_locked_date": {
+ "type": "string",
+ "x-nullable": true
+ },
+ "activated": {
+ "type": "boolean"
+ },
+ "addresses": {
+ "items": {
+ "properties": {
+ "country": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "extendedAddress": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "locality": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "poBox": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "postalCode": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "region": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "streetAddress": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "type": {
+ "maxLength": 1024,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "admin": {
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "roleName": {
+ "type": "string"
+ },
+ "roleNames": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object",
+ "x-nullable": true
+ },
+ "allow_public_key": {
+ "type": "boolean"
+ },
+ "alternateEmail": {
+ "type": "string"
+ },
+ "attributes": {
+ "items": {
+ "$ref": "#/definitions/attribute"
+ },
+ "type": "array"
+ },
+ "badLoginAttempts": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "company": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "costCenter": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "created": {
+ "type": "string"
+ },
+ "creationSource": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "department": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "description": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "disableDeviceMaxLoginAttempts": {
+ "type": "boolean"
+ },
+ "displayname": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "email": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "employeeIdentifier": {
+ "description": "Must be unique per user. ",
+ "maxLength": 256,
+ "type": "string"
+ },
+ "employeeType": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "enable_managed_uid": {
+ "type": "boolean"
+ },
+ "enable_user_portal_multifactor": {
+ "type": "boolean"
+ },
+ "external_dn": {
+ "type": "string"
+ },
+ "external_password_expiration_date": {
+ "type": "string"
+ },
+ "external_source_type": {
+ "type": "string"
+ },
+ "externally_managed": {
+ "$ref": "#/definitions/externallymanagedpropertyinfo"
+ },
+ "firstname": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "jobTitle": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "lastname": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "ldap_binding_user": {
+ "type": "boolean"
+ },
+ "location": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "managedAppleId": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "manager": {
+ "description": "Relation with another systemuser to identify the last as a manager.",
+ "type": "string"
+ },
+ "memberof": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "mfa": {
+ "$ref": "#/definitions/mfa"
+ },
+ "mfaEnrollment": {
+ "$ref": "#/definitions/mfaEnrollment"
+ },
+ "middlename": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "organization": {
+ "type": "string"
+ },
+ "password_date": {
+ "type": "string",
+ "x-nullable": true
+ },
+ "password_expiration_date": {
+ "type": "string",
+ "x-nullable": true
+ },
+ "password_expired": {
+ "type": "boolean"
+ },
+ "password_never_expires": {
+ "type": "boolean"
+ },
+ "passwordless_sudo": {
+ "type": "boolean"
+ },
+ "phoneNumbers": {
+ "items": {
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "number": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "type": {
+ "maxLength": 1024,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "public_key": {
+ "type": "string"
+ },
+ "recoveryEmail": {
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean"
+ },
+ "verifiedAt": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "relationships": {
+ "items": {
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "restrictedFields": {
+ "items": {
+ "$ref": "#/definitions/restrictedField"
+ },
+ "type": "array"
+ },
+ "samba_service_user": {
+ "type": "boolean"
+ },
+ "ssh_keys": {
+ "items": {
+ "$ref": "#/definitions/sshkeylist"
+ },
+ "type": "array"
+ },
+ "state": {
+ "enum": [
+ "STAGED",
+ "ACTIVATED",
+ "SUSPENDED"
+ ],
+ "type": "string"
+ },
+ "sudo": {
+ "type": "boolean"
+ },
+ "suspended": {
+ "type": "boolean"
+ },
+ "totp_enabled": {
+ "type": "boolean"
+ },
+ "unix_guid": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "unix_uid": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "username": {
+ "maxLength": 1024,
+ "type": "string"
+ }
+ },
+ "title": "SystemUserSearchReturn",
+ "type": "object"
+ },
"systemuserput": {
"properties": {
"account_locked": {
@@ -4915,6 +5337,12 @@
},
"roleName": {
"type": "string"
+ },
+ "roleNames": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
}
},
"type": "object",
@@ -5321,6 +5749,12 @@
},
"roleName": {
"type": "string"
+ },
+ "roleNames": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
}
},
"title": "UserPut",
@@ -5409,6 +5843,18 @@
"roleName": {
"type": "string"
},
+ "roleNames": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "roles": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"sessionCount": {
"type": "integer"
},
@@ -5546,15 +5992,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/application-templates?fields=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&skip=SOME_INTEGER_VALUE&sort=SOME_STRING_VALUE&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/application-templates?fields=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&skip=SOME_INTEGER_VALUE&sort=SOME_STRING_VALUE&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/application-templates\"\n\nquerystring = {\"fields\":\"SOME_STRING_VALUE\",\"limit\":\"SOME_INTEGER_VALUE\",\"skip\":\"SOME_INTEGER_VALUE\",\"sort\":\"SOME_STRING_VALUE\",\"filter\":\"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/application-templates\"\n\nquerystring = {\"fields\":\"SOME_STRING_VALUE\",\"limit\":\"SOME_INTEGER_VALUE\",\"skip\":\"SOME_INTEGER_VALUE\",\"sort\":\"SOME_STRING_VALUE\",\"filter\":\"SOME_STRING_VALUE\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/application-templates?fields=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&skip=SOME_INTEGER_VALUE&sort=SOME_STRING_VALUE&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/application-templates?fields=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&skip=SOME_INTEGER_VALUE&sort=SOME_STRING_VALUE&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
}
]
},
@@ -5613,15 +6059,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/application-templates/{id}?fields=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&skip=SOME_INTEGER_VALUE&sort=SOME_STRING_VALUE&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/application-templates/{id}?fields=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&skip=SOME_INTEGER_VALUE&sort=SOME_STRING_VALUE&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/application-templates/{id}\"\n\nquerystring = {\"fields\":\"SOME_STRING_VALUE\",\"limit\":\"SOME_INTEGER_VALUE\",\"skip\":\"SOME_INTEGER_VALUE\",\"sort\":\"SOME_STRING_VALUE\",\"filter\":\"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/application-templates/{id}\"\n\nquerystring = {\"fields\":\"SOME_STRING_VALUE\",\"limit\":\"SOME_INTEGER_VALUE\",\"skip\":\"SOME_INTEGER_VALUE\",\"sort\":\"SOME_STRING_VALUE\",\"filter\":\"SOME_STRING_VALUE\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/application-templates/{id}?fields=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&skip=SOME_INTEGER_VALUE&sort=SOME_STRING_VALUE&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/application-templates/{id}?fields=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&skip=SOME_INTEGER_VALUE&sort=SOME_STRING_VALUE&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
}
]
},
@@ -5688,15 +6134,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/applications?fields=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&skip=SOME_INTEGER_VALUE&sort=name&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/applications?fields=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&skip=SOME_INTEGER_VALUE&sort=name&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/applications\"\n\nquerystring = {\"fields\":\"SOME_STRING_VALUE\",\"limit\":\"SOME_INTEGER_VALUE\",\"skip\":\"SOME_INTEGER_VALUE\",\"sort\":\"name\",\"filter\":\"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/applications\"\n\nquerystring = {\"fields\":\"SOME_STRING_VALUE\",\"limit\":\"SOME_INTEGER_VALUE\",\"skip\":\"SOME_INTEGER_VALUE\",\"sort\":\"name\",\"filter\":\"SOME_STRING_VALUE\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/applications?fields=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&skip=SOME_INTEGER_VALUE&sort=name&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/applications?fields=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&skip=SOME_INTEGER_VALUE&sort=name&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
}
]
},
@@ -5729,15 +6175,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/applications \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"_id\":\"string\",\"active\":true,\"beta\":true,\"color\":\"\",\"config\":{\"acsUrl\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"constantAttributes\":{\"label\":\"string\",\"mutable\":true,\"options\":null,\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":null,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":[{\"name\":\"string\",\"readOnly\":true,\"required\":true,\"value\":\"string\",\"visible\":true}],\"visible\":true},\"databaseAttributes\":{\"position\":0},\"idpCertificate\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpPrivateKey\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"signAssertion\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"signResponse\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"spEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"spErrorFlow\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true}},\"created\":\"string\",\"databaseAttributes\":[{}],\"description\":\"string\",\"displayLabel\":\"string\",\"displayName\":\"string\",\"learnMore\":\"string\",\"logo\":{\"color\":\"\",\"url\":\"string\"},\"name\":\"string\",\"organization\":\"string\",\"parentApp\":\"string\",\"sso\":{\"beta\":true,\"hidden\":true,\"idpCertExpirationAt\":\"2019-08-24T14:15:22Z\",\"jit\":true,\"type\":\"string\"},\"ssoUrl\":\"string\"}'"
+ "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/applications \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"_id\":\"string\",\"active\":true,\"beta\":true,\"color\":\"\",\"config\":{\"acsUrl\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"authClaimConfiguration\":{\"authnContextMappings\":{\"type\":\"string\",\"value\":[{}]},\"authnContextMode\":{\"type\":\"string\",\"value\":\"string\"},\"sendAmrClaim\":{\"readOnly\":true,\"type\":\"string\",\"value\":true},\"singleAuthnContextValue\":{\"type\":\"string\",\"value\":\"string\"},\"type\":\"string\",\"visible\":true},\"constantAttributes\":{\"label\":\"string\",\"mutable\":true,\"options\":null,\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":null,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":[{\"name\":\"string\",\"readOnly\":true,\"required\":true,\"value\":\"string\",\"visible\":true}],\"visible\":true},\"databaseAttributes\":{\"position\":0},\"idpCertificate\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpPrivateKey\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"signAssertion\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"signResponse\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"spEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"spErrorFlow\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true}},\"created\":\"string\",\"databaseAttributes\":[{}],\"description\":\"string\",\"displayLabel\":\"string\",\"displayName\":\"string\",\"learnMore\":\"string\",\"logo\":{\"color\":\"\",\"url\":\"string\"},\"name\":\"string\",\"organization\":\"string\",\"parentApp\":\"string\",\"sso\":{\"beta\":true,\"hidden\":true,\"idpCertExpirationAt\":\"2019-08-24T14:15:22Z\",\"jit\":true,\"type\":\"string\"},\"ssoUrl\":\"string\"}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/applications\"\n\npayload = {\n \"_id\": \"string\",\n \"active\": True,\n \"beta\": True,\n \"color\": \"\",\n \"config\": {\n \"acsUrl\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"constantAttributes\": {\n \"label\": \"string\",\n \"mutable\": True,\n \"options\": None,\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": None,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": [\n {\n \"name\": \"string\",\n \"readOnly\": True,\n \"required\": True,\n \"value\": \"string\",\n \"visible\": True\n }\n ],\n \"visible\": True\n },\n \"databaseAttributes\": {\"position\": 0},\n \"idpCertificate\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"idpEntityId\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"idpPrivateKey\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"signAssertion\": {\n \"label\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": True,\n \"visible\": True\n },\n \"signResponse\": {\n \"label\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": True,\n \"visible\": True\n },\n \"spEntityId\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"spErrorFlow\": {\n \"label\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": True,\n \"visible\": True\n }\n },\n \"created\": \"string\",\n \"databaseAttributes\": [{}],\n \"description\": \"string\",\n \"displayLabel\": \"string\",\n \"displayName\": \"string\",\n \"learnMore\": \"string\",\n \"logo\": {\n \"color\": \"\",\n \"url\": \"string\"\n },\n \"name\": \"string\",\n \"organization\": \"string\",\n \"parentApp\": \"string\",\n \"sso\": {\n \"beta\": True,\n \"hidden\": True,\n \"idpCertExpirationAt\": \"2019-08-24T14:15:22Z\",\n \"jit\": True,\n \"type\": \"string\"\n },\n \"ssoUrl\": \"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/applications\"\n\npayload = {\n \"_id\": \"string\",\n \"active\": True,\n \"beta\": True,\n \"color\": \"\",\n \"config\": {\n \"acsUrl\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"authClaimConfiguration\": {\n \"authnContextMappings\": {\n \"type\": \"string\",\n \"value\": [{}]\n },\n \"authnContextMode\": {\n \"type\": \"string\",\n \"value\": \"string\"\n },\n \"sendAmrClaim\": {\n \"readOnly\": True,\n \"type\": \"string\",\n \"value\": True\n },\n \"singleAuthnContextValue\": {\n \"type\": \"string\",\n \"value\": \"string\"\n },\n \"type\": \"string\",\n \"visible\": True\n },\n \"constantAttributes\": {\n \"label\": \"string\",\n \"mutable\": True,\n \"options\": None,\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": None,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": [\n {\n \"name\": \"string\",\n \"readOnly\": True,\n \"required\": True,\n \"value\": \"string\",\n \"visible\": True\n }\n ],\n \"visible\": True\n },\n \"databaseAttributes\": {\"position\": 0},\n \"idpCertificate\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"idpEntityId\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"idpPrivateKey\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"signAssertion\": {\n \"label\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": True,\n \"visible\": True\n },\n \"signResponse\": {\n \"label\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": True,\n \"visible\": True\n },\n \"spEntityId\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"spErrorFlow\": {\n \"label\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": True,\n \"visible\": True\n }\n },\n \"created\": \"string\",\n \"databaseAttributes\": [{}],\n \"description\": \"string\",\n \"displayLabel\": \"string\",\n \"displayName\": \"string\",\n \"learnMore\": \"string\",\n \"logo\": {\n \"color\": \"\",\n \"url\": \"string\"\n },\n \"name\": \"string\",\n \"organization\": \"string\",\n \"parentApp\": \"string\",\n \"sso\": {\n \"beta\": True,\n \"hidden\": True,\n \"idpCertExpirationAt\": \"2019-08-24T14:15:22Z\",\n \"jit\": True,\n \"type\": \"string\"\n },\n \"ssoUrl\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"\",\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/applications' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"_id\":\"string\",\"active\":true,\"beta\":true,\"color\":\"\",\"config\":{\"acsUrl\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"constantAttributes\":{\"label\":\"string\",\"mutable\":true,\"options\":null,\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":null,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":[{\"name\":\"string\",\"readOnly\":true,\"required\":true,\"value\":\"string\",\"visible\":true}],\"visible\":true},\"databaseAttributes\":{\"position\":0},\"idpCertificate\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpPrivateKey\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"signAssertion\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"signResponse\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"spEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"spErrorFlow\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true}},\"created\":\"string\",\"databaseAttributes\":[{}],\"description\":\"string\",\"displayLabel\":\"string\",\"displayName\":\"string\",\"learnMore\":\"string\",\"logo\":{\"color\":\"\",\"url\":\"string\"},\"name\":\"string\",\"organization\":\"string\",\"parentApp\":\"string\",\"sso\":{\"beta\":true,\"hidden\":true,\"idpCertExpirationAt\":\"2019-08-24T14:15:22Z\",\"jit\":true,\"type\":\"string\"},\"ssoUrl\":\"string\"}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/applications' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"_id\":\"string\",\"active\":true,\"beta\":true,\"color\":\"\",\"config\":{\"acsUrl\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"authClaimConfiguration\":{\"authnContextMappings\":{\"type\":\"string\",\"value\":[{}]},\"authnContextMode\":{\"type\":\"string\",\"value\":\"string\"},\"sendAmrClaim\":{\"readOnly\":true,\"type\":\"string\",\"value\":true},\"singleAuthnContextValue\":{\"type\":\"string\",\"value\":\"string\"},\"type\":\"string\",\"visible\":true},\"constantAttributes\":{\"label\":\"string\",\"mutable\":true,\"options\":null,\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":null,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":[{\"name\":\"string\",\"readOnly\":true,\"required\":true,\"value\":\"string\",\"visible\":true}],\"visible\":true},\"databaseAttributes\":{\"position\":0},\"idpCertificate\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpPrivateKey\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"signAssertion\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"signResponse\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"spEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"spErrorFlow\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true}},\"created\":\"string\",\"databaseAttributes\":[{}],\"description\":\"string\",\"displayLabel\":\"string\",\"displayName\":\"string\",\"learnMore\":\"string\",\"logo\":{\"color\":\"\",\"url\":\"string\"},\"name\":\"string\",\"organization\":\"string\",\"parentApp\":\"string\",\"sso\":{\"beta\":true,\"hidden\":true,\"idpCertExpirationAt\":\"2019-08-24T14:15:22Z\",\"jit\":true,\"type\":\"string\"},\"ssoUrl\":\"string\"}'"
}
]
},
@@ -5772,15 +6218,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/applications/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/applications/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/applications/{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/applications/{id}\"\n\nheaders = {\n \"x-org-id\": \"\",\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/applications/{id}' -Method DELETE -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/applications/{id}' -Method DELETE -Headers $headers"
}
]
},
@@ -5805,15 +6251,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/applications/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/applications/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/applications/{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/applications/{id}\"\n\nheaders = {\n \"x-org-id\": \"\",\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/applications/{id}' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/applications/{id}' -Method GET -Headers $headers"
}
]
},
@@ -5854,15 +6300,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/applications/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"_id\":\"string\",\"active\":true,\"beta\":true,\"color\":\"\",\"config\":{\"acsUrl\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"constantAttributes\":{\"label\":\"string\",\"mutable\":true,\"options\":null,\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":null,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":[{\"name\":\"string\",\"readOnly\":true,\"required\":true,\"value\":\"string\",\"visible\":true}],\"visible\":true},\"databaseAttributes\":{\"position\":0},\"idpCertificate\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpPrivateKey\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"signAssertion\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"signResponse\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"spEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"spErrorFlow\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true}},\"created\":\"string\",\"databaseAttributes\":[{}],\"description\":\"string\",\"displayLabel\":\"string\",\"displayName\":\"string\",\"learnMore\":\"string\",\"logo\":{\"color\":\"\",\"url\":\"string\"},\"name\":\"string\",\"organization\":\"string\",\"parentApp\":\"string\",\"sso\":{\"beta\":true,\"hidden\":true,\"idpCertExpirationAt\":\"2019-08-24T14:15:22Z\",\"jit\":true,\"type\":\"string\"},\"ssoUrl\":\"string\"}'"
+ "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/applications/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"_id\":\"string\",\"active\":true,\"beta\":true,\"color\":\"\",\"config\":{\"acsUrl\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"authClaimConfiguration\":{\"authnContextMappings\":{\"type\":\"string\",\"value\":[{}]},\"authnContextMode\":{\"type\":\"string\",\"value\":\"string\"},\"sendAmrClaim\":{\"readOnly\":true,\"type\":\"string\",\"value\":true},\"singleAuthnContextValue\":{\"type\":\"string\",\"value\":\"string\"},\"type\":\"string\",\"visible\":true},\"constantAttributes\":{\"label\":\"string\",\"mutable\":true,\"options\":null,\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":null,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":[{\"name\":\"string\",\"readOnly\":true,\"required\":true,\"value\":\"string\",\"visible\":true}],\"visible\":true},\"databaseAttributes\":{\"position\":0},\"idpCertificate\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpPrivateKey\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"signAssertion\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"signResponse\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"spEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"spErrorFlow\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true}},\"created\":\"string\",\"databaseAttributes\":[{}],\"description\":\"string\",\"displayLabel\":\"string\",\"displayName\":\"string\",\"learnMore\":\"string\",\"logo\":{\"color\":\"\",\"url\":\"string\"},\"name\":\"string\",\"organization\":\"string\",\"parentApp\":\"string\",\"sso\":{\"beta\":true,\"hidden\":true,\"idpCertExpirationAt\":\"2019-08-24T14:15:22Z\",\"jit\":true,\"type\":\"string\"},\"ssoUrl\":\"string\"}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/applications/{id}\"\n\npayload = {\n \"_id\": \"string\",\n \"active\": True,\n \"beta\": True,\n \"color\": \"\",\n \"config\": {\n \"acsUrl\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"constantAttributes\": {\n \"label\": \"string\",\n \"mutable\": True,\n \"options\": None,\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": None,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": [\n {\n \"name\": \"string\",\n \"readOnly\": True,\n \"required\": True,\n \"value\": \"string\",\n \"visible\": True\n }\n ],\n \"visible\": True\n },\n \"databaseAttributes\": {\"position\": 0},\n \"idpCertificate\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"idpEntityId\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"idpPrivateKey\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"signAssertion\": {\n \"label\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": True,\n \"visible\": True\n },\n \"signResponse\": {\n \"label\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": True,\n \"visible\": True\n },\n \"spEntityId\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"spErrorFlow\": {\n \"label\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": True,\n \"visible\": True\n }\n },\n \"created\": \"string\",\n \"databaseAttributes\": [{}],\n \"description\": \"string\",\n \"displayLabel\": \"string\",\n \"displayName\": \"string\",\n \"learnMore\": \"string\",\n \"logo\": {\n \"color\": \"\",\n \"url\": \"string\"\n },\n \"name\": \"string\",\n \"organization\": \"string\",\n \"parentApp\": \"string\",\n \"sso\": {\n \"beta\": True,\n \"hidden\": True,\n \"idpCertExpirationAt\": \"2019-08-24T14:15:22Z\",\n \"jit\": True,\n \"type\": \"string\"\n },\n \"ssoUrl\": \"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/applications/{id}\"\n\npayload = {\n \"_id\": \"string\",\n \"active\": True,\n \"beta\": True,\n \"color\": \"\",\n \"config\": {\n \"acsUrl\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"authClaimConfiguration\": {\n \"authnContextMappings\": {\n \"type\": \"string\",\n \"value\": [{}]\n },\n \"authnContextMode\": {\n \"type\": \"string\",\n \"value\": \"string\"\n },\n \"sendAmrClaim\": {\n \"readOnly\": True,\n \"type\": \"string\",\n \"value\": True\n },\n \"singleAuthnContextValue\": {\n \"type\": \"string\",\n \"value\": \"string\"\n },\n \"type\": \"string\",\n \"visible\": True\n },\n \"constantAttributes\": {\n \"label\": \"string\",\n \"mutable\": True,\n \"options\": None,\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": None,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": [\n {\n \"name\": \"string\",\n \"readOnly\": True,\n \"required\": True,\n \"value\": \"string\",\n \"visible\": True\n }\n ],\n \"visible\": True\n },\n \"databaseAttributes\": {\"position\": 0},\n \"idpCertificate\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"idpEntityId\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"idpPrivateKey\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"signAssertion\": {\n \"label\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": True,\n \"visible\": True\n },\n \"signResponse\": {\n \"label\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": True,\n \"visible\": True\n },\n \"spEntityId\": {\n \"label\": \"string\",\n \"options\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"toggle\": \"string\",\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": \"string\",\n \"visible\": True\n },\n \"spErrorFlow\": {\n \"label\": \"string\",\n \"position\": 0,\n \"readOnly\": True,\n \"required\": True,\n \"tooltip\": {\n \"template\": \"string\",\n \"variables\": {\n \"icon\": \"string\",\n \"message\": \"string\"\n }\n },\n \"type\": \"string\",\n \"value\": True,\n \"visible\": True\n }\n },\n \"created\": \"string\",\n \"databaseAttributes\": [{}],\n \"description\": \"string\",\n \"displayLabel\": \"string\",\n \"displayName\": \"string\",\n \"learnMore\": \"string\",\n \"logo\": {\n \"color\": \"\",\n \"url\": \"string\"\n },\n \"name\": \"string\",\n \"organization\": \"string\",\n \"parentApp\": \"string\",\n \"sso\": {\n \"beta\": True,\n \"hidden\": True,\n \"idpCertExpirationAt\": \"2019-08-24T14:15:22Z\",\n \"jit\": True,\n \"type\": \"string\"\n },\n \"ssoUrl\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"\",\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/applications/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"_id\":\"string\",\"active\":true,\"beta\":true,\"color\":\"\",\"config\":{\"acsUrl\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"constantAttributes\":{\"label\":\"string\",\"mutable\":true,\"options\":null,\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":null,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":[{\"name\":\"string\",\"readOnly\":true,\"required\":true,\"value\":\"string\",\"visible\":true}],\"visible\":true},\"databaseAttributes\":{\"position\":0},\"idpCertificate\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpPrivateKey\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"signAssertion\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"signResponse\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"spEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"spErrorFlow\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true}},\"created\":\"string\",\"databaseAttributes\":[{}],\"description\":\"string\",\"displayLabel\":\"string\",\"displayName\":\"string\",\"learnMore\":\"string\",\"logo\":{\"color\":\"\",\"url\":\"string\"},\"name\":\"string\",\"organization\":\"string\",\"parentApp\":\"string\",\"sso\":{\"beta\":true,\"hidden\":true,\"idpCertExpirationAt\":\"2019-08-24T14:15:22Z\",\"jit\":true,\"type\":\"string\"},\"ssoUrl\":\"string\"}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/applications/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"_id\":\"string\",\"active\":true,\"beta\":true,\"color\":\"\",\"config\":{\"acsUrl\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"authClaimConfiguration\":{\"authnContextMappings\":{\"type\":\"string\",\"value\":[{}]},\"authnContextMode\":{\"type\":\"string\",\"value\":\"string\"},\"sendAmrClaim\":{\"readOnly\":true,\"type\":\"string\",\"value\":true},\"singleAuthnContextValue\":{\"type\":\"string\",\"value\":\"string\"},\"type\":\"string\",\"visible\":true},\"constantAttributes\":{\"label\":\"string\",\"mutable\":true,\"options\":null,\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":null,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":[{\"name\":\"string\",\"readOnly\":true,\"required\":true,\"value\":\"string\",\"visible\":true}],\"visible\":true},\"databaseAttributes\":{\"position\":0},\"idpCertificate\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"idpPrivateKey\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"signAssertion\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"signResponse\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true},\"spEntityId\":{\"label\":\"string\",\"options\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"toggle\":\"string\",\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":\"string\",\"visible\":true},\"spErrorFlow\":{\"label\":\"string\",\"position\":0,\"readOnly\":true,\"required\":true,\"tooltip\":{\"template\":\"string\",\"variables\":{\"icon\":\"string\",\"message\":\"string\"}},\"type\":\"string\",\"value\":true,\"visible\":true}},\"created\":\"string\",\"databaseAttributes\":[{}],\"description\":\"string\",\"displayLabel\":\"string\",\"displayName\":\"string\",\"learnMore\":\"string\",\"logo\":{\"color\":\"\",\"url\":\"string\"},\"name\":\"string\",\"organization\":\"string\",\"parentApp\":\"string\",\"sso\":{\"beta\":true,\"hidden\":true,\"idpCertExpirationAt\":\"2019-08-24T14:15:22Z\",\"jit\":true,\"type\":\"string\"},\"ssoUrl\":\"string\"}'"
}
]
},
@@ -5936,15 +6382,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/command/trigger/{triggername} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{}'"
+ "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/command/trigger/{triggername} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/command/trigger/{triggername}\"\n\npayload = {}\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/command/trigger/{triggername}\"\n\npayload = {}\nheaders = {\n \"x-org-id\": \"\",\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/command/trigger/{triggername}' -Method POST -Headers $headers -ContentType 'application/json' -Body '{}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/command/trigger/{triggername}' -Method POST -Headers $headers -ContentType 'application/json' -Body '{}'"
}
]
},
@@ -5989,15 +6435,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/commandresults?fields=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/commandresults?fields=&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/commandresults\"\n\nquerystring = {\"fields\":\"\",\"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/commandresults\"\n\nquerystring = {\"fields\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/commandresults?fields=&limit=10&skip=0&sort=' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/commandresults?fields=&limit=10&skip=0&sort=' -Method GET -Headers $headers"
}
]
}
@@ -6024,15 +6470,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/commandresults/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/commandresults/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/commandresults/{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/commandresults/{id}\"\n\nheaders = {\n \"x-org-id\": \"\",\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/commandresults/{id}' -Method DELETE -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/commandresults/{id}' -Method DELETE -Headers $headers"
}
]
},
@@ -6064,15 +6510,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/commandresults/{id}?fields=&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/commandresults/{id}?fields=&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/commandresults/{id}\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"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/commandresults/{id}\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/commandresults/{id}?fields=&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/commandresults/{id}?fields=&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
}
]
},
@@ -6126,15 +6572,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/commands?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/commands?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/commands\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\",\"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/commands\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/commands?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0&sort=' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/commands?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0&sort=' -Method GET -Headers $headers"
}
]
},
@@ -6167,15 +6613,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/commands \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"aiGenerated\":true,\"command\":\"string\",\"commandRunners\":[\"string\"],\"commandType\":\"linux\",\"description\":\"string\",\"files\":[\"string\"],\"filesS3\":[{\"destination\":\"string\",\"name\":\"string\",\"objectStorageId\":\"string\",\"sha256\":\"string\"}],\"launchType\":\"string\",\"listensTo\":\"string\",\"name\":\"string\",\"organization\":\"string\",\"schedule\":\"string\",\"scheduleRepeatType\":\"string\",\"scheduleYear\":0,\"shell\":\"string\",\"sudo\":true,\"systems\":[\"string\"],\"template\":\"string\",\"timeToLiveSeconds\":0,\"timeout\":\"string\",\"trigger\":\"string\",\"user\":\"string\"}'"
+ "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/commands \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"aiGenerated\":true,\"command\":\"string\",\"commandRunners\":[\"string\"],\"commandType\":\"linux\",\"description\":\"string\",\"files\":[\"string\"],\"filesS3\":[{\"destination\":\"string\",\"name\":\"string\",\"objectStorageId\":\"string\",\"sha256\":\"string\"}],\"launchType\":\"string\",\"listensTo\":\"string\",\"name\":\"string\",\"organization\":\"string\",\"schedule\":\"string\",\"scheduleRepeatType\":\"string\",\"scheduleYear\":0,\"shell\":\"string\",\"sudo\":true,\"systems\":[\"string\"],\"template\":\"string\",\"templatingRequired\":true,\"timeToLiveSeconds\":0,\"timeout\":\"string\",\"trigger\":\"string\",\"user\":\"string\"}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/commands\"\n\npayload = {\n \"aiGenerated\": True,\n \"command\": \"string\",\n \"commandRunners\": [\"string\"],\n \"commandType\": \"linux\",\n \"description\": \"string\",\n \"files\": [\"string\"],\n \"filesS3\": [\n {\n \"destination\": \"string\",\n \"name\": \"string\",\n \"objectStorageId\": \"string\",\n \"sha256\": \"string\"\n }\n ],\n \"launchType\": \"string\",\n \"listensTo\": \"string\",\n \"name\": \"string\",\n \"organization\": \"string\",\n \"schedule\": \"string\",\n \"scheduleRepeatType\": \"string\",\n \"scheduleYear\": 0,\n \"shell\": \"string\",\n \"sudo\": True,\n \"systems\": [\"string\"],\n \"template\": \"string\",\n \"timeToLiveSeconds\": 0,\n \"timeout\": \"string\",\n \"trigger\": \"string\",\n \"user\": \"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/commands\"\n\npayload = {\n \"aiGenerated\": True,\n \"command\": \"string\",\n \"commandRunners\": [\"string\"],\n \"commandType\": \"linux\",\n \"description\": \"string\",\n \"files\": [\"string\"],\n \"filesS3\": [\n {\n \"destination\": \"string\",\n \"name\": \"string\",\n \"objectStorageId\": \"string\",\n \"sha256\": \"string\"\n }\n ],\n \"launchType\": \"string\",\n \"listensTo\": \"string\",\n \"name\": \"string\",\n \"organization\": \"string\",\n \"schedule\": \"string\",\n \"scheduleRepeatType\": \"string\",\n \"scheduleYear\": 0,\n \"shell\": \"string\",\n \"sudo\": True,\n \"systems\": [\"string\"],\n \"template\": \"string\",\n \"templatingRequired\": True,\n \"timeToLiveSeconds\": 0,\n \"timeout\": \"string\",\n \"trigger\": \"string\",\n \"user\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"\",\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/commands' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"aiGenerated\":true,\"command\":\"string\",\"commandRunners\":[\"string\"],\"commandType\":\"linux\",\"description\":\"string\",\"files\":[\"string\"],\"filesS3\":[{\"destination\":\"string\",\"name\":\"string\",\"objectStorageId\":\"string\",\"sha256\":\"string\"}],\"launchType\":\"string\",\"listensTo\":\"string\",\"name\":\"string\",\"organization\":\"string\",\"schedule\":\"string\",\"scheduleRepeatType\":\"string\",\"scheduleYear\":0,\"shell\":\"string\",\"sudo\":true,\"systems\":[\"string\"],\"template\":\"string\",\"timeToLiveSeconds\":0,\"timeout\":\"string\",\"trigger\":\"string\",\"user\":\"string\"}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/commands' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"aiGenerated\":true,\"command\":\"string\",\"commandRunners\":[\"string\"],\"commandType\":\"linux\",\"description\":\"string\",\"files\":[\"string\"],\"filesS3\":[{\"destination\":\"string\",\"name\":\"string\",\"objectStorageId\":\"string\",\"sha256\":\"string\"}],\"launchType\":\"string\",\"listensTo\":\"string\",\"name\":\"string\",\"organization\":\"string\",\"schedule\":\"string\",\"scheduleRepeatType\":\"string\",\"scheduleYear\":0,\"shell\":\"string\",\"sudo\":true,\"systems\":[\"string\"],\"template\":\"string\",\"templatingRequired\":true,\"timeToLiveSeconds\":0,\"timeout\":\"string\",\"trigger\":\"string\",\"user\":\"string\"}'"
}
]
}
@@ -6202,15 +6648,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/commands/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/commands/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/commands/{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/commands/{id}\"\n\nheaders = {\n \"x-org-id\": \"\",\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/commands/{id}' -Method DELETE -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/commands/{id}' -Method DELETE -Headers $headers"
}
]
},
@@ -6239,15 +6685,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/commands/{id}?fields=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/commands/{id}?fields=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/commands/{id}\"\n\nquerystring = {\"fields\":\"\"}\n\nheaders = {\"x-api-key\": \"REPLACE_KEY_VALUE\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
+ "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/commands/{id}\"\n\nquerystring = {\"fields\":\"\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/commands/{id}?fields=' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/commands/{id}?fields=' -Method GET -Headers $headers"
}
]
},
@@ -6294,15 +6740,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/commands/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"aiGenerated\":true,\"command\":\"string\",\"commandRunners\":[\"string\"],\"commandType\":\"linux\",\"description\":\"string\",\"files\":[\"string\"],\"filesS3\":[{\"destination\":\"string\",\"name\":\"string\",\"objectStorageId\":\"string\",\"sha256\":\"string\"}],\"launchType\":\"string\",\"listensTo\":\"string\",\"name\":\"string\",\"organization\":\"string\",\"schedule\":\"string\",\"scheduleRepeatType\":\"string\",\"scheduleYear\":0,\"shell\":\"string\",\"sudo\":true,\"systems\":[\"string\"],\"template\":\"string\",\"timeToLiveSeconds\":0,\"timeout\":\"string\",\"trigger\":\"string\",\"user\":\"string\"}'"
+ "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/commands/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"aiGenerated\":true,\"command\":\"string\",\"commandRunners\":[\"string\"],\"commandType\":\"linux\",\"description\":\"string\",\"files\":[\"string\"],\"filesS3\":[{\"destination\":\"string\",\"name\":\"string\",\"objectStorageId\":\"string\",\"sha256\":\"string\"}],\"launchType\":\"string\",\"listensTo\":\"string\",\"name\":\"string\",\"organization\":\"string\",\"schedule\":\"string\",\"scheduleRepeatType\":\"string\",\"scheduleYear\":0,\"shell\":\"string\",\"sudo\":true,\"systems\":[\"string\"],\"template\":\"string\",\"templatingRequired\":true,\"timeToLiveSeconds\":0,\"timeout\":\"string\",\"trigger\":\"string\",\"user\":\"string\"}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/commands/{id}\"\n\npayload = {\n \"aiGenerated\": True,\n \"command\": \"string\",\n \"commandRunners\": [\"string\"],\n \"commandType\": \"linux\",\n \"description\": \"string\",\n \"files\": [\"string\"],\n \"filesS3\": [\n {\n \"destination\": \"string\",\n \"name\": \"string\",\n \"objectStorageId\": \"string\",\n \"sha256\": \"string\"\n }\n ],\n \"launchType\": \"string\",\n \"listensTo\": \"string\",\n \"name\": \"string\",\n \"organization\": \"string\",\n \"schedule\": \"string\",\n \"scheduleRepeatType\": \"string\",\n \"scheduleYear\": 0,\n \"shell\": \"string\",\n \"sudo\": True,\n \"systems\": [\"string\"],\n \"template\": \"string\",\n \"timeToLiveSeconds\": 0,\n \"timeout\": \"string\",\n \"trigger\": \"string\",\n \"user\": \"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/commands/{id}\"\n\npayload = {\n \"aiGenerated\": True,\n \"command\": \"string\",\n \"commandRunners\": [\"string\"],\n \"commandType\": \"linux\",\n \"description\": \"string\",\n \"files\": [\"string\"],\n \"filesS3\": [\n {\n \"destination\": \"string\",\n \"name\": \"string\",\n \"objectStorageId\": \"string\",\n \"sha256\": \"string\"\n }\n ],\n \"launchType\": \"string\",\n \"listensTo\": \"string\",\n \"name\": \"string\",\n \"organization\": \"string\",\n \"schedule\": \"string\",\n \"scheduleRepeatType\": \"string\",\n \"scheduleYear\": 0,\n \"shell\": \"string\",\n \"sudo\": True,\n \"systems\": [\"string\"],\n \"template\": \"string\",\n \"templatingRequired\": True,\n \"timeToLiveSeconds\": 0,\n \"timeout\": \"string\",\n \"trigger\": \"string\",\n \"user\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"\",\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/commands/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"aiGenerated\":true,\"command\":\"string\",\"commandRunners\":[\"string\"],\"commandType\":\"linux\",\"description\":\"string\",\"files\":[\"string\"],\"filesS3\":[{\"destination\":\"string\",\"name\":\"string\",\"objectStorageId\":\"string\",\"sha256\":\"string\"}],\"launchType\":\"string\",\"listensTo\":\"string\",\"name\":\"string\",\"organization\":\"string\",\"schedule\":\"string\",\"scheduleRepeatType\":\"string\",\"scheduleYear\":0,\"shell\":\"string\",\"sudo\":true,\"systems\":[\"string\"],\"template\":\"string\",\"timeToLiveSeconds\":0,\"timeout\":\"string\",\"trigger\":\"string\",\"user\":\"string\"}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/commands/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"aiGenerated\":true,\"command\":\"string\",\"commandRunners\":[\"string\"],\"commandType\":\"linux\",\"description\":\"string\",\"files\":[\"string\"],\"filesS3\":[{\"destination\":\"string\",\"name\":\"string\",\"objectStorageId\":\"string\",\"sha256\":\"string\"}],\"launchType\":\"string\",\"listensTo\":\"string\",\"name\":\"string\",\"organization\":\"string\",\"schedule\":\"string\",\"scheduleRepeatType\":\"string\",\"scheduleYear\":0,\"shell\":\"string\",\"sudo\":true,\"systems\":[\"string\"],\"template\":\"string\",\"templatingRequired\":true,\"timeToLiveSeconds\":0,\"timeout\":\"string\",\"trigger\":\"string\",\"user\":\"string\"}'"
}
]
}
@@ -6398,15 +6844,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/files/command/{id}?fields=&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/files/command/{id}?fields=&limit=10&skip=0' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/files/command/{id}\"\n\nquerystring = {\"fields\":\"\",\"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/files/command/{id}\"\n\nquerystring = {\"fields\":\"\",\"limit\":\"10\",\"skip\":\"0\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/files/command/{id}?fields=&limit=10&skip=0' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/files/command/{id}?fields=&limit=10&skip=0' -Method GET -Headers $headers"
}
]
},
@@ -6624,15 +7070,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/organizations/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"settings\":{\"contactEmail\":\"string\",\"contactName\":\"string\",\"deviceIdentificationEnabled\":true,\"disableGoogleLogin\":true,\"disableLdap\":true,\"disableUM\":true,\"duplicateLDAPGroups\":true,\"emailDisclaimer\":\"string\",\"enableManagedUID\":true,\"features\":{\"directoryInsights\":{\"enabled\":true},\"directoryInsightsPremium\":{\"createdAt\":\"string\",\"enabled\":true,\"updatedAt\":\"string\"},\"systemInsights\":{\"createdAt\":\"string\",\"enableNewDarwin\":true,\"enableNewLinux\":true,\"enableNewWindows\":true,\"enabled\":true,\"updatedAt\":\"string\"}},\"growthData\":{},\"logo\":\"string\",\"maxSystemUsers\":0,\"name\":\"string\",\"newSystemUserStateDefaults\":{\"applicationImport\":\"ACTIVATED\",\"csvImport\":\"ACTIVATED\",\"manualEntry\":\"ACTIVATED\"},\"passwordCompliance\":\"custom\",\"passwordPolicy\":{\"allowUnenrolledMFAPasswordReset\":true,\"allowUsernameSubstring\":true,\"daysAfterExpirationToSelfRecover\":0,\"daysBeforeExpirationToForceReset\":1,\"disallowCommonlyUsedPasswords\":true,\"disallowSequentialOrRepetitiveChars\":true,\"effectiveDate\":\"string\",\"enableDaysAfterExpirationToSelfRecover\":true,\"enableDaysBeforeExpirationToForceReset\":true,\"enableLockoutTimeInSeconds\":true,\"enableMaxHistory\":true,\"enableMaxLoginAttempts\":true,\"enableMinChangePeriodInDays\":true,\"enableMinLength\":true,\"enablePasswordExpirationInDays\":true,\"gracePeriodDate\":\"string\",\"lockoutTimeInSeconds\":0,\"maxHistory\":1,\"maxLoginAttempts\":1,\"minChangePeriodInDays\":0,\"minLength\":0,\"needsLowercase\":true,\"needsNumeric\":true,\"needsSymbolic\":true,\"needsUppercase\":true,\"passwordExpirationInDays\":1},\"showIntro\":true,\"systemUserDefaults\":{\"restrictedFields\":[{\"field\":\"addresses\",\"id\":\"string\",\"type\":\"active_directory\"}]},\"systemUserPasswordExpirationInDays\":0,\"systemUsersCanEdit\":true,\"trustedAppConfig\":{\"trustedApps\":[{\"name\":\"Application 1\",\"path\":\"/someuser/Applications/application1.app\",\"teamid\":\"FakeTeamID\"}]},\"userPortal\":{\"cookieExpirationType\":\"session\",\"idleSessionDurationMinutes\":1}}}'"
+ "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/organizations/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"settings\":{\"contactEmail\":\"string\",\"contactName\":\"string\",\"deviceIdentificationEnabled\":true,\"disableGoogleLogin\":true,\"disableLdap\":true,\"disableUM\":true,\"duplicateLDAPGroups\":true,\"emailDisclaimer\":\"string\",\"enableManagedUID\":true,\"features\":{\"directoryInsights\":{\"enabled\":true},\"directoryInsightsPremium\":{\"createdAt\":\"string\",\"enabled\":true,\"updatedAt\":\"string\"},\"systemInsights\":{\"createdAt\":\"string\",\"enableNewDarwin\":true,\"enableNewLinux\":true,\"enableNewWindows\":true,\"enabled\":true,\"updatedAt\":\"string\"}},\"growthData\":{},\"logo\":\"string\",\"maxSystemUsers\":0,\"name\":\"string\",\"newSystemUserStateDefaults\":{\"applicationImport\":\"ACTIVATED\",\"csvImport\":\"ACTIVATED\",\"manualEntry\":\"ACTIVATED\"},\"passwordCompliance\":\"custom\",\"passwordPolicy\":{\"allowUnenrolledMFAPasswordReset\":true,\"allowUsernameSubstring\":true,\"daysAfterExpirationToSelfRecover\":0,\"daysBeforeExpirationToForceReset\":1,\"disallowCommonlyUsedPasswords\":true,\"disallowSequentialOrRepetitiveChars\":true,\"displayComplexityOnResetScreen\":true,\"effectiveDate\":\"string\",\"enableDaysAfterExpirationToSelfRecover\":true,\"enableDaysBeforeExpirationToForceReset\":true,\"enableLockoutTimeInSeconds\":true,\"enableMaxHistory\":true,\"enableMaxLoginAttempts\":true,\"enableMinChangePeriodInDays\":true,\"enableMinLength\":true,\"enablePasswordExpirationInDays\":true,\"gracePeriodDate\":\"string\",\"lockoutTimeInSeconds\":0,\"maxHistory\":1,\"maxLoginAttempts\":1,\"minChangePeriodInDays\":0,\"minLength\":0,\"needsLowercase\":true,\"needsNumeric\":true,\"needsSymbolic\":true,\"needsUppercase\":true,\"passwordExpirationInDays\":1},\"showIntro\":true,\"systemUserDefaults\":{\"restrictedFields\":[{\"field\":\"addresses\",\"id\":\"string\",\"type\":\"active_directory\"}]},\"systemUserPasswordExpirationInDays\":0,\"systemUsersCanEdit\":true,\"trustedAppConfig\":{\"trustedApps\":[{\"name\":\"Application 1\",\"path\":\"/someuser/Applications/application1.app\",\"teamid\":\"FakeTeamID\"}]},\"userPortal\":{\"cookieExpirationType\":\"session\",\"idleSessionDurationMinutes\":1}}}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/organizations/{id}\"\n\npayload = {\"settings\": {\n \"contactEmail\": \"string\",\n \"contactName\": \"string\",\n \"deviceIdentificationEnabled\": True,\n \"disableGoogleLogin\": True,\n \"disableLdap\": True,\n \"disableUM\": True,\n \"duplicateLDAPGroups\": True,\n \"emailDisclaimer\": \"string\",\n \"enableManagedUID\": True,\n \"features\": {\n \"directoryInsights\": {\"enabled\": True},\n \"directoryInsightsPremium\": {\n \"createdAt\": \"string\",\n \"enabled\": True,\n \"updatedAt\": \"string\"\n },\n \"systemInsights\": {\n \"createdAt\": \"string\",\n \"enableNewDarwin\": True,\n \"enableNewLinux\": True,\n \"enableNewWindows\": True,\n \"enabled\": True,\n \"updatedAt\": \"string\"\n }\n },\n \"growthData\": {},\n \"logo\": \"string\",\n \"maxSystemUsers\": 0,\n \"name\": \"string\",\n \"newSystemUserStateDefaults\": {\n \"applicationImport\": \"ACTIVATED\",\n \"csvImport\": \"ACTIVATED\",\n \"manualEntry\": \"ACTIVATED\"\n },\n \"passwordCompliance\": \"custom\",\n \"passwordPolicy\": {\n \"allowUnenrolledMFAPasswordReset\": True,\n \"allowUsernameSubstring\": True,\n \"daysAfterExpirationToSelfRecover\": 0,\n \"daysBeforeExpirationToForceReset\": 1,\n \"disallowCommonlyUsedPasswords\": True,\n \"disallowSequentialOrRepetitiveChars\": True,\n \"effectiveDate\": \"string\",\n \"enableDaysAfterExpirationToSelfRecover\": True,\n \"enableDaysBeforeExpirationToForceReset\": True,\n \"enableLockoutTimeInSeconds\": True,\n \"enableMaxHistory\": True,\n \"enableMaxLoginAttempts\": True,\n \"enableMinChangePeriodInDays\": True,\n \"enableMinLength\": True,\n \"enablePasswordExpirationInDays\": True,\n \"gracePeriodDate\": \"string\",\n \"lockoutTimeInSeconds\": 0,\n \"maxHistory\": 1,\n \"maxLoginAttempts\": 1,\n \"minChangePeriodInDays\": 0,\n \"minLength\": 0,\n \"needsLowercase\": True,\n \"needsNumeric\": True,\n \"needsSymbolic\": True,\n \"needsUppercase\": True,\n \"passwordExpirationInDays\": 1\n },\n \"showIntro\": True,\n \"systemUserDefaults\": {\"restrictedFields\": [\n {\n \"field\": \"addresses\",\n \"id\": \"string\",\n \"type\": \"active_directory\"\n }\n ]},\n \"systemUserPasswordExpirationInDays\": 0,\n \"systemUsersCanEdit\": True,\n \"trustedAppConfig\": {\"trustedApps\": [\n {\n \"name\": \"Application 1\",\n \"path\": \"/someuser/Applications/application1.app\",\n \"teamid\": \"FakeTeamID\"\n }\n ]},\n \"userPortal\": {\n \"cookieExpirationType\": \"session\",\n \"idleSessionDurationMinutes\": 1\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/organizations/{id}\"\n\npayload = {\"settings\": {\n \"contactEmail\": \"string\",\n \"contactName\": \"string\",\n \"deviceIdentificationEnabled\": True,\n \"disableGoogleLogin\": True,\n \"disableLdap\": True,\n \"disableUM\": True,\n \"duplicateLDAPGroups\": True,\n \"emailDisclaimer\": \"string\",\n \"enableManagedUID\": True,\n \"features\": {\n \"directoryInsights\": {\"enabled\": True},\n \"directoryInsightsPremium\": {\n \"createdAt\": \"string\",\n \"enabled\": True,\n \"updatedAt\": \"string\"\n },\n \"systemInsights\": {\n \"createdAt\": \"string\",\n \"enableNewDarwin\": True,\n \"enableNewLinux\": True,\n \"enableNewWindows\": True,\n \"enabled\": True,\n \"updatedAt\": \"string\"\n }\n },\n \"growthData\": {},\n \"logo\": \"string\",\n \"maxSystemUsers\": 0,\n \"name\": \"string\",\n \"newSystemUserStateDefaults\": {\n \"applicationImport\": \"ACTIVATED\",\n \"csvImport\": \"ACTIVATED\",\n \"manualEntry\": \"ACTIVATED\"\n },\n \"passwordCompliance\": \"custom\",\n \"passwordPolicy\": {\n \"allowUnenrolledMFAPasswordReset\": True,\n \"allowUsernameSubstring\": True,\n \"daysAfterExpirationToSelfRecover\": 0,\n \"daysBeforeExpirationToForceReset\": 1,\n \"disallowCommonlyUsedPasswords\": True,\n \"disallowSequentialOrRepetitiveChars\": True,\n \"displayComplexityOnResetScreen\": True,\n \"effectiveDate\": \"string\",\n \"enableDaysAfterExpirationToSelfRecover\": True,\n \"enableDaysBeforeExpirationToForceReset\": True,\n \"enableLockoutTimeInSeconds\": True,\n \"enableMaxHistory\": True,\n \"enableMaxLoginAttempts\": True,\n \"enableMinChangePeriodInDays\": True,\n \"enableMinLength\": True,\n \"enablePasswordExpirationInDays\": True,\n \"gracePeriodDate\": \"string\",\n \"lockoutTimeInSeconds\": 0,\n \"maxHistory\": 1,\n \"maxLoginAttempts\": 1,\n \"minChangePeriodInDays\": 0,\n \"minLength\": 0,\n \"needsLowercase\": True,\n \"needsNumeric\": True,\n \"needsSymbolic\": True,\n \"needsUppercase\": True,\n \"passwordExpirationInDays\": 1\n },\n \"showIntro\": True,\n \"systemUserDefaults\": {\"restrictedFields\": [\n {\n \"field\": \"addresses\",\n \"id\": \"string\",\n \"type\": \"active_directory\"\n }\n ]},\n \"systemUserPasswordExpirationInDays\": 0,\n \"systemUsersCanEdit\": True,\n \"trustedAppConfig\": {\"trustedApps\": [\n {\n \"name\": \"Application 1\",\n \"path\": \"/someuser/Applications/application1.app\",\n \"teamid\": \"FakeTeamID\"\n }\n ]},\n \"userPortal\": {\n \"cookieExpirationType\": \"session\",\n \"idleSessionDurationMinutes\": 1\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)"
},
{
"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/organizations/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"settings\":{\"contactEmail\":\"string\",\"contactName\":\"string\",\"deviceIdentificationEnabled\":true,\"disableGoogleLogin\":true,\"disableLdap\":true,\"disableUM\":true,\"duplicateLDAPGroups\":true,\"emailDisclaimer\":\"string\",\"enableManagedUID\":true,\"features\":{\"directoryInsights\":{\"enabled\":true},\"directoryInsightsPremium\":{\"createdAt\":\"string\",\"enabled\":true,\"updatedAt\":\"string\"},\"systemInsights\":{\"createdAt\":\"string\",\"enableNewDarwin\":true,\"enableNewLinux\":true,\"enableNewWindows\":true,\"enabled\":true,\"updatedAt\":\"string\"}},\"growthData\":{},\"logo\":\"string\",\"maxSystemUsers\":0,\"name\":\"string\",\"newSystemUserStateDefaults\":{\"applicationImport\":\"ACTIVATED\",\"csvImport\":\"ACTIVATED\",\"manualEntry\":\"ACTIVATED\"},\"passwordCompliance\":\"custom\",\"passwordPolicy\":{\"allowUnenrolledMFAPasswordReset\":true,\"allowUsernameSubstring\":true,\"daysAfterExpirationToSelfRecover\":0,\"daysBeforeExpirationToForceReset\":1,\"disallowCommonlyUsedPasswords\":true,\"disallowSequentialOrRepetitiveChars\":true,\"effectiveDate\":\"string\",\"enableDaysAfterExpirationToSelfRecover\":true,\"enableDaysBeforeExpirationToForceReset\":true,\"enableLockoutTimeInSeconds\":true,\"enableMaxHistory\":true,\"enableMaxLoginAttempts\":true,\"enableMinChangePeriodInDays\":true,\"enableMinLength\":true,\"enablePasswordExpirationInDays\":true,\"gracePeriodDate\":\"string\",\"lockoutTimeInSeconds\":0,\"maxHistory\":1,\"maxLoginAttempts\":1,\"minChangePeriodInDays\":0,\"minLength\":0,\"needsLowercase\":true,\"needsNumeric\":true,\"needsSymbolic\":true,\"needsUppercase\":true,\"passwordExpirationInDays\":1},\"showIntro\":true,\"systemUserDefaults\":{\"restrictedFields\":[{\"field\":\"addresses\",\"id\":\"string\",\"type\":\"active_directory\"}]},\"systemUserPasswordExpirationInDays\":0,\"systemUsersCanEdit\":true,\"trustedAppConfig\":{\"trustedApps\":[{\"name\":\"Application 1\",\"path\":\"/someuser/Applications/application1.app\",\"teamid\":\"FakeTeamID\"}]},\"userPortal\":{\"cookieExpirationType\":\"session\",\"idleSessionDurationMinutes\":1}}}'"
+ "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/organizations/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"settings\":{\"contactEmail\":\"string\",\"contactName\":\"string\",\"deviceIdentificationEnabled\":true,\"disableGoogleLogin\":true,\"disableLdap\":true,\"disableUM\":true,\"duplicateLDAPGroups\":true,\"emailDisclaimer\":\"string\",\"enableManagedUID\":true,\"features\":{\"directoryInsights\":{\"enabled\":true},\"directoryInsightsPremium\":{\"createdAt\":\"string\",\"enabled\":true,\"updatedAt\":\"string\"},\"systemInsights\":{\"createdAt\":\"string\",\"enableNewDarwin\":true,\"enableNewLinux\":true,\"enableNewWindows\":true,\"enabled\":true,\"updatedAt\":\"string\"}},\"growthData\":{},\"logo\":\"string\",\"maxSystemUsers\":0,\"name\":\"string\",\"newSystemUserStateDefaults\":{\"applicationImport\":\"ACTIVATED\",\"csvImport\":\"ACTIVATED\",\"manualEntry\":\"ACTIVATED\"},\"passwordCompliance\":\"custom\",\"passwordPolicy\":{\"allowUnenrolledMFAPasswordReset\":true,\"allowUsernameSubstring\":true,\"daysAfterExpirationToSelfRecover\":0,\"daysBeforeExpirationToForceReset\":1,\"disallowCommonlyUsedPasswords\":true,\"disallowSequentialOrRepetitiveChars\":true,\"displayComplexityOnResetScreen\":true,\"effectiveDate\":\"string\",\"enableDaysAfterExpirationToSelfRecover\":true,\"enableDaysBeforeExpirationToForceReset\":true,\"enableLockoutTimeInSeconds\":true,\"enableMaxHistory\":true,\"enableMaxLoginAttempts\":true,\"enableMinChangePeriodInDays\":true,\"enableMinLength\":true,\"enablePasswordExpirationInDays\":true,\"gracePeriodDate\":\"string\",\"lockoutTimeInSeconds\":0,\"maxHistory\":1,\"maxLoginAttempts\":1,\"minChangePeriodInDays\":0,\"minLength\":0,\"needsLowercase\":true,\"needsNumeric\":true,\"needsSymbolic\":true,\"needsUppercase\":true,\"passwordExpirationInDays\":1},\"showIntro\":true,\"systemUserDefaults\":{\"restrictedFields\":[{\"field\":\"addresses\",\"id\":\"string\",\"type\":\"active_directory\"}]},\"systemUserPasswordExpirationInDays\":0,\"systemUsersCanEdit\":true,\"trustedAppConfig\":{\"trustedApps\":[{\"name\":\"Application 1\",\"path\":\"/someuser/Applications/application1.app\",\"teamid\":\"FakeTeamID\"}]},\"userPortal\":{\"cookieExpirationType\":\"session\",\"idleSessionDurationMinutes\":1}}}'"
}
]
},
@@ -6740,15 +7186,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/radiusservers?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/radiusservers?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0&sort=' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/radiusservers\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\",\"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/radiusservers\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\",\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/radiusservers?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0&sort=' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/radiusservers?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0&sort=' -Method GET -Headers $headers"
}
]
},
@@ -6784,15 +7230,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/radiusservers \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"authIdp\":\"JUMPCLOUD\",\"caCert\":\"string\",\"deviceCertEnabled\":true,\"mfa\":\"DISABLED\",\"name\":\"string\",\"networkSourceIp\":\"string\",\"radsecEnabled\":true,\"requireRadsec\":true,\"requireTlsAuth\":true,\"sharedSecret\":\"string\",\"tagNames\":[\"string\"],\"userCertEnabled\":true,\"userLockoutAction\":\"string\",\"userPasswordEnabled\":true,\"userPasswordExpirationAction\":\"string\"}'"
+ "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/radiusservers \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"authIdp\":\"JUMPCLOUD\",\"caCert\":\"string\",\"deviceCertEnabled\":true,\"mfa\":\"DISABLED\",\"name\":\"string\",\"networkSourceIp\":\"string\",\"radsecEnabled\":true,\"requireRadsec\":true,\"requireTlsAuth\":true,\"sharedSecret\":\"string\",\"tagNames\":[\"string\"],\"userCertEnabled\":true,\"userLockoutAction\":\"string\",\"userPasswordEnabled\":true,\"userPasswordExpirationAction\":\"string\"}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/radiusservers\"\n\npayload = {\n \"authIdp\": \"JUMPCLOUD\",\n \"caCert\": \"string\",\n \"deviceCertEnabled\": True,\n \"mfa\": \"DISABLED\",\n \"name\": \"string\",\n \"networkSourceIp\": \"string\",\n \"radsecEnabled\": True,\n \"requireRadsec\": True,\n \"requireTlsAuth\": True,\n \"sharedSecret\": \"string\",\n \"tagNames\": [\"string\"],\n \"userCertEnabled\": True,\n \"userLockoutAction\": \"string\",\n \"userPasswordEnabled\": True,\n \"userPasswordExpirationAction\": \"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/radiusservers\"\n\npayload = {\n \"authIdp\": \"JUMPCLOUD\",\n \"caCert\": \"string\",\n \"deviceCertEnabled\": True,\n \"mfa\": \"DISABLED\",\n \"name\": \"string\",\n \"networkSourceIp\": \"string\",\n \"radsecEnabled\": True,\n \"requireRadsec\": True,\n \"requireTlsAuth\": True,\n \"sharedSecret\": \"string\",\n \"tagNames\": [\"string\"],\n \"userCertEnabled\": True,\n \"userLockoutAction\": \"string\",\n \"userPasswordEnabled\": True,\n \"userPasswordExpirationAction\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"\",\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/radiusservers' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"authIdp\":\"JUMPCLOUD\",\"caCert\":\"string\",\"deviceCertEnabled\":true,\"mfa\":\"DISABLED\",\"name\":\"string\",\"networkSourceIp\":\"string\",\"radsecEnabled\":true,\"requireRadsec\":true,\"requireTlsAuth\":true,\"sharedSecret\":\"string\",\"tagNames\":[\"string\"],\"userCertEnabled\":true,\"userLockoutAction\":\"string\",\"userPasswordEnabled\":true,\"userPasswordExpirationAction\":\"string\"}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/radiusservers' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"authIdp\":\"JUMPCLOUD\",\"caCert\":\"string\",\"deviceCertEnabled\":true,\"mfa\":\"DISABLED\",\"name\":\"string\",\"networkSourceIp\":\"string\",\"radsecEnabled\":true,\"requireRadsec\":true,\"requireTlsAuth\":true,\"sharedSecret\":\"string\",\"tagNames\":[\"string\"],\"userCertEnabled\":true,\"userLockoutAction\":\"string\",\"userPasswordEnabled\":true,\"userPasswordExpirationAction\":\"string\"}'"
}
]
}
@@ -6822,15 +7268,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/radiusservers/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/radiusservers/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/radiusservers/{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/radiusservers/{id}\"\n\nheaders = {\n \"x-org-id\": \"\",\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/radiusservers/{id}' -Method DELETE -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/radiusservers/{id}' -Method DELETE -Headers $headers"
}
]
},
@@ -6855,15 +7301,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/radiusservers/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/radiusservers/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/radiusservers/{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/radiusservers/{id}\"\n\nheaders = {\n \"x-org-id\": \"\",\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/radiusservers/{id}' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/radiusservers/{id}' -Method GET -Headers $headers"
}
]
},
@@ -6967,15 +7413,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/radiusservers/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"name\":\"test radius\",\"networkSourceIp\":\"0.0.0.0\",\"sharedSecret\":\"secretradiuspassword\",\"tagsNames\":[\"tag1\"]}'"
+ "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/radiusservers/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"name\":\"test radius\",\"networkSourceIp\":\"0.0.0.0\",\"sharedSecret\":\"secretradiuspassword\",\"tagsNames\":[\"tag1\"]}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/radiusservers/{id}\"\n\npayload = {\n \"name\": \"test radius\",\n \"networkSourceIp\": \"0.0.0.0\",\n \"sharedSecret\": \"secretradiuspassword\",\n \"tagsNames\": [\"tag1\"]\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/radiusservers/{id}\"\n\npayload = {\n \"name\": \"test radius\",\n \"networkSourceIp\": \"0.0.0.0\",\n \"sharedSecret\": \"secretradiuspassword\",\n \"tagsNames\": [\"tag1\"]\n}\nheaders = {\n \"x-org-id\": \"\",\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/radiusservers/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"test radius\",\"networkSourceIp\":\"0.0.0.0\",\"sharedSecret\":\"secretradiuspassword\",\"tagsNames\":[\"tag1\"]}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/radiusservers/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"test radius\",\"networkSourceIp\":\"0.0.0.0\",\"sharedSecret\":\"secretradiuspassword\",\"tagsNames\":[\"tag1\"]}'"
}
]
},
@@ -7088,15 +7534,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url 'https://console.jumpcloud.com/api/search/commandresults?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
+ "source": "curl --request POST \\\n --url 'https://console.jumpcloud.com/api/search/commandresults?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/search/commandresults\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\npayload = {\n \"fields\": \"string\",\n \"filter\": {},\n \"searchFilter\": {}\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, params=querystring)\n\nprint(response.text)"
+ "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/search/commandresults\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\npayload = {\n \"fields\": \"string\",\n \"filter\": {},\n \"searchFilter\": {}\n}\nheaders = {\n \"x-org-id\": \"\",\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(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/search/commandresults?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/search/commandresults?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
}
]
},
@@ -7134,15 +7580,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url 'https://console.jumpcloud.com/api/search/commands?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
+ "source": "curl --request POST \\\n --url 'https://console.jumpcloud.com/api/search/commands?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/search/commands\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\npayload = {\n \"fields\": \"string\",\n \"filter\": {},\n \"searchFilter\": {}\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, params=querystring)\n\nprint(response.text)"
+ "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/search/commands\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\npayload = {\n \"fields\": \"string\",\n \"filter\": {},\n \"searchFilter\": {}\n}\nheaders = {\n \"x-org-id\": \"\",\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(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/search/commands?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/search/commands?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
}
]
},
@@ -7227,15 +7673,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url 'https://console.jumpcloud.com/api/search/systems?fields=&limit=10&skip=0&filter=SOME_STRING_VALUE' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
+ "source": "curl --request POST \\\n --url 'https://console.jumpcloud.com/api/search/systems?fields=&limit=10&skip=0&filter=SOME_STRING_VALUE' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-eventually-consistent: false' \\\n --header 'x-org-id: ' \\\n --data '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/search/systems\"\n\nquerystring = {\"fields\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"SOME_STRING_VALUE\"}\n\npayload = {\n \"fields\": \"string\",\n \"filter\": {},\n \"searchFilter\": {}\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, params=querystring)\n\nprint(response.text)"
+ "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/search/systems\"\n\nquerystring = {\"fields\":\"\",\"limit\":\"10\",\"skip\":\"0\",\"filter\":\"SOME_STRING_VALUE\"}\n\npayload = {\n \"fields\": \"string\",\n \"filter\": {},\n \"searchFilter\": {}\n}\nheaders = {\n \"x-org-id\": \"\",\n \"x-eventually-consistent\": \"false\",\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(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/search/systems?fields=&limit=10&skip=0&filter=SOME_STRING_VALUE' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-eventually-consistent\", \"false\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/search/systems?fields=&limit=10&skip=0&filter=SOME_STRING_VALUE' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
}
]
},
@@ -7260,7 +7706,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/systemuserslist"
+ "$ref": "#/definitions/systemUsersSearchlist"
}
}
},
@@ -7273,15 +7719,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url 'https://console.jumpcloud.com/api/search/systemusers?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
+ "source": "curl --request POST \\\n --url 'https://console.jumpcloud.com/api/search/systemusers?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-eventually-consistent: false' \\\n --header 'x-org-id: ' \\\n --data '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/search/systemusers\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\npayload = {\n \"fields\": \"string\",\n \"filter\": {},\n \"searchFilter\": {}\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, params=querystring)\n\nprint(response.text)"
+ "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/search/systemusers\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\",\"limit\":\"10\",\"skip\":\"0\"}\n\npayload = {\n \"fields\": \"string\",\n \"filter\": {},\n \"searchFilter\": {}\n}\nheaders = {\n \"x-org-id\": \"\",\n \"x-eventually-consistent\": \"false\",\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(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/search/systemusers?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-eventually-consistent\", \"false\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/search/systemusers?fields=&filter=SOME_STRING_VALUE&limit=10&skip=0' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"fields\":\"string\",\"filter\":{},\"searchFilter\":{}}'"
}
]
},
@@ -7330,15 +7776,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/systems?fields=&limit=10&search=SOME_STRING_VALUE&skip=0&sort=&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/systems?fields=&limit=10&search=SOME_STRING_VALUE&skip=0&sort=&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systems\"\n\nquerystring = {\"fields\":\"\",\"limit\":\"10\",\"search\":\"SOME_STRING_VALUE\",\"skip\":\"0\",\"sort\":\"\",\"filter\":\"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/systems\"\n\nquerystring = {\"fields\":\"\",\"limit\":\"10\",\"search\":\"SOME_STRING_VALUE\",\"skip\":\"0\",\"sort\":\"\",\"filter\":\"SOME_STRING_VALUE\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systems?fields=&limit=10&search=SOME_STRING_VALUE&skip=0&sort=&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systems?fields=&limit=10&search=SOME_STRING_VALUE&skip=0&sort=&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
}
]
},
@@ -7380,15 +7826,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/systems/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/systems/{id} \\\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: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systems/{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/systems/{id}\"\n\nheaders = {\n \"Date\": \"SOME_STRING_VALUE\",\n \"Authorization\": \"SOME_STRING_VALUE\",\n \"x-org-id\": \"\",\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/systems/{id}' -Method DELETE -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"Date\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Authorization\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systems/{id}' -Method DELETE -Headers $headers"
}
]
},
@@ -7420,15 +7866,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/systems/{id}?fields=&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/systems/{id}?fields=&filter=SOME_STRING_VALUE' \\\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: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systems/{id}\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"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/systems/{id}\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\"}\n\nheaders = {\n \"Date\": \"SOME_STRING_VALUE\",\n \"Authorization\": \"SOME_STRING_VALUE\",\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systems/{id}?fields=&filter=SOME_STRING_VALUE' -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\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systems/{id}?fields=&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
}
]
},
@@ -7469,15 +7915,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/systems/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"agentBoundMessages\":[{\"cmd\":\"string\"}],\"allowMultiFactorAuthentication\":true,\"allowPublicKeyAuthentication\":true,\"allowSshPasswordAuthentication\":true,\"allowSshRootLogin\":true,\"displayName\":\"string\",\"tags\":[\"string\"]}'"
+ "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/systems/{id} \\\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: ' \\\n --data '{\"agentBoundMessages\":[{\"cmd\":\"string\"}],\"allowMultiFactorAuthentication\":true,\"allowPublicKeyAuthentication\":true,\"allowSshPasswordAuthentication\":true,\"allowSshRootLogin\":true,\"displayName\":\"string\",\"tags\":[\"string\"]}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systems/{id}\"\n\npayload = {\n \"agentBoundMessages\": [{\"cmd\": \"string\"}],\n \"allowMultiFactorAuthentication\": True,\n \"allowPublicKeyAuthentication\": True,\n \"allowSshPasswordAuthentication\": True,\n \"allowSshRootLogin\": True,\n \"displayName\": \"string\",\n \"tags\": [\"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/systems/{id}\"\n\npayload = {\n \"agentBoundMessages\": [{\"cmd\": \"string\"}],\n \"allowMultiFactorAuthentication\": True,\n \"allowPublicKeyAuthentication\": True,\n \"allowSshPasswordAuthentication\": True,\n \"allowSshRootLogin\": True,\n \"displayName\": \"string\",\n \"tags\": [\"string\"]\n}\nheaders = {\n \"Date\": \"SOME_STRING_VALUE\",\n \"Authorization\": \"SOME_STRING_VALUE\",\n \"x-org-id\": \"\",\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/systems/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"agentBoundMessages\":[{\"cmd\":\"string\"}],\"allowMultiFactorAuthentication\":true,\"allowPublicKeyAuthentication\":true,\"allowSshPasswordAuthentication\":true,\"allowSshRootLogin\":true,\"displayName\":\"string\",\"tags\":[\"string\"]}'"
+ "source": "$headers=@{}\n$headers.Add(\"Date\", \"SOME_STRING_VALUE\")\n$headers.Add(\"Authorization\", \"SOME_STRING_VALUE\")\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systems/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"agentBoundMessages\":[{\"cmd\":\"string\"}],\"allowMultiFactorAuthentication\":true,\"allowPublicKeyAuthentication\":true,\"allowSshPasswordAuthentication\":true,\"allowSshRootLogin\":true,\"displayName\":\"string\",\"tags\":[\"string\"]}'"
}
]
},
@@ -7512,15 +7958,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/erase \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/erase \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/erase\"\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/systems/{system_id}/command/builtin/erase\"\n\nheaders = {\n \"x-org-id\": \"\",\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/systems/{system_id}/command/builtin/erase' -Method POST -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/erase' -Method POST -Headers $headers"
}
]
},
@@ -7558,15 +8004,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/lock \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/lock \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/lock\"\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/systems/{system_id}/command/builtin/lock\"\n\nheaders = {\n \"x-org-id\": \"\",\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/systems/{system_id}/command/builtin/lock' -Method POST -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/lock' -Method POST -Headers $headers"
}
]
},
@@ -7604,15 +8050,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/restart \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/restart \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/restart\"\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/systems/{system_id}/command/builtin/restart\"\n\nheaders = {\n \"x-org-id\": \"\",\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/systems/{system_id}/command/builtin/restart' -Method POST -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/restart' -Method POST -Headers $headers"
}
]
},
@@ -7649,15 +8095,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/shutdown \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/shutdown \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/shutdown\"\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/systems/{system_id}/command/builtin/shutdown\"\n\nheaders = {\n \"x-org-id\": \"\",\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/systems/{system_id}/command/builtin/shutdown' -Method POST -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systems/{system_id}/command/builtin/shutdown' -Method POST -Headers $headers"
}
]
},
@@ -7725,15 +8171,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/systemusers?limit=10&skip=0&sort=&fields=&filter=SOME_STRING_VALUE&search=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/systemusers?limit=10&skip=0&sort=&fields=&filter=SOME_STRING_VALUE&search=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\",\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\",\"search\":\"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/systemusers\"\n\nquerystring = {\"limit\":\"10\",\"skip\":\"0\",\"sort\":\"\",\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\",\"search\":\"SOME_STRING_VALUE\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers?limit=10&skip=0&sort=&fields=&filter=SOME_STRING_VALUE&search=SOME_STRING_VALUE' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers?limit=10&skip=0&sort=&fields=&filter=SOME_STRING_VALUE&search=SOME_STRING_VALUE' -Method GET -Headers $headers"
}
]
},
@@ -7775,15 +8221,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url 'https://console.jumpcloud.com/api/systemusers?fullValidationDetails=SOME_STRING_VALUE' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"account_locked\":true,\"activated\":true,\"addresses\":[{\"country\":\"string\",\"extendedAddress\":\"string\",\"locality\":\"string\",\"poBox\":\"string\",\"postalCode\":\"string\",\"region\":\"string\",\"streetAddress\":\"string\",\"type\":\"string\"}],\"allow_public_key\":true,\"alternateEmail\":\"string\",\"attributes\":[{\"name\":\"string\",\"value\":\"string\"}],\"company\":\"string\",\"costCenter\":\"string\",\"delegatedAuthority\":{\"id\":\"string\",\"name\":\"ActiveDirectory\"},\"department\":\"string\",\"description\":\"string\",\"disableDeviceMaxLoginAttempts\":true,\"displayname\":\"string\",\"email\":\"string\",\"employeeIdentifier\":\"string\",\"employeeType\":\"string\",\"enable_managed_uid\":true,\"enable_user_portal_multifactor\":true,\"external_dn\":\"string\",\"external_password_expiration_date\":\"2019-08-24T14:15:22Z\",\"external_source_type\":\"string\",\"externally_managed\":true,\"firstname\":\"string\",\"jobTitle\":\"string\",\"lastname\":\"string\",\"ldap_binding_user\":true,\"location\":\"string\",\"managedAppleId\":\"string\",\"manager\":\"string\",\"mfa\":{\"configured\":true,\"exclusion\":true,\"exclusionDays\":1,\"exclusionUntil\":\"2019-08-24T14:15:22Z\"},\"middlename\":\"string\",\"password\":\"string\",\"password_never_expires\":true,\"passwordless_sudo\":true,\"phoneNumbers\":[{\"number\":\"string\",\"type\":\"string\"}],\"public_key\":\"string\",\"recoveryEmail\":{\"address\":\"string\"},\"relationships\":[{\"type\":\"string\",\"value\":\"string\"}],\"restrictedFields\":[{\"field\":\"addresses\",\"id\":\"string\",\"type\":\"active_directory\"}],\"samba_service_user\":true,\"state\":\"STAGED\",\"sudo\":true,\"suspended\":true,\"tags\":[\"string\"],\"unix_guid\":1,\"unix_uid\":1,\"username\":\"string\"}'"
+ "source": "curl --request POST \\\n --url 'https://console.jumpcloud.com/api/systemusers?fullValidationDetails=SOME_STRING_VALUE' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"account_locked\":true,\"activated\":true,\"addresses\":[{\"country\":\"string\",\"extendedAddress\":\"string\",\"locality\":\"string\",\"poBox\":\"string\",\"postalCode\":\"string\",\"region\":\"string\",\"streetAddress\":\"string\",\"type\":\"string\"}],\"allow_public_key\":true,\"alternateEmail\":\"string\",\"attributes\":[{\"name\":\"string\",\"value\":\"string\"}],\"company\":\"string\",\"costCenter\":\"string\",\"delegatedAuthority\":{\"id\":\"string\",\"name\":\"ActiveDirectory\"},\"department\":\"string\",\"description\":\"string\",\"disableDeviceMaxLoginAttempts\":true,\"displayname\":\"string\",\"email\":\"string\",\"employeeIdentifier\":\"string\",\"employeeType\":\"string\",\"enable_managed_uid\":true,\"enable_user_portal_multifactor\":true,\"external_dn\":\"string\",\"external_password_expiration_date\":\"2019-08-24T14:15:22Z\",\"external_source_type\":\"string\",\"externally_managed\":true,\"firstname\":\"string\",\"jobTitle\":\"string\",\"lastname\":\"string\",\"ldap_binding_user\":true,\"location\":\"string\",\"managedAppleId\":\"string\",\"manager\":\"string\",\"mfa\":{\"configured\":true,\"exclusion\":true,\"exclusionDays\":1,\"exclusionUntil\":\"2019-08-24T14:15:22Z\"},\"middlename\":\"string\",\"password\":\"string\",\"password_never_expires\":true,\"passwordless_sudo\":true,\"phoneNumbers\":[{\"number\":\"string\",\"type\":\"string\"}],\"public_key\":\"string\",\"recoveryEmail\":{\"address\":\"string\"},\"relationships\":[{\"type\":\"string\",\"value\":\"string\"}],\"restrictedFields\":[{\"field\":\"addresses\",\"id\":\"string\",\"type\":\"active_directory\"}],\"samba_service_user\":true,\"state\":\"STAGED\",\"sudo\":true,\"suspended\":true,\"tags\":[\"string\"],\"unix_guid\":1,\"unix_uid\":1,\"username\":\"string\"}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers\"\n\nquerystring = {\"fullValidationDetails\":\"SOME_STRING_VALUE\"}\n\npayload = {\n \"account_locked\": True,\n \"activated\": True,\n \"addresses\": [\n {\n \"country\": \"string\",\n \"extendedAddress\": \"string\",\n \"locality\": \"string\",\n \"poBox\": \"string\",\n \"postalCode\": \"string\",\n \"region\": \"string\",\n \"streetAddress\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"allow_public_key\": True,\n \"alternateEmail\": \"string\",\n \"attributes\": [\n {\n \"name\": \"string\",\n \"value\": \"string\"\n }\n ],\n \"company\": \"string\",\n \"costCenter\": \"string\",\n \"delegatedAuthority\": {\n \"id\": \"string\",\n \"name\": \"ActiveDirectory\"\n },\n \"department\": \"string\",\n \"description\": \"string\",\n \"disableDeviceMaxLoginAttempts\": True,\n \"displayname\": \"string\",\n \"email\": \"string\",\n \"employeeIdentifier\": \"string\",\n \"employeeType\": \"string\",\n \"enable_managed_uid\": True,\n \"enable_user_portal_multifactor\": True,\n \"external_dn\": \"string\",\n \"external_password_expiration_date\": \"2019-08-24T14:15:22Z\",\n \"external_source_type\": \"string\",\n \"externally_managed\": True,\n \"firstname\": \"string\",\n \"jobTitle\": \"string\",\n \"lastname\": \"string\",\n \"ldap_binding_user\": True,\n \"location\": \"string\",\n \"managedAppleId\": \"string\",\n \"manager\": \"string\",\n \"mfa\": {\n \"configured\": True,\n \"exclusion\": True,\n \"exclusionDays\": 1,\n \"exclusionUntil\": \"2019-08-24T14:15:22Z\"\n },\n \"middlename\": \"string\",\n \"password\": \"string\",\n \"password_never_expires\": True,\n \"passwordless_sudo\": True,\n \"phoneNumbers\": [\n {\n \"number\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"public_key\": \"string\",\n \"recoveryEmail\": {\"address\": \"string\"},\n \"relationships\": [\n {\n \"type\": \"string\",\n \"value\": \"string\"\n }\n ],\n \"restrictedFields\": [\n {\n \"field\": \"addresses\",\n \"id\": \"string\",\n \"type\": \"active_directory\"\n }\n ],\n \"samba_service_user\": True,\n \"state\": \"STAGED\",\n \"sudo\": True,\n \"suspended\": True,\n \"tags\": [\"string\"],\n \"unix_guid\": 1,\n \"unix_uid\": 1,\n \"username\": \"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, params=querystring)\n\nprint(response.text)"
+ "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers\"\n\nquerystring = {\"fullValidationDetails\":\"SOME_STRING_VALUE\"}\n\npayload = {\n \"account_locked\": True,\n \"activated\": True,\n \"addresses\": [\n {\n \"country\": \"string\",\n \"extendedAddress\": \"string\",\n \"locality\": \"string\",\n \"poBox\": \"string\",\n \"postalCode\": \"string\",\n \"region\": \"string\",\n \"streetAddress\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"allow_public_key\": True,\n \"alternateEmail\": \"string\",\n \"attributes\": [\n {\n \"name\": \"string\",\n \"value\": \"string\"\n }\n ],\n \"company\": \"string\",\n \"costCenter\": \"string\",\n \"delegatedAuthority\": {\n \"id\": \"string\",\n \"name\": \"ActiveDirectory\"\n },\n \"department\": \"string\",\n \"description\": \"string\",\n \"disableDeviceMaxLoginAttempts\": True,\n \"displayname\": \"string\",\n \"email\": \"string\",\n \"employeeIdentifier\": \"string\",\n \"employeeType\": \"string\",\n \"enable_managed_uid\": True,\n \"enable_user_portal_multifactor\": True,\n \"external_dn\": \"string\",\n \"external_password_expiration_date\": \"2019-08-24T14:15:22Z\",\n \"external_source_type\": \"string\",\n \"externally_managed\": True,\n \"firstname\": \"string\",\n \"jobTitle\": \"string\",\n \"lastname\": \"string\",\n \"ldap_binding_user\": True,\n \"location\": \"string\",\n \"managedAppleId\": \"string\",\n \"manager\": \"string\",\n \"mfa\": {\n \"configured\": True,\n \"exclusion\": True,\n \"exclusionDays\": 1,\n \"exclusionUntil\": \"2019-08-24T14:15:22Z\"\n },\n \"middlename\": \"string\",\n \"password\": \"string\",\n \"password_never_expires\": True,\n \"passwordless_sudo\": True,\n \"phoneNumbers\": [\n {\n \"number\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"public_key\": \"string\",\n \"recoveryEmail\": {\"address\": \"string\"},\n \"relationships\": [\n {\n \"type\": \"string\",\n \"value\": \"string\"\n }\n ],\n \"restrictedFields\": [\n {\n \"field\": \"addresses\",\n \"id\": \"string\",\n \"type\": \"active_directory\"\n }\n ],\n \"samba_service_user\": True,\n \"state\": \"STAGED\",\n \"sudo\": True,\n \"suspended\": True,\n \"tags\": [\"string\"],\n \"unix_guid\": 1,\n \"unix_uid\": 1,\n \"username\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"\",\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(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers?fullValidationDetails=SOME_STRING_VALUE' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"account_locked\":true,\"activated\":true,\"addresses\":[{\"country\":\"string\",\"extendedAddress\":\"string\",\"locality\":\"string\",\"poBox\":\"string\",\"postalCode\":\"string\",\"region\":\"string\",\"streetAddress\":\"string\",\"type\":\"string\"}],\"allow_public_key\":true,\"alternateEmail\":\"string\",\"attributes\":[{\"name\":\"string\",\"value\":\"string\"}],\"company\":\"string\",\"costCenter\":\"string\",\"delegatedAuthority\":{\"id\":\"string\",\"name\":\"ActiveDirectory\"},\"department\":\"string\",\"description\":\"string\",\"disableDeviceMaxLoginAttempts\":true,\"displayname\":\"string\",\"email\":\"string\",\"employeeIdentifier\":\"string\",\"employeeType\":\"string\",\"enable_managed_uid\":true,\"enable_user_portal_multifactor\":true,\"external_dn\":\"string\",\"external_password_expiration_date\":\"2019-08-24T14:15:22Z\",\"external_source_type\":\"string\",\"externally_managed\":true,\"firstname\":\"string\",\"jobTitle\":\"string\",\"lastname\":\"string\",\"ldap_binding_user\":true,\"location\":\"string\",\"managedAppleId\":\"string\",\"manager\":\"string\",\"mfa\":{\"configured\":true,\"exclusion\":true,\"exclusionDays\":1,\"exclusionUntil\":\"2019-08-24T14:15:22Z\"},\"middlename\":\"string\",\"password\":\"string\",\"password_never_expires\":true,\"passwordless_sudo\":true,\"phoneNumbers\":[{\"number\":\"string\",\"type\":\"string\"}],\"public_key\":\"string\",\"recoveryEmail\":{\"address\":\"string\"},\"relationships\":[{\"type\":\"string\",\"value\":\"string\"}],\"restrictedFields\":[{\"field\":\"addresses\",\"id\":\"string\",\"type\":\"active_directory\"}],\"samba_service_user\":true,\"state\":\"STAGED\",\"sudo\":true,\"suspended\":true,\"tags\":[\"string\"],\"unix_guid\":1,\"unix_uid\":1,\"username\":\"string\"}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers?fullValidationDetails=SOME_STRING_VALUE' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"account_locked\":true,\"activated\":true,\"addresses\":[{\"country\":\"string\",\"extendedAddress\":\"string\",\"locality\":\"string\",\"poBox\":\"string\",\"postalCode\":\"string\",\"region\":\"string\",\"streetAddress\":\"string\",\"type\":\"string\"}],\"allow_public_key\":true,\"alternateEmail\":\"string\",\"attributes\":[{\"name\":\"string\",\"value\":\"string\"}],\"company\":\"string\",\"costCenter\":\"string\",\"delegatedAuthority\":{\"id\":\"string\",\"name\":\"ActiveDirectory\"},\"department\":\"string\",\"description\":\"string\",\"disableDeviceMaxLoginAttempts\":true,\"displayname\":\"string\",\"email\":\"string\",\"employeeIdentifier\":\"string\",\"employeeType\":\"string\",\"enable_managed_uid\":true,\"enable_user_portal_multifactor\":true,\"external_dn\":\"string\",\"external_password_expiration_date\":\"2019-08-24T14:15:22Z\",\"external_source_type\":\"string\",\"externally_managed\":true,\"firstname\":\"string\",\"jobTitle\":\"string\",\"lastname\":\"string\",\"ldap_binding_user\":true,\"location\":\"string\",\"managedAppleId\":\"string\",\"manager\":\"string\",\"mfa\":{\"configured\":true,\"exclusion\":true,\"exclusionDays\":1,\"exclusionUntil\":\"2019-08-24T14:15:22Z\"},\"middlename\":\"string\",\"password\":\"string\",\"password_never_expires\":true,\"passwordless_sudo\":true,\"phoneNumbers\":[{\"number\":\"string\",\"type\":\"string\"}],\"public_key\":\"string\",\"recoveryEmail\":{\"address\":\"string\"},\"relationships\":[{\"type\":\"string\",\"value\":\"string\"}],\"restrictedFields\":[{\"field\":\"addresses\",\"id\":\"string\",\"type\":\"active_directory\"}],\"samba_service_user\":true,\"state\":\"STAGED\",\"sudo\":true,\"suspended\":true,\"tags\":[\"string\"],\"unix_guid\":1,\"unix_uid\":1,\"username\":\"string\"}'"
}
]
},
@@ -7826,15 +8272,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request DELETE \\\n --url 'https://console.jumpcloud.com/api/systemusers/{id}?cascade_manager=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request DELETE \\\n --url 'https://console.jumpcloud.com/api/systemusers/{id}?cascade_manager=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers/{id}\"\n\nquerystring = {\"cascade_manager\":\"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)"
+ "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers/{id}\"\n\nquerystring = {\"cascade_manager\":\"SOME_STRING_VALUE\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers/{id}?cascade_manager=SOME_STRING_VALUE' -Method DELETE -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers/{id}?cascade_manager=SOME_STRING_VALUE' -Method DELETE -Headers $headers"
}
]
},
@@ -7869,15 +8315,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/systemusers/{id}?fields=&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url 'https://console.jumpcloud.com/api/systemusers/{id}?fields=&filter=SOME_STRING_VALUE' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers/{id}\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"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/systemusers/{id}\"\n\nquerystring = {\"fields\":\"\",\"filter\":\"SOME_STRING_VALUE\"}\n\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"
},
{
"lang": "Powershell",
- "source": "$headers=@{}\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers/{id}?fields=&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers/{id}?fields=&filter=SOME_STRING_VALUE' -Method GET -Headers $headers"
}
]
},
@@ -7926,15 +8372,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request PUT \\\n --url 'https://console.jumpcloud.com/api/systemusers/{id}?fullValidationDetails=SOME_STRING_VALUE' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"account_locked\":true,\"addresses\":[{\"country\":\"string\",\"extendedAddress\":\"string\",\"locality\":\"string\",\"poBox\":\"string\",\"postalCode\":\"string\",\"region\":\"string\",\"streetAddress\":\"string\",\"type\":\"string\"}],\"allow_public_key\":true,\"alternateEmail\":\"string\",\"attributes\":[{\"name\":\"string\",\"value\":\"string\"}],\"company\":\"string\",\"costCenter\":\"string\",\"delegatedAuthority\":{\"id\":\"string\",\"name\":\"ActiveDirectory\"},\"department\":\"string\",\"description\":\"string\",\"disableDeviceMaxLoginAttempts\":true,\"displayname\":\"string\",\"email\":\"string\",\"employeeIdentifier\":\"string\",\"employeeType\":\"string\",\"enable_managed_uid\":true,\"enable_user_portal_multifactor\":true,\"external_dn\":\"string\",\"external_password_expiration_date\":\"string\",\"external_source_type\":\"string\",\"externally_managed\":true,\"firstname\":\"string\",\"jobTitle\":\"string\",\"lastname\":\"string\",\"ldap_binding_user\":true,\"location\":\"string\",\"managedAppleId\":\"string\",\"manager\":\"string\",\"mfa\":{\"configured\":true,\"exclusion\":true,\"exclusionDays\":1,\"exclusionUntil\":\"2019-08-24T14:15:22Z\"},\"middlename\":\"string\",\"password\":\"string\",\"password_never_expires\":true,\"phoneNumbers\":[{\"number\":\"string\",\"type\":\"string\"}],\"public_key\":\"string\",\"relationships\":[{\"type\":\"string\",\"value\":\"string\"}],\"restrictedFields\":[{\"field\":\"addresses\",\"id\":\"string\",\"type\":\"active_directory\"}],\"samba_service_user\":true,\"ssh_keys\":[{\"name\":\"string\",\"public_key\":\"string\"}],\"state\":\"ACTIVATED\",\"sudo\":true,\"suspended\":true,\"tags\":[\"string\"],\"unix_guid\":1,\"unix_uid\":1,\"username\":\"string\"}'"
+ "source": "curl --request PUT \\\n --url 'https://console.jumpcloud.com/api/systemusers/{id}?fullValidationDetails=SOME_STRING_VALUE' \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"account_locked\":true,\"addresses\":[{\"country\":\"string\",\"extendedAddress\":\"string\",\"locality\":\"string\",\"poBox\":\"string\",\"postalCode\":\"string\",\"region\":\"string\",\"streetAddress\":\"string\",\"type\":\"string\"}],\"allow_public_key\":true,\"alternateEmail\":\"string\",\"attributes\":[{\"name\":\"string\",\"value\":\"string\"}],\"company\":\"string\",\"costCenter\":\"string\",\"delegatedAuthority\":{\"id\":\"string\",\"name\":\"ActiveDirectory\"},\"department\":\"string\",\"description\":\"string\",\"disableDeviceMaxLoginAttempts\":true,\"displayname\":\"string\",\"email\":\"string\",\"employeeIdentifier\":\"string\",\"employeeType\":\"string\",\"enable_managed_uid\":true,\"enable_user_portal_multifactor\":true,\"external_dn\":\"string\",\"external_password_expiration_date\":\"string\",\"external_source_type\":\"string\",\"externally_managed\":true,\"firstname\":\"string\",\"jobTitle\":\"string\",\"lastname\":\"string\",\"ldap_binding_user\":true,\"location\":\"string\",\"managedAppleId\":\"string\",\"manager\":\"string\",\"mfa\":{\"configured\":true,\"exclusion\":true,\"exclusionDays\":1,\"exclusionUntil\":\"2019-08-24T14:15:22Z\"},\"middlename\":\"string\",\"password\":\"string\",\"password_never_expires\":true,\"phoneNumbers\":[{\"number\":\"string\",\"type\":\"string\"}],\"public_key\":\"string\",\"relationships\":[{\"type\":\"string\",\"value\":\"string\"}],\"restrictedFields\":[{\"field\":\"addresses\",\"id\":\"string\",\"type\":\"active_directory\"}],\"samba_service_user\":true,\"ssh_keys\":[{\"name\":\"string\",\"public_key\":\"string\"}],\"state\":\"ACTIVATED\",\"sudo\":true,\"suspended\":true,\"tags\":[\"string\"],\"unix_guid\":1,\"unix_uid\":1,\"username\":\"string\"}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers/{id}\"\n\nquerystring = {\"fullValidationDetails\":\"SOME_STRING_VALUE\"}\n\npayload = {\n \"account_locked\": True,\n \"addresses\": [\n {\n \"country\": \"string\",\n \"extendedAddress\": \"string\",\n \"locality\": \"string\",\n \"poBox\": \"string\",\n \"postalCode\": \"string\",\n \"region\": \"string\",\n \"streetAddress\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"allow_public_key\": True,\n \"alternateEmail\": \"string\",\n \"attributes\": [\n {\n \"name\": \"string\",\n \"value\": \"string\"\n }\n ],\n \"company\": \"string\",\n \"costCenter\": \"string\",\n \"delegatedAuthority\": {\n \"id\": \"string\",\n \"name\": \"ActiveDirectory\"\n },\n \"department\": \"string\",\n \"description\": \"string\",\n \"disableDeviceMaxLoginAttempts\": True,\n \"displayname\": \"string\",\n \"email\": \"string\",\n \"employeeIdentifier\": \"string\",\n \"employeeType\": \"string\",\n \"enable_managed_uid\": True,\n \"enable_user_portal_multifactor\": True,\n \"external_dn\": \"string\",\n \"external_password_expiration_date\": \"string\",\n \"external_source_type\": \"string\",\n \"externally_managed\": True,\n \"firstname\": \"string\",\n \"jobTitle\": \"string\",\n \"lastname\": \"string\",\n \"ldap_binding_user\": True,\n \"location\": \"string\",\n \"managedAppleId\": \"string\",\n \"manager\": \"string\",\n \"mfa\": {\n \"configured\": True,\n \"exclusion\": True,\n \"exclusionDays\": 1,\n \"exclusionUntil\": \"2019-08-24T14:15:22Z\"\n },\n \"middlename\": \"string\",\n \"password\": \"string\",\n \"password_never_expires\": True,\n \"phoneNumbers\": [\n {\n \"number\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"public_key\": \"string\",\n \"relationships\": [\n {\n \"type\": \"string\",\n \"value\": \"string\"\n }\n ],\n \"restrictedFields\": [\n {\n \"field\": \"addresses\",\n \"id\": \"string\",\n \"type\": \"active_directory\"\n }\n ],\n \"samba_service_user\": True,\n \"ssh_keys\": [\n {\n \"name\": \"string\",\n \"public_key\": \"string\"\n }\n ],\n \"state\": \"ACTIVATED\",\n \"sudo\": True,\n \"suspended\": True,\n \"tags\": [\"string\"],\n \"unix_guid\": 1,\n \"unix_uid\": 1,\n \"username\": \"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, params=querystring)\n\nprint(response.text)"
+ "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers/{id}\"\n\nquerystring = {\"fullValidationDetails\":\"SOME_STRING_VALUE\"}\n\npayload = {\n \"account_locked\": True,\n \"addresses\": [\n {\n \"country\": \"string\",\n \"extendedAddress\": \"string\",\n \"locality\": \"string\",\n \"poBox\": \"string\",\n \"postalCode\": \"string\",\n \"region\": \"string\",\n \"streetAddress\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"allow_public_key\": True,\n \"alternateEmail\": \"string\",\n \"attributes\": [\n {\n \"name\": \"string\",\n \"value\": \"string\"\n }\n ],\n \"company\": \"string\",\n \"costCenter\": \"string\",\n \"delegatedAuthority\": {\n \"id\": \"string\",\n \"name\": \"ActiveDirectory\"\n },\n \"department\": \"string\",\n \"description\": \"string\",\n \"disableDeviceMaxLoginAttempts\": True,\n \"displayname\": \"string\",\n \"email\": \"string\",\n \"employeeIdentifier\": \"string\",\n \"employeeType\": \"string\",\n \"enable_managed_uid\": True,\n \"enable_user_portal_multifactor\": True,\n \"external_dn\": \"string\",\n \"external_password_expiration_date\": \"string\",\n \"external_source_type\": \"string\",\n \"externally_managed\": True,\n \"firstname\": \"string\",\n \"jobTitle\": \"string\",\n \"lastname\": \"string\",\n \"ldap_binding_user\": True,\n \"location\": \"string\",\n \"managedAppleId\": \"string\",\n \"manager\": \"string\",\n \"mfa\": {\n \"configured\": True,\n \"exclusion\": True,\n \"exclusionDays\": 1,\n \"exclusionUntil\": \"2019-08-24T14:15:22Z\"\n },\n \"middlename\": \"string\",\n \"password\": \"string\",\n \"password_never_expires\": True,\n \"phoneNumbers\": [\n {\n \"number\": \"string\",\n \"type\": \"string\"\n }\n ],\n \"public_key\": \"string\",\n \"relationships\": [\n {\n \"type\": \"string\",\n \"value\": \"string\"\n }\n ],\n \"restrictedFields\": [\n {\n \"field\": \"addresses\",\n \"id\": \"string\",\n \"type\": \"active_directory\"\n }\n ],\n \"samba_service_user\": True,\n \"ssh_keys\": [\n {\n \"name\": \"string\",\n \"public_key\": \"string\"\n }\n ],\n \"state\": \"ACTIVATED\",\n \"sudo\": True,\n \"suspended\": True,\n \"tags\": [\"string\"],\n \"unix_guid\": 1,\n \"unix_uid\": 1,\n \"username\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", 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/systemusers/{id}?fullValidationDetails=SOME_STRING_VALUE' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"account_locked\":true,\"addresses\":[{\"country\":\"string\",\"extendedAddress\":\"string\",\"locality\":\"string\",\"poBox\":\"string\",\"postalCode\":\"string\",\"region\":\"string\",\"streetAddress\":\"string\",\"type\":\"string\"}],\"allow_public_key\":true,\"alternateEmail\":\"string\",\"attributes\":[{\"name\":\"string\",\"value\":\"string\"}],\"company\":\"string\",\"costCenter\":\"string\",\"delegatedAuthority\":{\"id\":\"string\",\"name\":\"ActiveDirectory\"},\"department\":\"string\",\"description\":\"string\",\"disableDeviceMaxLoginAttempts\":true,\"displayname\":\"string\",\"email\":\"string\",\"employeeIdentifier\":\"string\",\"employeeType\":\"string\",\"enable_managed_uid\":true,\"enable_user_portal_multifactor\":true,\"external_dn\":\"string\",\"external_password_expiration_date\":\"string\",\"external_source_type\":\"string\",\"externally_managed\":true,\"firstname\":\"string\",\"jobTitle\":\"string\",\"lastname\":\"string\",\"ldap_binding_user\":true,\"location\":\"string\",\"managedAppleId\":\"string\",\"manager\":\"string\",\"mfa\":{\"configured\":true,\"exclusion\":true,\"exclusionDays\":1,\"exclusionUntil\":\"2019-08-24T14:15:22Z\"},\"middlename\":\"string\",\"password\":\"string\",\"password_never_expires\":true,\"phoneNumbers\":[{\"number\":\"string\",\"type\":\"string\"}],\"public_key\":\"string\",\"relationships\":[{\"type\":\"string\",\"value\":\"string\"}],\"restrictedFields\":[{\"field\":\"addresses\",\"id\":\"string\",\"type\":\"active_directory\"}],\"samba_service_user\":true,\"ssh_keys\":[{\"name\":\"string\",\"public_key\":\"string\"}],\"state\":\"ACTIVATED\",\"sudo\":true,\"suspended\":true,\"tags\":[\"string\"],\"unix_guid\":1,\"unix_uid\":1,\"username\":\"string\"}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers/{id}?fullValidationDetails=SOME_STRING_VALUE' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"account_locked\":true,\"addresses\":[{\"country\":\"string\",\"extendedAddress\":\"string\",\"locality\":\"string\",\"poBox\":\"string\",\"postalCode\":\"string\",\"region\":\"string\",\"streetAddress\":\"string\",\"type\":\"string\"}],\"allow_public_key\":true,\"alternateEmail\":\"string\",\"attributes\":[{\"name\":\"string\",\"value\":\"string\"}],\"company\":\"string\",\"costCenter\":\"string\",\"delegatedAuthority\":{\"id\":\"string\",\"name\":\"ActiveDirectory\"},\"department\":\"string\",\"description\":\"string\",\"disableDeviceMaxLoginAttempts\":true,\"displayname\":\"string\",\"email\":\"string\",\"employeeIdentifier\":\"string\",\"employeeType\":\"string\",\"enable_managed_uid\":true,\"enable_user_portal_multifactor\":true,\"external_dn\":\"string\",\"external_password_expiration_date\":\"string\",\"external_source_type\":\"string\",\"externally_managed\":true,\"firstname\":\"string\",\"jobTitle\":\"string\",\"lastname\":\"string\",\"ldap_binding_user\":true,\"location\":\"string\",\"managedAppleId\":\"string\",\"manager\":\"string\",\"mfa\":{\"configured\":true,\"exclusion\":true,\"exclusionDays\":1,\"exclusionUntil\":\"2019-08-24T14:15:22Z\"},\"middlename\":\"string\",\"password\":\"string\",\"password_never_expires\":true,\"phoneNumbers\":[{\"number\":\"string\",\"type\":\"string\"}],\"public_key\":\"string\",\"relationships\":[{\"type\":\"string\",\"value\":\"string\"}],\"restrictedFields\":[{\"field\":\"addresses\",\"id\":\"string\",\"type\":\"active_directory\"}],\"samba_service_user\":true,\"ssh_keys\":[{\"name\":\"string\",\"public_key\":\"string\"}],\"state\":\"ACTIVATED\",\"sudo\":true,\"suspended\":true,\"tags\":[\"string\"],\"unix_guid\":1,\"unix_uid\":1,\"username\":\"string\"}'"
}
]
},
@@ -7969,15 +8415,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systemusers/{id}/expire \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systemusers/{id}/expire \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers/{id}/expire\"\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/systemusers/{id}/expire\"\n\nheaders = {\n \"x-org-id\": \"\",\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/systemusers/{id}/expire' -Method POST -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers/{id}/expire' -Method POST -Headers $headers"
}
]
},
@@ -8120,15 +8566,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systemusers/{id}/resetmfa \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"exclusion\":true,\"exclusionDays\":1,\"exclusionUntil\":\"2019-08-24T14:15:22Z\"}'"
+ "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systemusers/{id}/resetmfa \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"exclusion\":true,\"exclusionDays\":1,\"exclusionUntil\":\"2019-08-24T14:15:22Z\"}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers/{id}/resetmfa\"\n\npayload = {\n \"exclusion\": True,\n \"exclusionDays\": 1,\n \"exclusionUntil\": \"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/systemusers/{id}/resetmfa\"\n\npayload = {\n \"exclusion\": True,\n \"exclusionDays\": 1,\n \"exclusionUntil\": \"2019-08-24T14:15:22Z\"\n}\nheaders = {\n \"x-org-id\": \"\",\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/systemusers/{id}/resetmfa' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"exclusion\":true,\"exclusionDays\":1,\"exclusionUntil\":\"2019-08-24T14:15:22Z\"}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers/{id}/resetmfa' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"exclusion\":true,\"exclusionDays\":1,\"exclusionUntil\":\"2019-08-24T14:15:22Z\"}'"
}
]
},
@@ -8161,15 +8607,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/systemusers/{id}/sshkeys \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/systemusers/{id}/sshkeys \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers/{id}/sshkeys\"\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/systemusers/{id}/sshkeys\"\n\nheaders = {\n \"x-org-id\": \"\",\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/systemusers/{id}/sshkeys' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers/{id}/sshkeys' -Method GET -Headers $headers"
}
]
},
@@ -8210,15 +8656,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systemusers/{id}/sshkeys \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"name\":\"string\",\"public_key\":\"string\"}'"
+ "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systemusers/{id}/sshkeys \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"name\":\"string\",\"public_key\":\"string\"}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers/{id}/sshkeys\"\n\npayload = {\n \"name\": \"string\",\n \"public_key\": \"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/systemusers/{id}/sshkeys\"\n\npayload = {\n \"name\": \"string\",\n \"public_key\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"\",\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/systemusers/{id}/sshkeys' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\",\"public_key\":\"string\"}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers/{id}/sshkeys' -Method POST -Headers $headers -ContentType 'application/json' -Body '{\"name\":\"string\",\"public_key\":\"string\"}'"
}
]
},
@@ -8304,15 +8750,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/systemusers/{id}/totpinfo \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request GET \\\n --url https://console.jumpcloud.com/api/systemusers/{id}/totpinfo \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers/{id}/totpinfo\"\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/systemusers/{id}/totpinfo\"\n\nheaders = {\n \"x-org-id\": \"\",\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/systemusers/{id}/totpinfo' -Method GET -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers/{id}/totpinfo' -Method GET -Headers $headers"
}
]
},
@@ -8355,15 +8801,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systemusers/{id}/unlock \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request POST \\\n --url https://console.jumpcloud.com/api/systemusers/{id}/unlock \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers/{id}/unlock\"\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/systemusers/{id}/unlock\"\n\nheaders = {\n \"x-org-id\": \"\",\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/systemusers/{id}/unlock' -Method POST -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers/{id}/unlock' -Method POST -Headers $headers"
}
]
},
@@ -8390,15 +8836,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/systemusers/{systemuser_id}/sshkeys/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
+ "source": "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/systemusers/{systemuser_id}/sshkeys/{id} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: '"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/systemusers/{systemuser_id}/sshkeys/{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/systemusers/{systemuser_id}/sshkeys/{id}\"\n\nheaders = {\n \"x-org-id\": \"\",\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/systemusers/{systemuser_id}/sshkeys/{id}' -Method DELETE -Headers $headers"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/systemusers/{systemuser_id}/sshkeys/{id}' -Method DELETE -Headers $headers"
}
]
},
@@ -8629,15 +9075,15 @@
"x-codeSamples": [
{
"lang": "Shell",
- "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/users/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --data '{\"apiKeyAllowed\":true,\"email\":\"user@example.com\",\"enableMultiFactor\":true,\"firstname\":\"string\",\"growthData\":{},\"lastWhatsNewChecked\":\"2019-08-24\",\"lastname\":\"string\",\"roleName\":\"string\"}'"
+ "source": "curl --request PUT \\\n --url https://console.jumpcloud.com/api/users/{id} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: ' \\\n --data '{\"apiKeyAllowed\":true,\"email\":\"user@example.com\",\"enableMultiFactor\":true,\"firstname\":\"string\",\"growthData\":{},\"lastWhatsNewChecked\":\"2019-08-24\",\"lastname\":\"string\",\"roleName\":\"string\",\"roleNames\":[\"string\"]}'"
},
{
"lang": "Python",
- "source": "import requests\n\nurl = \"https://console.jumpcloud.com/api/users/{id}\"\n\npayload = {\n \"apiKeyAllowed\": True,\n \"email\": \"user@example.com\",\n \"enableMultiFactor\": True,\n \"firstname\": \"string\",\n \"growthData\": {},\n \"lastWhatsNewChecked\": \"2019-08-24\",\n \"lastname\": \"string\",\n \"roleName\": \"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/users/{id}\"\n\npayload = {\n \"apiKeyAllowed\": True,\n \"email\": \"user@example.com\",\n \"enableMultiFactor\": True,\n \"firstname\": \"string\",\n \"growthData\": {},\n \"lastWhatsNewChecked\": \"2019-08-24\",\n \"lastname\": \"string\",\n \"roleName\": \"string\",\n \"roleNames\": [\"string\"]\n}\nheaders = {\n \"x-org-id\": \"\",\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/users/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"apiKeyAllowed\":true,\"email\":\"user@example.com\",\"enableMultiFactor\":true,\"firstname\":\"string\",\"growthData\":{},\"lastWhatsNewChecked\":\"2019-08-24\",\"lastname\":\"string\",\"roleName\":\"string\"}'"
+ "source": "$headers=@{}\n$headers.Add(\"x-org-id\", \"\")\n$headers.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n$headers.Add(\"content-type\", \"application/json\")\n$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/users/{id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{\"apiKeyAllowed\":true,\"email\":\"user@example.com\",\"enableMultiFactor\":true,\"firstname\":\"string\",\"growthData\":{},\"lastWhatsNewChecked\":\"2019-08-24\",\"lastname\":\"string\",\"roleName\":\"string\",\"roleNames\":[\"string\"]}'"
}
]
}
diff --git a/SwaggerSpecs/JumpCloud.SDK.V2.json b/SwaggerSpecs/JumpCloud.SDK.V2.json
index 89832eb30..327421ad5 100644
--- a/SwaggerSpecs/JumpCloud.SDK.V2.json
+++ b/SwaggerSpecs/JumpCloud.SDK.V2.json
@@ -152,6 +152,18 @@
"roleName": {
"type": "string"
},
+ "roleNames": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "roles": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"suspended": {
"type": "boolean"
}
@@ -5490,7 +5502,7 @@
},
"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.",
+ "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.\nmember_of - Array column overlaps with the given list. Only for array-typed fields. Value must be list_value.\nnot_member_of - Array column does not overlap with the given list. Only for array-typed fields. Value must be list_value.",
"enum": [
"operation_unknown",
"and",
@@ -5516,7 +5528,9 @@
"contains_case_sensitive",
"not_contains_case_sensitive",
"in_case_sensitive",
- "not_in_case_sensitive"
+ "not_in_case_sensitive",
+ "member_of",
+ "not_member_of"
],
"type": "string"
},
@@ -19151,6 +19165,12 @@
"/reports/export": {},
"/reports/jumpcloud": {},
"/reports/jumpcloud/{objectId}": {},
+ "/reports/scheduled": {},
+ "/reports/scheduled/runs": {},
+ "/reports/scheduled/runs/{objectId}": {},
+ "/reports/scheduled/{objectId}": {},
+ "/reports/scheduled/{objectId}/runs": {},
+ "/reports/scheduled/{objectId}/trigger": {},
"/roles": {},
"/roles/{role_id}": {
"parameters": [