mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-09 20:37:47 +00:00
Update PowerShell SDK docs: 16260104828
This commit is contained in:
@@ -128,9 +128,6 @@ try {
|
|||||||
[[Back to top]](#)
|
[[Back to top]](#)
|
||||||
|
|
||||||
## patch-org-config
|
## patch-org-config
|
||||||
:::warning experimental
|
|
||||||
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to `true` to use this endpoint.
|
|
||||||
:::
|
|
||||||
Patch the current organization's configuration, using http://jsonpatch.com/ syntax. This is commonly used to changing an organization's time zone.
|
Patch the current organization's configuration, using http://jsonpatch.com/ syntax. This is commonly used to changing an organization's time zone.
|
||||||
|
|
||||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-org-config)
|
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-org-config)
|
||||||
@@ -138,7 +135,6 @@ Patch the current organization's configuration, using http://jsonpatch.com/ synt
|
|||||||
### Parameters
|
### Parameters
|
||||||
Param Type | Name | Data Type | Required | Description
|
Param Type | Name | Data Type | Required | Description
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | ------------- | -------------
|
||||||
| XSailPointExperimental | **String** | True (default to "true") | Use this header to enable this experimental API.
|
|
||||||
Body | JsonPatchOperation | [**[]JsonPatchOperation**](../models/json-patch-operation) | True | A list of schema attribute update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
Body | JsonPatchOperation | [**[]JsonPatchOperation**](../models/json-patch-operation) | True | A list of schema attribute update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
||||||
|
|
||||||
### Return type
|
### Return type
|
||||||
@@ -161,7 +157,6 @@ Code | Description | Data Type
|
|||||||
|
|
||||||
### Example
|
### Example
|
||||||
```powershell
|
```powershell
|
||||||
$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true")
|
|
||||||
$JsonPatchOperation = @"{
|
$JsonPatchOperation = @"{
|
||||||
"op" : "replace",
|
"op" : "replace",
|
||||||
"path" : "/description",
|
"path" : "/description",
|
||||||
@@ -173,10 +168,10 @@ $XSailPointExperimental = "true" # String | Use this header to enable this exper
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
$Result = ConvertFrom-JsonToJsonPatchOperation -Json $JsonPatchOperation
|
$Result = ConvertFrom-JsonToJsonPatchOperation -Json $JsonPatchOperation
|
||||||
Update-V2025OrgConfig -XSailPointExperimental $XSailPointExperimental -JsonPatchOperation $Result
|
Update-V2025OrgConfig -JsonPatchOperation $Result
|
||||||
|
|
||||||
# Below is a request that includes all optional parameters
|
# Below is a request that includes all optional parameters
|
||||||
# Update-V2025OrgConfig -XSailPointExperimental $XSailPointExperimental -JsonPatchOperation $Result
|
# Update-V2025OrgConfig -JsonPatchOperation $Result
|
||||||
} catch {
|
} catch {
|
||||||
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Update-V2025OrgConfig"
|
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Update-V2025OrgConfig"
|
||||||
Write-Host $_.ErrorDetails
|
Write-Host $_.ErrorDetails
|
||||||
|
|||||||
@@ -11482,7 +11482,6 @@
|
|||||||
- lang: PowerShell
|
- lang: PowerShell
|
||||||
label: SDK_tools/sdk/powershell/v2025/methods/org-config#patch-org-config
|
label: SDK_tools/sdk/powershell/v2025/methods/org-config#patch-org-config
|
||||||
source: |
|
source: |
|
||||||
$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true")
|
|
||||||
$JsonPatchOperation = @"{
|
$JsonPatchOperation = @"{
|
||||||
"op" : "replace",
|
"op" : "replace",
|
||||||
"path" : "/description",
|
"path" : "/description",
|
||||||
@@ -11494,10 +11493,10 @@
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
$Result = ConvertFrom-JsonToJsonPatchOperation -Json $JsonPatchOperation
|
$Result = ConvertFrom-JsonToJsonPatchOperation -Json $JsonPatchOperation
|
||||||
Update-V2025OrgConfig -XSailPointExperimental $XSailPointExperimental -JsonPatchOperation $Result
|
Update-V2025OrgConfig -JsonPatchOperation $Result
|
||||||
|
|
||||||
# Below is a request that includes all optional parameters
|
# Below is a request that includes all optional parameters
|
||||||
# Update-V2025OrgConfig -XSailPointExperimental $XSailPointExperimental -JsonPatchOperation $Result
|
# Update-V2025OrgConfig -JsonPatchOperation $Result
|
||||||
} catch {
|
} catch {
|
||||||
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Update-V2025OrgConfig"
|
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Update-V2025OrgConfig"
|
||||||
Write-Host $_.ErrorDetails
|
Write-Host $_.ErrorDetails
|
||||||
|
|||||||
Reference in New Issue
Block a user