mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-07 20:37:46 +00:00
Update to powershell SDK docs: 13207859154
This commit is contained in:
@@ -55,9 +55,12 @@ Method | HTTP request | Description
|
||||
[**Get-PasswordSyncGroups**](#get-password-sync-groups) | **GET** `/password-sync-groups` | Get Password Sync Group List
|
||||
[**Update-PasswordSyncGroup**](#update-password-sync-group) | **PUT** `/password-sync-groups/{id}` | Update Password Sync Group by ID
|
||||
|
||||
|
||||
## create-password-sync-group
|
||||
This API creates a password sync group based on the specifications provided.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v3/create-password-sync-group)
|
||||
|
||||
### Parameters
|
||||
Param Type | Name | Data Type | Required | Description
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
@@ -95,19 +98,22 @@ $PasswordSyncGroup = @"{
|
||||
|
||||
try {
|
||||
$Result = ConvertFrom-JsonToPasswordSyncGroup -Json $PasswordSyncGroup
|
||||
New-PasswordSyncGroup -PasswordSyncGroup $Result
|
||||
New-PasswordSyncGroup -PasswordSyncGroup $Result
|
||||
|
||||
# Below is a request that includes all optional parameters
|
||||
# New-PasswordSyncGroup -PasswordSyncGroup $PasswordSyncGroup
|
||||
# New-PasswordSyncGroup -PasswordSyncGroup $Result
|
||||
} catch {
|
||||
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling New-PasswordSyncGroup"
|
||||
Write-Host $_.ErrorDetails
|
||||
}
|
||||
```
|
||||
[[Back to top]](#)
|
||||
|
||||
## delete-password-sync-group
|
||||
This API deletes the specified password sync group.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v3/delete-password-sync-group)
|
||||
|
||||
### Parameters
|
||||
Param Type | Name | Data Type | Required | Description
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
@@ -147,9 +153,12 @@ try {
|
||||
}
|
||||
```
|
||||
[[Back to top]](#)
|
||||
|
||||
## get-password-sync-group
|
||||
This API returns the sync group for the specified ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v3/get-password-sync-group)
|
||||
|
||||
### Parameters
|
||||
Param Type | Name | Data Type | Required | Description
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
@@ -190,9 +199,12 @@ try {
|
||||
}
|
||||
```
|
||||
[[Back to top]](#)
|
||||
|
||||
## get-password-sync-groups
|
||||
This API returns a list of password sync groups.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v3/get-password-sync-groups)
|
||||
|
||||
### Parameters
|
||||
Param Type | Name | Data Type | Required | Description
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
@@ -226,7 +238,7 @@ $Count = $true # Boolean | If *true* it will populate the *X-Total-Count* respon
|
||||
# Get Password Sync Group List
|
||||
|
||||
try {
|
||||
Get-PasswordSyncGroups
|
||||
Get-PasswordSyncGroups
|
||||
|
||||
# Below is a request that includes all optional parameters
|
||||
# Get-PasswordSyncGroups -Limit $Limit -Offset $Offset -Count $Count
|
||||
@@ -236,9 +248,12 @@ try {
|
||||
}
|
||||
```
|
||||
[[Back to top]](#)
|
||||
|
||||
## update-password-sync-group
|
||||
This API updates the specified password sync group.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v3/update-password-sync-group)
|
||||
|
||||
### Parameters
|
||||
Param Type | Name | Data Type | Required | Description
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
@@ -279,10 +294,10 @@ $PasswordSyncGroup = @"{
|
||||
|
||||
try {
|
||||
$Result = ConvertFrom-JsonToPasswordSyncGroup -Json $PasswordSyncGroup
|
||||
Update-PasswordSyncGroup -Id $Id -PasswordSyncGroup $Result
|
||||
Update-PasswordSyncGroup -Id $Id -PasswordSyncGroup $Result
|
||||
|
||||
# Below is a request that includes all optional parameters
|
||||
# Update-PasswordSyncGroup -Id $Id -PasswordSyncGroup $PasswordSyncGroup
|
||||
# Update-PasswordSyncGroup -Id $Id -PasswordSyncGroup $Result
|
||||
} catch {
|
||||
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Update-PasswordSyncGroup"
|
||||
Write-Host $_.ErrorDetails
|
||||
|
||||
Reference in New Issue
Block a user