Correction: had the wrong URI

needed at change from Uri    = "$url/api/v1/hardware" to Uri    = "$url/api/v1/hardware/audit"
This commit is contained in:
K9 Barry 2019-12-05 20:26:54 -05:00 committed by GitHub
parent 217ca45578
commit 96c39e04a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,7 @@ function New-Audit()
$Body = $Values | ConvertTo-Json;
$Parameters = @{
Uri = "$url/api/v1/hardware"
Uri = "$url/api/v1/hardware/audit"
Method = 'Post'
Body = $Body
Token = $apiKey