mirror of
https://github.com/snazy2000/SnipeitPS.git
synced 2025-12-13 18:02:30 +00:00
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:
parent
217ca45578
commit
96c39e04a1
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ function New-Audit()
|
||||||
$Body = $Values | ConvertTo-Json;
|
$Body = $Values | ConvertTo-Json;
|
||||||
|
|
||||||
$Parameters = @{
|
$Parameters = @{
|
||||||
Uri = "$url/api/v1/hardware"
|
Uri = "$url/api/v1/hardware/audit"
|
||||||
Method = 'Post'
|
Method = 'Post'
|
||||||
Body = $Body
|
Body = $Body
|
||||||
Token = $apiKey
|
Token = $apiKey
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue