mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-07 04:19:34 +00:00
Update to powershell SDK docs: 14758910380
This commit is contained in:
@@ -422,7 +422,7 @@ Update an existing Service Desk integration by ID with a PATCH request.
|
||||
Param Type | Name | Data Type | Required | Description
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
Path | Id | **String** | True | ID of the Service Desk integration to update
|
||||
Body | PatchServiceDeskIntegrationRequest | [**PatchServiceDeskIntegrationRequest**](../models/patch-service-desk-integration-request) | True | A list of SDIM update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Only `replace` operations are accepted by this endpoint. A 403 Forbidden Error indicates that a PATCH operation was attempted that is not allowed.
|
||||
Body | JsonPatchOperation | [**[]JsonPatchOperation**](../models/json-patch-operation) | True | A list of SDIM update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Only `replace` operations are accepted by this endpoint. A 403 Forbidden Error indicates that a PATCH operation was attempted that is not allowed.
|
||||
|
||||
### Return type
|
||||
[**ServiceDeskIntegrationDto**](../models/service-desk-integration-dto)
|
||||
@@ -445,16 +445,21 @@ Code | Description | Data Type
|
||||
### Example
|
||||
```powershell
|
||||
$Id = "anId" # String | ID of the Service Desk integration to update
|
||||
$PatchServiceDeskIntegrationRequest = @""@
|
||||
$JsonPatchOperation = @"{
|
||||
"op" : "replace",
|
||||
"path" : "/description",
|
||||
"value" : "New description"
|
||||
}"@ # JsonPatchOperation[] | A list of SDIM update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Only `replace` operations are accepted by this endpoint. A 403 Forbidden Error indicates that a PATCH operation was attempted that is not allowed.
|
||||
|
||||
|
||||
# Patch a Service Desk Integration
|
||||
|
||||
try {
|
||||
$Result = ConvertFrom-JsonToPatchServiceDeskIntegrationRequest -Json $PatchServiceDeskIntegrationRequest
|
||||
Update-V2025ServiceDeskIntegration -Id $Id -PatchServiceDeskIntegrationRequest $Result
|
||||
$Result = ConvertFrom-JsonToJsonPatchOperation -Json $JsonPatchOperation
|
||||
Update-V2025ServiceDeskIntegration -Id $Id -JsonPatchOperation $Result
|
||||
|
||||
# Below is a request that includes all optional parameters
|
||||
# Update-V2025ServiceDeskIntegration -Id $Id -PatchServiceDeskIntegrationRequest $Result
|
||||
# Update-V2025ServiceDeskIntegration -Id $Id -JsonPatchOperation $Result
|
||||
} catch {
|
||||
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Update-V2025ServiceDeskIntegration"
|
||||
Write-Host $_.ErrorDetails
|
||||
|
||||
@@ -23,7 +23,7 @@ Name | Type | Description | Notes
|
||||
|
||||
- Prepare the resource
|
||||
```powershell
|
||||
$AccountUsage = Initialize-PSSailpoint.V2025AccountUsage -Date Fri Apr 21 00:00:00 UTC 2023 `
|
||||
$AccountUsage = Initialize-PSSailpoint.V2025AccountUsage -Date Thu Apr 20 20:00:00 EDT 2023 `
|
||||
-Count 10
|
||||
```
|
||||
|
||||
|
||||
@@ -51,8 +51,8 @@ $NonEmployeeRequestWithoutApprovalItem = Initialize-PSSailpoint.V2025NonEmployee
|
||||
-ApprovalStatus null `
|
||||
-Comment approved `
|
||||
-CompletionDate 2020-03-24T11:11:41.139-05:00 `
|
||||
-StartDate Tue Mar 24 00:00:00 UTC 2020 `
|
||||
-EndDate Thu Mar 25 00:00:00 UTC 2021 `
|
||||
-StartDate Mon Mar 23 20:00:00 EDT 2020 `
|
||||
-EndDate Wed Mar 24 20:00:00 EDT 2021 `
|
||||
-Modified 2020-03-24T11:11:41.139-05:00 `
|
||||
-Created 2020-03-24T11:11:41.139-05:00
|
||||
```
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
---
|
||||
id: v2025-patch-service-desk-integration-request
|
||||
title: PatchServiceDeskIntegrationRequest
|
||||
pagination_label: PatchServiceDeskIntegrationRequest
|
||||
sidebar_label: PatchServiceDeskIntegrationRequest
|
||||
sidebar_class_name: powershellsdk
|
||||
keywords: ['powershell', 'PowerShell', 'sdk', 'PatchServiceDeskIntegrationRequest', 'V2025PatchServiceDeskIntegrationRequest']
|
||||
slug: /tools/sdk/powershell/v2025/models/patch-service-desk-integration-request
|
||||
tags: ['SDK', 'Software Development Kit', 'PatchServiceDeskIntegrationRequest', 'V2025PatchServiceDeskIntegrationRequest']
|
||||
---
|
||||
|
||||
|
||||
# PatchServiceDeskIntegrationRequest
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Operations** | [**[]JsonPatchOperation**](json-patch-operation) | Operations to be applied | [optional]
|
||||
|
||||
## Examples
|
||||
|
||||
- Prepare the resource
|
||||
```powershell
|
||||
$PatchServiceDeskIntegrationRequest = Initialize-PSSailpoint.V2025PatchServiceDeskIntegrationRequest -Operations null
|
||||
```
|
||||
|
||||
- Convert the resource to JSON
|
||||
```powershell
|
||||
$PatchServiceDeskIntegrationRequest | ConvertTo-JSON
|
||||
```
|
||||
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
@@ -23,7 +23,7 @@ Name | Type | Description | Notes
|
||||
|
||||
- Prepare the resource
|
||||
```powershell
|
||||
$SourceUsage = Initialize-PSSailpoint.V2025SourceUsage -Date Fri Apr 21 00:00:00 UTC 2023 `
|
||||
$SourceUsage = Initialize-PSSailpoint.V2025SourceUsage -Date Thu Apr 20 20:00:00 EDT 2023 `
|
||||
-Count 10.45
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user