mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-07 12:27:47 +00:00
Update to powershell SDK docs: 14736414320
This commit is contained in:
@@ -23,7 +23,7 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
- Prepare the resource
|
- Prepare the resource
|
||||||
```powershell
|
```powershell
|
||||||
$AccountUsage = Initialize-PSSailpoint.BetaAccountUsage -Date Thu Apr 20 20:00:00 EDT 2023 `
|
$AccountUsage = Initialize-PSSailpoint.BetaAccountUsage -Date Fri Apr 21 00:00:00 UTC 2023 `
|
||||||
-Count 10
|
-Count 10
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -51,8 +51,8 @@ $NonEmployeeRequestWithoutApprovalItem = Initialize-PSSailpoint.BetaNonEmployeeR
|
|||||||
-ApprovalStatus null `
|
-ApprovalStatus null `
|
||||||
-Comment approved `
|
-Comment approved `
|
||||||
-CompletionDate 2020-03-24T11:11:41.139-05:00 `
|
-CompletionDate 2020-03-24T11:11:41.139-05:00 `
|
||||||
-StartDate Mon Mar 23 20:00:00 EDT 2020 `
|
-StartDate Tue Mar 24 00:00:00 UTC 2020 `
|
||||||
-EndDate Wed Mar 24 20:00:00 EDT 2021 `
|
-EndDate Thu Mar 25 00:00:00 UTC 2021 `
|
||||||
-Modified 2020-03-24T11:11:41.139-05:00 `
|
-Modified 2020-03-24T11:11:41.139-05:00 `
|
||||||
-Created 2020-03-24T11:11:41.139-05:00
|
-Created 2020-03-24T11:11:41.139-05:00
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
- Prepare the resource
|
- Prepare the resource
|
||||||
```powershell
|
```powershell
|
||||||
$SourceUsage = Initialize-PSSailpoint.BetaSourceUsage -Date Thu Apr 20 20:00:00 EDT 2023 `
|
$SourceUsage = Initialize-PSSailpoint.BetaSourceUsage -Date Fri Apr 21 00:00:00 UTC 2023 `
|
||||||
-Count 10.45
|
-Count 10.45
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
- Prepare the resource
|
- Prepare the resource
|
||||||
```powershell
|
```powershell
|
||||||
$AccountUsage = Initialize-PSSailpoint.V2024AccountUsage -Date Thu Apr 20 20:00:00 EDT 2023 `
|
$AccountUsage = Initialize-PSSailpoint.V2024AccountUsage -Date Fri Apr 21 00:00:00 UTC 2023 `
|
||||||
-Count 10
|
-Count 10
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -51,8 +51,8 @@ $NonEmployeeRequestWithoutApprovalItem = Initialize-PSSailpoint.V2024NonEmployee
|
|||||||
-ApprovalStatus null `
|
-ApprovalStatus null `
|
||||||
-Comment approved `
|
-Comment approved `
|
||||||
-CompletionDate 2020-03-24T11:11:41.139-05:00 `
|
-CompletionDate 2020-03-24T11:11:41.139-05:00 `
|
||||||
-StartDate Mon Mar 23 20:00:00 EDT 2020 `
|
-StartDate Tue Mar 24 00:00:00 UTC 2020 `
|
||||||
-EndDate Wed Mar 24 20:00:00 EDT 2021 `
|
-EndDate Thu Mar 25 00:00:00 UTC 2021 `
|
||||||
-Modified 2020-03-24T11:11:41.139-05:00 `
|
-Modified 2020-03-24T11:11:41.139-05:00 `
|
||||||
-Created 2020-03-24T11:11:41.139-05:00
|
-Created 2020-03-24T11:11:41.139-05:00
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
- Prepare the resource
|
- Prepare the resource
|
||||||
```powershell
|
```powershell
|
||||||
$SourceUsage = Initialize-PSSailpoint.V2024SourceUsage -Date Thu Apr 20 20:00:00 EDT 2023 `
|
$SourceUsage = Initialize-PSSailpoint.V2024SourceUsage -Date Fri Apr 21 00:00:00 UTC 2023 `
|
||||||
-Count 10.45
|
-Count 10.45
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -1509,9 +1509,6 @@ try {
|
|||||||
[[Back to top]](#)
|
[[Back to top]](#)
|
||||||
|
|
||||||
## import-accounts
|
## import-accounts
|
||||||
:::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.
|
|
||||||
:::
|
|
||||||
Starts an account aggregation on the specified source.
|
Starts an account aggregation on the specified source.
|
||||||
If the target source is a delimited file source, then the CSV file needs to be included in the request body.
|
If the target source is a delimited file source, then the CSV file needs to be included in the request body.
|
||||||
You will also need to set the Content-Type header to `multipart/form-data`.
|
You will also need to set the Content-Type header to `multipart/form-data`.
|
||||||
@@ -1522,7 +1519,6 @@ You will also need to set the Content-Type header to `multipart/form-data`.
|
|||||||
Param Type | Name | Data Type | Required | Description
|
Param Type | Name | Data Type | Required | Description
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | ------------- | -------------
|
||||||
Path | Id | **String** | True | Source Id
|
Path | Id | **String** | True | Source Id
|
||||||
| XSailPointExperimental | **String** | True (default to "true") | Use this header to enable this experimental API.
|
|
||||||
| File | **System.IO.FileInfo** | (optional) | The CSV file containing the source accounts to aggregate.
|
| File | **System.IO.FileInfo** | (optional) | The CSV file containing the source accounts to aggregate.
|
||||||
| DisableOptimization | **String** | (optional) | Use this flag to reprocess every account whether or not the data has changed.
|
| DisableOptimization | **String** | (optional) | Use this flag to reprocess every account whether or not the data has changed.
|
||||||
|
|
||||||
@@ -1546,17 +1542,16 @@ Code | Description | Data Type
|
|||||||
### Example
|
### Example
|
||||||
```powershell
|
```powershell
|
||||||
$Id = "ef38f94347e94562b5bb8424a56397d8" # String | Source Id
|
$Id = "ef38f94347e94562b5bb8424a56397d8" # String | Source Id
|
||||||
$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true")
|
|
||||||
$File = # System.IO.FileInfo | The CSV file containing the source accounts to aggregate. (optional)
|
$File = # System.IO.FileInfo | The CSV file containing the source accounts to aggregate. (optional)
|
||||||
$DisableOptimization = "MyDisableOptimization" # String | Use this flag to reprocess every account whether or not the data has changed. (optional)
|
$DisableOptimization = "MyDisableOptimization" # String | Use this flag to reprocess every account whether or not the data has changed. (optional)
|
||||||
|
|
||||||
# Account Aggregation
|
# Account Aggregation
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Import-V2025Accounts -Id $Id -XSailPointExperimental $XSailPointExperimental
|
Import-V2025Accounts -Id $Id
|
||||||
|
|
||||||
# Below is a request that includes all optional parameters
|
# Below is a request that includes all optional parameters
|
||||||
# Import-V2025Accounts -Id $Id -XSailPointExperimental $XSailPointExperimental -File $File -DisableOptimization $DisableOptimization
|
# Import-V2025Accounts -Id $Id -File $File -DisableOptimization $DisableOptimization
|
||||||
} catch {
|
} catch {
|
||||||
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Import-V2025Accounts"
|
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Import-V2025Accounts"
|
||||||
Write-Host $_.ErrorDetails
|
Write-Host $_.ErrorDetails
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
- Prepare the resource
|
- Prepare the resource
|
||||||
```powershell
|
```powershell
|
||||||
$AccountUsage = Initialize-PSSailpoint.V2025AccountUsage -Date Thu Apr 20 20:00:00 EDT 2023 `
|
$AccountUsage = Initialize-PSSailpoint.V2025AccountUsage -Date Fri Apr 21 00:00:00 UTC 2023 `
|
||||||
-Count 10
|
-Count 10
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -51,8 +51,8 @@ $NonEmployeeRequestWithoutApprovalItem = Initialize-PSSailpoint.V2025NonEmployee
|
|||||||
-ApprovalStatus null `
|
-ApprovalStatus null `
|
||||||
-Comment approved `
|
-Comment approved `
|
||||||
-CompletionDate 2020-03-24T11:11:41.139-05:00 `
|
-CompletionDate 2020-03-24T11:11:41.139-05:00 `
|
||||||
-StartDate Mon Mar 23 20:00:00 EDT 2020 `
|
-StartDate Tue Mar 24 00:00:00 UTC 2020 `
|
||||||
-EndDate Wed Mar 24 20:00:00 EDT 2021 `
|
-EndDate Thu Mar 25 00:00:00 UTC 2021 `
|
||||||
-Modified 2020-03-24T11:11:41.139-05:00 `
|
-Modified 2020-03-24T11:11:41.139-05:00 `
|
||||||
-Created 2020-03-24T11:11:41.139-05:00
|
-Created 2020-03-24T11:11:41.139-05:00
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
- Prepare the resource
|
- Prepare the resource
|
||||||
```powershell
|
```powershell
|
||||||
$SourceUsage = Initialize-PSSailpoint.V2025SourceUsage -Date Thu Apr 20 20:00:00 EDT 2023 `
|
$SourceUsage = Initialize-PSSailpoint.V2025SourceUsage -Date Fri Apr 21 00:00:00 UTC 2023 `
|
||||||
-Count 10.45
|
-Count 10.45
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
- Prepare the resource
|
- Prepare the resource
|
||||||
```powershell
|
```powershell
|
||||||
$AccountUsage = Initialize-PSSailpoint.V3AccountUsage -Date Thu Apr 20 20:00:00 EDT 2023 `
|
$AccountUsage = Initialize-PSSailpoint.V3AccountUsage -Date Fri Apr 21 00:00:00 UTC 2023 `
|
||||||
-Count 10
|
-Count 10
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -51,8 +51,8 @@ $NonEmployeeRequestWithoutApprovalItem = Initialize-PSSailpoint.V3NonEmployeeReq
|
|||||||
-ApprovalStatus null `
|
-ApprovalStatus null `
|
||||||
-Comment approved `
|
-Comment approved `
|
||||||
-CompletionDate 2020-03-24T11:11:41.139-05:00 `
|
-CompletionDate 2020-03-24T11:11:41.139-05:00 `
|
||||||
-StartDate Mon Mar 23 20:00:00 EDT 2020 `
|
-StartDate Tue Mar 24 00:00:00 UTC 2020 `
|
||||||
-EndDate Wed Mar 24 20:00:00 EDT 2021 `
|
-EndDate Thu Mar 25 00:00:00 UTC 2021 `
|
||||||
-Modified 2020-03-24T11:11:41.139-05:00 `
|
-Modified 2020-03-24T11:11:41.139-05:00 `
|
||||||
-Created 2020-03-24T11:11:41.139-05:00
|
-Created 2020-03-24T11:11:41.139-05:00
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
- Prepare the resource
|
- Prepare the resource
|
||||||
```powershell
|
```powershell
|
||||||
$SourceUsage = Initialize-PSSailpoint.V3SourceUsage -Date Thu Apr 20 20:00:00 EDT 2023 `
|
$SourceUsage = Initialize-PSSailpoint.V3SourceUsage -Date Fri Apr 21 00:00:00 UTC 2023 `
|
||||||
-Count 10.45
|
-Count 10.45
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user