Skip to content

Commit

Permalink
Feature: Remove push
Browse files Browse the repository at this point in the history
  • Loading branch information
thekamilpro committed Nov 1, 2022
1 parent 31f942a commit 75b8878
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/public/Remove-PwpushPush.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
function Remove-PwpushPush
{
[cmdletbinding()]
param (
[Parameter(Mandatory)]
[string]$UrlToken
)

$endpoint = "p/$($UrlToken).json"

$params = @{
Endpoint = $endpoint
Method = "Delete"
}
Invoke-PwpushRequest @params
}

0 comments on commit 75b8878

Please sign in to comment.