We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09daec7 commit 9056a1cCopy full SHA for 9056a1c
HuduAPI.psd1
@@ -106,6 +106,7 @@
106
'Remove-HuduMagicDash',
107
'Remove-HuduPassword',
108
109
+ 'Remove-HuduRelation',
110
'Remove-HuduWebsite',
111
'Set-HuduArticle',
112
'Set-HuduArticleArchive',
Public/Remove-HuduRelation.ps1
@@ -0,0 +1,12 @@
1
+function Remove-HuduRelation {
2
+ [CmdletBinding()]
3
+ Param (
4
+ [Parameter(Mandatory = $true)]
5
+ [Int]$Id
6
+ )
7
+
8
+ $Response = Invoke-HuduRequest -Method delete -Resource "/api/v1/relations/$Id"
9
10
+ $Response
11
12
+}
0 commit comments