Public/Set-GCIdentityProviderOkta.ps1

<#
.SYNOPSIS
    Updates the Okta identity provider configuration.

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

.PARAMETER Body
    The updated Okta identity provider configuration object.

.EXAMPLE
    $oktaBody = @{ certificate = 'cert-string'; issuerURI = 'https://okta.example.com' }
    Set-GCIdentityProviderOkta -Body $oktaBody

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

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

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