Public/update-AllegisIDNIdentityProfile.ps1

function update-AllegisIDNIdentityProfile ($orgName, $accessToken, $profileid){
    $header=get-AllegisIDNprivateHeader $accessToken
    $url="https://$orgname.api.identitynow.com/cc/api/profile/refresh/$profileid"
    $response=Invoke-WebRequest -Uri $url -Method Post -UseBasicParsing -Headers $header
    $transforms=$response.Content | ConvertFrom-Json
    return $transforms
}