Skip to content

Commit 27b4a47

Browse files
author
Emile
authored
Corrected Remove-ITGlueContacts paths
Remove-ITGlueContacts containted paths to /configurations/ and not /contacts/. #63
1 parent 72f8b41 commit 27b4a47

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ITGlueAPI/Resources/Contacts.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,10 +262,10 @@ function Remove-ITGlueContacts {
262262
$data
263263
)
264264

265-
$resource_uri = ('/configurations/{0}' -f $id)
265+
$resource_uri = ('/contacts/{0}' -f $id)
266266

267267
if ($flexible_asset_type_id) {
268-
$resource_uri = ('/organizations/{0}/relationships/configurations/{1}' -f $organization_id, $id)
268+
$resource_uri = ('/organizations/{0}/relationships/contacts/{1}' -f $organization_id, $id)
269269
}
270270

271271
$body = @{}
@@ -314,4 +314,4 @@ function Remove-ITGlueContacts {
314314
$data = @{}
315315
$data = $rest_output
316316
return $data
317-
}
317+
}

0 commit comments

Comments
 (0)