mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-09 12:27:47 +00:00
Update PowerShell SDK docs: 15781241582
This commit is contained in:
@@ -26,9 +26,6 @@ Method | HTTP request | Description
|
||||
|
||||
|
||||
## create-identity-attribute
|
||||
:::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.
|
||||
:::
|
||||
Use this API to create a new identity attribute.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-identity-attribute)
|
||||
@@ -36,7 +33,6 @@ Use this API to create a new identity attribute.
|
||||
### Parameters
|
||||
Param Type | Name | Data Type | Required | Description
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
| XSailPointExperimental | **String** | True (default to "true") | Use this header to enable this experimental API.
|
||||
Body | IdentityAttribute | [**IdentityAttribute**](../models/identity-attribute) | True |
|
||||
|
||||
### Return type
|
||||
@@ -59,7 +55,6 @@ Code | Description | Data Type
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true")
|
||||
$IdentityAttribute = @"{
|
||||
"standard" : false,
|
||||
"system" : false,
|
||||
@@ -87,10 +82,10 @@ $IdentityAttribute = @"{
|
||||
|
||||
try {
|
||||
$Result = ConvertFrom-JsonToIdentityAttribute -Json $IdentityAttribute
|
||||
New-V2025IdentityAttribute -XSailPointExperimental $XSailPointExperimental -IdentityAttribute $Result
|
||||
New-V2025IdentityAttribute -IdentityAttribute $Result
|
||||
|
||||
# Below is a request that includes all optional parameters
|
||||
# New-V2025IdentityAttribute -XSailPointExperimental $XSailPointExperimental -IdentityAttribute $Result
|
||||
# New-V2025IdentityAttribute -IdentityAttribute $Result
|
||||
} catch {
|
||||
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling New-V2025IdentityAttribute"
|
||||
Write-Host $_.ErrorDetails
|
||||
@@ -99,9 +94,6 @@ try {
|
||||
[[Back to top]](#)
|
||||
|
||||
## delete-identity-attribute
|
||||
:::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.
|
||||
:::
|
||||
This deletes an identity attribute with the given name. The `system` and `standard` properties must be set to false before you can delete an identity attribute.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-identity-attribute)
|
||||
@@ -110,7 +102,6 @@ This deletes an identity attribute with the given name. The `system` and `stand
|
||||
Param Type | Name | Data Type | Required | Description
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
Path | Name | **String** | True | The attribute's technical name.
|
||||
| XSailPointExperimental | **String** | True (default to "true") | Use this header to enable this experimental API.
|
||||
|
||||
### Return type
|
||||
(empty response body)
|
||||
@@ -133,15 +124,14 @@ Code | Description | Data Type
|
||||
### Example
|
||||
```powershell
|
||||
$Name = "displayName" # String | The attribute's technical name.
|
||||
$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true")
|
||||
|
||||
# Delete identity attribute
|
||||
|
||||
try {
|
||||
Remove-V2025IdentityAttribute -Name $Name -XSailPointExperimental $XSailPointExperimental
|
||||
Remove-V2025IdentityAttribute -Name $Name
|
||||
|
||||
# Below is a request that includes all optional parameters
|
||||
# Remove-V2025IdentityAttribute -Name $Name -XSailPointExperimental $XSailPointExperimental
|
||||
# Remove-V2025IdentityAttribute -Name $Name
|
||||
} catch {
|
||||
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Remove-V2025IdentityAttribute"
|
||||
Write-Host $_.ErrorDetails
|
||||
@@ -150,9 +140,6 @@ try {
|
||||
[[Back to top]](#)
|
||||
|
||||
## delete-identity-attributes-in-bulk
|
||||
:::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.
|
||||
:::
|
||||
Use this API to bulk delete identity attributes for a given set of names. Attributes that are currently mapped in an identity profile cannot be deleted. The `system` and `standard` properties must be set to 'false' before you can delete an identity attribute.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-identity-attributes-in-bulk)
|
||||
@@ -160,7 +147,6 @@ Use this API to bulk delete identity attributes for a given set of names. Attrib
|
||||
### Parameters
|
||||
Param Type | Name | Data Type | Required | Description
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
| XSailPointExperimental | **String** | True (default to "true") | Use this header to enable this experimental API.
|
||||
Body | IdentityAttributeNames | [**IdentityAttributeNames**](../models/identity-attribute-names) | True |
|
||||
|
||||
### Return type
|
||||
@@ -183,7 +169,6 @@ Code | Description | Data Type
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true")
|
||||
$IdentityAttributeNames = @"{
|
||||
"ids" : [ "name", "displayName" ]
|
||||
}"@
|
||||
@@ -192,10 +177,10 @@ $IdentityAttributeNames = @"{
|
||||
|
||||
try {
|
||||
$Result = ConvertFrom-JsonToIdentityAttributeNames -Json $IdentityAttributeNames
|
||||
Remove-V2025IdentityAttributesInBulk -XSailPointExperimental $XSailPointExperimental -IdentityAttributeNames $Result
|
||||
Remove-V2025IdentityAttributesInBulk -IdentityAttributeNames $Result
|
||||
|
||||
# Below is a request that includes all optional parameters
|
||||
# Remove-V2025IdentityAttributesInBulk -XSailPointExperimental $XSailPointExperimental -IdentityAttributeNames $Result
|
||||
# Remove-V2025IdentityAttributesInBulk -IdentityAttributeNames $Result
|
||||
} catch {
|
||||
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Remove-V2025IdentityAttributesInBulk"
|
||||
Write-Host $_.ErrorDetails
|
||||
@@ -204,9 +189,6 @@ try {
|
||||
[[Back to top]](#)
|
||||
|
||||
## get-identity-attribute
|
||||
:::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.
|
||||
:::
|
||||
This gets an identity attribute for a given technical name.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-identity-attribute)
|
||||
@@ -215,7 +197,6 @@ This gets an identity attribute for a given technical name.
|
||||
Param Type | Name | Data Type | Required | Description
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
Path | Name | **String** | True | The attribute's technical name.
|
||||
| XSailPointExperimental | **String** | True (default to "true") | Use this header to enable this experimental API.
|
||||
|
||||
### Return type
|
||||
[**IdentityAttribute**](../models/identity-attribute)
|
||||
@@ -238,15 +219,14 @@ Code | Description | Data Type
|
||||
### Example
|
||||
```powershell
|
||||
$Name = "displayName" # String | The attribute's technical name.
|
||||
$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true")
|
||||
|
||||
# Get identity attribute
|
||||
|
||||
try {
|
||||
Get-V2025IdentityAttribute -Name $Name -XSailPointExperimental $XSailPointExperimental
|
||||
Get-V2025IdentityAttribute -Name $Name
|
||||
|
||||
# Below is a request that includes all optional parameters
|
||||
# Get-V2025IdentityAttribute -Name $Name -XSailPointExperimental $XSailPointExperimental
|
||||
# Get-V2025IdentityAttribute -Name $Name
|
||||
} catch {
|
||||
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-V2025IdentityAttribute"
|
||||
Write-Host $_.ErrorDetails
|
||||
@@ -255,9 +235,6 @@ try {
|
||||
[[Back to top]](#)
|
||||
|
||||
## list-identity-attributes
|
||||
:::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.
|
||||
:::
|
||||
Use this API to get a collection of identity attributes.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-identity-attributes)
|
||||
@@ -265,7 +242,6 @@ Use this API to get a collection of identity attributes.
|
||||
### Parameters
|
||||
Param Type | Name | Data Type | Required | Description
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
| XSailPointExperimental | **String** | True (default to "true") | Use this header to enable this experimental API.
|
||||
Query | IncludeSystem | **Boolean** | (optional) (default to $false) | Include 'system' attributes in the response.
|
||||
Query | IncludeSilent | **Boolean** | (optional) (default to $false) | Include 'silent' attributes in the response.
|
||||
Query | SearchableOnly | **Boolean** | (optional) (default to $false) | Include only 'searchable' attributes in the response.
|
||||
@@ -290,7 +266,6 @@ Code | Description | Data Type
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true")
|
||||
$IncludeSystem = $false # Boolean | Include 'system' attributes in the response. (optional) (default to $false)
|
||||
$IncludeSilent = $false # Boolean | Include 'silent' attributes in the response. (optional) (default to $false)
|
||||
$SearchableOnly = $false # Boolean | Include only 'searchable' attributes in the response. (optional) (default to $false)
|
||||
@@ -299,10 +274,10 @@ $Count = $true # Boolean | If *true* it will populate the *X-Total-Count* respon
|
||||
# List identity attributes
|
||||
|
||||
try {
|
||||
Get-V2025IdentityAttributes -XSailPointExperimental $XSailPointExperimental
|
||||
Get-V2025IdentityAttributes
|
||||
|
||||
# Below is a request that includes all optional parameters
|
||||
# Get-V2025IdentityAttributes -XSailPointExperimental $XSailPointExperimental -IncludeSystem $IncludeSystem -IncludeSilent $IncludeSilent -SearchableOnly $SearchableOnly -Count $Count
|
||||
# Get-V2025IdentityAttributes -IncludeSystem $IncludeSystem -IncludeSilent $IncludeSilent -SearchableOnly $SearchableOnly -Count $Count
|
||||
} catch {
|
||||
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-V2025IdentityAttributes"
|
||||
Write-Host $_.ErrorDetails
|
||||
@@ -311,9 +286,6 @@ try {
|
||||
[[Back to top]](#)
|
||||
|
||||
## put-identity-attribute
|
||||
:::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.
|
||||
:::
|
||||
This updates an existing identity attribute. Making an attribute searchable requires that the `system`, `standard`, and `multi` properties be set to false.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/put-identity-attribute)
|
||||
@@ -322,7 +294,6 @@ This updates an existing identity attribute. Making an attribute searchable req
|
||||
Param Type | Name | Data Type | Required | Description
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
Path | Name | **String** | True | The attribute's technical name.
|
||||
| XSailPointExperimental | **String** | True (default to "true") | Use this header to enable this experimental API.
|
||||
Body | IdentityAttribute | [**IdentityAttribute**](../models/identity-attribute) | True |
|
||||
|
||||
### Return type
|
||||
@@ -346,7 +317,6 @@ Code | Description | Data Type
|
||||
### Example
|
||||
```powershell
|
||||
$Name = "displayName" # String | The attribute's technical name.
|
||||
$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true")
|
||||
$IdentityAttribute = @"{
|
||||
"standard" : false,
|
||||
"system" : false,
|
||||
@@ -374,10 +344,10 @@ $IdentityAttribute = @"{
|
||||
|
||||
try {
|
||||
$Result = ConvertFrom-JsonToIdentityAttribute -Json $IdentityAttribute
|
||||
Send-V2025IdentityAttribute -Name $Name -XSailPointExperimental $XSailPointExperimental -IdentityAttribute $Result
|
||||
Send-V2025IdentityAttribute -Name $Name -IdentityAttribute $Result
|
||||
|
||||
# Below is a request that includes all optional parameters
|
||||
# Send-V2025IdentityAttribute -Name $Name -XSailPointExperimental $XSailPointExperimental -IdentityAttribute $Result
|
||||
# Send-V2025IdentityAttribute -Name $Name -IdentityAttribute $Result
|
||||
} catch {
|
||||
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Send-V2025IdentityAttribute"
|
||||
Write-Host $_.ErrorDetails
|
||||
|
||||
Reference in New Issue
Block a user