Skip to content

Commit 7cb562c

Browse files
author
adrianwells
authored
Merge pull request #68 from ecspresso/patch-2
Bulk destroying configs - fixed invalid URI
2 parents dfc266d + 025b19a commit 7cb562c

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

ITGlueAPI/ITGlueAPI.psd1

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RootModule = '.\ITGlueAPI.psm1'
1818
# -- MINOR version when you add functionality in a backwards-compatible manner, and
1919
# -- PATCH version when you make backwards-compatible bug fixes.
2020

21-
ModuleVersion = '2.0.6'
21+
ModuleVersion = '2.0.7'
2222

2323
# ID used to uniquely identify this module
2424
#GUID = ''

ITGlueAPI/Resources/Configurations.ps1

+1-5
Original file line numberDiff line numberDiff line change
@@ -300,11 +300,7 @@ function Remove-ITGlueConfigurations {
300300
$data
301301
)
302302

303-
$resource_uri = ('/configurations/{0}' -f $id)
304-
305-
if ($flexible_asset_type_id) {
306-
$resource_uri = ('/organizations/{0}/relationships/configurations/{1}' -f $organization_id, $id)
307-
}
303+
$resource_uri = '/configurations/'
308304

309305
$body = @{}
310306

0 commit comments

Comments
 (0)