Files
developer.sailpoint.com/docs/tools/sdk/powershell/refrence/v2024/Methods/V2024PublicIdentitiesConfigApi.md
2025-01-23 10:09:40 -05:00

4.7 KiB

id, title, pagination_label, sidebar_label, sidebar_class_name, keywords, slug, tags
id title pagination_label sidebar_label sidebar_class_name keywords slug tags
public-identities-config PublicIdentitiesConfig PublicIdentitiesConfig PublicIdentitiesConfig powershellsdk
powershell
PowerShell
sdk
PublicIdentitiesConfig
/tools/sdk/powershell/v2024/methods/public-identities-config
SDK
Software Development Kit
PublicIdentitiesConfig

PublicIdentitiesConfig

All URIs are relative to https://sailpoint.api.identitynow.com/v2024

Method HTTP request Description
Get-V2024PublicIdentityConfig GET /public-identities-config Get the Public Identities Configuration
Update-V2024PublicIdentityConfig PUT /public-identities-config Update the Public Identities Configuration

get-public-identity-config

Returns the publicly visible attributes of an identity available to request approvers for Access Requests and Certification Campaigns.

Parameters

Param Type Name Data Type Required Description

Return type

PublicIdentityConfig

Responses

Code Description Data Type
200 Request succeeded. PublicIdentityConfig
400 Client Error - Returned if the request body is invalid. ErrorResponseDto
401 Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. ListAccessProfiles401Response
403 Forbidden - Returned if the user you are running as, doesn't have access to this end-point. ErrorResponseDto
429 Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. ListAccessProfiles429Response
500 Internal Server Error - Returned if there is an unexpected error. ErrorResponseDto

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

Example

# Get the Public Identities Configuration
try {
    Get-V2024PublicIdentityConfig
    
    # Below is a request that includes all optional parameters
    # Get-V2024PublicIdentityConfig  
} catch {
    Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-V2024PublicIdentityConfig"
    Write-Host $_.ErrorDetails
}

[Back to top]

update-public-identity-config

Updates the publicly visible attributes of an identity available to request approvers for Access Requests and Certification Campaigns.

Parameters

Param Type Name Data Type Required Description
Body PublicIdentityConfig PublicIdentityConfig True

Return type

PublicIdentityConfig

Responses

Code Description Data Type
200 Request succeeded. PublicIdentityConfig
400 Client Error - Returned if the request body is invalid. ErrorResponseDto
401 Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. ListAccessProfiles401Response
403 Forbidden - Returned if the user you are running as, doesn't have access to this end-point. ErrorResponseDto
429 Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. ListAccessProfiles429Response
500 Internal Server Error - Returned if there is an unexpected error. ErrorResponseDto

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

Example

$PublicIdentityConfig = @"{
  "modified" : "2018-06-25T20:22:28.104Z",
  "attributes" : [ {
    "name" : "Country",
    "key" : "country"
  }, {
    "name" : "Country",
    "key" : "country"
  } ],
  "modifiedBy" : {
    "name" : "Thomas Edison",
    "id" : "2c9180a46faadee4016fb4e018c20639",
    "type" : "IDENTITY"
  }
}"@
# Update the Public Identities Configuration
try {
    $Result = ConvertFrom-JsonToPublicIdentityConfig -Json $PublicIdentityConfig
    Update-V2024PublicIdentityConfig-V2024PublicIdentityConfig $Result
    
    # Below is a request that includes all optional parameters
    # Update-V2024PublicIdentityConfig -V2024PublicIdentityConfig $PublicIdentityConfig  
} catch {
    Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Update-V2024PublicIdentityConfig"
    Write-Host $_.ErrorDetails
}

[Back to top]