function Close-Session { <# .SYNOPSIS Removes (revokes) token. #> [CmdletBinding()] param() process { $_params = @{ Controller = [PS.IPAM.controllers]::user Method = "DELETE" } Invoke-Request @_params $script:psipamSession = $null } } Export-ModuleMember Close-Session