Public/Set-GCIdentityProviderSalesforce.ps1

<#
.SYNOPSIS
    Updates the Salesforce identity provider configuration.

.DESCRIPTION
    Updates the Salesforce identity provider configuration in Genesys Cloud.
    Uses the PUT /api/v2/identityproviders/salesforce endpoint.

.PARAMETER Body
    The updated Salesforce identity provider configuration object.

.EXAMPLE
    $sfBody = @{ certificate = 'cert-string'; issuerURI = 'https://salesforce.example.com' }
    Set-GCIdentityProviderSalesforce -Body $sfBody

.NOTES
    Genesys Cloud API: PUT /api/v2/identityproviders/salesforce
#>

function Set-GCIdentityProviderSalesforce {
    [CmdletBinding()]
    param(
        [Parameter(Mandatory = $true)]
        [object]$Body
    )

    $endpoint = "identityproviders/salesforce"
    return Invoke-GCApiRequest -Endpoint $endpoint -Method PUT -Body $Body
}