I have the following code:
$url = 'https://api-.....com/admin/v1/users'
$method = 'GET'
$date = (Get-Date).ToUniversalTime().ToString("ddd, dd MMM yyyy HH:mm:ss -0000").replace('.','')
$headers = @{
'Authorization'='Basic ...';
#'X-Duo-Date'='mi, ...