Public/Set-GCIdentityProviderAdfs.ps1

<#
.SYNOPSIS
    Updates the ADFS identity provider configuration.

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

.PARAMETER Body
    The updated ADFS identity provider configuration object.

.EXAMPLE
    $adfsBody = @{ certificate = 'cert-string'; issuerURI = 'https://adfs.example.com' }
    Set-GCIdentityProviderAdfs -Body $adfsBody

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

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

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